From c5469d3acfabd9f17b682b5966cff06cb65210dc Mon Sep 17 00:00:00 2001 From: Stephanie Leary Date: Wed, 28 Sep 2022 16:54:49 -0500 Subject: [PATCH] LP1953381 not-allowed pointer for inactive buttons 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/src/eg2/src/styles.css b/Open-ILS/src/eg2/src/styles.css index d5d930e386..9c4ad967f0 100644 --- a/Open-ILS/src/eg2/src/styles.css +++ b/Open-ILS/src/eg2/src/styles.css @@ -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 { -- 2.11.0