[gnome-themes-standard] scrolled-window: revert setting a white background by default



commit 6cdb0be6c2a89191dc287cc64faae7a3b6a79bf6
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Sep 24 21:45:00 2012 -0400

    scrolled-window: revert setting a white background by default
    
    Since this breaks too many other applications relying on the old
    behavior (Evince, Glade, Empathy, ...).
    For now, revert to the old behavior by default and add a custom selector
    for Epiphany, since it's the only application requiring special
    treatment.

 themes/Adwaita/gtk-3.0/gnome-applications.css |    8 ++++++++
 themes/Adwaita/gtk-3.0/gtk-widgets.css        |    6 ++----
 2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index cef6864..6004ed4 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -443,6 +443,14 @@ EphyToolbar.toolbar .button {
     border-radius: 4px 4px 0 0;
 }
 
+EphyOverview GtkScrolledWindow {
+    background-color: @theme_base_color;
+}
+
+EphyOverview GtkScrolledWindow:backdrop {
+    background-color: @theme_unfocused_base_color;
+}
+
 /* Gnome Contacts */
 
 /* Line at top in contacts pane, similar to .documents-scrolledwin.frame */
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 14ca80c..4a3fd53 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2930,13 +2930,11 @@ GtkTreeView.dnd {
     border-style: solid;
 }
 
-GtkViewport,
-GtkScrolledWindow {
+GtkViewport {
     background-color: @theme_base_color;
 }
 
-GtkViewport:backdrop,
-GtkScrolledWindow:backdrop {
+GtkViewport:backdrop {
     background-color: @theme_unfocused_base_color;
 }
 



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