[gitg] Make diff header look like a sidebar



commit 4d9ba31fbdec1a9f32bbf711ee267664eb090a7b
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Mar 19 12:21:19 2013 +0100

    Make diff header look like a sidebar

 gitg/resources/ui/gitg-window.ui    |    3 +++
 gitg/resources/ui/style.css         |   10 ++++++++++
 libgitg-gtk/resources/diff-view.css |    2 +-
 3 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/gitg/resources/ui/gitg-window.ui b/gitg/resources/ui/gitg-window.ui
index 693faae..74c0f89 100644
--- a/gitg/resources/ui/gitg-window.ui
+++ b/gitg/resources/ui/gitg-window.ui
@@ -209,6 +209,9 @@
                     <property name="can_focus">True</property>
                     <property name="orientation">vertical</property>
                     <property name="position">300</property>
+                    <style>
+                      <class name="panels-paned"/>
+                    </style>
                     <child>
                       <object class="GdStack" id="stack_view">
                         <property name="visible">True</property>
diff --git a/gitg/resources/ui/style.css b/gitg/resources/ui/style.css
index 4072503..fa12ed9 100644
--- a/gitg/resources/ui/style.css
+++ b/gitg/resources/ui/style.css
@@ -62,6 +62,8 @@ GtkLabel.grid_title {
        font-weight: bold;
 }
 
+.panels-paned.pane-separator,
+.panels-paned.pane-separator:hover,
 .sidebar-paned.pane-separator,
 .sidebar-paned.pane-separator:hover {
        border-width: 0 1px 0 0;
@@ -71,12 +73,20 @@ GtkLabel.grid_title {
        color: shade (@theme_bg_color, 0.9);
 }
 
+.panels-paned.pane-separator,
+.panels-paned.pane-separator:hover {
+       border-width: 1px 0 0 0;
+}
+
+.panels-paned.pane-separator:backdrop,
+.panels-paned.pane-separator:hover:backdrop,
 .sidebar-paned.pane-separator:backdrop,
 .sidebar-paned.pane-separator:hover:backdrop {
        border-color: @unfocused_borders;
        background-color: @sidebar_bg_unfocused;
 }
 
+
 .branch, .remote, .tag, .stash {
        border-radius: 6px;
        border: 1px solid @theme_bg_color;
diff --git a/libgitg-gtk/resources/diff-view.css b/libgitg-gtk/resources/diff-view.css
index cdc7661..b90d1e7 100644
--- a/libgitg-gtk/resources/diff-view.css
+++ b/libgitg-gtk/resources/diff-view.css
@@ -30,7 +30,7 @@ img.avatar {
 div.commit {
   padding: 10px;
   font-family: sans-serif;
-  background: white;
+  background: #f3f3f3;
 }
 
 div.commit table {


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