LP1953381 not-allowed pointer for inactive buttons user/mccanna/btn_disabled_signoff
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Wed, 28 Sep 2022 21:54:49 +0000 (16:54 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Thu, 29 Sep 2022 19:42:07 +0000 (15:42 -0400)
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.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
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 {