Skip to content

Commit 25921fc

Browse files
committed
Rework the headerbar look on Wayland.
1 parent eaada25 commit 25921fc

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

data/themes/darktable.css

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2493,3 +2493,30 @@ label#pb_label
24932493
{
24942494
padding-left: .5em;
24952495
}
2496+
2497+
/* the following line are for the Wayland headerbar, this does nothing on non
2498+
wayland were we let the WM decorate the window by himself. */
2499+
window headerbar
2500+
{
2501+
background-color: @border_color;
2502+
color: #ffffff; /* Text color */
2503+
min-height: 0; /* Minimum height */
2504+
padding: 0; /* Padding around content */
2505+
}
2506+
2507+
window headerbar.title
2508+
{
2509+
font-weight: bold;
2510+
font-size: 16px;
2511+
}
2512+
2513+
dialog headerbar button,
2514+
window headerbar button.titlebutton
2515+
{
2516+
border-radius: 999px; /* Makes the button round */
2517+
padding: 3px; /* Size of the button */
2518+
background-color: shade(@border_color, 1.1);
2519+
color: white;
2520+
border: none;
2521+
margin: 8px; /* Spaces around button */
2522+
}

0 commit comments

Comments
 (0)