aboutsummaryrefslogtreecommitdiffstats
path: root/bower_components/bootstrap/less/mixins/buttons.less
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/bootstrap/less/mixins/buttons.less')
-rw-r--r--bower_components/bootstrap/less/mixins/buttons.less20
1 files changed, 19 insertions, 1 deletions
diff --git a/bower_components/bootstrap/less/mixins/buttons.less b/bower_components/bootstrap/less/mixins/buttons.less
index 409f8f2..6875a97 100644
--- a/bower_components/bootstrap/less/mixins/buttons.less
+++ b/bower_components/bootstrap/less/mixins/buttons.less
@@ -8,14 +8,31 @@
background-color: @background;
border-color: @border;
- &:hover,
&:focus,
+ &.focus {
+ color: @color;
+ background-color: darken(@background, 10%);
+ border-color: darken(@border, 25%);
+ }
+ &:hover {
+ color: @color;
+ background-color: darken(@background, 10%);
+ border-color: darken(@border, 12%);
+ }
&:active,
&.active,
.open > .dropdown-toggle& {
color: @color;
background-color: darken(@background, 10%);
border-color: darken(@border, 12%);
+
+ &:hover,
+ &:focus,
+ &.focus {
+ color: @color;
+ background-color: darken(@background, 17%);
+ border-color: darken(@border, 25%);
+ }
}
&:active,
&.active,
@@ -28,6 +45,7 @@
&,
&:hover,
&:focus,
+ &.focus,
&:active,
&.active {
background-color: @background;