[gtk+] Adwaita: sidebar separator and selected item backdrop fix



commit 3d70add7f64aec965e8bba093b5ae1a5b75923f1
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sat Jun 14 09:00:21 2014 +0200

    Adwaita: sidebar separator and selected item backdrop fix

 gtk/resources/theme/Adwaita/_common.scss           |    7 +++++--
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    9 ++++++---
 gtk/resources/theme/Adwaita/gtk-contained.css      |    9 ++++++---
 3 files changed, 17 insertions(+), 8 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index ef9dc39..601cf80 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1567,11 +1567,14 @@ GtkFileChooserDialog .dialog-action-box {
       &:hover { background-color: lighten($bg_color, 10%); }
     }
   }
+  &:backdrop {
+    background-color: lighten($backdrop_bg_color,5%);
+  }
   &:selected {
     background-color: $selected_bg_color;
   }
-  &:backdrop {
-    background-color: lighten($backdrop_bg_color,5%);
+ .separator {
+    color: mix($_sidebar_bg,$borders_color,70%);
   }
 }
 
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 4bc71e4..db23d27 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1873,12 +1873,15 @@ GtkFileChooserDialog .dialog-action-box {
     .sidebar .scrollbar.slider:hover,
     .sidebar .view .scrollbar.slider:hover {
       background-color: #515a5a; }
-  .sidebar:selected,
-  .sidebar .view:selected {
-    background-color: #215d9c; }
   .sidebar:backdrop,
   .sidebar .view:backdrop {
     background-color: #454c4c; }
+  .sidebar:selected,
+  .sidebar .view:selected {
+    background-color: #215d9c; }
+  .sidebar .separator,
+  .sidebar .view .separator {
+    color: #383e3e; }
 
 GtkPaned {
   margin: 16px; }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 60a83be..6cff3cd 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1873,12 +1873,15 @@ GtkFileChooserDialog .dialog-action-box {
     .sidebar .scrollbar.slider:hover,
     .sidebar .view .scrollbar.slider:hover {
       background-color: white; }
-  .sidebar:selected,
-  .sidebar .view:selected {
-    background-color: #4a90d9; }
   .sidebar:backdrop,
   .sidebar .view:backdrop {
     background-color: #fafafa; }
+  .sidebar:selected,
+  .sidebar .view:selected {
+    background-color: #4a90d9; }
+  .sidebar .separator,
+  .sidebar .view .separator {
+    color: #dfdfdf; }
 
 GtkPaned {
   margin: 16px; }


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