From 057dd3e20924432a33a9ff628114a6c787b74f67 Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Sun, 29 Dec 2024 23:51:29 -0600 Subject: [PATCH] apprt/gtk: move some static CSS to the style.css file Signed-off-by: Tristan Partin --- src/apprt/gtk/App.zig | 3 --- src/apprt/gtk/style.css | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/apprt/gtk/App.zig b/src/apprt/gtk/App.zig index c6e2b4d08..033f4788c 100644 --- a/src/apprt/gtk/App.zig +++ b/src/apprt/gtk/App.zig @@ -972,9 +972,6 @@ fn loadRuntimeCss( const headerbar_foreground = config.@"window-titlebar-foreground" orelse config.foreground; try writer.print( - \\window.without-window-decoration-and-with-titlebar {{ - \\ border-radius: 0 0; - \\}} \\widget.unfocused-split {{ \\ opacity: {d:.2}; \\ background-color: rgb({d},{d},{d}); diff --git a/src/apprt/gtk/style.css b/src/apprt/gtk/style.css index 65dc0c075..edafc84c7 100644 --- a/src/apprt/gtk/style.css +++ b/src/apprt/gtk/style.css @@ -33,6 +33,10 @@ label.size-overlay.hidden { opacity: 0; } +window.without-window-decoration-and-with-titlebar { + border-radius: 0 0; +} + .transparent { background-color: transparent; }