From d19ee8eb03f0cd89cf75cd148dc02f86841181a6 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Sat, 19 Oct 2024 16:14:34 +0200 Subject: Add disabled state --- src/ui/theme-files/modern/theme.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ui') 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 { -- cgit v1.2.3