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:
parent
da6950562a
commit
37a78684bb
@ -159,6 +159,7 @@ stage {
|
|||||||
|
|
||||||
%card_flat {
|
%card_flat {
|
||||||
@extend %card_common;
|
@extend %card_common;
|
||||||
|
border: 1px solid transparent !important; // override of the button style needed here
|
||||||
@include button(undecorated, $style: flat);
|
@include button(undecorated, $style: flat);
|
||||||
&:hover { @include button(hover, $style: flat);}
|
&:hover { @include button(hover, $style: flat);}
|
||||||
&:active { @include button(active, $style: flat);}
|
&:active { @include button(active, $style: flat);}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/* Date/Time Menu */
|
/* Date/Time Menu */
|
||||||
|
|
||||||
// overall menu
|
// overall menu
|
||||||
|
|
||||||
#calendarArea {
|
#calendarArea {
|
||||||
padding: $base_margin;
|
padding: $base_margin;
|
||||||
}
|
}
|
||||||
|
@ -122,6 +122,14 @@
|
|||||||
background-color: $selected_bg_color;
|
background-color: $selected_bg_color;
|
||||||
color: $selected_fg_color;
|
color: $selected_fg_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// draw hc outline
|
||||||
|
@if $contrast == 'high' {
|
||||||
|
@include draw_hc_inset();
|
||||||
|
&.active {
|
||||||
|
@include draw_hc_inset($no_inset: true);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& .title {
|
& .title {
|
||||||
|
@ -19,4 +19,9 @@ $slider_size: $scalable_icon_size;
|
|||||||
-slider-handle-radius: $slider_size * 0.5; // half the size of the size
|
-slider-handle-radius: $slider_size * 0.5; // half the size of the size
|
||||||
-slider-handle-border-width: 0;
|
-slider-handle-border-width: 0;
|
||||||
-slider-handle-border-color: transparent; // because 0 width
|
-slider-handle-border-color: transparent; // because 0 width
|
||||||
|
|
||||||
|
// hc style
|
||||||
|
@if $contrast == 'high' {
|
||||||
|
-barlevel-background-color: transparentize($fg_color, 0.6);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user