mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
Adwaita: Make selectable labels work
This brings back white-on-blue selection in selectable labels. https://bugzilla.gnome.org/show_bug.cgi?id=732441
This commit is contained in:
parent
abc1a0a65d
commit
bd2cf65cb9
@ -124,6 +124,15 @@
|
||||
background-color: transparentize($selected_bg_color,0.8);
|
||||
}
|
||||
|
||||
GtkLabel {
|
||||
&:selected,
|
||||
&:selected:focus,
|
||||
&:selected:hover,
|
||||
&:backdrop:selected {
|
||||
@extend %selected_items;
|
||||
}
|
||||
}
|
||||
|
||||
/*********************
|
||||
* Spinner Animation *
|
||||
*********************/
|
||||
|
@ -2249,11 +2249,11 @@ GtkLevelBar.vertical {
|
||||
.level-bar.fill-block.empty-fill-block:backdrop {
|
||||
border-color: rgba(201, 203, 201, 0.15); }
|
||||
|
||||
.view:selected, .view:selected:focus, .view:selected:hover, .entry:selected, .entry:selected:focus {
|
||||
.view:selected, .view:selected:focus, .view:selected:hover, GtkLabel:selected, GtkLabel:selected:focus, GtkLabel:selected:hover, GtkLabel:backdrop:selected, .entry:selected, .entry:selected:focus {
|
||||
background-color: #215d9c;
|
||||
color: white;
|
||||
outline-color: rgba(255, 255, 255, 0.3); }
|
||||
.view:backdrop:selected, .entry:backdrop:selected {
|
||||
.view:backdrop:selected, GtkLabel:backdrop:selected, .entry:backdrop:selected {
|
||||
color: #2c2c2c; }
|
||||
|
||||
/**********
|
||||
|
@ -2247,11 +2247,11 @@ GtkLevelBar.vertical {
|
||||
.level-bar.fill-block.empty-fill-block:backdrop {
|
||||
border-color: rgba(84, 89, 90, 0.15); }
|
||||
|
||||
.view:selected, .view:selected:focus, .view:selected:hover, .entry:selected, .entry:selected:focus {
|
||||
.view:selected, .view:selected:focus, .view:selected:hover, GtkLabel:selected, GtkLabel:selected:focus, GtkLabel:selected:hover, GtkLabel:backdrop:selected, .entry:selected, .entry:selected:focus {
|
||||
background-color: #4a90d9;
|
||||
color: white;
|
||||
outline-color: rgba(255, 255, 255, 0.3); }
|
||||
.view:backdrop:selected, .entry:backdrop:selected {
|
||||
.view:backdrop:selected, GtkLabel:backdrop:selected, .entry:backdrop:selected {
|
||||
color: #fcfcfc; }
|
||||
|
||||
/**********
|
||||
|
Loading…
Reference in New Issue
Block a user