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