[gnome-themes-standard] gedit: rework doc list sidpane style



commit e88be2a94d59be9264e83c9d514737dc39ccf2af
Author: Sebastien Lafargue <slaf66 gmail com>
Date:   Sat Feb 8 20:22:37 2014 +0100

    gedit: rework doc list sidpane style
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723920

 themes/Adwaita/gtk-3.0/gnome-applications.css |   51 +++++++++++++++++++++++-
 1 files changed, 48 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index 4c52b7f..9e5cc80 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -162,12 +162,57 @@ GeditWindow .pane-separator:hover {
     color: @borders;
 }
 
-GeditDocumentsPanel .view {
+.gedit-document-panel {
     background-color: @sidebar_bg;
 }
 
-GeditDocumentsPanel .view:backdrop {
-    background-color: @sidebar_bg_unfocused;
+.gedit-document-panel-group-row {
+    border-top: 1px solid shade(@sidebar_bg, 0.90);
+}
+
+/* sidepane close button styling (copied from the gtk tab close button) */
+.gedit-document-panel .list-row .button {
+    color: mix (@theme_fg_color, @theme_bg_color, 0.85);
+    border-image: none;
+    background-image: none;
+    background-color: transparent;
+    border-radius: 3px;
+    border-style: solid;
+    border-color: transparent;
+    border-width: 1px;
+    padding: 1px;
+    icon-shadow: none;
+    transition: all 200ms ease-out;
+}
+
+.gedit-document-panel .list-row .button:hover {
+    color: @theme_fg_color;
+    border-color: alpha(black, 0.1);
+    transition: all 200ms ease-in;
+}
+
+.gedit-document-panel .list-row .button:active,
+.gedit-document-panel .list-row .button:active:hover {
+    color:  @button_active_text;
+    background-color: alpha(black, 0.08);
+    box-shadow: inset 0 1px alpha(black, 0.05);
+    icon-shadow: 0 1px @button_active_text_shadow;
+
+    border-color: alpha(black, 0.27)
+                  alpha(black, 0.13)
+                  alpha(black, 0.13)
+                  alpha(black, 0.13);
+}
+
+.gedit-document-panel .list-row .button:backdrop {
+    color: mix(@theme_unfocused_fg_color, @theme_unfocused_base_color, 0.7);
+    icon-shadow: none;
+    transition: all 200ms ease-out;
+}
+
+.gedit-document-panel .list-row .button:backdrop:hover {
+    color: @theme_unfocused_fg_color;
+    transition: all 200ms ease-out;
 }
 
 GeditStatusbar GeditSmallButton,


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