From 71e1fc91f1f648a68043467f05031f2f13a94e4c Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 2 Feb 2025 23:30:11 +0200 Subject: [PATCH] select2: Add disabled option styling --- public/css/select2-overrides.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/css/select2-overrides.css b/public/css/select2-overrides.css index e09e761c9..84f758d7c 100644 --- a/public/css/select2-overrides.css +++ b/public/css/select2-overrides.css @@ -100,6 +100,13 @@ border: 1px solid var(--SmartThemeBorderColor); } +.select2-container .select2-results .select2-results__option--disabled { + color: inherit; + background-color: inherit; + cursor: not-allowed; + filter: brightness(0.5); +} + .select2-container .select2-selection--multiple .select2-selection__choice, .select2-container .select2-selection--single .select2-selection__choice { border-radius: 5px;