Bug 18551: followup - hide advanced filters in header, move hidding to css file
[koha.git] / koha-tmpl / intranet-tmpl / prog / css / cateditor.css
1 /*> Infrastructure */
2 body {
3     padding: 0;
4 }
5
6 #loading {
7     background-color: #FFF;
8     cursor: wait;
9     height: 100%;
10     left: 0;
11     opacity: .7;
12     position: fixed;
13     top: 0;
14     width: 100%;
15     z-index: 1000;
16 }
17
18 #loading div {
19     background : transparent url(../img/loading.gif) top left no-repeat;
20     font-size : 175%;
21     font-weight: bold;
22     height: 2em;
23     left: 50%;
24     margin: -1em 0 0 -2.5em;
25     padding-left : 50px;
26     position: absolute;
27     top: 50%;
28     width: 15em;
29 }
30
31 #alerts-container {
32     font-size: 12px;
33 }
34
35 #alerts-container h3 {
36     font-size: inherit;
37 }
38
39 #alerts-container > ul {
40     padding: 0;
41 }
42
43 #alerts-container > ul > li {
44     border-bottom: 1px solid #DDD;
45     display: block;
46     padding: 4px 0;
47 }
48
49 #alerts-container > ul > li:first-child {
50     padding-top: 0;
51 }
52
53 #alerts-container > ul > li:last-child {
54     border-bottom: none;
55     padding-bottom: 0;
56 }
57
58 #shortcuts-container {
59     font-size: 12px;
60 }
61
62 /*> MARC editor */
63 #editor .CodeMirror {
64     line-height: 1.2;
65 }
66
67 .cm-tagnumber {
68     color: #080;
69     font-weight: bold;
70 }
71
72 .cm-bad-tagnumber {
73     color: #A20;
74     font-weight: bold;
75 }
76
77 .cm-indicator {
78     color: #884;
79 }
80
81 .cm-subfieldcode {
82     background-color: #F4F4F4;
83     color: #187848;
84     border-radius: 3px;
85     border-right: 2px solid white;
86     font-weight: bold;
87     padding-left: 3px;
88     padding-right: 3px;
89     margin-right: -2px;
90 }
91
92 .cm-bad-subfieldcode {
93     background-color: #FFD9D9;
94     color: #482828;
95     border-radius: 3px 8px 8px 3px;
96     font-weight: bold;
97 }
98
99 .cm-end-space {
100     background-color: #DDDDBB;
101 }
102
103 #editor .modified-line-gutter {
104     width: 10px;
105 }
106
107 #editor .modified-line {
108     background: #F8F8F8;
109     border-left: 5px solid black;
110     margin-left: -10px;
111     padding-left: 5px;
112 }
113
114 #editor .CodeMirror-gutters {
115     background: transparent;
116     border-right: none;
117 }
118
119 /*> MARC editor widgets */
120
121 #editor .subfield-widget {
122     color: #538200;
123     border: solid 2px #538200;
124     border-radius: 6px;
125     font-family: inherit;
126     line-height: 2.75;
127     margin: 3px 0;
128     padding: 4px;
129 }
130
131 #editor .subfield-widget select, #editor .subfield-widget input {
132     height: 1.5em;
133     vertical-align: middle;
134 }
135
136 #editor .subfield-widget select:focus {
137     outline: 2px #83A230 solid;
138 }
139
140 #editor .fixed-widget input {
141     width: 4em;
142 }
143
144 #editor .fixed-widget select {
145     width: 3em;
146 }
147
148 #editor .fixed-widget .material-select {
149     width: 4.5em;
150     margin-right: .5em;
151 }
152
153 #editor .fixed-collapsed {
154     display: inline-block;
155     margin: 0 .25em;
156     text-align: center;
157     text-decoration: underline;
158 }
159
160 #editor .hidden-widget {
161     color: #999999;
162     border: solid 2px #AAAAAA;
163     line-height: 2;
164     padding: 2px;
165 }
166
167 .structure-error {
168     background: #FFEEEE;
169     font-size: 0.9em;
170     line-height: 1.5;
171     margin: .5em;
172     padding: 0 .5em;
173 }
174
175 .structure-error i {
176     vertical-align: text-bottom;
177 }
178
179 #statusbar {
180     background-color: #F4F8F9;
181     border: solid 2px #b9d8d9;
182     border-bottom-style: none;
183     border-radius: 6px 6px 0 0;
184     margin-bottom: -32px;
185     overflow: auto;
186     padding: 4px;
187     padding-bottom: 0;
188 }
189
190 #statusbar #status-tag-info, #statusbar #status-subfield-info {
191     float: left;
192     overflow: hidden;
193     padding-right: 2%;
194     width: 48%;
195 }
196
197 #record-info .label {
198     float: none;
199 }
200
201 #record-info .label + span {
202     display: block;
203     padding-left: 1em;
204 }
205
206 /*> Search */
207
208 #advanced-search-ui .modal-lg, #search-results-ui .modal-lg, #macro-ui .modal-lg {
209     width: 90%;
210 }
211
212 .modal-body {
213     max-height: none;
214 }
215
216 .modal-lg .modal-body {
217     overflow-y: auto;
218 }
219
220 #quicksearch-overlay {
221     background: rgba(255, 255, 255, .9);
222     border: 2px solid #CC8877;
223     border-radius: 5px;
224     -moz-box-sizing: border-box;
225     -webkit-box-sizing: border-box;
226     box-sizing: border-box;
227     color: #664444;
228     position: relative;
229     vertical-align: middle;
230 }
231
232 #quicksearch-overlay h3 {
233     font-size: 1.5em%;
234     margin: 0;
235     text-align: center;
236     padding: 50px 5px;
237 }
238
239 #quicksearch-overlay p {
240     bottom: 0;
241     font-size: .8em;
242     overflow: hidden;
243     padding: 8px 15px;
244     position: absolute;
245     text-align: center;
246 }
247
248 #quicksearch input, #quicksearch a {
249     font-size: 1.2em;
250     padding: 3px 0;
251     width: 96%; /* I have no idea why this is necessary */
252 }
253
254 #show-advanced-search {
255     display: block;
256     margin-top: .3em;
257 }
258
259 #advanced-search-fields {
260     -moz-column-width: 26em;
261     -webkit-column-width: 26em;
262     column-width: 26em;
263     margin: 0;
264     padding: 0;
265 }
266
267 #advanced-search-fields li {
268     display: block;
269     list-style-type: none;
270 }
271
272 #advanced-search-fields label {
273     display: inline-block;
274     font-weight: bold;
275     padding: 1em 1em 1em 0;
276     width: 10em;
277     text-align: right;
278 }
279
280 #advanced-search-fields input {
281     display: inline-block;
282     margin: 0px auto;
283     width: 14em;
284 }
285
286 .fa.fa-spinner {
287     display: inline-block;
288     height: 16px;
289     width: 16px;
290     background: transparent url("../img/spinner-small.gif") top left no-repeat;
291     padding: -1px;
292     vertical-align: text-top;
293 }
294
295 /*> Search results */
296
297 #search-serversinfo li {
298     list-style-type: none;
299 }
300
301 #search-serversinfo .search-toggle-server {
302     margin-right: 5px;
303 }
304
305 #searchresults table {
306     width: 100%;
307 }
308
309 .sourcecol {
310     width: 50px;
311 }
312
313 .results-info {
314     height: 100px;
315     overflow: auto;
316 }
317
318 .toolscol {
319     padding: 0;
320     width: 100px;
321 }
322
323 .toolscol ul {
324     margin: 0;
325     padding: 0;
326 }
327
328 #searchresults .toolscol li {
329     list-style-type: none;
330     list-style-image: none;
331 }
332
333 .toolscol a {
334     border-bottom: 1px solid #BCBCBC;
335     display: block;
336     padding: 0 1em;
337     line-height: 24px;
338 }
339
340 .marccol {
341     font-family: monospace;
342     height: auto;
343     white-space: pre-wrap;
344 }
345
346 #searchresults {
347     position: relative;
348 }
349
350 #search-overlay {
351     background: white;
352     bottom: 0;
353     font-size: 2em;
354     left: 0;
355     opacity: .7;
356     padding: 2em;
357     position: absolute;
358     right: 0;
359     text-align: center;
360     top: 0;
361     z-index: 9001;
362 }
363
364 /*> Macros */
365 #macro-save-message {
366     color: #666;
367     font-size: 13px;
368     float: right;
369     line-height: 26px;
370 }
371
372 #macro-list > li {
373     border: 2px solid #F0F0F0;
374     border-radius: 6px;
375     display: block;
376     font-size: 115%;
377 }
378
379 #macro-list > li + li {
380     margin-top: -2px;
381 }
382
383 #macro-list .active {
384     background: #EDF4F6;
385     border-color: none;
386 }
387
388 #macro-list a {
389     display: block;
390     padding: 6px;
391 }
392
393 #macro-list a:focus {
394     outline: none;
395 }
396
397 .macro-info {
398     background-color: #F4F4F4;
399     display: none;
400     margin: 0;
401     padding: 10px;
402     text-align: right;
403 }
404
405 .macro-info li {
406     color: #666;
407     font-size: 75%;
408     list-style-type: none;
409 }
410
411 .macro-info .label {
412     clear: left;
413     font-weight: bold;
414     float: left;
415 }
416
417 #macro-list .active .macro-info {
418     display: block;
419 }
420
421 .btn-toolbar label, .btn-toolbar select {
422     font-size: 13px;
423     vertical-align: middle;
424 }
425
426 .btn-toolbar label {
427     margin-left: 1em;
428 }
429
430 .btn-toolbar select {
431     padding: 2px;
432 }
433
434 #macro-editor {
435     display: flex;
436     flex-direction: column;
437     height: 100%;
438 }
439
440 #macro-editor .CodeMirror {
441     flex: 1;
442     font-size: 13px;
443 }
444
445 /* Hotpatch from latest CodeMirror: Fix gutter positioning */
446 .CodeMirror-gutter-wrapper {
447     position: absolute;
448 }