]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/css/circ.css.tt2
f0d29c28f49754beecb0696a807b845834dd55e6
[working/Evergreen.git] / Open-ILS / src / templates / staff / css / circ.css.tt2
1
2 /* push the patron summary up to compensate for the extra
3  * padding required to support the fixed navigation */
4 .patron-summary-grid-wrapper {
5   margin-top: 20px;
6 }
7
8 /** style to make a grid look like a striped table */
9 #patron-summary-grid div.row {padding: 3px; border-right: 2px solid rgb(248, 248, 248);}
10 #patron-summary-grid div.row:nth-child(odd) {background-color: rgb(248, 248, 248);}
11
12 /* there are bootstrap tyles for error, warning, etc., 
13 but the ones I'm finding aren't quite cutting it..*/
14 .patron-summary-alert {color: red; font-weight:bold}
15 .patron-summary-alert-small {color: red; background-color: white;}
16 .patron-summary-divider { border-top: 1px solid #CCC}
17 .patron-summary-act-link {font-size: .8em;}
18 .patron-summary-has-notes:hover, .patron-summary-has-notes:visited{ text-decoration: none; }
19
20 .patron-summary-pref-name {
21   padding-left: 6px;
22   color: #5cb85c;
23 }
24
25 /* FIXME: use .barcode instead */
26 #patron-checkout-barcode,
27 #patron-renewal-barcode,
28 #patron-checkin-barcode { width: 16em; }
29
30 #patron-search-form div.form-group {
31   margin-bottom: 5px;
32 }
33
34 #patron-fixed-tabs {
35     position: fixed;
36     top: 50px;
37     right: 15px;
38     left: 45px;
39     padding-top: 20px;
40     padding-top: 10px;
41     z-index: 4;
42     background-color: rgba(255,255,255,1);
43 }
44
45 .patron-name-header {
46   margin-top: 20px;
47 }
48
49 /* let search form elements fill their containers w/ slight padding */
50 #patron-search-form-row {margin-left: 0px;}
51 #patron-search-form div.col-md-2 { padding: 2px; }
52 #patron-search-form input:not([type="checkbox"]) { width: 100%; }
53 #patron-search-form .eg-org-selector,
54 #patron-search-form .eg-org-selector button,
55 #patron-search-form .patron-search-selector,
56   #patron-search-form .patron-search-selector button { 
57   width: 100%; 
58   text-align: left
59 }
60
61
62 #patron-payments-spreadsheet {
63   margin-top: 10px;
64   padding-top: 10px;
65   border-top: 1px solid #aaa;
66 }
67
68 #patron-payments-spreadsheet .flex-cell {
69   margin: 2px;
70 }
71
72 #patron-payments-spreadsheet .flex-cell.well {
73   min-height: 1.5em;
74   margin-bottom: 0px; /* bootstrap default is 20px */
75 }
76
77 #hold-notify-settings div.row { margin-top: 12px; }
78 #hold-notify-settings div.row:not(.header-row):nth-child(odd) {
79   background-color: rgb(248, 248, 248);
80 }
81 #hold-notify-settings div.row:not(.header-row) {
82   border-bottom: 1px solid #CCC;
83 }
84
85 /* -- patron registration -- */
86
87 /* make all input widgets the same width, i.e. fill their column */
88
89 .reg-field-input {font-weight: 700; }
90 .reg-field-input input:not([type="checkbox"]) { width: 100%; }
91
92 /* selector contents float left to allow depth-based left-padding */
93 .reg-field-input .eg-org-selector,
94 .reg-field-input .btn-group {
95   width: 100%; 
96   text-align: left;
97 }
98
99 /* selector button labels float right */
100 .reg-field-input .eg-org-selector button,
101 .reg-field-input .btn-group > button {
102   width: 100%; 
103   text-align: right;
104 }
105
106 /* floating div along top-right with field documentation */
107 #reg-alert-pane {
108     position: fixed;
109     top:160px;
110     right:20px;
111     /*
112     border:2px dashed #d9e8f9;
113     -moz-border-radius: 10px;
114     */
115     font-weight: bold;
116     padding: 20px;
117     margin-top: 20px;
118 }
119
120 #reg-dupe-links {
121                 margin-bottom: 10px;
122 }
123
124
125 #reg-field-doc legend {
126     /* otherwise the font size is quite large */
127     font-size: 100%;
128 }
129
130 .reg-field-row {
131     padding-bottom: 3px; 
132 }
133
134 .reg-field-row label {
135     font-weight: normal;
136 }
137
138 .patron-reg-fixed-bar {
139     position: fixed;
140     top:50px;
141     right: 20px;
142     left: 20px;
143     padding-top: 20px;
144     padding-bottom: 10px;
145     z-index: 1;
146     background-color: rgba(255,255,255,1);
147 }
148
149 .patron-reg-actions-bar {
150   padding: 5px;
151 }
152 .patron-reg-actions-bar span {
153   font-weight: bold;
154 }
155
156 .patron-reg-barcodes > .header {
157   font-weight: bold;
158 }
159
160 /* Bootstrap alert panes are too stylized/padded/etc. in this case,
161  * but consider revisiting. */
162 .patron-reg-validation-alert {
163   font-weight: bold;
164   color: red;
165 }
166
167 /* Angular applies these classes based on the field's 
168  * required and pattern settings */
169 #patron-reg-container .ng-invalid,
170 #patron-reg-container .ng-invalid-required,
171 #patron-pay-by-credit-form .ng-invalid {
172   background-color: yellow;
173   color: red;
174 }
175
176 .patron-reg-names-separator {
177   margin-top: 3px;
178   margin-bottom: 3px;
179 }
180
181 .patron-reg-pref-names {
182   background-color: rgb(215, 215, 215);
183 }
184
185 /* -- end patron registration -- */
186
187 [%# 
188 vim: ft=css 
189 %]