pull/609/merge
Csaba Jakosa 2017-01-30 16:40:30 +00:00 committed by GitHub
commit a80e791402
1 changed files with 7 additions and 1 deletions
src/gtk-3.20/scss/widgets

View File

@ -291,9 +291,15 @@
&, &.flat {
&: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));
-gtk-icon-effect: highlight;
box-shadow: 0 1px 2px -1px alpha($dark_shadow, .32 + $shadow_strength);
}