[gtk+] HighContrast: Make sure selections are visible in infobars



commit 6ac3ec0b53023f114acba1f4e3ad0c7368ea0ecc
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Mar 4 21:56:02 2015 -0500

    HighContrast: Make sure selections are visible in infobars
    
    Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=745622

 gtk/theme/HighContrast/_common.scss |    5 +++++
 gtk/theme/HighContrast/gtk.css      |   13 +++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index fc270d5..506f55c 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -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%);
+  }
 }
 
 /************
diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css
index 479c439..0f267bf 100644
--- a/gtk/theme/HighContrast/gtk.css
+++ b/gtk/theme/HighContrast/gtk.css
@@ -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 *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]