apprt/gtk: move some static CSS to the style.css file (#4011)

pull/4112/head
Mitchell Hashimoto 2024-12-30 08:47:55 -08:00 committed by GitHub
commit 26b1888494
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -972,9 +972,6 @@ fn loadRuntimeCss(
const headerbar_foreground = config.@"window-titlebar-foreground" orelse config.foreground; const headerbar_foreground = config.@"window-titlebar-foreground" orelse config.foreground;
try writer.print( try writer.print(
\\window.without-window-decoration-and-with-titlebar {{
\\ border-radius: 0 0;
\\}}
\\widget.unfocused-split {{ \\widget.unfocused-split {{
\\ opacity: {d:.2}; \\ opacity: {d:.2};
\\ background-color: rgb({d},{d},{d}); \\ background-color: rgb({d},{d},{d});

View File

@ -33,6 +33,10 @@ label.size-overlay.hidden {
opacity: 0; opacity: 0;
} }
window.without-window-decoration-and-with-titlebar {
border-radius: 0 0;
}
.transparent { .transparent {
background-color: transparent; background-color: transparent;
} }