Merge pull request #338 from usefulio/ignore_class_attribute_order

Class Order Independent Button Hovers
This commit is contained in:
Fez Vrasta 2015-01-03 08:46:06 +01:00
commit 023c831730

View File

@ -70,13 +70,13 @@
} }
// This is needed to style buttons which has not a variation suffix (they must be stiled as btn-default) // This is needed to style buttons which has not a variation suffix (they must be stiled as btn-default)
.btn-link, .btn:not([class^="btn btn-"]), .btn-default { .btn-link, .btn:not([class*="btn-"]), .btn-default {
color: @lightbg-text; color: @lightbg-text;
&:hover { &:hover {
color: @lightbg-text; color: @lightbg-text;
} }
} }
.btn:not([class^="btn btn-"]), .btn-default, .btn-flat:not(.btn-link) { .btn:not([class*="btn-"]), .btn-default, .btn-flat:not(.btn-link) {
&:hover, &.active { &:hover, &.active {
background-color: rgba(255,255,255,0.5); background-color: rgba(255,255,255,0.5);
} }