[DE] changed style for some buttons

This commit is contained in:
Maxim Kadushkin 2019-12-02 19:26:04 +03:00
parent 7e9a81f1ab
commit b8686c48a1
5 changed files with 18 additions and 5 deletions

View file

@ -96,10 +96,16 @@
}
.button-otherstates-icon(@icon-class, @icon-size) {
button.over > .@{icon-class} {background-position-x: -1*@icon-size; --bgX: calc(-1*@icon-size);}
button {
&.active, &:active {
&:not(.disabled):not(:disabled) > .@{icon-class} {background-position-x: -2*@icon-size !important; --bgX: calc(-2*@icon-size);}
.btn {
&:active, &.active {
&:not(:disabled):not(.disabed) {
> .@{icon-class} {
@iconsize: -1*@icon-size;
background-position-x: @iconsize;
--bgX: @iconsize;
}
}
}
}
}

View file

@ -587,10 +587,17 @@
background-repeat: no-repeat;
}
box-shadow: inset 0 0 0 1px @secondary;
.border-radius(@border-radius-small);
&:hover,
.over,
&.over {
background-color: @secondary;
}
&:active,
&.active {
background-color: @primary;
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB