[gnome-themes-standard] tabs: Correct styling for all tab locations



commit e0df589aa9f6d9716f236bcaf91bdd06afac8b7e
Author: Nikita Churaev <lamefun x0r gmail com>
Date:   Mon Jan 20 21:42:04 2014 +0400

    tabs: Correct styling for all tab locations
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722624

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   49 ++++++++++++++++++++++++++++++--
 1 files changed, 46 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 6b19196..49a7102 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1892,7 +1892,6 @@ GtkLinkButton.button:active {
 
 .notebook tab,
 .notebook tab:backdrop {
-    padding: 6px 20px 4px;
     border-width: 0px;
     background-image: none;
     background-color: transparent;
@@ -1921,15 +1920,59 @@ GtkLinkButton.button:active {
     color: @theme_fg_color;
 }
 
-.notebook tab:active {
+/* horizontal tabs */
+
+.notebook tab.top,
+.notebook tab.bottom {
+    padding: 6px 20px 4px;
+}
+
+.notebook tab.top:active {
     border-bottom-width: 2px;
     border-bottom-color: @notebook_active_tab_border;
 }
 
-.notebook tab:active:backdrop {
+.notebook tab.top:active:backdrop {
     border-bottom-color: @unfocused_insensitive_borders;
 }
 
+.notebook tab.bottom:active {
+    border-top-width: 2px;
+    border-top-color: @notebook_active_tab_border;
+}
+
+.notebook tab.bottom:active:backdrop {
+    border-top-color: @unfocused_insensitive_borders;
+}
+
+/* vertical tabs */
+
+.notebook tab.left {
+    padding: 5px 20px;
+}
+
+.notebook tab.right {
+    padding: 5px 20px;
+}
+
+.notebook tab.left:active {
+    border-right-width: 2px;
+    border-right-color: @notebook_active_tab_border;
+}
+
+.notebook tab.left:active:backdrop {
+    border-right-color: @unfocused_insensitive_borders;
+}
+
+.notebook tab.right:active {
+    border-left-width: 2px;
+    border-left-color: @notebook_active_tab_border;
+}
+
+.notebook tab.right:active:backdrop {
+    border-left-color: @unfocused_insensitive_borders;
+}
+
 /* close button styling */
 .notebook tab .button,
 .notebook tab .button:active,


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