[gnome-themes-standard] Fix frames in GtkScrolledWindow and GtkFrame



commit 106675eb3771062c4247c74384ec801501c70fea
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jan 17 04:36:17 2011 +0100

    Fix frames in GtkScrolledWindow and GtkFrame

 themes/Adwaita/gtk-3.0/gtk.css |   34 ++++++++++++++--------------------
 1 files changed, 14 insertions(+), 20 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 5fc6052..6151479 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -149,28 +149,22 @@ GtkCalendar,
 GtkScale {
     padding: 2;
 }
-  .frame { /* FIXME:
-    I would like to have no border around the widget group 'frame'
-    Instead the label on the freame should be left aligned, bold weight and slightly lighter than normal fg
-    
-    */
+
+.frame {
+    font: bold;
+    color: lighter (@fg_color);
     border-style: none;
     border-width: 0;
-  }
-
-    .frame GtkLabel.header {
-        color: lighter (@fg_color);
-        font-weight: bold;
-    }
+}
 
-  .cell {
-      background-color: @base_color;
-      color: @text_color;
-  }
+.cell {
+    background-color: @base_color;
+    color: @text_color;
+}
 
-  .cell:selected {
-      background-color: @selected_bg_color;
-  }
+.cell:selected {
+    background-color: @selected_bg_color;
+}
 
 /* Notebooks/Tabs */
 
@@ -473,12 +467,12 @@ GtkIconView {
     border-radius: 0;
 }
 
-GtkScrolledWindow {
+GtkScrolledWindow.frame {
     border-style: solid;
     border-color: darker (@bg_color);
     border-width: 1;
     border-radius: 0;
-    padding: 1;
+    padding: 0;
 }
 
 .cell {



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