summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2026-05-15 09:04:52 -0400
committerVictor Kareh <[email protected]>2026-05-27 16:01:28 -0400
commitc9cdb62712bae5c715bb07eb7edb49891c4e3f27 (patch)
treec95d66de9ab20889e2cb5510a094fda1a8f6f8e6
parentaa7d85e6c52e6881683b76951e08ccfa5f181196 (diff)
downloadmate-themes-master.tar.bz2
mate-themes-master.tar.xz
Traditional themes: fix invisible text in error/warning entry fieldsHEADmaster
The entry widget uses a background-image gradient for an inner border effect, which renders on top of background-color. When GTK applies the .error class (e.g., search text not found), the text color changes to white but the light gradient remains, making text invisible. This clears the background-image for entry widgets in info/warning/question/error states so the state background color shows through. Fixes #331
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css11
-rw-r--r--desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css11
2 files changed, 22 insertions, 0 deletions
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
index 8f167499..61afa363 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
@@ -3831,6 +3831,17 @@ entry.error:focus,
border-width: 1px;
}
+entry.info,
+entry.info:focus,
+entry.warning,
+entry.warning:focus,
+entry.question,
+entry.question:focus,
+entry.error,
+entry.error:focus {
+ background-image: none;
+}
+
infobar,
.info,
.warning,
diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
index f7025c6c..2e7d29b6 100644
--- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css
@@ -3833,6 +3833,17 @@ entry.error:focus,
border-width: 1px;
}
+entry.info,
+entry.info:focus,
+entry.warning,
+entry.warning:focus,
+entry.question,
+entry.question:focus,
+entry.error,
+entry.error:focus {
+ background-image: none;
+}
+
infobar,
.info,
.warning,