aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2021-10-08 21:27:44 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2021-10-08 22:11:33 +0200
commit6df603d117049ddb77f769a1ee38a9a4d54b8207 (patch)
tree466bb521a8deecf6887b299a66316c1711a1b61e /src/interface-gtk
parent50d63f205d86d554891b327a752bcf0a27b8bc0f (diff)
downloadsciteco-6df603d117049ddb77f769a1ee38a9a4d54b8207.tar.gz
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.
Diffstat (limited to 'src/interface-gtk')
-rw-r--r--src/interface-gtk/fallback.css14
1 files changed, 7 insertions, 7 deletions
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;
}