From 6df603d117049ddb77f769a1ee38a9a4d54b8207 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 8 Oct 2021 21:27:44 +0200 Subject: Gtk: fixed message bar's background color * Was only broken on Gtk+ 3.24 for Windows with the builtin theme engine. * The warning level was also not themed correctly because of a typo. --- src/interface-gtk/fallback.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/interface-gtk/fallback.css b/src/interface-gtk/fallback.css index 90ad4ed..5f8734d 100644 --- a/src/interface-gtk/fallback.css +++ b/src/interface-gtk/fallback.css @@ -46,9 +46,9 @@ /* * The message bar (#sciteco-message-bar). * - * The "question" class refers to G_MESSAGE_QUESTION. + * The "question" class refers to GTK_MESSAGE_QUESTION. * This is used for showing user-level messages for the sole - * reason that there is no class for G_MESSAGE_OTHER that + * reason that there is no class for GTK_MESSAGE_OTHER that * we could use for styling. */ #sciteco-message-bar .label { @@ -56,20 +56,20 @@ text-shadow: none; } -#sciteco-message-bar { +#sciteco-message-bar * { background-image: none; } -#sciteco-message-bar.question { +#sciteco-message-bar.question * { background-color: @sciteco_default_fg_color; } -#sciteco-message-bar.info { +#sciteco-message-bar.info * { background-color: green; } -#sciteco-message-bar.error { +#sciteco-message-bar.warning * { background-color: yellow; } -#sciteco-message-bar.error { +#sciteco-message-bar.error * { background-color: red; } -- cgit v1.2.3