]> git.ipfire.org Git - thirdparty/cups.git/blame - doc/cups.css
Fix lpadmin error reporting for IPP Everywhere printers (Issue #5370)
[thirdparty/cups.git] / doc / cups.css
CommitLineData
dfc45c1b
MS
1/* Layout CSS */
2.header {
ebc0869c 3 background: rgba(46,46,46,.9);
13e6b947 4 box-shadow: 0px 2px 5px rgba(0,0,0,0.25);
dfc45c1b 5 color: white;
dfc45c1b
MS
6 left: 0;
7 margin-bottom: 20px;
8 padding: 0px;
13e6b947 9 position: fixed;
dfc45c1b 10 right: 0;
13e6b947 11 top: 0;
dfc45c1b
MS
12 width: 100%;
13}
14.header ul {
15 list-style: none;
8a4b51bb 16 margin: 0px;
dfc45c1b
MS
17 -webkit-margin-before: 0;
18 -webkit-margin-after: 0;
19 -webkit-margin-start: 0;
20 -webkit-margin-end: 5px;
21 -webkit-padding-start: 0;
22}
23.header ul li {
24 float: left;
25}
26.header a {
27 display: block;
28 padding: 5px 10px !important;
29}
30.header a:link, .header a:visited {
31 color: white !important;
32 text-decoration: none !important;
33}
34.header a:hover {
35 background: #cccccc !important;
36 color: #333333 !important;
37 text-decoration: none !important;
38}
39.header a.active {
40 background: white !important;
2eefda5e 41 box-shadow: rgba(0,0,0,0.1) 0px 0px 10px 0px inset;
dfc45c1b
MS
42 color: black !important;
43 text-decoration: none !important;
44}
45
46.body {
13e6b947 47 padding: 40px 20px;
dfc45c1b 48}
fd21ed5d
MS
49.row .body {
50 padding: 0px;
51}
dfc45c1b
MS
52
53.footer {
2eefda5e 54 background: rgba(46,46,46,.9);
dfc45c1b 55 bottom: 0;
13e6b947 56 box-shadow: 0px -2px 5px rgba(0,0,0,0.25);
dfc45c1b
MS
57 color: #cccccc;
58 font-size: 10px;
59 height: 20px;
60 left: 0;
61 padding: 10px 10px 3px;
62 position: fixed;
63 width: 100%;
64}
65.footer a:link, footer a:hover, .footer a:visited {
66 color: white !important;
67 text-decoration: none !important;
68}
69
70.row {
71 width: 100%;
72 *zoom: 1;
73}
74.row:after {
75 clear: both;
76}
77
78.row .thirds {
79 float: left;
80 margin-left: 0.5%;
81 margin-right: 0;
82 width: 33%;
83}
84.row .thirds:first-child {
85 margin-left: 0;
86}
87
88.row .halves {
89 float: left;
90 margin-left: 0.5%;
91 margin-right: 0;
92 width: 49.75%;
93}
94.row .halves:first-child {
95 margin-left: 0;
96}
97.mobile {
98 display: none;
99}
100.no-mobile {
101 display: inherit;
102}
103
104/* Appearance CSS */
ef416fc2 105BODY {
7a14d768
MS
106 background: white;
107 color: black;
5a738aea 108 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
dfc45c1b 109 margin: 0;
ef416fc2 110}
111
112H1, H2, H3, H4, H5, H6, P, TD, TH {
5a738aea 113 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
ef416fc2 114}
115
116KBD {
117 color: #006600;
5a738aea 118 font-family: monaco, courier, monospace;
ef416fc2 119 font-weight: bold;
120}
121
122PRE {
5a738aea 123 font-family: monaco, courier, monospace;
ef416fc2 124}
125
fce9ddcb
MS
126BLOCKQUOTE {
127 border-left: solid 2px #777;
3f76968f 128 margin: 1em 0;
fce9ddcb
MS
129 padding: 10px;
130}
131
3f76968f
MS
132BLOCKQUOTE OL LI {
133 margin-left: -1em;
134}
135
fce9ddcb
MS
136PRE.command, PRE.example {
137 background: #eee;
138 margin: 0 36pt;
10d09e33 139 padding: 10px;
ef416fc2 140}
141
28b9d139
MS
142P.example {
143 font-style: italic;
144 margin-left: 36pt;
145}
ef55b745 146
2909c66c
MS
147DL.man DD {
148 margin-left: 5em;
149}
150
151DL.man DT {
152 margin-left: 0;
153}
154
155PRE.man {
156 margin: 0;
157}
158
5a738aea 159PRE.command EM, PRE.example EM {
ef416fc2 160 color: #3f0000;
5a738aea 161 font-family: lucida grande, geneva, helvetica, arial, sans-serif;
ef416fc2 162}
163
164P.command {
165 color: #7f0000;
5a738aea 166 font-family: monaco, courier, monospace;
bd7854cb 167 margin-left: 36pt;
ef416fc2 168}
169
4744bd90 170P.formula {
171 font-style: italic;
172 margin-left: 36pt;
173}
174
2e4ff8af
MS
175A IMG {
176 border: none;
177}
178
179A:link:hover IMG {
7a14d768 180 background: #f0f0f0;
2e4ff8af
MS
181 border-radius: 10px;
182 -moz-border-radius: 10px;
ef416fc2 183}
184
185A:link, A:visited {
b19ccc9e 186 font-weight: inherit;
ef416fc2 187 text-decoration: none;
2e4ff8af 188 color: #000099;
ef416fc2 189}
190
191A:link:hover, A:visited:hover, A:active {
192 text-decoration: underline;
2e4ff8af
MS
193 color: #990099;
194}
195
196TABLE.page {
197 border: none;
198 border-collapse: collapse;
199 height: 100%;
200 margin: 0;
201 padding: 0;
202 width: 100%;
203}
204
205TD.body {
206 height: 100%;
207 vertical-align: top;
208}
209
210TD.sel, TD.unsel {
c9fc04c6 211 border-left: thin solid #cccccc;
2e4ff8af
MS
212 padding: 0px 5px;
213 text-align: center;
214 vertical-align: middle;
215 width: 14%;
216}
217
218TD.sel {
219 background: url(images/sel.gif);
ef416fc2 220}
221
2e4ff8af
MS
222TD.unsel {
223 background: url(images/unsel.gif);
ef416fc2 224}
225
c9fc04c6
MS
226TD.sel A, TD.sel A:hover, TD.unsel A:link:hover, TD.unsel A:visited:hover,
227TD.unsel A:active, TD.unsel A, TD.unsel A:visited {
228 color: #666666;
0268488e 229 display: block;
2e4ff8af 230 font-weight: normal;
0268488e 231 padding: 8px;
2e4ff8af
MS
232 text-decoration: none;
233}
234
235TD.trailer {
7a14d768
MS
236 background: #f0f0f0;
237 border: solid thin #e0e0e0;
2e4ff8af
MS
238 color: #666666;
239 font-size: 80%;
240 padding: 5px;
241}
242
243TD.trailer A {
244 color: #666699;
245}
246
247FORM {
248 display: inline;
ef416fc2 249}
250
251INPUT[TYPE="TEXT"], TEXTAREA {
5a738aea 252 font-family: monaco, courier, monospace;
ef416fc2 253}
254
255INPUT[TYPE="IMAGE"] {
256 border: none;
bd7854cb 257 padding: 2pt;
ef416fc2 258 vertical-align: bottom;
259}
260
261SUB, SUP {
262 font-size: 50%;
263}
264
ef416fc2 265TR.data, TD.data, TR.data TD {
b19ccc9e
MS
266 margin-top: 10pt;
267 padding: 5pt;
2e4ff8af 268 border-bottom: solid 1pt #999999;
ef416fc2 269}
270
271TR.data TH {
2e4ff8af 272 border-bottom: solid 1pt #999999;
bd7854cb 273 padding-top: 10pt;
274 padding-left: 5pt;
ef416fc2 275 text-align: left;
276}
277
278DIV.table TABLE {
2e4ff8af 279 border: solid thin #999999;
5a738aea 280 border-collapse: collapse;
bd7854cb 281 border-spacing: 0;
ef416fc2 282 margin-left: auto;
283 margin-right: auto;
284}
285
286DIV.table CAPTION {
287 caption-side: top;
288 font-size: 120%;
289 font-style: italic;
290 font-weight: bold;
291 margin-left: auto;
292 margin-right: auto;
293}
294
295DIV.table TABLE TD {
5a738aea 296 background: white;
2e4ff8af 297 border: solid thin #bbbbbb;
fce9ddcb 298 padding: 5pt 10pt 0;
ef416fc2 299}
300
301DIV.table TABLE TH {
7a14d768 302 background: #f0f0f0;
ef416fc2 303 border: none;
2e4ff8af 304 border-bottom: solid thin #999999;
ef416fc2 305}
306
e1d6a774 307DIV.figure TABLE {
308 margin-left: auto;
309 margin-right: auto;
310}
311
312DIV.figure CAPTION {
313 caption-side: bottom;
314 font-size: 120%;
315 font-style: italic;
316 font-weight: bold;
317 margin-left: auto;
318 margin-right: auto;
319}
320
ef416fc2 321TH.label {
ef416fc2 322 text-align: right;
323 vertical-align: top;
324}
325
749b1e90 326TH.sublabel {
749b1e90
MS
327 text-align: right;
328 font-weight: normal;
329}
330
ef416fc2 331HR {
332 border: solid thin;
333}
334
335SPAN.info {
7a14d768
MS
336 background: black;
337 border: thin solid black;
338 color: white;
ef416fc2 339 font-size: 80%;
340 font-style: italic;
341 font-weight: bold;
342 white-space: nowrap;
343}
344
db1f069b 345H2 SPAN.info, H3 SPAN.info, H4 SPAN.info {
ef416fc2 346 float: right;
347 font-size: 100%;
348}
349
350.conflict {
b19ccc9e
MS
351 background: red;
352 color: white;
ef416fc2 353}
354
ef55b745
MS
355TH.conflict {
356 text-align: right;
357}
358
178cb736
MS
359H1.title {
360 display: none;
361}
362
fd21ed5d 363H2.title, H3.title, .row .body H2, .row .body H3 {
3d90ace3 364 border-bottom: solid 2pt black;
ef416fc2 365}
366
dfc45c1b 367TABLE.indent {
b19ccc9e
MS
368 margin-top: 2em;
369 margin-left: auto;
370 margin-right: auto;
371 width: 90%;
372}
373
374TABLE.indent {
375 border-collapse: collapse;
376}
377
378TABLE.indent TD, TABLE.indent TH {
379 padding: 0;
380}
381
382TABLE.list {
383 border-collapse: collapse;
384 margin-left: auto;
385 margin-right: auto;
386 width: 90%;
387}
388
389TABLE.list TH {
58dc1933
MS
390 background: white;
391 border-bottom: solid thin #cccccc;
392 color: #444444;
b19ccc9e
MS
393 padding-top: 10pt;
394 padding-left: 5pt;
395 text-align: left;
58dc1933 396 vertical-align: bottom;
b19ccc9e
MS
397 white-space: nowrap;
398}
399
58dc1933
MS
400TABLE.list TH A {
401 color: #4444cc;
402}
403
b19ccc9e
MS
404TABLE.list TD {
405 border-bottom: solid thin #eeeeee;
406 padding-top: 5pt;
407 padding-left: 5pt;
408}
409
58dc1933
MS
410TABLE.list TR:nth-child(even) {
411 background: #f8f8f8;
412}
413
414TABLE.list TR:nth-child(odd) {
415 background: #f4f4f4;
416}
417
ef416fc2 418DIV.sidebar {
ef416fc2 419 float: right;
db1f069b 420 min-width: 25%;
2e4ff8af 421 margin-left: 10px;
db1f069b 422 max-width: 33%;
ef416fc2 423}
424
425DIV.sidebar P.l0 {
426 margin-bottom: 0;
427 margin-left: 0;
428 margin-right: 0;
bd7854cb 429 margin-top: 12pt;
ef416fc2 430}
431
432DIV.sidebar P.l1 {
433 margin-bottom: 0;
bd7854cb 434 margin-left: 36pt;
ef416fc2 435 margin-right: 0;
436 margin-top: 0;
bd7854cb 437 text-indent: -18pt;
ef416fc2 438}
439
440DIV.sidebar P.l2 {
441 font-style: italic;
442 margin-bottom: 0;
bd7854cb 443 margin-left: 54pt;
ef416fc2 444 margin-right: 0;
445 margin-top: 0;
bd7854cb 446 text-indent: -18pt;
ef416fc2 447}
fa73b229 448
2e4ff8af 449TABLE.inset {
7a14d768 450 background: #f0f0f0;
c9fc04c6 451 border: thin solid #e0e0e0;
b19ccc9e 452 margin-top: 1em;
2e4ff8af 453 padding: 0;
28b9d139 454 width: 100%;
f7deaa1a 455 /* These are not implemented by all browsers, but that's OK */
2e4ff8af
MS
456 border-radius: 5px;
457 -moz-border-radius: 5px;
458}
459
460TABLE.inset CAPTION {
461 caption-side: top;
462 color: #666666;
463 font-size: 80%;
464 margin-left: 10px;
465 margin-bottom: 2px;
466 text-align: left;
467}
468
469TABLE.inset TD {
b19ccc9e 470 padding: 2px;
fa73b229 471}
472
473DT {
bd7854cb 474 margin-left: 36pt;
475 margin-top: 12pt;
fa73b229 476}
477
478DD {
bd7854cb 479 margin-left: 54pt;
fa73b229 480}
a4d04587 481
757d2cad 482DL.category DT {
483 font-weight: bold;
484}
485
a4d04587 486P.summary {
db1f069b 487 margin-left: 36pt;
5a738aea 488 font-family: monaco, courier, monospace;
a4d04587 489}
e00b005a 490
5a738aea
MS
491DIV.summary TABLE {
492 border: solid thin #999999;
493 border-collapse: collapse;
494 border-spacing: 0;
495 margin: 10px;
496}
497
498DIV.summary TABLE TD, DIV.summary TABLE TH {
499 background: white;
500 border: solid thin #999999;
501 border-spacing: 0;
502 padding: 5px;
503 text-align: left;
504 vertical-align: top;
505}
506
507DIV.summary TABLE THEAD TH {
7a14d768 508 background: #f0f0f0;
5a738aea
MS
509}
510
58dc1933
MS
511DIV.tabs {
512 height: 480px;
513 overflow: hidden;
514}
515
516DIV.tab {
517 float: left;
518 height: 100%;
519 overflow-y: auto;
520 width: 100%;
521}
522
5a738aea
MS
523/* API documentation styles... */
524div.body h1 {
5a738aea
MS
525}
526div.body h2 {
5a738aea 527}
fd21ed5d 528div.body h3 {
5a738aea 529}
fd21ed5d
MS
530div.body h4 {
531}
532div.body h5 {
533}
534div.contents {
535}
536div.contents h1 {
537}
538div.contents h2 {
539}
540div.contents ul.contents {
541}
542div.contents ul.contents li ul {
543 display: none;
544}
545
546.class {
547 border-bottom: solid 2px gray;
548}
549.constants {
5a738aea
MS
550}
551.description {
552 margin-top: 0.5em;
553}
fd21ed5d
MS
554.discussion {
555}
556.enumeration {
557 border-bottom: solid 2px gray;
558}
559.function {
560 border-bottom: solid 2px gray;
561 margin-bottom: 0;
562}
563.members {
564}
565.method {
566}
567.parameters {
568}
569.returnvalue {
570}
571.struct {
572 border-bottom: solid 2px gray;
573}
574.typedef {
575 border-bottom: solid 2px gray;
576}
577.union {
578 border-bottom: solid 2px gray;
579}
580.variable {
581}
582h1, h2, h3, h4, h5, h6 {
583 page-break-inside: avoid;
584}
585blockquote {
586 page-break-inside: avoid;
587}
588p code, li code, p.code, pre, ul.code li {
589 background: rgba(127,127,127,0.1);
590 border: thin dotted gray;
591 font-family: monospace;
5a738aea 592 font-size: 90%;
fd21ed5d
MS
593 hyphens: manual;
594 -webkit-hyphens: manual;
595 page-break-inside: avoid;
596}
597p.code, pre, ul.code li {
598 padding: 10px;
599}
600p code, li code {
601 padding: 2px 5px;
602}
603span.info {
604 background: black;
605 border: solid thin black;
606 color: white;
607 font-size: 80%;
608 font-style: italic;
609 font-weight: bold;
610 white-space: nowrap;
611}
612h3 span.info, h4 span.info {
613 border-top-left-radius: 10px;
614 border-top-right-radius: 10px;
615 float: right;
616 padding: 3px 6px;
5a738aea
MS
617}
618ul.code, ul.contents, ul.subcontents {
619 list-style-type: none;
620 margin: 0;
621 padding-left: 0;
622}
623ul.code li {
624 margin: 0;
625}
626ul.contents > li {
627 margin-top: 1em;
628}
629ul.contents li ul.code, ul.contents li ul.subcontents {
630 padding-left: 2em;
631}
fd21ed5d
MS
632table.list {
633 border-collapse: collapse;
634 width: 100%;
5a738aea 635}
fd21ed5d
MS
636table.list tr:nth-child(even) {
637 background: rgba(127,127,127,0.1);]n}
638table.list th {
639 border-right: 2px solid gray;
640 font-family: monospace;
641 padding: 5px 10px 5px 2px;
642 text-align: right;
643 vertical-align: top;
644}
645table.list td {
646 padding: 5px 2px 5px 10px;
647 text-align: left;
648 vertical-align: top;
5a738aea 649}
fd21ed5d 650
dfc45c1b
MS
651/* iPhone/iPod touch overrides */
652@media only screen and (min-device-width: 320px) and (max-device-width: 480px),
653 only screen and (min-device-width: 320px) and (max-device-width: 568px) {
654 .mobile {
655 display: inherit;
656 }
657 .no-mobile {
658 display: none;
659 }
660
13e6b947
MS
661 .header {
662 margin: 0;
663 position: relative;
664 }
665 .header ul li {
666 float: none;
667 }
668
669 .body {
670 paddng: 0px;
671 }
672
dfc45c1b
MS
673 .footer {
674 font-size: 10px;
675 height: auto;
676 position: relative;
677 }
678
679 .row .thirds, .row .halves {
680 float: none;
681 margin: 0;
682 width: 100%;
683 }
684
685 DIV.sidebar {
686 float: none;
687 margin-left: 0;
688 max-width: 100%;
689 min-width: 100%;
690 width: 100%;
691 }
692
693 BLOCKQUOTE {
694 margin: 0;
695 }
696
697 P.example {
698 margin-left: 0;
699 }
700
2909c66c 701 PRE.command, PRE.example, PRE.man {
dfc45c1b
MS
702 margin-left: 0;
703 white-space: pre-wrap;
704 }
705}
706
707/* iPad overrides */
708@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
709
710 .mobile {
711 display: inherit;
712 }
713 .no-mobile {
714 display: none;
715 }
716}