mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 09:40:19 +00:00
Merge branch 'high-contrast-tabs-3-24' into 'gtk-3-24'
HighContrast: Improve contrast of notebook tabs (GTK 3.24) See merge request GNOME/gtk!928
This commit is contained in:
commit
e3f67d56db
@ -1712,7 +1712,7 @@ notebook {
|
||||
& header {
|
||||
// FIXME: double borders in some case, can't fix it w/o a class tho
|
||||
// FIXME: doesn't work on dark var
|
||||
background-color: mix($bg_color, $borders_color, 70%);
|
||||
background-color: mix($bg_color, $borders_color, 85%);
|
||||
|
||||
// this is the shading of the header behind the tabs
|
||||
.frame & {
|
||||
@ -1853,14 +1853,14 @@ notebook {
|
||||
label { //tab text
|
||||
padding: 0 2px; // needed for a nicer focus ring
|
||||
font-weight: bold;
|
||||
color: $insensitive_fg_color; /* color: inherit doesn't work here */
|
||||
color: mix($fg_color, $insensitive_fg_color, 50%); /* color: inherit doesn't work here */
|
||||
&:backdrop {
|
||||
color: $insensitive_fg_color;
|
||||
}
|
||||
}
|
||||
&:hover label {
|
||||
// prelight tab text
|
||||
color: mix($fg_color, $insensitive_fg_color, 50%);
|
||||
color: mix($fg_color, $insensitive_fg_color, 75%);
|
||||
}
|
||||
&:checked label {
|
||||
// active tab text
|
||||
|
Loading…
Reference in New Issue
Block a user