[gtk+] HighContrast: catch backdrop:insensitive:active of GtkSwitch



commit 49b6be4e06ffb952573f35b082163dcb5fbb99b3
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Mar 17 23:55:10 2015 +0100

    HighContrast: catch backdrop:insensitive:active of GtkSwitch
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746358

 gtk/theme/HighContrast/_common.scss |    3 ++-
 gtk/theme/HighContrast/gtk.css      |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index b13de42..3f3ea79 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -1442,7 +1442,8 @@ GtkSwitch {
           background-color: $selected_bg_color;
           box-shadow: none;
         }
-        &:insensitive {
+        &:insensitive, &:insensitive:active {
+          background-color: $insensitive_bg_color;
           color: $backdrop_insensitive_color;
           border-color: $backdrop_insensitive_color;
         }
diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css
index 4e75f4b..2cd4482 100644
--- a/gtk/theme/HighContrast/gtk.css
+++ b/gtk/theme/HighContrast/gtk.css
@@ -1635,7 +1635,8 @@ GtkSwitch {
         border-color: #000;
         background-color: #000;
         box-shadow: none; }
-      GtkSwitch.trough:backdrop:insensitive {
+      GtkSwitch.trough:backdrop:insensitive, GtkSwitch.trough:backdrop:insensitive:active {
+        background-color: white;
         color: #7f7f7f;
         border-color: #7f7f7f; }
   GtkSwitch.slider {


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