Merge branch 'wip/jimmac/flat-buttons' into 'master'

Adwaita: fine tune flat button styling

Closes #3481

See merge request GNOME/gtk!3046
This commit is contained in:
Matthias Clasen 2021-01-07 13:42:42 +00:00
commit d8d8322912
2 changed files with 3 additions and 4 deletions

View File

@ -1397,7 +1397,7 @@ windowcontrols {
min-height: 0;
&:hover {
//special case hover colors inside a headerbar
@include button(undecorated-hover,$c:darken($headerbar_bg_color,10%));
@include button(undecorated-hover,$c:darken($headerbar_bg_color,6%));
}
&:active,
&:checked { @include button(undecorated-active,$c:darken($headerbar_bg_color,10%)); }

View File

@ -420,9 +420,8 @@
text-shadow: none;
@if $variant == 'light' {
background-color: darken($c,14%);
}
@else {
background-color: darken($c,10%);
} @else {
background-color: darken($c,1%);
}
}
@else if $t==undecorated-active {