From 3c35e94bc037fa8ebb08b302d8e79f53b5ac004b Mon Sep 17 00:00:00 2001 From: Josh Stompro Date: Sun, 28 Aug 2016 21:23:01 -0500 Subject: [PATCH] LP#1616220 Fixes for css errors that show up in the xul staff client console. To test ------- [1] In the XUL client, try various interfaces including acquisitions, the patron editor, the reporter, the library settings editor, serials management and patron surveys. Using the error console, verify that applying this patch slightly reduces the number of CSS warnings reported. [2] Repeat step 1 using the web staff client, in particular while looking at the embedded acquisitions interfaces. Signed-off-by: Josh Stompro Signed-off-by: Galen Charlton --- Open-ILS/src/templates/acq/lineitem/findbib.tt2 | 2 +- Open-ILS/web/css/skin/default.css | 2 +- Open-ILS/web/css/skin/default/acq.css | 6 +++--- Open-ILS/web/css/skin/default/register.css | 10 +++++----- Open-ILS/web/reports/oils_rpt.css | 2 +- Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml | 8 ++------ Open-ILS/xul/staff_client/server/cat/copy_editor.xul | 8 ++++---- Open-ILS/xul/staff_client/server/cat/copy_notes.xul | 2 +- .../xul/staff_client/server/circ/alternate_copy_summary.xul | 4 ++-- Open-ILS/xul/staff_client/server/patron/hold_details.xul | 4 ++-- Open-ILS/xul/staff_client/server/patron/info_notes.xul | 2 +- Open-ILS/xul/staff_client/server/patron/info_stat_cats.xul | 2 +- Open-ILS/xul/staff_client/server/patron/info_surveys.xul | 2 +- Open-ILS/xul/staff_client/server/serial/notes.xul | 2 +- Open-ILS/xul/staff_client/server/serial/sitem_editor.xul | 2 +- Open-ILS/xul/staff_client/server/skin/global.css | 8 ++++---- 16 files changed, 31 insertions(+), 35 deletions(-) diff --git a/Open-ILS/src/templates/acq/lineitem/findbib.tt2 b/Open-ILS/src/templates/acq/lineitem/findbib.tt2 index 42aeaff2bb..88ce8dfde5 100644 --- a/Open-ILS/src/templates/acq/lineitem/findbib.tt2 +++ b/Open-ILS/src/templates/acq/lineitem/findbib.tt2 @@ -53,7 +53,7 @@ left:200px; bottom:100px; border: 3px solid #333; - -moz-border-radius: 5px; + border-radius: 5px; padding: 30px; text-align:center; background: #FFF; diff --git a/Open-ILS/web/css/skin/default.css b/Open-ILS/web/css/skin/default.css index 63bed99317..b92558204b 100644 --- a/Open-ILS/web/css/skin/default.css +++ b/Open-ILS/web/css/skin/default.css @@ -93,7 +93,7 @@ table { border-collapse: collapse; } } .oils-fm-edit-dialog td { border:1px solid #999;} .oils-pcrudfilterdialog-table tr td { padding: 0.75ex 0.5em; } -.oils-pcrudfilterdialog-table tr:nth-child(event) { +.oils-pcrudfilterdialog-table tr:nth-child(even) { background-color: #d7d7d7; } .oils-pcrudfilterdialog-remover-holder { diff --git a/Open-ILS/web/css/skin/default/acq.css b/Open-ILS/web/css/skin/default/acq.css index 1dd1ccb70c..928bcb9b1a 100644 --- a/Open-ILS/web/css/skin/default/acq.css +++ b/Open-ILS/web/css/skin/default/acq.css @@ -147,7 +147,7 @@ label[for="attr_search_type_scalar"] { vertical-align: top; } #acq-lit-info-tbody td {padding:5px;} #acq-lit-info-related { margin-top: 10px; } #acq-lit-distrib-formula-table { margin-top: 10px; margin-bottom: 5px;} -#acq-lit-li-details-table {margin-top:5px; border-top;} +#acq-lit-li-details-table {margin-top:5px;} #acq-lit-li-details-table td {padding:0px 3px 1px 3px;} #acq-lit-li-details-table th {padding:0px 3px 1px 3px; font-weight:bold;} #acq-lit-li-details-table .dijit {width:130px;} @@ -175,9 +175,9 @@ span[name="worksheet"] { padding: 0 6px; } .acq-menu-bar {width:99%; text-align:left; border:1px solid #aaa; margin:5px 0px 10px 0px;} .acq-notes-note-row { margin: 6px 0; } -#acq-po-notes-tbody li { margin-bottom:10px; border:1px solid #aaa; -moz-border-radius: 5px 5px 5px 5px; } +#acq-po-notes-tbody li { margin-bottom:10px; border:1px solid #aaa; border-radius: 5px 5px 5px 5px; } #acq-po-notes-tbody td {padding: 20px 10px 20px 10px; border-bottom:2px solid #aaa;} -#acq-lit-notes-tbody li { margin-bottom:10px; border:1px solid #aaa; -moz-border-radius: 5px 5px 5px 5px; } +#acq-lit-notes-tbody li { margin-bottom:10px; border:1px solid #aaa; border-radius: 5px 5px 5px 5px; } #acq-lit-notes-tbody td {padding: 20px 10px 20px 10px; border-bottom:2px solid #aaa;} #acq-lit-alert-value { height: 5em; width: 20em; } span[name="vendor_public"] {color: #00c;padding-right: 1em;font-weight: bold;} diff --git a/Open-ILS/web/css/skin/default/register.css b/Open-ILS/web/css/skin/default/register.css index 4c58059770..620237634e 100644 --- a/Open-ILS/web/css/skin/default/register.css +++ b/Open-ILS/web/css/skin/default/register.css @@ -14,7 +14,7 @@ right:30px; width:200px; border:2px solid #d9e8f9; - -moz-border-radius: 10px; + border-radius: 10px; font-weight: bold; padding: 12px; text-align:center; @@ -27,7 +27,7 @@ right:30px; width:300px; border:2px dashed #d9e8f9; - -moz-border-radius: 10px; + border-radius: 10px; font-weight: bold; padding: 20px; margin-top: 20px; @@ -39,7 +39,7 @@ right:30px; width:300px; border:2px dashed #d9e8f9; - -moz-border-radius: 10px; + border-radius: 10px; font-weight: bold; padding: 20px; } @@ -50,14 +50,14 @@ right:30px; width:300px; border:2px dashed #d9e8f9; - -moz-border-radius: 10px; + border-radius: 10px; font-weight: bold; padding: 10px; text-align: center; } #uedit-address-alert-header { color: red; - text-decoration: italic + font-style: italic; text-align: center; } diff --git a/Open-ILS/web/reports/oils_rpt.css b/Open-ILS/web/reports/oils_rpt.css index 3fde850e95..2bbbc19b68 100644 --- a/Open-ILS/web/reports/oils_rpt.css +++ b/Open-ILS/web/reports/oils_rpt.css @@ -33,7 +33,7 @@ table { border-collapse: collapse; } } #oils_rpt_table tr { - -moz-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; } #oils_rpt_table td { diff --git a/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml b/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml index e54a639c26..662bde0151 100644 --- a/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml +++ b/Open-ILS/xul/staff_client/server/admin/org_unit_settings.xhtml @@ -55,11 +55,7 @@ /*Standards compliant*/ border-bottom-left-radius:5px; - border-bottom-right-radius:5px; - - /*Old staff client compliant, It could be worse, we could be using IE!*/ - -moz-border-radius-bottomleft:5px; - -moz-border-radius-bottomright:5px; + border-bottom-right-radius:5px; } .message_container { @@ -220,4 +216,4 @@
- \ No newline at end of file + diff --git a/Open-ILS/xul/staff_client/server/cat/copy_editor.xul b/Open-ILS/xul/staff_client/server/cat/copy_editor.xul index ca624f5d64..fdb2a66b5d 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_editor.xul +++ b/Open-ILS/xul/staff_client/server/cat/copy_editor.xul @@ -63,22 +63,22 @@ -