blob: 1e5b51e106caec97bbba7d3e32721d22db81396b [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;
662 background-color: #ddf0f2;
663}
664
665div.special p {
666 margin: .5em 0 0 0;
667}
668
669div.special ol {
670 margin: 0;
671}
672
673div.special ol li {
674 margin: 0;
675 padding: 0;
676}
677
678#jd-content div.special h2,
679#jd-content div.special h3 {
680 color:#669999;
681 font-size:1.2em;
682 border:none;
683 margin:0 0 .5em;
684 padding:0;
685}
Scott Main9e541302009-04-20 11:15:26 -0700686
The Android Open Source Project88b60792009-03-03 19:28:42 -0800687p.note, p.caution, p.warning {
688 margin: 1em;
689 padding: 0 0 0 .5em;
690 border-left: 4px solid;
691}
692
693p.special-note {
694 background-color:#EBF3DB;
695 padding:10px 20px;
696 margin:0 0 1em;
697}
698
699p.note {
700 border-color: #99aacc;
701}
The Android Open Source Project88b60792009-03-03 19:28:42 -0800702
703p.warning {
704 border-color: #aa0033;
705}
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700706
707p.caution {
708 border-color: #ffcf00;
709}
Scott Main9b547922009-05-13 17:50:33 -0700710
Scott Main9e541302009-04-20 11:15:26 -0700711p.warning b, p.warning strong {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800712 font-weight: bold;
713}
714
Scott Main9e541302009-04-20 11:15:26 -0700715li p.note, li p.warning {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800716 margin: .5em 0 0 0;
717 padding: .2em .5em .2em .9em;
718}
719
720dl.xml dt {
721 font-variant:small-caps;
722 font-size:1.2em;
723}
724
725dl.xml dl {
726 padding:0;
727}
728
729dl.xml dl dt {
730 font-variant:normal;
731 font-size:1em;
732}
733
734.listhead li {
735 font-weight: bold;
736}
737
738.listhead li *, /*ie*/.listhead li li {
739 font-weight: normal;
740}
741
742ol.no-style,
743ul.no-style {
744 list-style:none;
745 padding-left:1em;
746}
747
748.new {
749 font-size: .78em;
750 font-weight: bold;
751 color: red;
752 text-decoration: none;
753}
754
755pre.classic {
756 background-color:transparent;
757 border:none;
758 padding:0;
759}
760
761
762/* BEGIN quickview sidebar element styles */
763
764#qv-wrapper {
765 float: right;
766 width:310px;
767 background-color:#fff;
768 margin:-48px 0 2px 0;
769 padding:0 0 20px 35px;
770}
771
772#qv {
773 background-color:#fff;
774 border:4px solid #dee8f1;
775 margin:0;
776 padding:0 6px 6px;
777 width:270px;
778 font-size:.9em;
779}
780
781#qv ol {
782 list-style:none;
783 padding: 0;
784}
785
786#qv ol ol{
787 list-style:none;
Scott Main9b547922009-05-13 17:50:33 -0700788 padding: 0 0 0 12px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800789 margin:0;
790}
791
792#qv ul {
793 padding: 0 10px 0 2em;
794}
795
796#qv li {
Scott Main9b547922009-05-13 17:50:33 -0700797 padding: 0 10px 3px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800798 line-height: 1.2em;
799}
800
Scott Main9b547922009-05-13 17:50:33 -0700801#qv li li {
802 padding: 3px 10px 0;
803}
804
The Android Open Source Project88b60792009-03-03 19:28:42 -0800805#qv ul li {
806 padding: 0 10px 0 0;
807}
808
809#qv li.selected a {
810 color:#555;
811 text-decoration:none;
812}
813
814#qv a {
815 color:#cc6600;
816}
817
818#qv p {
819 margin:8px 0 0;
820 padding:0 10px;
821}
822
823#qv-extra #rule {
824 padding: 0 10px;
825 margin: 0;
826}
827
828#qv-sub-rule {
829 padding: 6px 20px;
830 margin: 0;
831}
832
833#qv-sub-rule p {
834 margin: 0;
835}
836
837#jd-content #qv h2 {
838 font-size:1.05em;
839 font-weight:bold;
840 margin:12px 0 .25em 0;
841 padding:0 10px;
842 background-color:transparent;
843 color:#7BB026;
844 border:none;
845 left:0;
846 z-index:1;
847}
848
849/* END quickview sidebar element styles */
850
851/* Begin sidebox sidebar element styles */
852
853.sidebox-wrapper {
854 float: right;
855 width:280px;
856 background-color:#fff;
857 margin: 0;
858 padding: 20px 0 20px 20px;
859}
860
861.sidebox-inner {
862 border-left:1px solid #dee8f1;
863 background-color:#ffffee;
864 padding:5px 8px 5px 12px;
865 font-size:90%;
866 width:260px;
867}
868
869.sidebox {
870 float: right;
871 width:260px;
872 background-color:#ffffee;
873 border-left:1px solid #dee8f1;
874 margin: 12px 0 0 15px;
875 padding:5px 8px 0 12px;
876 font-size:90%;
877}
878
879.sidebox p,
880.sidebox-inner p {
881 margin-bottom: .25em;
882}
883
884.sidebox ul,
885.sidebox-inner ul {
886 padding: 0 0 0 1.5em;
887}
888
889.sidebox li ul,
890.sidebox-inner li ul {
891 margin-top:0;
892 margin-bottom:.1em;
893}
894
895.sidebox li,
896.sidebox-inner li {
897padding:0 0 0 0em;
898}
899
900#jd-content .sidebox h2,
901#jd-content .sidebox h3,
902#jd-content .sidebox-inner h2,
903#jd-content .sidebox-inner h3 {
904 border:none;
905 font-size:1em;
906 margin:0;
907 padding:4px 0 4px;
908 left:0;
909 z-index:0;
910}
911
912.sidebox hr,
913.sidebox-inner hr {
914 background-color:#ccc;
915 border:none;
916}
917
918/* End sidebox sidebar element styles */
919
Dirk Dougherty29eafde2009-05-26 08:40:40 -0700920/* BEGIN image and caption styles (originally for UI Guidelines docs) */
921
922table.image-caption {
923 padding:0;
924 margin:.5em 0;
925 border:0;
926}
927
928td.image-caption-i {
929 font-size:92%;
930 padding:0;
931 margin:0;
932 border:0;
933}
934
935td.image-caption-i img {
936 padding:0 1em;
937 margin:0;
938}
939
940.image-list {
941 width:24px;
942 text-align:center;
943}
944
945.image-list .caption {
946 margin:0 2px;
947}
948
949td.image-caption-c {
950 font-size:92%;
951 padding:1em 2px 2px 2px;
952 margin:0;
953 border:0;
954 width:350px;
955}
956
957.grad-rule-top {
958background-image:url(images/grad-rule-qv.png);
959background-repeat:no-repeat;
960padding-top:1em;
961margin-top:0;
962}
963
964.image-caption-nested {
965 margin-top:0;
966 padding:0 0 0 1em;
967}
968
969.image-caption-nested td {
970 padding:0 4px 2px 0;
971 margin:0;
972 border:0;
973}
974
975/* END image and caption styles */
976
The Android Open Source Project88b60792009-03-03 19:28:42 -0800977/* table of contents */
978
979ol.toc {
980 margin: 0 0 1em 0;
981 padding: 0;
982 list-style: none;
983 font-size:95%;
984}
985
986ol.toc li {
987 font-weight: bold;
988 margin: 0 0 .5em 1em;
989 padding: 0;
990}
991
992ol.toc li p {
993 font-weight: normal;
994}
995
996ol.toc li ol {
997 margin: 0;
998 padding: 0;
999}
1000
1001ol.toc li li {
1002 padding: 0;
1003 margin: 0 0 0 1em;
1004 font-weight: normal;
1005 list-style: none;
1006}
1007
1008table ol.toc {
1009 margin-left: 0;
1010}
1011
1012.columns td {
1013 padding:0 5px;
1014 border:none;
1015}
1016
1017/* link table */
1018.jd-linktable {
1019 margin: 0 0 1em;
1020 border-bottom: 1px solid #888;
1021}
1022.jd-linktable th,
1023.jd-linktable td {
1024 padding: 3px 5px;
1025 vertical-align: top;
1026 text-align: left;
1027 border:none;
1028}
1029.jd-linktable tr {
1030 background-color: #fff;
1031}
1032.jd-linktable td {
1033 border-top: 1px solid #888;
1034 background-color: inherit;
1035}
1036.jd-linktable td p {
1037 padding: 0 0 5px;
1038}
1039.jd-linktable .jd-linkcol {
1040}
1041.jd-linktable .jd-descrcol {
1042}
1043.jd-linktable .jd-typecol {
1044 text-align:right;
1045}
1046.jd-linktable .jd-valcol {
1047}
1048.jd-linktable .jd-commentrow {
1049 border-top:none;
1050 padding-left:25px;
1051}
1052.jd-deprecated-warning {
1053 margin-top: 0;
1054 margin-bottom: 10px;
1055}
1056
1057tr.alt-color {
1058 background-color: #f6f6f6;
1059}
1060
1061/* expando trigger */
1062#jd-content .jd-expando-trigger-img {
1063 margin:0;
1064}
1065
1066/* jd-expando */
1067.jd-inheritedlinks {
1068 padding:0 0 0 13px
1069}
1070
1071/* SDK PAGE */
1072table.download tr {
1073 background-color:#d9d9d9;
1074}
1075
1076table.download tr.alt-color {
1077 background-color:#ededed;
1078}
1079
1080table.download td,
1081table.download th {
1082 border:2px solid #fff;
1083 padding:10px 5px;
1084}
1085
1086table.download th {
1087 background-color:#6d8293;
1088 color:#fff;
1089}
1090
1091/* INLAY 180 COPY and 240PX EXTENSION */
1092/* modified to 43px so that all browsers eliminate the package panel h-scroll */
1093.g-tpl-240 .g-unit,
1094.g-unit .g-tpl-240 .g-unit,
1095.g-unit .g-unit .g-tpl-240 .g-unit {
1096 display: block;
1097 margin: 0 0 0 243px;
1098 width: auto;
1099 float: none;
1100}
1101.g-unit .g-unit .g-tpl-240 .g-first,
1102.g-unit .g-tpl-240 .g-first,
1103.g-tpl-240 .g-first {
1104 display: block;
1105 margin: 0;
1106 width: 243px;
1107 float: left;
1108}
1109/* 240px alt */
1110.g-tpl-240-alt .g-unit,
1111.g-unit .g-tpl-240-alt .g-unit,
1112.g-unit .g-unit .g-tpl-240-alt .g-unit {
1113 display: block;
1114 margin: 0 243px 0 0;
1115 width: auto;
1116 float: none;
1117}
1118.g-unit .g-unit .g-tpl-240-alt .g-first,
1119.g-unit .g-tpl-240-alt .g-first,
1120.g-tpl-240-alt .g-first {
1121 display: block;
1122 margin: 0;
1123 width: 243px;
1124 float: right;
1125}
1126
1127/* 180px */
1128.g-tpl-180 .g-unit,
1129.g-unit .g-tpl-180 .g-unit,
1130.g-unit .g-unit .g-tpl-180 .g-unit {
1131 display: block;
1132 margin: 0 0 0 180px;
1133 width: auto;
1134 float: none;
1135}
1136.g-unit .g-unit .g-tpl-180 .g-first,
1137.g-unit .g-tpl-180 .g-first,
1138.g-tpl-180 .g-first {
1139 display: block;
1140 margin: 0;
1141 width: 180px;
1142 float: left;
1143}
1144/* 180px alt */
1145.g-tpl-180-alt .g-unit,
1146.g-unit .g-tpl-180-alt .g-unit,
1147.g-unit .g-unit .g-tpl-180-alt .g-unit {
1148 display: block;
1149 margin: 0 180px 0 0;
1150 width: auto;
1151 float: none;
1152}
1153.g-unit .g-unit .g-tpl-180-alt .g-first,
1154.g-unit .g-tpl-180-alt .g-first,
1155.g-tpl-180-alt .g-first {
1156 display: block;
1157 margin: 0;
1158 width: 180px;
1159 float: right;
1160}
1161
1162
1163/* JQUERY RESIZABLE STYLES */
1164.ui-resizable { position: relative; }
1165.ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
1166.ui-resizable .ui-resizable-handle { display: block; }
1167body .ui-resizable-disabled .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1168body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1169.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; }
1170.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; }
1171
1172@media print {
1173
1174 body {
1175 overflow:visible;
1176 }
1177
1178 #header {
1179 height:60px;
1180 }
1181
1182 #headerLeft {
Dirk Dougherty18467172009-04-15 11:31:36 -07001183 padding:0;
1184 }
1185
Scott Main54161d12009-08-18 19:00:11 -07001186 #header-tabs,
1187 #headerRight,
1188 #side-nav,
1189 #api-info-block {
The Android Open Source Project88b60792009-03-03 19:28:42 -08001190 display:none;
1191 }
1192
1193 #body-content {
1194 position:inherit;
1195 }
The Android Open Source Project88b60792009-03-03 19:28:42 -08001196
1197 #doc-content {
1198 margin-left:0 !important;
1199 height:auto !important;
1200 width:auto !important;
1201 overflow:inherit;
1202 display:inline;
1203 }
1204
1205 #jd-header {
1206 padding:10px 0;
1207 }
1208
1209 #jd-content {
1210 padding:15px 0 0;
1211 }
1212
1213 #footer {
1214 float:none;
1215 margin:2em 0 0;
1216 }
1217
1218 h4.jd-details-title {
1219 border-bottom:1px solid #666;
1220 }
1221
1222 pre {
1223 /* these allow lines to break (if there's a white space) */
1224 overflow: visible;
1225 text-wrap: unrestricted;
1226 white-space: -moz-pre-wrap; /* Moz */
1227 white-space: -pre-wrap; /* Opera 4-6 */
1228 white-space: -o-pre-wrap; /* Opera 7 */
1229 white-space: pre-wrap; /* CSS3 */
1230 word-wrap: break-word; /* IE 5.5+ */
1231 }
1232
1233 h1, h2, h3, h4, h5, h6 {
1234 page-break-after: avoid;
1235 }
1236
1237 table, img {
1238 page-break-inside: avoid;
1239 }
1240
Dirk Dougherty233bc0b2009-07-07 17:43:27 -07001241/* #qv,
The Android Open Source Project88b60792009-03-03 19:28:42 -08001242 #qv-wrapper {
1243 display:none;
1244 }
Dirk Dougherty233bc0b2009-07-07 17:43:27 -07001245*/
The Android Open Source Project88b60792009-03-03 19:28:42 -08001246}