From: Stephanie Leary Date: Fri, 9 Dec 2022 17:22:13 +0000 (-0600) Subject: Access Key Info modal color contrast fixes X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=09aecd9942048473fa5a70573b556b750bdc8cdd;p=working%2FEvergreen.git Access Key Info modal color contrast fixes The modal header and close button don't pass WCAG color contrast checks. In addition to fixing those issues, I've given the rows alternating backgrounds and bold column headers. Signed-off-by: Stephanie Leary --- diff --git a/Open-ILS/src/eg2/src/app/share/accesskey/accesskey-info.component.css b/Open-ILS/src/eg2/src/app/share/accesskey/accesskey-info.component.css new file mode 100644 index 0000000000..e2ab932f23 --- /dev/null +++ b/Open-ILS/src/eg2/src/app/share/accesskey/accesskey-info.component.css @@ -0,0 +1,37 @@ +.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; +} + +.modal-body .row { + margin: 0; +} + +.modal-body .row:nth-of-type(odd) { + background: #f4f4f4; +} + +.modal-body .row.shortcut-info { + background: #fff; + font-style: italic; +} + +.modal-body .row-header { + font-weight: bold; +} + +.shortcut-keycombo { + text-align: center; +} diff --git a/Open-ILS/src/eg2/src/app/share/accesskey/accesskey-info.component.html b/Open-ILS/src/eg2/src/app/share/accesskey/accesskey-info.component.html index 8396ea5873..af51572e15 100644 --- a/Open-ILS/src/eg2/src/app/share/accesskey/accesskey-info.component.html +++ b/Open-ILS/src/eg2/src/app/share/accesskey/accesskey-info.component.html @@ -7,20 +7,20 @@