[gnome-themes-standard] Only draw a border around notebooks with show-border=true



commit eb35acd03f2361ad0baaaf983bce52b05433012e
Author: William Jon McCann <william jon mccann gmail com>
Date:   Wed Oct 16 12:02:49 2013 -0400

    Only draw a border around notebooks with show-border=true
    
    Use the frame style class to determine if show-border was set.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 01e6c17..14bf719 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1788,10 +1788,10 @@ GtkLinkButton.button:active {
  *****************/
 .notebook {
     padding: 0;
-
-    border-color: @borders;
     border-style: solid;
-    border-width: 1px;
+    border-color: @borders;
+    border-top: 1px solid @borders;
+    border-bottom: 1px solid @borders;
 
     background-color: @theme_base_color;
     -GtkNotebook-initial-gap: 10;
@@ -1800,6 +1800,10 @@ GtkLinkButton.button:active {
     -GtkNotebook-has-tab-gap: false;
 }
 
+.notebook.frame {
+    border-width: 1px;
+}
+
 .notebook.header,
 .notebook.header:backdrop {
     background-color: shade(@theme_bg_color, 0.95);


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