mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-11 12:17:59 +03:00
Merge pull request #338 from usefulio/ignore_class_attribute_order
Class Order Independent Button Hovers
This commit is contained in:
commit
023c831730
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user