blob: d700c0ea359125590a7ce22a683185323ebd7cf6 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001/* file: android-developer-docs.css
2 author: smain
3 date: september 2008
4 info: developer doc styles (developer.android.com)
5*/
6
7@import url("android-developer-core.css");
8
9#title {
10 border-bottom: 4px solid #ccc;
11 display:none;
12}
13
14#title h1 {
15 color:#336666;
16 margin:0;
17 padding: 5px 10px;
18 font-size: 1em;
19 line-height: 15px;
20}
21
22#title h1 .small{
23 color:#000;
24 margin:0;
25 font-size: 13px;
26 padding:0 0 0 15px;
27}
28
29/* SIDE NAVIGATION */
30
31#side-nav {
32 padding:0 6px 0 0;
33 background-color: #fff;
34 font-size:12px;
35}
36
37#side-nav.not-resizable {
38 background:url('images/sidenav-rule.png') no-repeat 243px 0;
39}
40
41#resize-packages-nav {
42/* keeps the resize handle below the h-scroll handle */
43 height:270px;
44 overflow:hidden;
45 max-height:100%;
46}
47
48#packages-nav {
49 height:270px;
50 max-height:inherit;
51 position:relative;
52 overflow:auto;
53}
54
55#classes-nav,
56#devdoc-nav {
57 overflow:auto;
58 position:relative;
59}
60
61#side-nav ul {
62 list-style: none;
63 margin: 0;
64 padding:5px 0;
65}
66
67#side-nav ul ul {
68 margin: .35em 0 0 0;
69 padding: 0;
70}
71
72#side-nav li {
73 padding:0;
74 line-height:16px;
75 white-space:nowrap;
76 zoom:1;
77}
78
79#side-nav li h2 {
80 font-size:12px;
81 font-weight: bold;
82 margin:.5em 0 0 0;
83 padding: 3px 0 1px 9px;
84}
85
86#side-nav li a {
87 text-decoration:none;
88 padding: 0 0 0 18px;
89 zoom:1;
90}
91
Dirk Dougherty233bc0b2009-07-07 17:43:27 -070092#side-nav li a span+span {
93 display:none;
94}
95
The Android Open Source Project88b60792009-03-03 19:28:42 -080096#side-nav li a:hover {
97 text-decoration:underline;
98}
99
100#side-nav li a+a {
101 padding: 0;
102}
103
104#side-nav li li li a {
105/*sdk lists*/
106 padding: 0 0 0 28px;
107}
108
109#side-nav .selected {
110 background-color: #435a6e;
111 color: #fff;
112 font-weight:bold;
113}
114
115#side-nav .selected a {
116 color: #fff;
117 text-decoration:none;
118}
119
120#side-nav strong {
121 display:block;
122}
123
124#side-nav .toggle-img {
125 margin:0;
126 padding:0;
127 position:absolute;
128 top:0;
129 left:0;
130 height:16px;
131 width:15px;
132 outline-style:none;
133}
134
135#side-nav .closed .toggle-img {
136 background:url('images/triangle-closed-small.png') 7px 4px no-repeat;
137}
138#side-nav .open .toggle-img {
139 background:url('images/triangle-opened-small.png') 7px 4px no-repeat;
140}
141
142#side-nav .toggle-list {
143 position:relative;
144}
145
146#side-nav .toggle-list ul {
147 margin:0;
148 display:none;
149}
150
151#side-nav .toggle-list div {
152 display:block;
153}
154
155#index-links .selected {
156 background-color: #fff;
157 color: #000;
158 font-weight:normal;
159 text-decoration:none;
160}
161
162#index-links {
163 padding:7px 0 4px 10px;
164}
165
166/* nav tree */
167
168#nav-tree ul {
169 padding:5px 0 1.5em;
170}
171
172#side-nav #nav-tree ul li a,
173#side-nav #nav-tree ul li span.no-children {
174 padding: 0 0 0 0;
175 margin: 0;
176}
177
178#nav-tree .plus {
179 margin: 0 3px 0 0;
180}
181
182#nav-tree ul ul {
183 list-style: none;
184 margin: 0;
185 padding: 0 0 0 0;
186}
187
188#nav-tree ul li {
189 margin: 0;
190 padding: 0 0 0 0;
191 white-space: nowrap;
192}
193
194#nav-tree .children_ul {
195 margin:0;
196}
197
198#nav-tree a.nolink {
199 color: black;
200 text-decoration: none;
201}
202
203#nav-tree span.label {
204 width: 100%;
205}
206
207#nav-tree {
208 overflow-x: auto;
209 overflow-y: scroll;
210}
211
212#nav-swap {
213 font-size:10px;
214 line-height:10px;
215 margin-left:1em;
216 text-decoration:none;
217 display:block;
218}
219
220#tree-link {
221
222}
223
224/* DOCUMENT BODY */
225
226#doc-content {
227 overflow:auto;
228}
229
230#jd-header {
231 background-color: #E2E2E2;
232 padding: 7px 15px;
233}
234
235#jd-header h1 {
236 margin: 0 0 10px;
237 font-size:1.7em;
238}
239
240#jd-header .crumb {
241 font-size:.9em;
242 line-height:1em;
243 color:#777;
244}
245
246#jd-header .crumb a,
247#jd-header .crumb a:visited {
248 text-decoration:none;
249 color:#777;
250}
251
252#jd-header .crumb a:hover {
253 text-decoration:underline;
254}
255
256#jd-header table {
257 margin:0;
258 padding:0;
259}
260
261#jd-header td {
262 border:none;
263 padding:0;
264 vertical-align:top;
265}
266
267#jd-header.guide-header {
268 background-color:#fff;
269 color:#435a6e;
270 height:50px;
271}
272
273#jd-descr {
274 position:relative;
275}
276
277/* summary tables for reference pages */
278.jd-sumtable {
Scott Main25fda192009-08-04 11:26:30 -0700279 margin: .5em 1em 1em 1em;
280 width:95%; /* consistent table widths; within IE's quirks */
281 font-size:.9em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800282}
283
284.jd-sumtable a {
285 text-decoration:none;
286}
287
288.jd-sumtable a:hover {
289 text-decoration:underline;
290}
291
292/* the link inside a sumtable for "Show All/Hide All" */
293.toggle-all {
294 display:block;
295 float:right;
296 font-weight:normal;
297 font-size:0.9em;
298}
299
300/* adjustments for in/direct subclasses tables */
301.jd-sumtable-subclasses {
302 margin: 1em 0 0 0;
303 max-width:968px;
304}
305
306/* extra space between end of method name and open-paren */
307.sympad {
308 margin-right: 2px;
309}
310
311/* right alignment for the return type in sumtable */
312.jd-sumtable .jd-typecol {
313 text-align:right;
314}
315
316/* adjustments for the expando table-in-table */
317.jd-sumtable-expando {
318 margin:.5em 0;
319 padding:0;
320}
321
322/* a div that holds a short description */
323.jd-descrdiv {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800324 padding:3px 1em 0 1em;
325 margin:0;
326 border:0;
327}
328
329/* page-top-right container for reference pages (holds
330links to summary tables) */
331#api-info-block {
332 font-size:.8em;
Scott Main25fda192009-08-04 11:26:30 -0700333 padding:6px 10px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800334 font-weight:normal;
335 float:right;
336 text-align:right;
337 color:#999;
338 max-width:70%;
339}
340
Scott Maindf094242009-07-27 09:47:11 -0700341#api-level-toggle {
Scott Maindf094242009-07-27 09:47:11 -0700342 padding:0 10px;
343 font-size:11px;
Scott Main9b5fdb92009-10-27 15:09:15 -0700344}
345
346#api-level-toggle label.disabled {
Scott Maindf094242009-07-27 09:47:11 -0700347 color:#999;
348}
349
Scott Main25fda192009-08-04 11:26:30 -0700350div.api-level {
351 font-size:.8em;
Scott Maindf094242009-07-27 09:47:11 -0700352 font-weight:normal;
353 color:#999;
Scott Main25fda192009-08-04 11:26:30 -0700354 float:right;
355 padding:0 7px 0;
356 margin-top:-25px;
Scott Maindf094242009-07-27 09:47:11 -0700357}
358
Scott Main25fda192009-08-04 11:26:30 -0700359#api-info-block div.api-level {
360 font-size:1.3em;
361 font-weight:bold;
362 float:none;
363 color:#444;
364 padding:0;
365 margin:0;
366}
367
368/* Force link colors for IE6 */
369div.api-level a {
370 color:#999;
371}
372#api-info-block div.api-level a:link {
373 color:#444;
374}
375#api-level-toggle a {
376 color:#999;
377}
378
379div#naMessage {
380 display:none;
381 width:555px;
382 height:0;
383 margin:0 auto;
384}
385
386div#naMessage div {
387 width:450px;
388 position:fixed;
389 margin:50px 0;
390 padding:4em 4em 3em;
391 background:#FFF;
392 background:rgba(255,255,255,0.7);
393 border:1px solid #dddd00;
394}
395/* IE6 can't position fixed */
396* html div#naMessage div { position:absolute; }
397
398div#naMessage strong {
399 font-size:1.1em;
Scott Maindf094242009-07-27 09:47:11 -0700400}
401
402.absent,
403.absent a:link,
404.absent a:visited,
405.absent a:hover,
406.absent * {
Scott Main25fda192009-08-04 11:26:30 -0700407 color:#bbb !important;
Scott Maindf094242009-07-27 09:47:11 -0700408 cursor:default !important;
409 text-decoration:none !important;
410}
411
Scott Main25fda192009-08-04 11:26:30 -0700412#api-level-toggle a,
413.api-level a {
414 color:inherit;
415 text-decoration:none;
416}
417
418#api-level-toggle a:hover,
419.api-level a:hover {
420 color:inherit;
421 text-decoration:underline !important;
422 cursor:pointer !important;
Scott Maindf094242009-07-27 09:47:11 -0700423}
424
425#side-nav li.absent.selected,
Scott Main25fda192009-08-04 11:26:30 -0700426#side-nav li.absent.selected *,
427#side-nav div.label.absent.selected,
428#side-nav div.label.absent.selected * {
429 background-color:#eaeaea !important;
Scott Maindf094242009-07-27 09:47:11 -0700430}
Scott Main25fda192009-08-04 11:26:30 -0700431/* IE6 quirk (won't chain classes, so just keep background blue) */
432* html #side-nav li.selected,
433* html #side-nav li.selected *,
434* html #side-nav div.label.selected,
435* html #side-nav div.label.selected * {
436 background-color: #435a6e !important;
437}
438
439
440.absent h4.jd-details-title,
441.absent h4.jd-details-title * {
442 background-color:#f6f6f6 !important;
443}
444
445.absent img {
446 opacity: .3;
447 filter: alpha(opacity=30);
448 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
449}
450
Scott Maindf094242009-07-27 09:47:11 -0700451
The Android Open Source Project88b60792009-03-03 19:28:42 -0800452/* applies to a div containing links to summary tables */
453.sum-details-links {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800454 padding:0;
455 font-weight:normal;
456}
457
458.sum-details-links a {
459 text-decoration:none;
460}
461
462.sum-details-links a:hover {
463 text-decoration:underline;
464}
465
466
467/* inheritance table */
468.jd-inheritance-table {
469 border-spacing:0;
470 margin:0;
471 padding:0;
472 font-size:.9em;
473}
474.jd-inheritance-table td {
475 border: none;
476 margin: 0;
477 padding: 0;
478}
479.jd-inheritance-table .jd-inheritance-space {
480 font-weight:bold;
481 width:1em;
482}
483.jd-inheritance-table .jd-inheritance-interface-cell {
484 padding-left: 17px;
485}
486
487#jd-content {
488 padding: 18px 15px;
489}
490
491hr {
492 background-color:#ccc;
493}
494
495/* DOC CLASSES */
496
497#jd-content h1 {
498/*sdk page*/
499 font-size:1.6em;
500 color:#336666;
501 margin:0 0 .5em;
502}
503
504#jd-content h2 {
505 font-size:1.45em;
506 color:#111;
507 border-top:2px solid #ccc;
508 padding: .5em 0 0;
509 margin: 1.5em 0 1em 0;
510 max-width:968px;
511}
512
513#jd-content h3 {
514 font-size:1.2em;
515 color:#222;
516 padding: .75em 0 .65em 0;
517 margin:0;
518}
519
520#jd-content h4 {
521 font-size:1.1em;
522 margin-bottom:.5em;
523 color:#222;
524}
525
526#jd-content .small-header {
527 font-size:1em;
528 color:#000;
529 font-weight:bold;
530 border:none;
531 padding:0;
532 margin:1em 0 .5em;
533 position:inherit;
534}
535
536#jd-content img {
537 margin: 0 0 1em 1em;
538}
539
540#jd-content li img,
541#jd-content dd img {
542 margin:.5em 0 0 1em;
543}
544
545.nolist {
546 list-style:none;
547 padding:0;
Scott Main9b547922009-05-13 17:50:33 -0700548 margin:0 0 1em 1em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800549}
550
551.nolist li {
Scott Main9b547922009-05-13 17:50:33 -0700552 padding:0 0 2px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800553 margin:0;
554}
555
556h4 .normal {
557 font-size:.9em;
558 font-weight:normal;
559}
560
561.jd-details {
562/* border:1px solid #669999;
563 padding:4px; */
564 margin:0 0 1em;
565}
566
567/* API reference: a container for the
568.tagdata blocks that make up the detailed
569description */
570.jd-details-descr {
571 padding:0;
572 margin:.5em .25em;
573}
574
575/* API reference: a block containing
576a detailed description, a params table,
577seealso list, etc */
578.jd-tagdata {
579 margin:.5em 1em;
580}
581
Scott Maindf094242009-07-27 09:47:11 -0700582.jd-tagdata p {
583 margin:0 0 1em 1em;
584}
585
The Android Open Source Project88b60792009-03-03 19:28:42 -0800586/* API reference: adjustments to
587the detailed description block */
588.jd-tagdescr {
589 margin:.25em 0 .75em 0;
590 line-height:1em;
591}
592
593.jd-tagdescr p {
594 margin:.5em 0;
595 padding:0;
596
597}
598
599.jd-tagdescr ol,
600.jd-tagdescr ul {
601 margin:0 2.5em;
602 padding:0;
603}
604
605.jd-tagdescr table,
606.jd-tagdescr img {
607 margin:.25em 1em;
608}
609
610.jd-tagdescr li {
611margin:0 0 .25em 0;
612padding:0;
613}
614
615/* API reference: heading marking
616the details section for constants,
617attrs, methods, etc. */
618h4.jd-details-title {
619 font-size:1.15em;
620 background-color: #E2E2E2;
621 margin:1.5em 0 .6em;
Scott Main25fda192009-08-04 11:26:30 -0700622 padding:3px 95px 3px 3px; /* room for api-level */
The Android Open Source Project88b60792009-03-03 19:28:42 -0800623}
624
625h4.jd-tagtitle {
626 margin:0;
627}
628
629/* API reference: heading for "Parameters", "See Also", etc.,
630in details sections */
631h5.jd-tagtitle {
632 margin:0 0 .25em 0;
633 font-size:1em;
634}
635
636.jd-tagtable {
637 margin:0;
638}
639
640.jd-tagtable td,
641.jd-tagtable th {
642 border:none;
643 background-color:#fff;
644 vertical-align:top;
645 font-weight:normal;
646 padding:2px 10px;
647}
648
649.jd-tagtable th {
650 font-style:italic;
651}
652
653#jd-content table h2 {
654 background-color: #d6d6d6;
655 font-size: 1.1em;
656 margin:0 0 10px;
657 padding:5px;
658 left:0;
659 width:auto;
660}
661
662div.special {
663 padding: .5em 1em 1em 1em;
664 margin: 0 0 1em;
Scott Main462cc372009-10-23 16:19:37 -0700665 background-color: #DAF3FC;
666 border:1px solid #d3ecf5;
667 border-radius:5px;
668 -moz-border-radius:5px;
669 -webkit-border-radius:5px;
670}
671
672.toggle-content-toggleme {
673 display:none;
674}
675
676.toggle-content-button {
677 font-size:.9em;
678 line-height:.9em;
679 text-decoration:none;
680 position:relative;
681 top:5px;
682}
683
684.toggle-content-button:hover {
685 text-decoration:underline;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800686}
687
688div.special p {
689 margin: .5em 0 0 0;
690}
691
692div.special ol {
693 margin: 0;
694}
695
696div.special ol li {
697 margin: 0;
698 padding: 0;
699}
700
701#jd-content div.special h2,
702#jd-content div.special h3 {
703 color:#669999;
704 font-size:1.2em;
705 border:none;
706 margin:0 0 .5em;
707 padding:0;
708}
Scott Main9e541302009-04-20 11:15:26 -0700709
The Android Open Source Project88b60792009-03-03 19:28:42 -0800710p.note, p.caution, p.warning {
711 margin: 1em;
712 padding: 0 0 0 .5em;
713 border-left: 4px solid;
714}
715
716p.special-note {
717 background-color:#EBF3DB;
718 padding:10px 20px;
719 margin:0 0 1em;
720}
721
722p.note {
723 border-color: #99aacc;
724}
The Android Open Source Project88b60792009-03-03 19:28:42 -0800725
726p.warning {
727 border-color: #aa0033;
728}
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700729
730p.caution {
731 border-color: #ffcf00;
732}
Scott Main9b547922009-05-13 17:50:33 -0700733
Scott Main9e541302009-04-20 11:15:26 -0700734p.warning b, p.warning strong {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800735 font-weight: bold;
736}
737
Scott Main9e541302009-04-20 11:15:26 -0700738li p.note, li p.warning {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800739 margin: .5em 0 0 0;
740 padding: .2em .5em .2em .9em;
741}
742
743dl.xml dt {
744 font-variant:small-caps;
745 font-size:1.2em;
746}
747
748dl.xml dl {
749 padding:0;
750}
751
752dl.xml dl dt {
753 font-variant:normal;
754 font-size:1em;
755}
756
757.listhead li {
758 font-weight: bold;
759}
760
761.listhead li *, /*ie*/.listhead li li {
762 font-weight: normal;
763}
764
765ol.no-style,
766ul.no-style {
767 list-style:none;
768 padding-left:1em;
769}
770
771.new {
772 font-size: .78em;
773 font-weight: bold;
774 color: red;
775 text-decoration: none;
Dirk Doughertyfce6b452009-10-16 17:14:33 -0700776 vertical-align:top;
777 line-height:.9em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800778}
779
780pre.classic {
781 background-color:transparent;
782 border:none;
783 padding:0;
784}
785
786
787/* BEGIN quickview sidebar element styles */
788
789#qv-wrapper {
790 float: right;
791 width:310px;
792 background-color:#fff;
793 margin:-48px 0 2px 0;
794 padding:0 0 20px 35px;
795}
796
797#qv {
798 background-color:#fff;
799 border:4px solid #dee8f1;
800 margin:0;
801 padding:0 6px 6px;
802 width:270px;
803 font-size:.9em;
804}
805
806#qv ol {
807 list-style:none;
808 padding: 0;
809}
810
811#qv ol ol{
812 list-style:none;
Scott Main9b547922009-05-13 17:50:33 -0700813 padding: 0 0 0 12px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800814 margin:0;
815}
816
817#qv ul {
818 padding: 0 10px 0 2em;
819}
820
821#qv li {
Scott Main9b547922009-05-13 17:50:33 -0700822 padding: 0 10px 3px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800823 line-height: 1.2em;
824}
825
Scott Main9b547922009-05-13 17:50:33 -0700826#qv li li {
827 padding: 3px 10px 0;
828}
829
The Android Open Source Project88b60792009-03-03 19:28:42 -0800830#qv ul li {
831 padding: 0 10px 0 0;
832}
833
834#qv li.selected a {
835 color:#555;
836 text-decoration:none;
837}
838
839#qv a {
840 color:#cc6600;
841}
842
843#qv p {
844 margin:8px 0 0;
845 padding:0 10px;
846}
847
848#qv-extra #rule {
849 padding: 0 10px;
850 margin: 0;
851}
852
853#qv-sub-rule {
854 padding: 6px 20px;
855 margin: 0;
856}
857
858#qv-sub-rule p {
859 margin: 0;
860}
861
862#jd-content #qv h2 {
863 font-size:1.05em;
864 font-weight:bold;
865 margin:12px 0 .25em 0;
866 padding:0 10px;
867 background-color:transparent;
868 color:#7BB026;
869 border:none;
870 left:0;
871 z-index:1;
872}
873
874/* END quickview sidebar element styles */
875
876/* Begin sidebox sidebar element styles */
877
878.sidebox-wrapper {
879 float: right;
880 width:280px;
881 background-color:#fff;
882 margin: 0;
883 padding: 20px 0 20px 20px;
884}
885
886.sidebox-inner {
887 border-left:1px solid #dee8f1;
888 background-color:#ffffee;
889 padding:5px 8px 5px 12px;
890 font-size:90%;
891 width:260px;
892}
893
894.sidebox {
895 float: right;
896 width:260px;
897 background-color:#ffffee;
898 border-left:1px solid #dee8f1;
899 margin: 12px 0 0 15px;
900 padding:5px 8px 0 12px;
901 font-size:90%;
902}
903
904.sidebox p,
905.sidebox-inner p {
906 margin-bottom: .25em;
907}
908
909.sidebox ul,
910.sidebox-inner ul {
911 padding: 0 0 0 1.5em;
912}
913
914.sidebox li ul,
915.sidebox-inner li ul {
916 margin-top:0;
917 margin-bottom:.1em;
918}
919
920.sidebox li,
921.sidebox-inner li {
922padding:0 0 0 0em;
923}
924
925#jd-content .sidebox h2,
926#jd-content .sidebox h3,
927#jd-content .sidebox-inner h2,
928#jd-content .sidebox-inner h3 {
929 border:none;
930 font-size:1em;
931 margin:0;
932 padding:4px 0 4px;
933 left:0;
934 z-index:0;
935}
936
937.sidebox hr,
938.sidebox-inner hr {
939 background-color:#ccc;
940 border:none;
941}
942
943/* End sidebox sidebar element styles */
944
Dirk Dougherty29eafde2009-05-26 08:40:40 -0700945/* BEGIN image and caption styles (originally for UI Guidelines docs) */
946
947table.image-caption {
948 padding:0;
949 margin:.5em 0;
950 border:0;
951}
952
953td.image-caption-i {
954 font-size:92%;
955 padding:0;
956 margin:0;
957 border:0;
958}
959
960td.image-caption-i img {
961 padding:0 1em;
962 margin:0;
963}
964
965.image-list {
966 width:24px;
967 text-align:center;
968}
969
970.image-list .caption {
971 margin:0 2px;
972}
973
974td.image-caption-c {
975 font-size:92%;
976 padding:1em 2px 2px 2px;
977 margin:0;
978 border:0;
979 width:350px;
980}
981
982.grad-rule-top {
983background-image:url(images/grad-rule-qv.png);
984background-repeat:no-repeat;
985padding-top:1em;
986margin-top:0;
987}
988
989.image-caption-nested {
990 margin-top:0;
991 padding:0 0 0 1em;
992}
993
994.image-caption-nested td {
995 padding:0 4px 2px 0;
996 margin:0;
997 border:0;
998}
999
1000/* END image and caption styles */
1001
The Android Open Source Project88b60792009-03-03 19:28:42 -08001002/* table of contents */
1003
1004ol.toc {
1005 margin: 0 0 1em 0;
1006 padding: 0;
1007 list-style: none;
1008 font-size:95%;
1009}
1010
1011ol.toc li {
1012 font-weight: bold;
1013 margin: 0 0 .5em 1em;
1014 padding: 0;
1015}
1016
1017ol.toc li p {
1018 font-weight: normal;
1019}
1020
1021ol.toc li ol {
1022 margin: 0;
1023 padding: 0;
1024}
1025
1026ol.toc li li {
1027 padding: 0;
1028 margin: 0 0 0 1em;
1029 font-weight: normal;
1030 list-style: none;
1031}
1032
1033table ol.toc {
1034 margin-left: 0;
1035}
1036
1037.columns td {
1038 padding:0 5px;
1039 border:none;
1040}
1041
1042/* link table */
1043.jd-linktable {
1044 margin: 0 0 1em;
1045 border-bottom: 1px solid #888;
1046}
1047.jd-linktable th,
1048.jd-linktable td {
1049 padding: 3px 5px;
1050 vertical-align: top;
1051 text-align: left;
1052 border:none;
1053}
1054.jd-linktable tr {
1055 background-color: #fff;
1056}
1057.jd-linktable td {
1058 border-top: 1px solid #888;
1059 background-color: inherit;
1060}
1061.jd-linktable td p {
1062 padding: 0 0 5px;
1063}
1064.jd-linktable .jd-linkcol {
1065}
1066.jd-linktable .jd-descrcol {
1067}
1068.jd-linktable .jd-typecol {
1069 text-align:right;
1070}
1071.jd-linktable .jd-valcol {
1072}
1073.jd-linktable .jd-commentrow {
1074 border-top:none;
1075 padding-left:25px;
1076}
1077.jd-deprecated-warning {
1078 margin-top: 0;
1079 margin-bottom: 10px;
1080}
1081
1082tr.alt-color {
1083 background-color: #f6f6f6;
1084}
1085
1086/* expando trigger */
1087#jd-content .jd-expando-trigger-img {
1088 margin:0;
1089}
1090
1091/* jd-expando */
1092.jd-inheritedlinks {
1093 padding:0 0 0 13px
1094}
1095
1096/* SDK PAGE */
1097table.download tr {
1098 background-color:#d9d9d9;
1099}
1100
1101table.download tr.alt-color {
1102 background-color:#ededed;
1103}
1104
1105table.download td,
1106table.download th {
1107 border:2px solid #fff;
1108 padding:10px 5px;
1109}
1110
1111table.download th {
1112 background-color:#6d8293;
1113 color:#fff;
1114}
1115
1116/* INLAY 180 COPY and 240PX EXTENSION */
1117/* modified to 43px so that all browsers eliminate the package panel h-scroll */
1118.g-tpl-240 .g-unit,
1119.g-unit .g-tpl-240 .g-unit,
1120.g-unit .g-unit .g-tpl-240 .g-unit {
1121 display: block;
1122 margin: 0 0 0 243px;
1123 width: auto;
1124 float: none;
1125}
1126.g-unit .g-unit .g-tpl-240 .g-first,
1127.g-unit .g-tpl-240 .g-first,
1128.g-tpl-240 .g-first {
1129 display: block;
1130 margin: 0;
1131 width: 243px;
1132 float: left;
1133}
1134/* 240px alt */
1135.g-tpl-240-alt .g-unit,
1136.g-unit .g-tpl-240-alt .g-unit,
1137.g-unit .g-unit .g-tpl-240-alt .g-unit {
1138 display: block;
1139 margin: 0 243px 0 0;
1140 width: auto;
1141 float: none;
1142}
1143.g-unit .g-unit .g-tpl-240-alt .g-first,
1144.g-unit .g-tpl-240-alt .g-first,
1145.g-tpl-240-alt .g-first {
1146 display: block;
1147 margin: 0;
1148 width: 243px;
1149 float: right;
1150}
1151
1152/* 180px */
1153.g-tpl-180 .g-unit,
1154.g-unit .g-tpl-180 .g-unit,
1155.g-unit .g-unit .g-tpl-180 .g-unit {
1156 display: block;
1157 margin: 0 0 0 180px;
1158 width: auto;
1159 float: none;
1160}
1161.g-unit .g-unit .g-tpl-180 .g-first,
1162.g-unit .g-tpl-180 .g-first,
1163.g-tpl-180 .g-first {
1164 display: block;
1165 margin: 0;
1166 width: 180px;
1167 float: left;
1168}
1169/* 180px alt */
1170.g-tpl-180-alt .g-unit,
1171.g-unit .g-tpl-180-alt .g-unit,
1172.g-unit .g-unit .g-tpl-180-alt .g-unit {
1173 display: block;
1174 margin: 0 180px 0 0;
1175 width: auto;
1176 float: none;
1177}
1178.g-unit .g-unit .g-tpl-180-alt .g-first,
1179.g-unit .g-tpl-180-alt .g-first,
1180.g-tpl-180-alt .g-first {
1181 display: block;
1182 margin: 0;
1183 width: 180px;
1184 float: right;
1185}
1186
1187
1188/* JQUERY RESIZABLE STYLES */
1189.ui-resizable { position: relative; }
1190.ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
1191.ui-resizable .ui-resizable-handle { display: block; }
1192body .ui-resizable-disabled .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1193body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1194.ui-resizable-s { cursor: s-resize; height: 6px; width: 100%; bottom: 0px; left: 0px; background: transparent url("images/resizable-s2.gif") repeat scroll center top; }
1195.ui-resizable-e { cursor: e-resize; width: 6px; right: 0px; top: 0px; height: 100%; background: transparent url("images/resizable-e2.gif") repeat scroll right center; }
1196
1197@media print {
1198
1199 body {
1200 overflow:visible;
1201 }
1202
1203 #header {
1204 height:60px;
1205 }
1206
1207 #headerLeft {
Dirk Dougherty18467172009-04-15 11:31:36 -07001208 padding:0;
1209 }
1210
Scott Main54161d12009-08-18 19:00:11 -07001211 #header-tabs,
1212 #headerRight,
1213 #side-nav,
1214 #api-info-block {
The Android Open Source Project88b60792009-03-03 19:28:42 -08001215 display:none;
1216 }
1217
1218 #body-content {
1219 position:inherit;
1220 }
The Android Open Source Project88b60792009-03-03 19:28:42 -08001221
1222 #doc-content {
1223 margin-left:0 !important;
1224 height:auto !important;
1225 width:auto !important;
1226 overflow:inherit;
1227 display:inline;
1228 }
1229
1230 #jd-header {
1231 padding:10px 0;
1232 }
1233
1234 #jd-content {
1235 padding:15px 0 0;
1236 }
1237
1238 #footer {
1239 float:none;
1240 margin:2em 0 0;
1241 }
1242
1243 h4.jd-details-title {
1244 border-bottom:1px solid #666;
1245 }
1246
1247 pre {
1248 /* these allow lines to break (if there's a white space) */
1249 overflow: visible;
1250 text-wrap: unrestricted;
1251 white-space: -moz-pre-wrap; /* Moz */
1252 white-space: -pre-wrap; /* Opera 4-6 */
1253 white-space: -o-pre-wrap; /* Opera 7 */
1254 white-space: pre-wrap; /* CSS3 */
1255 word-wrap: break-word; /* IE 5.5+ */
1256 }
1257
1258 h1, h2, h3, h4, h5, h6 {
1259 page-break-after: avoid;
1260 }
1261
1262 table, img {
1263 page-break-inside: avoid;
1264 }
1265
Dirk Dougherty233bc0b2009-07-07 17:43:27 -07001266/* #qv,
The Android Open Source Project88b60792009-03-03 19:28:42 -08001267 #qv-wrapper {
1268 display:none;
1269 }
Dirk Dougherty233bc0b2009-07-07 17:43:27 -07001270*/
The Android Open Source Project88b60792009-03-03 19:28:42 -08001271}