style: Fix some high contrast papercuts

- add HC style to slider
- add HC style to Quick settings submenu header
- fix border issue with flat card style

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7320
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165>
This commit is contained in:
Sam Hewitt 2024-02-05 13:24:35 -03:30 committed by Florian Müllner
parent da6950562a
commit 37a78684bb
4 changed files with 14 additions and 1 deletions

View File

@ -159,6 +159,7 @@ stage {
%card_flat {
@extend %card_common;
border: 1px solid transparent !important; // override of the button style needed here
@include button(undecorated, $style: flat);
&:hover { @include button(hover, $style: flat);}
&:active { @include button(active, $style: flat);}

View File

@ -1,7 +1,6 @@
/* Date/Time Menu */
// overall menu
#calendarArea {
padding: $base_margin;
}

View File

@ -122,6 +122,14 @@
background-color: $selected_bg_color;
color: $selected_fg_color;
}
// draw hc outline
@if $contrast == 'high' {
@include draw_hc_inset();
&.active {
@include draw_hc_inset($no_inset: true);
}
}
}
& .title {

View File

@ -19,4 +19,9 @@ $slider_size: $scalable_icon_size;
-slider-handle-radius: $slider_size * 0.5; // half the size of the size
-slider-handle-border-width: 0;
-slider-handle-border-color: transparent; // because 0 width
// hc style
@if $contrast == 'high' {
-barlevel-background-color: transparentize($fg_color, 0.6);
}
}