* Fixes #370
parent
690532bd4e
commit
5f43faa82a
|
@ -291,9 +291,15 @@
|
||||||
|
|
||||||
&, &.flat {
|
&, &.flat {
|
||||||
&:focus, &:hover {
|
&:focus, &:hover {
|
||||||
@include linear-gradient(shade($button_bg, 1.2));
|
@if (lightness($button_bg) > 50) {
|
||||||
|
@include linear-gradient(shade($button_bg, .95));
|
||||||
|
} @else {
|
||||||
|
@include linear-gradient(shade($button_bg, 1.2));
|
||||||
|
}
|
||||||
|
|
||||||
@include border(rgba(0, 0, 0, .2 + $border_strength));
|
@include border(rgba(0, 0, 0, .2 + $border_strength));
|
||||||
|
|
||||||
|
-gtk-icon-effect: highlight;
|
||||||
box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength);
|
box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue