Set a thin border on the sidepane

This commit is contained in:
Paolo Borelli 2013-03-16 19:51:23 +01:00
parent 2a736164af
commit d438550cef
3 changed files with 18 additions and 1 deletions

View file

@ -171,6 +171,9 @@
<property name="vexpand">True</property>
<property name="position">200</property>
<property name="position_set">True</property>
<style>
<class name="sidebar-paned"/>
</style>
<child>
<object class="GtkEventBox" id="navigation_background">
<property name="visible">True</property>

View file

@ -62,6 +62,21 @@ GtkLabel.grid_title {
font-weight: bold;
}
.sidebar-paned.pane-separator,
.sidebar-paned.pane-separator:hover {
border-width: 1px 1px 0 0;
border-style: solid;
border-color: @borders;
background-color: @sidebar_bg;
color: shade (@theme_bg_color, 0.9);
}
.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;

View file

@ -33,7 +33,6 @@ namespace GitgDiff
construct
{
d_sw = new Gtk.ScrolledWindow(null, null);
d_sw.shadow_type = Gtk.ShadowType.IN;
d_sw.show();
d_diff = new GitgGtk.DiffView(null);
d_diff.show();