[all] styles refactoring
This commit is contained in:
parent
b7fcac1485
commit
5b8a2f893a
|
@ -107,7 +107,11 @@
|
||||||
.mx-button-otherstates-icon2(@icon-size) {
|
.mx-button-otherstates-icon2(@icon-size) {
|
||||||
&.active, &:active{
|
&.active, &:active{
|
||||||
&:not(:disabled):not(.disabled) {
|
&:not(:disabled):not(.disabled) {
|
||||||
.icon {background-position-x: -1*@icon-size; --bgX: calc(-1 * @icon-size);}
|
.icon {
|
||||||
|
@btn-active-icon-offset: -1 * @icon-size;
|
||||||
|
background-position-x: @btn-active-icon-offset;
|
||||||
|
--bgX: @btn-active-icon-offset;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue