mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 21:20:09 +00:00
Adwaita: fine tune flat button styling
- enough contrast for hover and active, while noticably different in normal nad headerbar context (and both light and dark variants). Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3481
This commit is contained in:
parent
0d99ef7cee
commit
0cda6f42b8
@ -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%)); }
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user