pull/609/head
Megax 2016-10-21 07:16:34 +02:00
parent 690532bd4e
commit 5f43faa82a
1 changed files with 7 additions and 1 deletions

View File

@ -291,9 +291,15 @@
&, &.flat { &, &.flat {
&:focus, &:hover { &:focus, &:hover {
@if (lightness($button_bg) > 50) {
@include linear-gradient(shade($button_bg, .95));
} @else {
@include linear-gradient(shade($button_bg, 1.2)); @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);
} }