From b6a2ce07f819a9ac3562253abcf37170d0cfe72f Mon Sep 17 00:00:00 2001 From: Stephanie Leary Date: Fri, 16 Dec 2022 18:58:36 -0600 Subject: [PATCH] LP1999954 Modal header color contrast fixes Changes modal header and close button to white in order to pass WCAG color contrast checks. Signed-off-by: Stephanie Leary Signed-off-by: Jane Sandberg --- Open-ILS/src/eg2/src/styles.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Open-ILS/src/eg2/src/styles.css b/Open-ILS/src/eg2/src/styles.css index b2391688d5..f15aeae4fd 100644 --- a/Open-ILS/src/eg2/src/styles.css +++ b/Open-ILS/src/eg2/src/styles.css @@ -291,6 +291,24 @@ body>.dropdown-menu {z-index: 2100;} @media (min-width: 1600px) { .modal-xl { max-width: 1500px; } } @media (min-width: 1700px) { .modal-xl { max-width: 1600px; } } +/* Contrast for dialog titles */ +.modal-header .modal-title { + color: #fff; + font-weight: 600; +} + +.modal-header .close, +.modal-header .close:hover { + color: #fff; + opacity: 1; + text-shadow: none; +} + +.modal-header .close:not(:disabled):not(.disabled):focus, +.modal-header .close:not(:disabled):not(.disabled):hover { + opacity: 1; +} + /** * Make the acquisitions search form's navigation tabs match * those of the staff interface. This is a global rule because -- 2.11.0