summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-05-13 17:53:01 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-05-13 21:10:20 -0400
commit4061919ee5027ace8a592b47cbc0d92dcc8f8614 (patch)
tree501cbc6998188aee2937e2109686b9afa3ffff39
parent6eb8487d89ab14f8f11a40b78d7db72e3266840d (diff)
Dim out placeholder text.
It's not much, but it makes it a bit easier to see that the placeholder text _is_ a placeholder. Not sure what to do about it vanishing permanently once the element is edited, until the element is formally `reset()`, though.
-rw-r--r--ui/styles/forms.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/styles/forms.css b/ui/styles/forms.css
index eb98743..59dda30 100644
--- a/ui/styles/forms.css
+++ b/ui/styles/forms.css
@@ -22,3 +22,7 @@ form.form > button {
border: 1px solid var(--colour-input-border);
margin: 0.25rem;
}
+
+[contenteditable]:empty {
+ color: var(--light-text);
+}