mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-30 06:40:39 +00:00
Set a thin border on the sidepane
This commit is contained in:
parent
2a736164af
commit
d438550cef
3 changed files with 18 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue