From 124a94934ab57306f5c2e01e8cea375c7e049b73 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 16 Dec 2013 10:54:59 -0500 Subject: [PATCH] web staff: separate circ/patron.css file Signed-off-by: Bill Erickson --- Open-ILS/src/templates/staff/circ/patron/index.tt2 | 4 ++++ .../staff/circ/patron/t_items_out_table.tt2 | 2 +- .../src/templates/staff/css/circ/patron.css.tt2 | 22 ++++++++++++++++++++ Open-ILS/src/templates/staff/css/style.css.tt2 | 24 ---------------------- 4 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 Open-ILS/src/templates/staff/css/circ/patron.css.tt2 diff --git a/Open-ILS/src/templates/staff/circ/patron/index.tt2 b/Open-ILS/src/templates/staff/circ/patron/index.tt2 index 235ca4f933..7e09bef305 100644 --- a/Open-ILS/src/templates/staff/circ/patron/index.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/index.tt2 @@ -10,6 +10,10 @@ + + + [% END %]
diff --git a/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 index ca1df34bd6..0ce556f9df 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_items_out_table.tt2 @@ -46,7 +46,7 @@ items_out.setColumns([ ng-click="onRowClick($event, circ)" ng-class="{ selected : items_out.selected[circ.id()], - 'overdue-alert' : circIsOverdue(circ) + 'patron-summary-alert' : circIsOverdue(circ) }"> {{$index + 1}} diff --git a/Open-ILS/src/templates/staff/css/circ/patron.css.tt2 b/Open-ILS/src/templates/staff/css/circ/patron.css.tt2 new file mode 100644 index 0000000000..e1b164411e --- /dev/null +++ b/Open-ILS/src/templates/staff/css/circ/patron.css.tt2 @@ -0,0 +1,22 @@ +/** style to make a grid look like a striped table */ +#patron-summary-grid div.row {padding: 3px; border-right: 2px solid rgb(248, 248, 248);} +#patron-summary-grid div.row:nth-child(odd) {background-color: rgb(248, 248, 248);} + +/* there are bootstrap tyles for error, warning, etc., +but the ones I'm finding aren't quite cutting it..*/ +.patron-summary-alert {color: red; font-weight:bold} + +.patron-summary-divider { border-top: 1px solid #CCC} +.pad-horiz {padding : 0px 10px 0px 10px; } +.pad-vert {padding : 20px 0px 10px 0px;} +#patron-checkout-barcode { width: 16em; } + +#patron-search-form div.form-group { + margin-bottom: 5px; +} + +/* let search form elements fill their containers w/ slight padding */ +#patron-search-form-row {margin-left: 0px;} +#patron-search-form div.col-lg-2 { padding: 2px; } +#patron-search-form input:not([type="checkbox"]) { width: 100%; } + diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index be00f10daa..aedf25cbc6 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -82,27 +82,3 @@ table.list tr.selected td { color: #2a6496; background-color: #F5F5F5; } - - -/* TODO: move these to patron CSS file --- */ - -/** style to make a grid look like a striped table */ -#patron-summary-grid div.row {padding: 3px; border-right: 2px solid rgb(248, 248, 248);} -#patron-summary-grid div.row:nth-child(odd) {background-color: rgb(248, 248, 248);} -/* there are bootstrap tyles for error, warning, etc., -but the ones I'm finding aren't quite cutting it..*/ -.patron-summary-alert {color: red; font-weight:bold} -.patron-summary-divider { border-top: 1px solid #CCC} -.pad-horiz {padding : 0px 10px 0px 10px; } -.pad-vert {padding : 20px 0px 10px 0px;} -#patron-checkout-barcode { width: 16em; } - -#patron-search-form div.form-group { - margin-bottom: 5px; -} - -/* let form elements fill their containers w/ slight padding */ -#patron-search-form-row {margin-left: 0px;} -#patron-search-form div.col-lg-2 { padding: 2px; } -#patron-search-form input:not([type="checkbox"]) { width: 100%; } - -- 2.11.0