From: Christine Morgan Date: Thu, 21 Nov 2019 17:53:11 +0000 (-0500) Subject: LP1735568, LP1830443: MARC Editor Fixes X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=40e30735cebb9d49eadfffdecd5fd1dfa4c2926e;p=contrib%2FConifer.git LP1735568, LP1830443: MARC Editor Fixes These style changes to the current MARC Editor fix the indicator box resize problem and the blank subfield problem while improving usability. Colors were tested using the Chrome extension Colorblindly, a colorblindness simulator. Signed-off-by: Christine Morgan Signed-off-by: Elaine Hardy Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 b/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 index 5ba785945b..1421b65145 100644 --- a/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 +++ b/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 @@ -24,7 +24,7 @@ [% l('Stack subfields') %] -
+
[% l('Record Type') %] {{calculated_record_type}} @@ -56,7 +56,7 @@
-
+
@@ -148,9 +148,9 @@
-
+
-
+
  • [% l('Undo: CTRL-z') %]
  • @@ -178,23 +178,26 @@
- -
-
- -
-
- +
+
+ +
+
+ +
+
+ +
diff --git a/Open-ILS/src/templates/staff/cat/share/t_marcedit_editable.tt2 b/Open-ILS/src/templates/staff/cat/share/t_marcedit_editable.tt2 index 1e5888f000..a5c8301d40 100644 --- a/Open-ILS/src/templates/staff/cat/share/t_marcedit_editable.tt2 +++ b/Open-ILS/src/templates/staff/cat/share/t_marcedit_editable.tt2 @@ -2,8 +2,8 @@ {{content}}
diff --git a/Open-ILS/src/templates/staff/css/cat.css.tt2 b/Open-ILS/src/templates/staff/css/cat.css.tt2 index ced13b3676..8b432272b0 100644 --- a/Open-ILS/src/templates/staff/css/cat.css.tt2 +++ b/Open-ILS/src/templates/staff/css/cat.css.tt2 @@ -9,7 +9,9 @@ } .marcrecord { - //background-color: #f5f5f5; + background-color: #ddd; + padding: 10px; /* provide consistant space around marc field editor */ + margin: 0 -15px; /* line up editing sections left and right */ } .marcflateditor { @@ -23,7 +25,7 @@ } .marcedit { - background-color: #f5f5f5; + background-color: #fff; border-collapse: collapse; border: solid thin gray; padding: 0px 5px 0px 5px; @@ -39,34 +41,42 @@ input.marcedit:focus { background-color: lightcyan; } +.keyboardhelp { + background-color: #fff; + border-bottom: 1px solid gray; +} + .marcffeditor { max-width: 800px; } .fixed-field-box { - border: 1px solid gray; + border: none; +} +.marcffcontainer { + background-color: lightcyan; + border-bottom: 1px solid gray; } - .marcsfvalue { - border-left: 0px !important; + border-left: 1px !important; } .marcsfcode { color: blue; font-weight: normal; text-align: center; - padding-left: 0px !important; - border-left: 0px !important; - border-right: 0px !important; + margin-left: 0px !important; + width: 1.5em; } .marcsfcodedelimiter { + background-color: #ddd; color: blue; font-family: 'Lucida Console', Monaco, monospace; font-weight: normal; text-align: center; padding-right: 0px !important; - border-right: 0px !important; + border: none !important; } .unvalidatedheading { @@ -77,6 +87,13 @@ input.marcedit:focus { text-align: center; } +.marcind { + width: 1.5em; +} +.marctag { + width: 2.6em; +} + .marcEditableControlfield { text-align: left; } @@ -311,5 +328,4 @@ table.custom-label-table td { overflow-x: scroll; overflow-y: scroll; white-space: nowrap; -} - +} \ No newline at end of file