Commit 544057db authored by Nikita Churaev's avatar Nikita Churaev

theme: Add bottom borders to split headerbar separators

Add a more descriptive comment for the split headerbar rule as well.
parent b47bdda2
Pipeline #8783 passed with stage
in 29 minutes and 58 seconds
......@@ -1702,13 +1702,32 @@ headerbar { // headerbar border rounding
.titlebar:not(headerbar) {
window.csd > & {
// in csd we assume every titlebar is a headerbar so reset anything, this is needed for split toolbars cases
// applications with split headerbars has a container in the titlebar
// slot so the .titlebar style there needs to be reset; since we can't
// go backward with selectors, we just assume that applications either have
// a headerbar in the titlebar slot, or a container which houses multiple
// headerbars together with separators, so we reset the style for all
// non-headerbar widgets here
padding: 0;
background-color: transparent;
background-image: none;
border-style: none;
border-color: transparent;
box-shadow: none;
// using box shadows rather than borders for separators because paned
// sepearator border rendering is broken (borders are double the size)
& > separator {
background-color: $borders_color;
box-shadow: inset 0 -1px $alt_borders_color;
}
&.selection-mode > separator {
background-color: $selected_borders_color;
box-shadow: inset 0 -1px $selected_borders_color;
}
}
> separator { background-color: $borders_color; } // FIXME: use darker border?
......
......@@ -676,6 +676,10 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb
window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparent; background-image: none; border-style: none; border-color: transparent; box-shadow: none; }
window.csd > .titlebar:not(headerbar) > separator { background-color: #1b1f20; box-shadow: inset 0 -1px #0b0c0c; }
window.csd > .titlebar:not(headerbar).selection-mode > separator { background-color: #0f2b48; box-shadow: inset 0 -1px #0f2b48; }
.titlebar:not(headerbar) > separator { background-color: #1b1f20; }
/************ Pathbars * */
......
......@@ -684,6 +684,10 @@ window.tiled headerbar, window.tiled headerbar:first-child, window.tiled headerb
window.csd > .titlebar:not(headerbar) { padding: 0; background-color: transparent; background-image: none; border-style: none; border-color: transparent; box-shadow: none; }
window.csd > .titlebar:not(headerbar) > separator { background-color: #b6b6b3; box-shadow: inset 0 -1px #91918c; }
window.csd > .titlebar:not(headerbar).selection-mode > separator { background-color: #184472; box-shadow: inset 0 -1px #184472; }
.titlebar:not(headerbar) > separator { background-color: #b6b6b3; }
/************ Pathbars * */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment