LP1953381 not-allowed pointer for inactive buttons user/sleary/btn_disabled
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Wed, 28 Sep 2022 21:54:49 +0000 (16:54 -0500)
committerStephanie Leary <stephanie.leary@equinoxOLI.org>
Wed, 28 Sep 2022 21:54:49 +0000 (16:54 -0500)
Adds a style to change the mouse pointer to the "no" symbol for disabled
buttons.

To test:
1. Apply patch.
2. Go to an item record in the staff catalog.
3. Mouse over the "Set Default View" button (disabled by default on the
   Item Table tab).
4. The pointer should change to the "no" symbol.

Open-ILS/src/eg2/src/styles.css

index d5d930e..9c4ad96 100644 (file)
@@ -83,6 +83,9 @@ h5 {font-size: .95rem}
   min-height: 40px;
 }
 
+.btn.disabled, .btn:disabled {
+  cursor: not-allowed;
+}
 
 /* usefuf for mat-icon buttons without any background or borders */
 .material-icon-button {