From: Stephanie Leary Date: Fri, 9 Dec 2022 17:22:13 +0000 (-0600) Subject: LP1999955 AccessKeys info style updates X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e5771b849b5bf729501f036ee8e7b6f0f2f1c5e9;p=Evergreen.git LP1999955 AccessKeys info style updates Adds styles to the keyboard shortcuts to make them look more like keys. Also adds striping to each row and makes the headers bold. Signed-off-by: Stephanie Leary Signed-off-by: Josh Stompro Signed-off-by: Jane Sandberg --- 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..b672194f4a --- /dev/null +++ b/Open-ILS/src/eg2/src/app/share/accesskey/accesskey-info.component.css @@ -0,0 +1,35 @@ +.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; +} + +kbd { + background-color:#e4e4e7; + border-radius:.2rem; + border: none; + box-shadow: 1px 1px 1px rgba(0,0,10,0.5); + color: #000; + margin: 0 .2em; + /* :first-letter requires a block-level element */ + display: inline-block; +} + +kbd:first-letter { + text-transform: uppercase; +} 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..e528540814 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,25 @@