Commit f0e5b5bf authored by Adrien Plazas's avatar Adrien Plazas Committed by Jakub Steiner

Adwaita: Propagate bg color to titlebar separator descendants

Gives the same background color to all separators descending from a
title bar than to its direct childrens.

This prevents separators which are in a titlebar but not direct children
from the widget with the titlebar style class from being almost
transparent and hence it prevent them from revealing the clear color of
the window's titlebar (black).

#1231
parent f74154d5
......@@ -1765,7 +1765,7 @@ headerbar { // headerbar border rounding
box-shadow: none;
}
> separator { background-color: $borders_color; } // FIXME: use darker border?
separator { background-color: $borders_color; } // FIXME: use darker border?
@extend %titlebar;
}
......
......@@ -686,7 +686,7 @@ 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; }
.titlebar:not(headerbar) > separator { background-color: #24212a; }
.titlebar:not(headerbar) separator { background-color: #24212a; }
window.devel headerbar.titlebar:not(.selection-mode) { background: transparent -gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, linear-gradient(to left, #393b4f 8%, #3d3846 25%); color: rgba(238, 238, 236, 0.1); }
......
......@@ -694,7 +694,7 @@ 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; }
.titlebar:not(headerbar) > separator { background-color: #b6b6b3; }
.titlebar:not(headerbar) separator { background-color: #b6b6b3; }
window.devel headerbar.titlebar:not(.selection-mode) { background: transparent -gtk-icontheme("system-run-symbolic") 90% 0/256px 256px no-repeat, linear-gradient(to left, #d6dee7 8%, #e8e8e7 25%); color: rgba(46, 52, 54, 0.1); }
......
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