Fixed selection issues in gtk4

This commit is contained in:
Eudaimon 2022-09-25 11:37:56 +02:00
parent bf3b706b8a
commit af59429282
9 changed files with 59 additions and 50 deletions

View file

@ -38,7 +38,7 @@ $popover_radius: $window_radius;
%selected_items {
background-color: $selected_bg_color;
color: $selected_fg_color;
@at-root %nobg_selected_items, & {
color: $selected_fg_color;
@ -46,9 +46,11 @@ $popover_radius: $window_radius;
&:disabled { color: mix($selected_fg_color, $selected_bg_color, 50%); }
@at-root %selected_items_backdrop,
&:backdrop { //Simplewaita does not like backdrop changes except for headerbar and window decoration
//color: $backdrop_selected_fg_color;
//background-color: $backdrop_selected_bg_color;
&:backdrop {
//Simplewaita does not like backdrop changes except for headerbar and window decoration
//however, some problems may arise if this is not applied.
color: $selected_fg_color;
background-color: $selected_bg_color;
//&:disabled { color: mix($backdrop_selected_fg_color, $selected_bg_color, 30%); }
}