LP1998969 Make disabled <option>s more obvious
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Tue, 6 Dec 2022 22:56:14 +0000 (16:56 -0600)
committerJane Sandberg <sandbergja@gmail.com>
Wed, 1 Mar 2023 01:39:09 +0000 (17:39 -0800)
Changes the color of disabled options in <select> dropdowns to 30% gray.

To test, visit the staff catalog. In the search filters, with the search
type set to keyword, notice that the "matches exactly" and "starts with"
options in the "Contains" dropdown are now better distinguished from
valid choices.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/eg2/src/styles.css

index fd2fac1..450642f 100644 (file)
@@ -229,6 +229,10 @@ input[formcontrolname].ng-invalid {
   border-bottom: 1px solid rgba(0,0,0,.125);
 }
 
+option[disabled] {
+  color: rgba(0,0,0,.3);
+}
+
 /**
  * Only display the print container when printing
  */