forked from AuroraMiddleware/gtk
Adwaita: backdrop check/radio fix
Set the correct color wrt the dark variant for checks/radios on selected treeview rows.
This commit is contained in:
parent
11245bc549
commit
4718c165ad
@ -1665,7 +1665,9 @@ $asset_suffix: if($variant=='dark', '-dark', '');
|
||||
color: transparentize($selected_fg_color,0.9);
|
||||
&:active {
|
||||
color: $selected_fg_color;
|
||||
&:backdrop { color: $backdrop_base_color; }
|
||||
&:backdrop {
|
||||
color: if($variant=='light',$backdrop_base_color,$backdrop_fg_color);
|
||||
}
|
||||
}
|
||||
}
|
||||
&:backdrop {
|
||||
@ -2185,7 +2187,7 @@ GtkCalendar {
|
||||
@extend %undecorated_button;
|
||||
color: $fg_color;
|
||||
}
|
||||
&:backdrop { color: transparentize($backdrop_fg_color,0.55); }
|
||||
&:backdrop { color: transparentize($backdrop_fg_color,0.55); }
|
||||
}
|
||||
&.highlight { color: gtkalpha(currentColor,0.55); }
|
||||
&:backdrop { border-color: $backdrop_borders_color; }
|
||||
|
@ -1818,7 +1818,7 @@ GtkSwitch {
|
||||
.view.check:selected:active, .view.check:selected:focus:active {
|
||||
color: white; }
|
||||
.view.check:selected:active:backdrop, .view.check:selected:focus:active:backdrop {
|
||||
color: #2c2c2c; }
|
||||
color: #c9cbc9; }
|
||||
.view.check:backdrop {
|
||||
color: rgba(201, 203, 201, 0.1); }
|
||||
.view.check:backdrop:selected {
|
||||
@ -1972,7 +1972,7 @@ GtkSwitch {
|
||||
.view.radio:selected:active, .view.radio:selected:focus:active {
|
||||
color: white; }
|
||||
.view.radio:selected:active:backdrop, .view.radio:selected:focus:active:backdrop {
|
||||
color: #2c2c2c; }
|
||||
color: #c9cbc9; }
|
||||
.view.radio:backdrop {
|
||||
color: rgba(201, 203, 201, 0.1); }
|
||||
.view.radio:backdrop:selected {
|
||||
|
Loading…
Reference in New Issue
Block a user