blob: e8dc20bbb5fa5d2aa036e0d85e6296c78269d89b [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;
344 color:#999;
345}
346
Scott Main25fda192009-08-04 11:26:30 -0700347div.api-level {
348 font-size:.8em;
Scott Maindf094242009-07-27 09:47:11 -0700349 font-weight:normal;
350 color:#999;
Scott Main25fda192009-08-04 11:26:30 -0700351 float:right;
352 padding:0 7px 0;
353 margin-top:-25px;
Scott Maindf094242009-07-27 09:47:11 -0700354}
355
Scott Main25fda192009-08-04 11:26:30 -0700356#api-info-block div.api-level {
357 font-size:1.3em;
358 font-weight:bold;
359 float:none;
360 color:#444;
361 padding:0;
362 margin:0;
363}
364
365/* Force link colors for IE6 */
366div.api-level a {
367 color:#999;
368}
369#api-info-block div.api-level a:link {
370 color:#444;
371}
372#api-level-toggle a {
373 color:#999;
374}
375
376div#naMessage {
377 display:none;
378 width:555px;
379 height:0;
380 margin:0 auto;
381}
382
383div#naMessage div {
384 width:450px;
385 position:fixed;
386 margin:50px 0;
387 padding:4em 4em 3em;
388 background:#FFF;
389 background:rgba(255,255,255,0.7);
390 border:1px solid #dddd00;
391}
392/* IE6 can't position fixed */
393* html div#naMessage div { position:absolute; }
394
395div#naMessage strong {
396 font-size:1.1em;
Scott Maindf094242009-07-27 09:47:11 -0700397}
398
399.absent,
400.absent a:link,
401.absent a:visited,
402.absent a:hover,
403.absent * {
Scott Main25fda192009-08-04 11:26:30 -0700404 color:#bbb !important;
Scott Maindf094242009-07-27 09:47:11 -0700405 cursor:default !important;
406 text-decoration:none !important;
407}
408
Scott Main25fda192009-08-04 11:26:30 -0700409#api-level-toggle a,
410.api-level a {
411 color:inherit;
412 text-decoration:none;
413}
414
415#api-level-toggle a:hover,
416.api-level a:hover {
417 color:inherit;
418 text-decoration:underline !important;
419 cursor:pointer !important;
Scott Maindf094242009-07-27 09:47:11 -0700420}
421
422#side-nav li.absent.selected,
Scott Main25fda192009-08-04 11:26:30 -0700423#side-nav li.absent.selected *,
424#side-nav div.label.absent.selected,
425#side-nav div.label.absent.selected * {
426 background-color:#eaeaea !important;
Scott Maindf094242009-07-27 09:47:11 -0700427}
Scott Main25fda192009-08-04 11:26:30 -0700428/* IE6 quirk (won't chain classes, so just keep background blue) */
429* html #side-nav li.selected,
430* html #side-nav li.selected *,
431* html #side-nav div.label.selected,
432* html #side-nav div.label.selected * {
433 background-color: #435a6e !important;
434}
435
436
437.absent h4.jd-details-title,
438.absent h4.jd-details-title * {
439 background-color:#f6f6f6 !important;
440}
441
442.absent img {
443 opacity: .3;
444 filter: alpha(opacity=30);
445 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
446}
447
Scott Maindf094242009-07-27 09:47:11 -0700448
The Android Open Source Project88b60792009-03-03 19:28:42 -0800449/* applies to a div containing links to summary tables */
450.sum-details-links {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800451 padding:0;
452 font-weight:normal;
453}
454
455.sum-details-links a {
456 text-decoration:none;
457}
458
459.sum-details-links a:hover {
460 text-decoration:underline;
461}
462
463
464/* inheritance table */
465.jd-inheritance-table {
466 border-spacing:0;
467 margin:0;
468 padding:0;
469 font-size:.9em;
470}
471.jd-inheritance-table td {
472 border: none;
473 margin: 0;
474 padding: 0;
475}
476.jd-inheritance-table .jd-inheritance-space {
477 font-weight:bold;
478 width:1em;
479}
480.jd-inheritance-table .jd-inheritance-interface-cell {
481 padding-left: 17px;
482}
483
484#jd-content {
485 padding: 18px 15px;
486}
487
488hr {
489 background-color:#ccc;
490}
491
492/* DOC CLASSES */
493
494#jd-content h1 {
495/*sdk page*/
496 font-size:1.6em;
497 color:#336666;
498 margin:0 0 .5em;
499}
500
501#jd-content h2 {
502 font-size:1.45em;
503 color:#111;
504 border-top:2px solid #ccc;
505 padding: .5em 0 0;
506 margin: 1.5em 0 1em 0;
507 max-width:968px;
508}
509
510#jd-content h3 {
511 font-size:1.2em;
512 color:#222;
513 padding: .75em 0 .65em 0;
514 margin:0;
515}
516
517#jd-content h4 {
518 font-size:1.1em;
519 margin-bottom:.5em;
520 color:#222;
521}
522
523#jd-content .small-header {
524 font-size:1em;
525 color:#000;
526 font-weight:bold;
527 border:none;
528 padding:0;
529 margin:1em 0 .5em;
530 position:inherit;
531}
532
533#jd-content img {
534 margin: 0 0 1em 1em;
535}
536
537#jd-content li img,
538#jd-content dd img {
539 margin:.5em 0 0 1em;
540}
541
542.nolist {
543 list-style:none;
544 padding:0;
Scott Main9b547922009-05-13 17:50:33 -0700545 margin:0 0 1em 1em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800546}
547
548.nolist li {
Scott Main9b547922009-05-13 17:50:33 -0700549 padding:0 0 2px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800550 margin:0;
551}
552
553h4 .normal {
554 font-size:.9em;
555 font-weight:normal;
556}
557
558.jd-details {
559/* border:1px solid #669999;
560 padding:4px; */
561 margin:0 0 1em;
562}
563
564/* API reference: a container for the
565.tagdata blocks that make up the detailed
566description */
567.jd-details-descr {
568 padding:0;
569 margin:.5em .25em;
570}
571
572/* API reference: a block containing
573a detailed description, a params table,
574seealso list, etc */
575.jd-tagdata {
576 margin:.5em 1em;
577}
578
Scott Maindf094242009-07-27 09:47:11 -0700579.jd-tagdata p {
580 margin:0 0 1em 1em;
581}
582
The Android Open Source Project88b60792009-03-03 19:28:42 -0800583/* API reference: adjustments to
584the detailed description block */
585.jd-tagdescr {
586 margin:.25em 0 .75em 0;
587 line-height:1em;
588}
589
590.jd-tagdescr p {
591 margin:.5em 0;
592 padding:0;
593
594}
595
596.jd-tagdescr ol,
597.jd-tagdescr ul {
598 margin:0 2.5em;
599 padding:0;
600}
601
602.jd-tagdescr table,
603.jd-tagdescr img {
604 margin:.25em 1em;
605}
606
607.jd-tagdescr li {
608margin:0 0 .25em 0;
609padding:0;
610}
611
612/* API reference: heading marking
613the details section for constants,
614attrs, methods, etc. */
615h4.jd-details-title {
616 font-size:1.15em;
617 background-color: #E2E2E2;
618 margin:1.5em 0 .6em;
Scott Main25fda192009-08-04 11:26:30 -0700619 padding:3px 95px 3px 3px; /* room for api-level */
The Android Open Source Project88b60792009-03-03 19:28:42 -0800620}
621
622h4.jd-tagtitle {
623 margin:0;
624}
625
626/* API reference: heading for "Parameters", "See Also", etc.,
627in details sections */
628h5.jd-tagtitle {
629 margin:0 0 .25em 0;
630 font-size:1em;
631}
632
633.jd-tagtable {
634 margin:0;
635}
636
637.jd-tagtable td,
638.jd-tagtable th {
639 border:none;
640 background-color:#fff;
641 vertical-align:top;
642 font-weight:normal;
643 padding:2px 10px;
644}
645
646.jd-tagtable th {
647 font-style:italic;
648}
649
650#jd-content table h2 {
651 background-color: #d6d6d6;
652 font-size: 1.1em;
653 margin:0 0 10px;
654 padding:5px;
655 left:0;
656 width:auto;
657}
658
659div.special {
660 padding: .5em 1em 1em 1em;
661 margin: 0 0 1em;
Scott Main462cc372009-10-23 16:19:37 -0700662 background-color: #DAF3FC;
663 border:1px solid #d3ecf5;
664 border-radius:5px;
665 -moz-border-radius:5px;
666 -webkit-border-radius:5px;
667}
668
669.toggle-content-toggleme {
670 display:none;
671}
672
673.toggle-content-button {
674 font-size:.9em;
675 line-height:.9em;
676 text-decoration:none;
677 position:relative;
678 top:5px;
679}
680
681.toggle-content-button:hover {
682 text-decoration:underline;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800683}
684
685div.special p {
686 margin: .5em 0 0 0;
687}
688
689div.special ol {
690 margin: 0;
691}
692
693div.special ol li {
694 margin: 0;
695 padding: 0;
696}
697
698#jd-content div.special h2,
699#jd-content div.special h3 {
700 color:#669999;
701 font-size:1.2em;
702 border:none;
703 margin:0 0 .5em;
704 padding:0;
705}
Scott Main9e541302009-04-20 11:15:26 -0700706
The Android Open Source Project88b60792009-03-03 19:28:42 -0800707p.note, p.caution, p.warning {
708 margin: 1em;
709 padding: 0 0 0 .5em;
710 border-left: 4px solid;
711}
712
713p.special-note {
714 background-color:#EBF3DB;
715 padding:10px 20px;
716 margin:0 0 1em;
717}
718
719p.note {
720 border-color: #99aacc;
721}
The Android Open Source Project88b60792009-03-03 19:28:42 -0800722
723p.warning {
724 border-color: #aa0033;
725}
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700726
727p.caution {
728 border-color: #ffcf00;
729}
Scott Main9b547922009-05-13 17:50:33 -0700730
Scott Main9e541302009-04-20 11:15:26 -0700731p.warning b, p.warning strong {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800732 font-weight: bold;
733}
734
Scott Main9e541302009-04-20 11:15:26 -0700735li p.note, li p.warning {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800736 margin: .5em 0 0 0;
737 padding: .2em .5em .2em .9em;
738}
739
740dl.xml dt {
741 font-variant:small-caps;
742 font-size:1.2em;
743}
744
745dl.xml dl {
746 padding:0;
747}
748
749dl.xml dl dt {
750 font-variant:normal;
751 font-size:1em;
752}
753
754.listhead li {
755 font-weight: bold;
756}
757
758.listhead li *, /*ie*/.listhead li li {
759 font-weight: normal;
760}
761
762ol.no-style,
763ul.no-style {
764 list-style:none;
765 padding-left:1em;
766}
767
768.new {
769 font-size: .78em;
770 font-weight: bold;
771 color: red;
772 text-decoration: none;
Dirk Doughertyfce6b452009-10-16 17:14:33 -0700773 vertical-align:top;
774 line-height:.9em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800775}
776
777pre.classic {
778 background-color:transparent;
779 border:none;
780 padding:0;
781}
782
783
784/* BEGIN quickview sidebar element styles */
785
786#qv-wrapper {
787 float: right;
788 width:310px;
789 background-color:#fff;
790 margin:-48px 0 2px 0;
791 padding:0 0 20px 35px;
792}
793
794#qv {
795 background-color:#fff;
796 border:4px solid #dee8f1;
797 margin:0;
798 padding:0 6px 6px;
799 width:270px;
800 font-size:.9em;
801}
802
803#qv ol {
804 list-style:none;
805 padding: 0;
806}
807
808#qv ol ol{
809 list-style:none;
Scott Main9b547922009-05-13 17:50:33 -0700810 padding: 0 0 0 12px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800811 margin:0;
812}
813
814#qv ul {
815 padding: 0 10px 0 2em;
816}
817
818#qv li {
Scott Main9b547922009-05-13 17:50:33 -0700819 padding: 0 10px 3px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800820 line-height: 1.2em;
821}
822
Scott Main9b547922009-05-13 17:50:33 -0700823#qv li li {
824 padding: 3px 10px 0;
825}
826
The Android Open Source Project88b60792009-03-03 19:28:42 -0800827#qv ul li {
828 padding: 0 10px 0 0;
829}
830
831#qv li.selected a {
832 color:#555;
833 text-decoration:none;
834}
835
836#qv a {
837 color:#cc6600;
838}
839
840#qv p {
841 margin:8px 0 0;
842 padding:0 10px;
843}
844
845#qv-extra #rule {
846 padding: 0 10px;
847 margin: 0;
848}
849
850#qv-sub-rule {
851 padding: 6px 20px;
852 margin: 0;
853}
854
855#qv-sub-rule p {
856 margin: 0;
857}
858
859#jd-content #qv h2 {
860 font-size:1.05em;
861 font-weight:bold;
862 margin:12px 0 .25em 0;
863 padding:0 10px;
864 background-color:transparent;
865 color:#7BB026;
866 border:none;
867 left:0;
868 z-index:1;
869}
870
871/* END quickview sidebar element styles */
872
873/* Begin sidebox sidebar element styles */
874
875.sidebox-wrapper {
876 float: right;
877 width:280px;
878 background-color:#fff;
879 margin: 0;
880 padding: 20px 0 20px 20px;
881}
882
883.sidebox-inner {
884 border-left:1px solid #dee8f1;
885 background-color:#ffffee;
886 padding:5px 8px 5px 12px;
887 font-size:90%;
888 width:260px;
889}
890
891.sidebox {
892 float: right;
893 width:260px;
894 background-color:#ffffee;
895 border-left:1px solid #dee8f1;
896 margin: 12px 0 0 15px;
897 padding:5px 8px 0 12px;
898 font-size:90%;
899}
900
901.sidebox p,
902.sidebox-inner p {
903 margin-bottom: .25em;
904}
905
906.sidebox ul,
907.sidebox-inner ul {
908 padding: 0 0 0 1.5em;
909}
910
911.sidebox li ul,
912.sidebox-inner li ul {
913 margin-top:0;
914 margin-bottom:.1em;
915}
916
917.sidebox li,
918.sidebox-inner li {
919padding:0 0 0 0em;
920}
921
922#jd-content .sidebox h2,
923#jd-content .sidebox h3,
924#jd-content .sidebox-inner h2,
925#jd-content .sidebox-inner h3 {
926 border:none;
927 font-size:1em;
928 margin:0;
929 padding:4px 0 4px;
930 left:0;
931 z-index:0;
932}
933
934.sidebox hr,
935.sidebox-inner hr {
936 background-color:#ccc;
937 border:none;
938}
939
940/* End sidebox sidebar element styles */
941
Dirk Dougherty29eafde2009-05-26 08:40:40 -0700942/* BEGIN image and caption styles (originally for UI Guidelines docs) */
943
944table.image-caption {
945 padding:0;
946 margin:.5em 0;
947 border:0;
948}
949
950td.image-caption-i {
951 font-size:92%;
952 padding:0;
953 margin:0;
954 border:0;
955}
956
957td.image-caption-i img {
958 padding:0 1em;
959 margin:0;
960}
961
962.image-list {
963 width:24px;
964 text-align:center;
965}
966
967.image-list .caption {
968 margin:0 2px;
969}
970
971td.image-caption-c {
972 font-size:92%;
973 padding:1em 2px 2px 2px;
974 margin:0;
975 border:0;
976 width:350px;
977}
978
979.grad-rule-top {
980background-image:url(images/grad-rule-qv.png);
981background-repeat:no-repeat;
982padding-top:1em;
983margin-top:0;
984}
985
986.image-caption-nested {
987 margin-top:0;
988 padding:0 0 0 1em;
989}
990
991.image-caption-nested td {
992 padding:0 4px 2px 0;
993 margin:0;
994 border:0;
995}
996
997/* END image and caption styles */
998
The Android Open Source Project88b60792009-03-03 19:28:42 -0800999/* table of contents */
1000
1001ol.toc {
1002 margin: 0 0 1em 0;
1003 padding: 0;
1004 list-style: none;
1005 font-size:95%;
1006}
1007
1008ol.toc li {
1009 font-weight: bold;
1010 margin: 0 0 .5em 1em;
1011 padding: 0;
1012}
1013
1014ol.toc li p {
1015 font-weight: normal;
1016}
1017
1018ol.toc li ol {
1019 margin: 0;
1020 padding: 0;
1021}
1022
1023ol.toc li li {
1024 padding: 0;
1025 margin: 0 0 0 1em;
1026 font-weight: normal;
1027 list-style: none;
1028}
1029
1030table ol.toc {
1031 margin-left: 0;
1032}
1033
1034.columns td {
1035 padding:0 5px;
1036 border:none;
1037}
1038
1039/* link table */
1040.jd-linktable {
1041 margin: 0 0 1em;
1042 border-bottom: 1px solid #888;
1043}
1044.jd-linktable th,
1045.jd-linktable td {
1046 padding: 3px 5px;
1047 vertical-align: top;
1048 text-align: left;
1049 border:none;
1050}
1051.jd-linktable tr {
1052 background-color: #fff;
1053}
1054.jd-linktable td {
1055 border-top: 1px solid #888;
1056 background-color: inherit;
1057}
1058.jd-linktable td p {
1059 padding: 0 0 5px;
1060}
1061.jd-linktable .jd-linkcol {
1062}
1063.jd-linktable .jd-descrcol {
1064}
1065.jd-linktable .jd-typecol {
1066 text-align:right;
1067}
1068.jd-linktable .jd-valcol {
1069}
1070.jd-linktable .jd-commentrow {
1071 border-top:none;
1072 padding-left:25px;
1073}
1074.jd-deprecated-warning {
1075 margin-top: 0;
1076 margin-bottom: 10px;
1077}
1078
1079tr.alt-color {
1080 background-color: #f6f6f6;
1081}
1082
1083/* expando trigger */
1084#jd-content .jd-expando-trigger-img {
1085 margin:0;
1086}
1087
1088/* jd-expando */
1089.jd-inheritedlinks {
1090 padding:0 0 0 13px
1091}
1092
1093/* SDK PAGE */
1094table.download tr {
1095 background-color:#d9d9d9;
1096}
1097
1098table.download tr.alt-color {
1099 background-color:#ededed;
1100}
1101
1102table.download td,
1103table.download th {
1104 border:2px solid #fff;
1105 padding:10px 5px;
1106}
1107
1108table.download th {
1109 background-color:#6d8293;
1110 color:#fff;
1111}
1112
1113/* INLAY 180 COPY and 240PX EXTENSION */
1114/* modified to 43px so that all browsers eliminate the package panel h-scroll */
1115.g-tpl-240 .g-unit,
1116.g-unit .g-tpl-240 .g-unit,
1117.g-unit .g-unit .g-tpl-240 .g-unit {
1118 display: block;
1119 margin: 0 0 0 243px;
1120 width: auto;
1121 float: none;
1122}
1123.g-unit .g-unit .g-tpl-240 .g-first,
1124.g-unit .g-tpl-240 .g-first,
1125.g-tpl-240 .g-first {
1126 display: block;
1127 margin: 0;
1128 width: 243px;
1129 float: left;
1130}
1131/* 240px alt */
1132.g-tpl-240-alt .g-unit,
1133.g-unit .g-tpl-240-alt .g-unit,
1134.g-unit .g-unit .g-tpl-240-alt .g-unit {
1135 display: block;
1136 margin: 0 243px 0 0;
1137 width: auto;
1138 float: none;
1139}
1140.g-unit .g-unit .g-tpl-240-alt .g-first,
1141.g-unit .g-tpl-240-alt .g-first,
1142.g-tpl-240-alt .g-first {
1143 display: block;
1144 margin: 0;
1145 width: 243px;
1146 float: right;
1147}
1148
1149/* 180px */
1150.g-tpl-180 .g-unit,
1151.g-unit .g-tpl-180 .g-unit,
1152.g-unit .g-unit .g-tpl-180 .g-unit {
1153 display: block;
1154 margin: 0 0 0 180px;
1155 width: auto;
1156 float: none;
1157}
1158.g-unit .g-unit .g-tpl-180 .g-first,
1159.g-unit .g-tpl-180 .g-first,
1160.g-tpl-180 .g-first {
1161 display: block;
1162 margin: 0;
1163 width: 180px;
1164 float: left;
1165}
1166/* 180px alt */
1167.g-tpl-180-alt .g-unit,
1168.g-unit .g-tpl-180-alt .g-unit,
1169.g-unit .g-unit .g-tpl-180-alt .g-unit {
1170 display: block;
1171 margin: 0 180px 0 0;
1172 width: auto;
1173 float: none;
1174}
1175.g-unit .g-unit .g-tpl-180-alt .g-first,
1176.g-unit .g-tpl-180-alt .g-first,
1177.g-tpl-180-alt .g-first {
1178 display: block;
1179 margin: 0;
1180 width: 180px;
1181 float: right;
1182}
1183
1184
1185/* JQUERY RESIZABLE STYLES */
1186.ui-resizable { position: relative; }
1187.ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
1188.ui-resizable .ui-resizable-handle { display: block; }
1189body .ui-resizable-disabled .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1190body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1191.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; }
1192.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; }
1193
1194@media print {
1195
1196 body {
1197 overflow:visible;
1198 }
1199
1200 #header {
1201 height:60px;
1202 }
1203
1204 #headerLeft {
Dirk Dougherty18467172009-04-15 11:31:36 -07001205 padding:0;
1206 }
1207
Scott Main54161d12009-08-18 19:00:11 -07001208 #header-tabs,
1209 #headerRight,
1210 #side-nav,
1211 #api-info-block {
The Android Open Source Project88b60792009-03-03 19:28:42 -08001212 display:none;
1213 }
1214
1215 #body-content {
1216 position:inherit;
1217 }
The Android Open Source Project88b60792009-03-03 19:28:42 -08001218
1219 #doc-content {
1220 margin-left:0 !important;
1221 height:auto !important;
1222 width:auto !important;
1223 overflow:inherit;
1224 display:inline;
1225 }
1226
1227 #jd-header {
1228 padding:10px 0;
1229 }
1230
1231 #jd-content {
1232 padding:15px 0 0;
1233 }
1234
1235 #footer {
1236 float:none;
1237 margin:2em 0 0;
1238 }
1239
1240 h4.jd-details-title {
1241 border-bottom:1px solid #666;
1242 }
1243
1244 pre {
1245 /* these allow lines to break (if there's a white space) */
1246 overflow: visible;
1247 text-wrap: unrestricted;
1248 white-space: -moz-pre-wrap; /* Moz */
1249 white-space: -pre-wrap; /* Opera 4-6 */
1250 white-space: -o-pre-wrap; /* Opera 7 */
1251 white-space: pre-wrap; /* CSS3 */
1252 word-wrap: break-word; /* IE 5.5+ */
1253 }
1254
1255 h1, h2, h3, h4, h5, h6 {
1256 page-break-after: avoid;
1257 }
1258
1259 table, img {
1260 page-break-inside: avoid;
1261 }
1262
Dirk Dougherty233bc0b2009-07-07 17:43:27 -07001263/* #qv,
The Android Open Source Project88b60792009-03-03 19:28:42 -08001264 #qv-wrapper {
1265 display:none;
1266 }
Dirk Dougherty233bc0b2009-07-07 17:43:27 -07001267*/
The Android Open Source Project88b60792009-03-03 19:28:42 -08001268}