Bug 19263: Rancor - Add auto-001 widget
[koha.git] / koha-tmpl / intranet-tmpl / prog / css / cateditor.css
blob7fc4119edf3836c681ab9d34bcd23eb335a0d709
1 /*> Infrastructure */
2 body {
3 padding: 0;
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;
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;
31 #alerts-container {
32 font-size: 12px;
35 #alerts-container h3 {
36 font-size: inherit;
39 #alerts-container > ul {
40 padding: 0;
43 #alerts-container > ul > li {
44 border-bottom: 1px solid #DDD;
45 display: block;
46 padding: 4px 0;
49 #alerts-container > ul > li:first-child {
50 padding-top: 0;
53 #alerts-container > ul > li:last-child {
54 border-bottom: none;
55 padding-bottom: 0;
58 .humanMsg.humanSuccess {
59 left: 75%;
60 width: 20%;
61 top: 160px;
64 #shortcuts-container {
65 font-size: 12px;
68 /*> MARC editor */
69 #editor .CodeMirror {
70 line-height: 1.2;
73 .cm-tagnumber {
74 color: #080;
75 font-weight: bold;
78 .cm-bad-tagnumber {
79 color: #A20;
80 font-weight: bold;
83 .cm-indicator {
84 color: #884;
87 .cm-subfieldcode {
88 background-color: #F4F4F4;
89 color: #187848;
90 border-radius: 3px;
91 border-right: 2px solid white;
92 font-weight: bold;
93 padding-left: 3px;
94 padding-right: 3px;
95 margin-right: -2px;
98 .cm-bad-subfieldcode {
99 background-color: #FFD9D9;
100 color: #482828;
101 border-radius: 3px 8px 8px 3px;
102 font-weight: bold;
105 .cm-end-space {
106 background-color: #DDDDBB;
109 #editor .modified-line-gutter {
110 width: 10px;
113 #editor .modified-line {
114 background: #F8F8F8;
115 border-left: 5px solid black;
116 margin-left: -10px;
117 padding-left: 5px;
120 #editor .CodeMirror-gutters {
121 background: transparent;
122 border-right: none;
125 /*> MARC editor widgets */
127 #editor .subfield-widget {
128 color: #538200;
129 border: solid 2px #538200;
130 border-radius: 6px;
131 font-family: inherit;
132 line-height: 2.75;
133 margin: 3px 0;
134 padding: 2px;
137 #editor .subfield-widget button {
138 font-family: inherit;
139 font-size: inherit;
140 margin-left: 5px;
141 vertical-align: middle;
144 #editor .subfield-widget select, #editor .subfield-widget input {
145 height: 1.5em;
146 vertical-align: middle;
149 #editor .subfield-widget select:focus {
150 outline: 2px #83A230 solid;
153 #editor .fixed-widget input {
154 width: 4em;
155 padding: 0;
156 border-radius: 2px;
157 border-width: 1px;
160 #editor .fixed-widget select {
161 width: 3em;
164 #editor .fixed-widget .material-select {
165 width: 4.5em;
166 margin-right: .5em;
169 #editor .fixed-collapsed {
170 display: inline-block;
171 margin: 0 .25em;
172 text-align: center;
173 text-decoration: underline;
176 #editor .hidden-widget {
177 color: #999999;
178 border: solid 2px #AAAAAA;
179 line-height: 2;
180 padding: 2px;
183 .structure-error {
184 background: #FFEEEE;
185 font-size: 0.9em;
186 line-height: 1.5;
187 margin: .5em;
188 padding: 0 .5em;
191 .structure-error i {
192 vertical-align: text-bottom;
195 #statusbar {
196 background-color: #F4F8F9;
197 border: solid 2px #b9d8d9;
198 border-bottom-style: none;
199 border-radius: 6px 6px 0 0;
200 margin-bottom: -32px;
201 overflow: auto;
202 padding: 4px;
203 padding-bottom: 0;
206 #statusbar #status-tag-info, #statusbar #status-subfield-info {
207 float: left;
208 overflow: hidden;
209 padding-right: 2%;
210 width: 48%;
213 #record-info .label {
214 float: none;
217 #record-info .label + span {
218 display: block;
219 padding-left: 1em;
222 /*> Search */
224 #advanced-search-ui .modal-lg, #search-results-ui .modal-lg, #macro-ui .modal-lg {
225 width: 90%;
228 .modal-body {
229 max-height: none;
232 .modal-lg .modal-body {
233 overflow-y: auto;
236 #quicksearch-overlay {
237 background: rgba(255, 255, 255, .9);
238 border: 2px solid #CC8877;
239 border-radius: 5px;
240 -moz-box-sizing: border-box;
241 -webkit-box-sizing: border-box;
242 box-sizing: border-box;
243 color: #664444;
244 position: relative;
245 vertical-align: middle;
248 #quicksearch-overlay h3 {
249 font-size: 1.5em%;
250 margin: 0;
251 text-align: center;
252 padding: 50px 5px;
255 #quicksearch-overlay p {
256 bottom: 0;
257 font-size: .8em;
258 overflow: hidden;
259 padding: 8px 15px;
260 position: absolute;
261 text-align: center;
264 #quicksearch input, #quicksearch a {
265 font-size: 1.2em;
266 padding: 3px 0;
267 width: 96%; /* I have no idea why this is necessary */
270 #show-advanced-search {
271 display: block;
272 margin-top: .3em;
275 #advanced-search-fields {
276 -moz-column-width: 26em;
277 -webkit-column-width: 26em;
278 column-width: 26em;
279 margin: 0;
280 padding: 0;
283 #advanced-search-fields li {
284 display: block;
285 list-style-type: none;
288 #advanced-search-fields label {
289 display: inline-block;
290 font-weight: bold;
291 padding: 1em 1em 1em 0;
292 width: 10em;
293 text-align: right;
296 #advanced-search-fields input {
297 display: inline-block;
298 margin: 0px auto;
299 width: 14em;
303 /*> Search results */
305 #search-serversinfo li {
306 list-style-type: none;
309 #search-serversinfo .search-toggle-server {
310 margin-right: 5px;
313 #searchresults table {
314 width: 100%;
317 .sourcecol {
318 width: 50px;
321 .results-info {
322 height: 100px;
323 overflow: auto;
326 .toolscol {
327 padding: 0;
328 width: 100px;
331 .toolscol ul {
332 margin: 0;
333 padding: 0;
336 #searchresults .toolscol li {
337 list-style-type: none;
338 list-style-image: none;
341 .toolscol a {
342 border-bottom: 1px solid #BCBCBC;
343 display: block;
344 padding: 0 1em;
345 line-height: 24px;
348 .marccol {
349 font-family: monospace;
350 height: auto;
351 white-space: pre-wrap;
354 #searchresults {
355 position: relative;
358 #search-overlay {
359 background: white;
360 bottom: 0;
361 font-size: 2em;
362 left: 0;
363 opacity: .7;
364 padding: 2em;
365 position: absolute;
366 right: 0;
367 text-align: center;
368 top: 0;
369 z-index: 9001;
372 /*> Macros */
373 #macro-save-message {
374 color: #666;
375 font-size: 13px;
376 float: right;
377 line-height: 26px;
380 #macro-list > li {
381 border: 2px solid #F0F0F0;
382 border-radius: 6px;
383 display: block;
384 font-size: 115%;
387 #macro-list > li + li {
388 margin-top: -2px;
391 #macro-list .active {
392 background: #EDF4F6;
393 border-color: none;
396 #macro-list a {
397 display: block;
398 padding: 6px;
401 #macro-list a:focus {
402 outline: none;
405 .macro-info {
406 background-color: #F4F4F4;
407 display: none;
408 margin: 0;
409 padding: 10px;
410 text-align: right;
413 .macro-info li {
414 color: #666;
415 font-size: 75%;
416 list-style-type: none;
419 .macro-info .label {
420 clear: left;
421 font-weight: bold;
422 float: left;
425 #macro-list .active .macro-info {
426 display: block;
429 .btn-toolbar label, .btn-toolbar select {
430 font-size: 13px;
431 vertical-align: middle;
434 .btn-toolbar label {
435 margin-left: 1em;
438 .btn-toolbar select {
439 padding: 2px;
442 #macro-editor {
443 display: flex;
444 flex-direction: column;
445 height: 100%;
448 #macro-editor .CodeMirror {
449 flex: 1;
450 font-size: 13px;
453 /* Hotpatch from latest CodeMirror: Fix gutter positioning */
454 .CodeMirror-gutter-wrapper {
455 position: absolute;