[components] changed style for disabled state
This commit is contained in:
parent
2d43f6d050
commit
da37e8cde3
|
@ -104,9 +104,12 @@
|
|||
}
|
||||
|
||||
.mx-button-otherstates-icon2(@icon-size) {
|
||||
&.active .icon,
|
||||
&:active .icon {background-position-x: -1*@icon-size; --bgX: -(1*@icon-size);}
|
||||
&.disabled .icon {background-position-x: -2*@icon-size; --bgX: -(2*@icon-size);}
|
||||
&.active, &:active{
|
||||
&:not(:disabled):not(.disabled) {
|
||||
.icon {background-position-x: -1*@icon-size; --bgX: -(1*@icon-size);}
|
||||
}
|
||||
}
|
||||
&.disabled {.icon {opacity: .4;}}
|
||||
}
|
||||
|
||||
.button-otherstates-icon2(@icon-class, @icon-size) {
|
||||
|
|
|
@ -315,7 +315,7 @@
|
|||
&[disabled],
|
||||
&.disabled {
|
||||
color: #000;
|
||||
opacity: 0.4;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue