[Embedded] Fix style for disabled button
This commit is contained in:
parent
d3854c0571
commit
268a41410d
|
@ -265,7 +265,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hover state
|
// Hover state
|
||||||
&:hover {
|
&:hover:not(:disabled) {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: @btnColor;
|
background-color: @btnColor;
|
||||||
|
|
||||||
|
@ -274,7 +274,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:active {
|
&:active:not(:disabled) {
|
||||||
&, .btn-icon {
|
&, .btn-icon {
|
||||||
background-position-y: -@icon-height !important;
|
background-position-y: -@icon-height !important;
|
||||||
}
|
}
|
||||||
|
@ -295,8 +295,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Active state
|
// Active state
|
||||||
&.active,
|
&.active:not(:disabled),
|
||||||
&:active {
|
&:active:not(:disabled) {
|
||||||
outline: none;
|
outline: none;
|
||||||
border: 1px solid @btnActiveColor;
|
border: 1px solid @btnActiveColor;
|
||||||
background-color: @btnActiveColor;
|
background-color: @btnActiveColor;
|
||||||
|
@ -644,7 +644,7 @@
|
||||||
.dropdown {
|
.dropdown {
|
||||||
&.open {
|
&.open {
|
||||||
> button {
|
> button {
|
||||||
background-color: @btnActiveColor;
|
background-color: @btnActiveColor !important;
|
||||||
background-position: -@icon-width*14 -@icon-height;
|
background-position: -@icon-width*14 -@icon-height;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue