[gedit/wip/redesign2: 29/35] Make the sidebar pane separator look thinner



commit 7d54a88de2655834cd0e7ec8781e294de1350937
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jan 4 16:01:20 2014 +0100

    Make the sidebar pane separator look thinner

 gedit/gedit-style.css |    8 ++++++++
 gedit/gedit-window.ui |    6 ++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-style.css b/gedit/gedit-style.css
index dca1dd6..191c64d 100644
--- a/gedit/gedit-style.css
+++ b/gedit/gedit-style.css
@@ -8,6 +8,14 @@
     border-top-left-radius: 0;
 }
 
+.gedit-headerbar-paned.pane-separator,
+.gedit-headerbar-paned.pane-separator:hover,
+.gedit-sidepanel-paned.pane-separator,
+.gedit-sidepanel-paned.pane-separator:hover {
+    border-radius: 0;
+    border-width: 0 1px 1px 0;
+}
+
 .notebook:dir(ltr) tab {
     border-left: 0;
 }
diff --git a/gedit/gedit-window.ui b/gedit/gedit-window.ui
index e228e5c..b83d097 100644
--- a/gedit/gedit-window.ui
+++ b/gedit/gedit-window.ui
@@ -104,6 +104,9 @@
     <child type="titlebar">
       <object class="GtkPaned" id="titlebar_paned">
         <property name="visible">True</property>
+        <style>
+          <class name="gedit-headerbar-paned"/>
+        </style>
         <child>
           <object class="GtkHeaderBar" id="side_headerbar">
             <property name="visible">True</property>
@@ -230,6 +233,9 @@
             <property name="can_focus">True</property>
             <property name="has_focus">False</property>
             <property name="is_focus">False</property>
+            <style>
+              <class name="gedit-sidepanel-paned"/>
+            </style>
             <child>
               <object class="GeditPanel" id="side_panel">
                 <property name="visible">False</property>


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