Made headerbars more like E17's

This commit is contained in:
Eudaimon 2022-04-01 12:45:32 +02:00
parent 509249d9e3
commit df7786568e
2 changed files with 35 additions and 4 deletions

View File

@ -1,6 +1,7 @@
# To do:
"treeview.view:drop(active)" done, needs checking
- "treeview.view:drop(active)" done, needs checking
- For some reason LibreOffice Calc draws a black background in formula bar, which makes selected text there difficult to see (also because it doesn't respect selected text color, there). Tried to solve it without success. Apparently there are few explicit black backgrounds. I need to dig more into that.

View File

@ -901,11 +901,12 @@ notebook > header {
notebook > stack {
padding: 0px;
/*disabled because XFCE does not play nice with it (redrawing problems)*/
background-image: linear-gradient(to bottom,
/*background-image: linear-gradient(to bottom,
shade(@theme_bg_color, 1.35),
shade(@theme_bg_color, 1.05) 20%,
@theme_bg_color 30%,
@theme_bg_color);
@theme_bg_color);*/
background-color: @theme_bg_color;
/*background-clip: border-box;*/
color: @theme_fg_color; /* gdebi bug? */
border-style: solid;
@ -2182,6 +2183,18 @@ headerbar {
padding: 3px;
background-color: @theme_bg_color;
border-color: alpha(@frame_color, 0.6);
background-image: linear-gradient(to bottom, @notebook_active_tab_a, @notebook_active_tab_b);
}
.titlebar:backdrop, headerbar:backdrop {
background-image: none;
}
.titlebar:backdrop, headerbar:backdrop,
headerbar:backdrop label, .titlebar:backdrop label,
headerbar:backdrop button, .titlebar:backdrop button
{
color: @insensitive_fg_color;
}
headerbar button.text-button {
@ -4033,3 +4046,20 @@ scrolledwindow junction,
border-image: none;
border-width: 0px;
}
/* these colors are exported for the window manager and shouldn't be used in applications,
read if you used those and something break with a version upgrade you're on your own... */
@define-color wm_title shade(#deddda, 1.8);
@define-color wm_unfocused_title #deddda;
@define-color wm_highlight #000000;
@define-color wm_borders_edge #313132;
@define-color wm_bg_a shade(#3d3d3e, 1.2);
@define-color wm_bg_b #3d3d3e;
@define-color wm_shadow alpha(#000000, 0.35);
@define-color wm_border alpha(#000000, 0.18);
@define-color wm_button_hover_color_a shade(#3d3d3e, 1.3);
@define-color wm_button_hover_color_b #3d3d3e;
@define-color wm_button_active_color_a shade(#3d3d3e, 0.85);
@define-color wm_button_active_color_b shade(#3d3d3e, 0.89);
@define-color wm_button_active_color_c shade(#3d3d3e, 0.9);
@define-color content_view_bg @bgcolor;