summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Kohl2024-10-19 16:14:34 +0200
committerJonas Kohl2024-10-19 16:14:34 +0200
commitd19ee8eb03f0cd89cf75cd148dc02f86841181a6 (patch)
tree545cee8dbf1faefec03076cf22a3847458942601 /src
parente87daaa3321fb82dee279078bcfc757c722f407b (diff)
Add disabled state
Diffstat (limited to 'src')
-rw-r--r--src/ui/theme-files/modern/theme.css7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/theme-files/modern/theme.css b/src/ui/theme-files/modern/theme.css
index 094e7fc..1f1cc3a 100644
--- a/src/ui/theme-files/modern/theme.css
+++ b/src/ui/theme-files/modern/theme.css
@@ -269,6 +269,13 @@ select {
&:focus-visible {
background-color: rgb(from var(--color--primary) r g b / 10%);
}
+
+ &:disabled {
+ color: var(--color--muted);
+ background-color: rgb(from var(--color--muted) r g b / 10%);
+ border-color: rgb(from var(--widget--border-color) r g b / 67%);
+ cursor: not-allowed;
+ }
}
select {