select2: Add disabled option styling

This commit is contained in:
Cohee
2025-02-02 23:30:11 +02:00
parent 14703846a7
commit 71e1fc91f1

View File

@ -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;