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:
Matthias Clasen 2014-06-30 11:35:38 -04:00
parent abc1a0a65d
commit bd2cf65cb9
3 changed files with 13 additions and 4 deletions

View File

@ -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 *
*********************/

View File

@ -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; }
/**********

View File

@ -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; }
/**********