Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /**
2 * Sphinx stylesheet -- basic theme
3 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 */
5 h3 {
6 color:#000000;
7 font-size: 17px;
8 margin-bottom:0.5em;
9 margin-top:2em;
10 }
11 /* -- main layout ----------------------------------------------------------- */
13 div.clearer {
14 clear: both;
15 }
17 /* -- header ---------------------------------------------------------------- */
19 #header #title {
20 background:#29334F url(title_background.png) repeat-x scroll 0 0;
21 border-bottom:1px solid #B6B6B6;
22 height:25px;
23 overflow:hidden;
24 }
25 #headerButtons {
26 position: absolute;
27 list-style: none outside;
28 top: 26px;
29 left: 0px;
30 right: 0px;
31 margin: 0px;
32 padding: 0px;
33 border-top: 1px solid #2B334F;
34 border-bottom: 1px solid #EDEDED;
35 height: 20px;
36 font-size: 8pt;
37 overflow: hidden;
38 background-color: #D8D8D8;
39 }
41 #headerButtons li {
42 background-repeat:no-repeat;
43 display:inline;
44 margin-top:0;
45 padding:0;
46 }
48 .headerButton {
49 display: inline;
50 height:20px;
51 }
53 .headerButton a {
54 text-decoration: none;
55 float: right;
56 height: 20px;
57 padding: 4px 15px;
58 border-left: 1px solid #ACACAC;
59 font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
60 color: black;
61 }
62 .headerButton a:hover {
63 color: white;
64 background-color: #787878;
66 }
68 li#toc_button {
69 text-align:left;
70 }
72 li#toc_button .headerButton a {
73 width:198px;
74 padding-top: 4px;
75 font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
76 color: black;
77 float: left;
78 padding-left:15px;
79 border-right:1px solid #ACACAC;
80 background:transparent url(triangle_open.png) no-repeat scroll 4px 6px;
81 }
83 li#toc_button .headerButton a:hover {
84 background-color: #787878;
85 color: white;
86 }
88 li#page_buttons {
89 position:absolute;
90 right:0;
91 }
93 #breadcrumbs {
94 color: black;
95 background-image:url(breadcrumb_background.png);
96 border-top:1px solid #2B334F;
97 bottom:0;
98 font-size:10px;
99 height:15px;
100 left:0;
101 overflow:hidden;
102 padding:3px 10px 0;
103 position:absolute;
104 right:0;
105 white-space:nowrap;
106 z-index:901;
107 }
108 #breadcrumbs a {
109 color: black;
110 text-decoration: none;
111 }
112 #breadcrumbs a:hover {
113 text-decoration: underline;
114 }
115 #breadcrumbs img {
116 padding-left: 3px;
117 }
118 /* -- sidebar --------------------------------------------------------------- */
119 #sphinxsidebar {
120 position: absolute;
121 top: 84px;
122 bottom: 19px;
123 left: 0px;
124 width: 229px;
125 background-color: #E4EBF7;
126 border-right: 1px solid #ACACAC;
127 border-top: 1px solid #2B334F;
128 overflow-x: hidden;
129 overflow-y: auto;
130 padding: 0px 0px 0px 0px;
131 font-size:11px;
132 }
134 div.sphinxsidebarwrapper {
135 padding: 10px 5px 0 10px;
136 }
138 #sphinxsidebar li {
139 margin: 0px;
140 padding: 0px;
141 font-weight: normal;
142 margin: 0px 0px 7px 0px;
143 overflow: hidden;
144 text-overflow: ellipsis;
145 font-size: 11px;
146 }
148 #sphinxsidebar ul {
149 list-style: none;
150 margin: 0px 0px 0px 0px;
151 padding: 0px 5px 0px 5px;
152 }
154 #sphinxsidebar ul ul,
155 #sphinxsidebar ul.want-points {
156 list-style: square;
157 }
159 #sphinxsidebar ul ul {
160 margin-top: 0;
161 margin-bottom: 0;
162 }
164 #sphinxsidebar form {
165 margin-top: 10px;
166 }
168 #sphinxsidebar input {
169 border: 1px solid #787878;
170 font-family: sans-serif;
171 font-size: 1em;
172 }
174 img {
175 border: 0;
176 }
178 #sphinxsidebar li.toctree-l1 a {
179 font-weight: bold;
180 color: #000;
181 text-decoration: none;
182 }
184 #sphinxsidebar li.toctree-l2 a {
185 font-weight: bold;
186 color: #4f4f4f;
187 text-decoration: none;
188 }
190 /* -- search page ----------------------------------------------------------- */
192 ul.search {
193 margin: 10px 0 0 20px;
194 padding: 0;
195 }
197 ul.search li {
198 padding: 5px 0 5px 20px;
199 background-image: url(file.png);
200 background-repeat: no-repeat;
201 background-position: 0 7px;
202 }
204 ul.search li a {
205 font-weight: bold;
206 }
208 ul.search li div.context {
209 color: #888;
210 margin: 2px 0 0 30px;
211 text-align: left;
212 }
214 ul.keywordmatches li.goodmatch a {
215 font-weight: bold;
216 }
217 #sphinxsidebar input.prettysearch {border:none;}
218 input.searchbutton {
219 float: right;
220 }
221 .search-wrapper {width: 100%; height: 25px;}
222 .search-wrapper input.prettysearch { border: none; width:200px; height: 16px; background: url(searchfield_repeat.png) center top repeat-x; border: 0px; margin: 0; padding: 3px 0 0 0; font: 11px "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif; }
223 .search-wrapper input.prettysearch { width: 184px; margin-left: 20px; *margin-top:-1px; *margin-right:-2px; *margin-left:10px; }
224 .search-wrapper .search-left { display: block; position: absolute; width: 20px; height: 19px; background: url(searchfield_leftcap.png) left top no-repeat; }
225 .search-wrapper .search-right { display: block; position: relative; left: 204px; top: -19px; width: 10px; height: 19px; background: url(searchfield_rightcap.png) right top no-repeat; }
227 /* -- index page ------------------------------------------------------------ */
229 table.contentstable {
230 width: 90%;
231 }
233 table.contentstable p.biglink {
234 line-height: 150%;
235 }
237 a.biglink {
238 font-size: 1.3em;
239 }
241 span.linkdescr {
242 font-style: italic;
243 padding-top: 5px;
244 font-size: 90%;
245 }
247 /* -- general index --------------------------------------------------------- */
249 table.indextable td {
250 text-align: left;
251 vertical-align: top;
252 }
254 table.indextable dl, table.indextable dd {
255 margin-top: 0;
256 margin-bottom: 0;
257 }
259 table.indextable tr.pcap {
260 height: 10px;
261 }
263 table.indextable tr.cap {
264 margin-top: 10px;
265 background-color: #f2f2f2;
266 }
268 img.toggler {
269 margin-right: 3px;
270 margin-top: 3px;
271 cursor: pointer;
272 }
274 /* -- general body styles --------------------------------------------------- */
275 .document {
276 border-top:1px solid #2B334F;
277 overflow:auto;
278 padding-left:2em;
279 padding-right:2em;
280 position:absolute;
281 z-index:1;
282 top:84px;
283 bottom:19px;
284 right:0;
285 left:230px;
286 }
288 a.headerlink {
289 visibility: hidden;
290 }
292 h1:hover > a.headerlink,
293 h2:hover > a.headerlink,
294 h3:hover > a.headerlink,
295 h4:hover > a.headerlink,
296 h5:hover > a.headerlink,
297 h6:hover > a.headerlink,
298 dt:hover > a.headerlink {
299 visibility: visible;
300 }
302 div.body p.caption {
303 text-align: inherit;
304 }
306 div.body td {
307 text-align: left;
308 }
310 .field-list ul {
311 padding-left: 1em;
312 }
314 .first {
315 margin-top: 0 !important;
316 }
318 p.rubric {
319 margin-top: 30px;
320 font-weight: bold;
321 }
323 /* -- sidebars -------------------------------------------------------------- */
325 /*div.sidebar {
326 margin: 0 0 0.5em 1em;
327 border: 1px solid #ddb;
328 padding: 7px 7px 0 7px;
329 background-color: #ffe;
330 width: 40%;
331 float: right;
332 }
334 p.sidebar-title {
335 font-weight: bold;
336 }
337 */
338 /* -- topics ---------------------------------------------------------------- */
340 div.topic {
341 border: 1px solid #ccc;
342 padding: 7px 7px 0 7px;
343 margin: 10px 0 10px 0;
344 }
346 p.topic-title {
347 font-size: 1.1em;
348 font-weight: bold;
349 margin-top: 10px;
350 }
352 /* -- admonitions ----------------------------------------------------------- */
353 .admonition {
354 border: 1px solid #a1a5a9;
355 background-color: #f7f7f7;
356 margin: 20px;
357 padding: 0px 8px 7px 9px;
358 text-align: left;
359 }
360 .warning {
361 background-color:#E8E8E8;
362 border:1px solid #111111;
363 margin:30px;
364 }
365 .admonition p {
366 font: 12px 'Lucida Grande', Geneva, Helvetica, Arial, sans-serif;
367 margin-top: 7px;
368 margin-bottom: 0px;
369 }
371 div.admonition dt {
372 font-weight: bold;
373 }
375 div.admonition dl {
376 margin-bottom: 0;
377 }
379 p.admonition-title {
380 margin: 0px 10px 5px 0px;
381 font-weight: bold;
382 padding-top: 3px;
383 }
385 div.body p.centered {
386 text-align: center;
387 margin-top: 25px;
388 }
390 /* -- tables ---------------------------------------------------------------- */
392 table.docutils {
393 border-collapse: collapse;
394 border-top: 1px solid #919699;
395 border-left: 1px solid #919699;
396 border-right: 1px solid #919699;
397 font-size:12px;
398 padding:8px;
399 text-align:left;
400 vertical-align:top;
401 }
403 table.docutils td, table.docutils th {
404 padding: 8px;
405 font-size: 12px;
406 text-align: left;
407 vertical-align: top;
408 border-bottom: 1px solid #919699;
409 }
411 table.docutils th {
412 font-weight: bold;
413 }
414 /* This alternates colors in up to six table rows (light blue for odd, white for even)*/
415 .docutils tr {
416 background: #F0F5F9;
417 }
419 .docutils tr + tr {
420 background: #FFFFFF;
421 }
423 .docutils tr + tr + tr {
424 background: #F0F5F9;
425 }
427 .docutils tr + tr + tr + tr {
428 background: #FFFFFF;
429 }
431 .docutils tr + tr + tr +tr + tr {
432 background: #F0F5F9;
433 }
435 .docutils tr + tr + tr + tr + tr + tr {
436 background: #FFFFFF;
437 }
439 .docutils tr + tr + tr + tr + tr + tr + tr {
440 background: #F0F5F9;
441 }
443 table.footnote td, table.footnote th {
444 border: 0 !important;
445 }
447 th {
448 text-align: left;
449 padding-right: 5px;
450 }
452 /* -- other body styles ----------------------------------------------------- */
454 dl {
455 margin-bottom: 15px;
456 }
458 dd p {
459 margin-top: 0px;
460 font-size: 12px;
461 }
463 dd ul, dd table {
464 margin-bottom: 10px;
465 }
467 dd {
468 margin-top: 3px;
469 margin-bottom: 10px;
470 margin-left: 30px;
471 font-size: 12px;
472 }
474 dt:target, .highlight {
475 background-color: #fbe54e;
476 }
478 dl.glossary dt {
479 font-weight: bold;
480 font-size: 0.8em;
481 }
483 dl.glossary dd {
484 font-size:12px;
485 }
486 .field-list ul {
487 vertical-align: top;
488 margin: 0;
489 padding-bottom: 0;
490 list-style: none inside;
491 }
493 .field-list ul li {
494 margin-top: 0;
495 }
497 .field-list p {
498 margin: 0;
499 }
501 .refcount {
502 color: #060;
503 }
505 .optional {
506 font-size: 1.3em;
507 }
509 .versionmodified {
510 font-style: italic;
511 }
513 .system-message {
514 background-color: #fda;
515 padding: 5px;
516 border: 3px solid red;
517 }
519 .footnote:target {
520 background-color: #ffa
521 }
523 /* -- code displays --------------------------------------------------------- */
525 pre {
526 overflow: auto;
527 background-color:#F1F5F9;
528 border:1px solid #C9D1D7;
529 border-spacing:0;
530 font-family:"Bitstream Vera Sans Mono",Monaco,"Lucida Console",Courier,Consolas,monospace;
531 font-size:11px;
532 padding: 10px;
533 }
535 td.linenos pre {
536 padding: 5px 0px;
537 border: 0;
538 background-color: transparent;
539 color: #aaa;
540 }
542 table.highlighttable {
543 margin-left: 0.5em;
544 }
546 table.highlighttable td {
547 padding: 0 0.5em 0 0.5em;
548 }
550 tt {
551 font-family:"Bitstream Vera Sans Mono",Monaco,"Lucida Console",Courier,Consolas,monospace;
553 }
555 tt.descname {
556 background-color: transparent;
557 font-weight: bold;
558 font-size: 1em;
559 }
561 tt.descclassname {
562 background-color: transparent;
563 }
565 tt.xref, a tt {
566 background-color: transparent;
567 font-weight: bold;
568 }
570 h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
571 background-color: transparent;
572 }
574 /* -- math display ---------------------------------------------------------- */
576 img.math {
577 vertical-align: middle;
578 }
580 div.body div.math p {
581 text-align: center;
582 }
584 span.eqno {
585 float: right;
586 }
588 /* -- printout stylesheet --------------------------------------------------- */
590 @media print {
591 div.document,
592 div.documentwrapper,
593 div.bodywrapper {
594 margin: 0;
595 width: 100%;
596 }
598 div.sphinxsidebar,
599 div.related,
600 div.footer,
601 #top-link {
602 display: none;
603 }
604 }
606 body {
607 font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
608 }
610 dl.class dt {
611 padding: 3px;
612 /* border-top: 2px solid #999;*/
613 }
615 em.property {
616 font-style: normal;
617 }
619 dl.class dd p {
620 margin-top: 6px;
621 }
623 dl.class dd dl.exception dt {
624 padding: 3px;
625 background-color: #FFD6D6;
626 border-top: none;
627 }
629 dl.class dd dl.method dt {
630 padding: 3px;
631 background-color: #e9e9e9;
632 border-top: none;
634 }
636 dl.function dt {
637 padding: 3px;
638 border-top: 2px solid #999;
639 }
641 ul {
642 list-style-image:none;
643 list-style-position:outside;
644 list-style-type:square;
645 margin:0 0 0 30px;
646 padding:0 0 12px 6px;
647 }
648 #docstitle {
649 height: 36px;
650 background-image: url(header_sm_mid.png);
651 left: 0;
652 top: 0;
653 position: absolute;
654 width: 100%;
655 }
656 #docstitle p {
657 padding:7px 0 0 45px;
658 margin: 0;
659 color: white;
660 text-shadow:0 1px 0 #787878;
661 background: transparent url(documentation.png) no-repeat scroll 10px 3px;
662 height: 36px;
663 font-size: 15px;
664 }
665 #header {
666 height:45px;
667 left:0;
668 position:absolute;
669 right:0;
670 top:36px;
671 z-index:900;
672 }
674 #header h1 {
675 font-size:10pt;
676 margin:0;
677 padding:5px 0 0 10px;
678 text-shadow:0 1px 0 #D5D5D5;
679 white-space:nowrap;
680 }
682 h1 {
683 -x-system-font:none;
684 color:#000000;
685 font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
686 font-size:30px;
687 font-size-adjust:none;
688 font-stretch:normal;
689 font-style:normal;
690 font-variant:normal;
691 font-weight:bold;
692 line-height:normal;
693 margin-bottom:25px;
694 margin-top:1em;
695 }
697 .footer {
698 border-top:1px solid #DDDDDD;
699 clear:both;
700 padding-top:9px;
701 width:100%;
702 font-size:10px;
703 }
705 p {
706 -x-system-font:none;
707 font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
708 font-size:12px;
709 font-size-adjust:none;
710 font-stretch:normal;
711 font-style:normal;
712 font-variant:normal;
713 font-weight:normal;
714 line-height:normal;
715 margin-bottom:10px;
716 margin-top:0;
717 }
719 h2 {
720 border-bottom:1px solid #919699;
721 color:#000000;
722 font-size:24px;
723 margin-top:2.5em;
724 padding-bottom:2px;
725 }
727 a:link:hover {
728 color:#093D92;
729 text-decoration:underline;
730 }
732 a:link {
733 color:#093D92;
734 text-decoration:none;
735 }
738 ol {
739 list-style-position:outside;
740 list-style-type:decimal;
741 margin:0 0 0 30px;
742 padding:0 0 12px 6px;
743 }
744 li {
745 margin-top:7px;
746 font-family:'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
747 font-size:12px;
748 font-size-adjust:none;
749 font-stretch:normal;
750 font-style:normal;
751 font-variant:normal;
752 font-weight:normal;
753 line-height:normal;
754 }
755 li p {
756 margin-top:8px;
757 }