Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-07-12 00:49:50 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-07-12 01:57:48 +0300
commit253b49974fcab655bafac1a21fab431d664202a4 (patch)
tree7138e472469749392bb95111b02b2eac46838014
parent4bd2ae635dad58c41cac3c5a9f0120b8cf0bfc13 (diff)
Add :focus style for buttonsfix-button-state-styles
-rw-r--r--app/assets/stylesheets/framework/buttons.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/buttons.scss b/app/assets/stylesheets/framework/buttons.scss
index 58ac4d46765..6ace51284e1 100644
--- a/app/assets/stylesheets/framework/buttons.scss
+++ b/app/assets/stylesheets/framework/buttons.scss
@@ -25,6 +25,11 @@
color: $hover-text;
border-color: $hover-border;;
}
+
+ &:focus {
+ outline: none;
+ border-color: darken($border, 15%);
+ }
}
@mixin btn-color($light, $border-light, $normal, $border-normal, $dark, $border-dark, $color) {
@@ -46,6 +51,11 @@
border-color: $border-dark;
color: $color;
}
+
+ &:focus {
+ outline: none;
+ border-color: $border-dark;
+ }
}
@mixin btn-green {