[gtk+/gtk-3-16] Adwaita: GtkPlacesSidebar insensitive items.



commit 8069712a0e63070e3e503c8459cfad8d38d73d60
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Apr 15 20:20:52 2015 +0200

    Adwaita: GtkPlacesSidebar insensitive items.
    
    Set the right colors there.

 gtk/theme/Adwaita/_common.scss           |   16 ++++++++++++++--
 gtk/theme/Adwaita/gtk-contained-dark.css |    8 ++++++++
 gtk/theme/Adwaita/gtk-contained.css      |    8 ++++++++
 3 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index a8de7c0..191f3bd 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2939,10 +2939,22 @@ GtkPlacesSidebar.sidebar .view {
       &:backdrop { color: mix($backdrop_selected_fg_color, $selected_bg_color, 90%); }
     }
 
-    &:backdrop { color: mix($backdrop_fg_color, $sidebar_bg_color, 70%); }
+    &:insensitive { color: mix($insensitive_fg_color, $sidebar_bg_color, 70%); }
+
+    &:backdrop {
+      color: mix($backdrop_fg_color, $sidebar_bg_color, 70%);
+
+      &:insensitive { color: mix($backdrop_insensitive_color, $sidebar_bg_color, 70%); }
+    }
   }
 
-  &:backdrop { color: $backdrop_fg_color; }
+  &:insensitive { color: $insensitive_fg_color; }
+
+  &:backdrop {
+    color: $backdrop_fg_color;
+
+    &:insensitive { color: $backdrop_insensitive_color; }
+  }
 
   &:selected {
     @extend %selected_items;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 367729a..946f20b 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -4031,10 +4031,18 @@ GtkPlacesSidebar.sidebar .view {
       color: #e8eef5; }
       GtkPlacesSidebar.sidebar .view .image:selected:backdrop {
         color: #e8eef5; }
+    GtkPlacesSidebar.sidebar .view .image:insensitive {
+      color: #7b7f7f; }
     GtkPlacesSidebar.sidebar .view .image:backdrop {
       color: #7b7f7f; }
+      GtkPlacesSidebar.sidebar .view .image:backdrop:insensitive {
+        color: #555e5e; }
+  GtkPlacesSidebar.sidebar .view:insensitive {
+    color: #939695; }
   GtkPlacesSidebar.sidebar .view:backdrop {
     color: #939695; }
+    GtkPlacesSidebar.sidebar .view:backdrop:insensitive {
+      color: #5d6767; }
 
 .sidebar-item {
   padding: 10px 4px; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 2de49a8..131595b 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -4203,10 +4203,18 @@ GtkPlacesSidebar.sidebar .view {
       color: #ecf3fb; }
       GtkPlacesSidebar.sidebar .view .image:selected:backdrop {
         color: #ecf3fb; }
+    GtkPlacesSidebar.sidebar .view .image:insensitive {
+      color: #adafb0; }
     GtkPlacesSidebar.sidebar .view .image:backdrop {
       color: #adafb0; }
+      GtkPlacesSidebar.sidebar .view .image:backdrop:insensitive {
+        color: #d6d6d6; }
+  GtkPlacesSidebar.sidebar .view:insensitive {
+    color: #8d9091; }
   GtkPlacesSidebar.sidebar .view:backdrop {
     color: #8d9091; }
+    GtkPlacesSidebar.sidebar .view:backdrop:insensitive {
+      color: #c7c7c7; }
 
 .sidebar-item {
   padding: 10px 4px; }


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