HighContrast: Make sure selections are visible in infobars

Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=745622
This commit is contained in:
Matthias Clasen 2015-03-04 21:56:02 -05:00
parent 2b7eaaf86e
commit 6ac3ec0b53
2 changed files with 18 additions and 0 deletions

View File

@ -2105,6 +2105,11 @@ GtkInfoBar {
&:backdrop { @include button(backdrop, $selected_bg_color, $selected_fg_color, $edge: none); }
&:backdrop:insensitive { @include button(backdrop-insensitive, $selected_bg_color, $selected_fg_color, $edge: none); }
}
.label:selected,
.label:selected:focus,
.label:selected:hover {
background-color: lighten($selected_bg_color, 20%);
}
}
/************

View File

@ -2293,6 +2293,19 @@ GtkInfoBar {
color: #7f7f7f;
border-color: #8b8b8b;
background-image: linear-gradient(to bottom, #fff); }
.info .label:selected,
.info .label:selected:focus,
.info .label:selected:hover,
.question .label:selected,
.question .label:selected:focus,
.question .label:selected:hover,
.warning .label:selected,
.warning .label:selected:focus,
.warning .label:selected:hover,
.error .label:selected,
.error .label:selected:focus,
.error .label:selected:hover {
background-color: #333333; }
/************
* Tooltips *