From 9b8a4bc6917962898eea27776afaedf4d9d8d41b Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Mon, 15 Feb 2016 11:50:10 +0000 Subject: [PATCH] Add extra styles for focused/hovered active outline buttons --- scss/mixins/_buttons.scss | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/scss/mixins/_buttons.scss b/scss/mixins/_buttons.scss index 861d353e27..5196ab65e1 100644 --- a/scss/mixins/_buttons.scss +++ b/scss/mixins/_buttons.scss @@ -64,19 +64,33 @@ background-color: transparent; border-color: $color; + @include hover { + color: #fff; + background-color: $color; + border-color: $color; + } + &:focus, - &.focus, + &.focus { + color: #fff; + background-color: $color; + border-color: $color; + } + &:active, &.active, .open > &.dropdown-toggle { color: #fff; background-color: $color; border-color: $color; - } - @include hover { - color: #fff; - background-color: $color; - border-color: $color; + + &:hover, + &:focus, + &.focus { + color: #fff; + background-color: darken($color, 17%); + border-color: darken($color, 25%); + } } &.disabled,