mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-27 03:54:13 +03:00
allows .btn* classes to be specified in any order and still receive proper hover state colors
This commit is contained in:
parent
fcd35da52b
commit
f955393f13
|
@ -70,13 +70,13 @@
|
|||
}
|
||||
|
||||
// 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;
|
||||
&:hover {
|
||||
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 {
|
||||
background-color: rgba(255,255,255,0.5);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user