diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-05-13 18:01:19 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-05-13 21:10:58 -0400 |
| commit | 361623aaccf08063712500a213548a2756dd13c4 (patch) | |
| tree | 8583ad5baa28ee65657cd5d454c0ad02f0cf04b8 /ui/styles | |
| parent | 4061919ee5027ace8a592b47cbc0d92dcc8f8614 (diff) | |
Implement the disabled state:
* Suppress input (including paste) while the input is disabled.
* Style the input to make it visible that it's not accepting input.
Diffstat (limited to 'ui/styles')
| -rw-r--r-- | ui/styles/forms.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/styles/forms.css b/ui/styles/forms.css index 59dda30..907f1bf 100644 --- a/ui/styles/forms.css +++ b/ui/styles/forms.css @@ -26,3 +26,7 @@ form.form > button { [contenteditable]:empty { color: var(--light-text); } + +.disabled { + color: var(--light-text); +} |
