[gtk+] Provisional sidebar theming



commit 619aeb643ff7bb9cf2d62e3b27151516ef8eb519
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 1 00:45:23 2014 -0400

    Provisional sidebar theming
    
    needs-attention is not handled yet, here.

 gtk/resources/theme/Adwaita/_common.scss           |    9 +++++++++
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    7 +++++++
 gtk/resources/theme/Adwaita/gtk-contained.css      |    7 +++++++
 3 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index f9e086a..d1cc98d 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -2825,3 +2825,12 @@ GtkVolumeButton.button { padding: 8px; }
   &:backdrop { color: if($variant=='light', $backdrop_base_color,
                                             $backdrop_fg_color); }
 }
+
+/* GtkSidebar */
+.sidebar {
+  background-color: shade($bg_color, 0.99)
+}
+.sidebar-item {
+  padding: 10px;
+}
+
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 1b08503..26174fe 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -4161,6 +4161,13 @@ GtkCalendar.header .menuitem.titlebutton.button:selected, .list-row:selected {
   GtkCalendar.header .menuitem.titlebutton.button:backdrop:selected, .list-row:backdrop:selected {
     color: #c9cbc9; }
 
+/* GtkSidebar */
+.sidebar {
+  background-color: shade(#393f3f, 0.99); }
+
+.sidebar-item {
+  padding: 10px; }
+
 /* GTK NAMED COLORS */
 @define-color theme_fg_color #eeeeec;
 @define-color theme_bg_color #393f3f;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 8b215b7..6f49d9c 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -4323,6 +4323,13 @@ GtkCalendar.header .menuitem.titlebutton.button:selected, .list-row:selected {
   GtkCalendar.header .menuitem.titlebutton.button:backdrop:selected, .list-row:backdrop:selected {
     color: #fcfcfc; }
 
+/* GtkSidebar */
+.sidebar {
+  background-color: shade(#ededed, 0.99); }
+
+.sidebar-item {
+  padding: 10px; }
+
 /* GTK NAMED COLORS */
 @define-color theme_fg_color #2e3436;
 @define-color theme_bg_color #ededed;


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