blob: e5489e68a7016d15e942348e243a99d3609a954a [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 {
279margin: .5em 1em 1em 1em;
280width:99%;
281font-size:.9em;
282}
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;
333 margin:0;
334 padding:6px;
335 font-weight:normal;
336 float:right;
337 text-align:right;
338 color:#999;
339 max-width:70%;
340}
341
Scott Maindf094242009-07-27 09:47:11 -0700342#api-level-toggle {
343 float:right;
344 padding:0 10px;
345 font-size:11px;
346 color:#999;
347}
348
349h4.jd-details-title .api-level,
350div#jd-header .api-level {
351 font-size:12px;
352 font-weight:normal;
353 color:#999;
354 position:absolute;
355 top:5px;
356 right:5px;
357}
358
359div#jd-header .api-level {
360 position:relative;
361 float:right;
362 margin-top:-1.7em;
363}
364
365.absent,
366.absent a:link,
367.absent a:visited,
368.absent a:hover,
369.absent * {
370 color:#aaa !important;
371 background-color:#f6f6f6 !important;
372 cursor:default !important;
373 text-decoration:none !important;
374}
375
376#side-nav li.absent,
377#side-nav li.absent * {
378 background-color:#fff !important;
379}
380
381#side-nav li.absent.selected,
382#side-nav li.absent.selected * {
383 background-color:#eee !important;
384}
385
The Android Open Source Project88b60792009-03-03 19:28:42 -0800386/* applies to a div containing links to summary tables */
387.sum-details-links {
388 margin:0 .5em;
389 padding:0;
390 font-weight:normal;
391}
392
393.sum-details-links a {
394 text-decoration:none;
395}
396
397.sum-details-links a:hover {
398 text-decoration:underline;
399}
400
401
402/* inheritance table */
403.jd-inheritance-table {
404 border-spacing:0;
405 margin:0;
406 padding:0;
407 font-size:.9em;
408}
409.jd-inheritance-table td {
410 border: none;
411 margin: 0;
412 padding: 0;
413}
414.jd-inheritance-table .jd-inheritance-space {
415 font-weight:bold;
416 width:1em;
417}
418.jd-inheritance-table .jd-inheritance-interface-cell {
419 padding-left: 17px;
420}
421
422#jd-content {
423 padding: 18px 15px;
424}
425
426hr {
427 background-color:#ccc;
428}
429
430/* DOC CLASSES */
431
432#jd-content h1 {
433/*sdk page*/
434 font-size:1.6em;
435 color:#336666;
436 margin:0 0 .5em;
437}
438
439#jd-content h2 {
440 font-size:1.45em;
441 color:#111;
442 border-top:2px solid #ccc;
443 padding: .5em 0 0;
444 margin: 1.5em 0 1em 0;
445 max-width:968px;
446}
447
448#jd-content h3 {
449 font-size:1.2em;
450 color:#222;
451 padding: .75em 0 .65em 0;
452 margin:0;
453}
454
455#jd-content h4 {
456 font-size:1.1em;
457 margin-bottom:.5em;
458 color:#222;
459}
460
461#jd-content .small-header {
462 font-size:1em;
463 color:#000;
464 font-weight:bold;
465 border:none;
466 padding:0;
467 margin:1em 0 .5em;
468 position:inherit;
469}
470
471#jd-content img {
472 margin: 0 0 1em 1em;
473}
474
475#jd-content li img,
476#jd-content dd img {
477 margin:.5em 0 0 1em;
478}
479
480.nolist {
481 list-style:none;
482 padding:0;
Scott Main9b547922009-05-13 17:50:33 -0700483 margin:0 0 1em 1em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800484}
485
486.nolist li {
Scott Main9b547922009-05-13 17:50:33 -0700487 padding:0 0 2px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800488 margin:0;
489}
490
491h4 .normal {
492 font-size:.9em;
493 font-weight:normal;
494}
495
496.jd-details {
497/* border:1px solid #669999;
498 padding:4px; */
499 margin:0 0 1em;
500}
501
502/* API reference: a container for the
503.tagdata blocks that make up the detailed
504description */
505.jd-details-descr {
506 padding:0;
507 margin:.5em .25em;
508}
509
510/* API reference: a block containing
511a detailed description, a params table,
512seealso list, etc */
513.jd-tagdata {
514 margin:.5em 1em;
515}
516
Scott Maindf094242009-07-27 09:47:11 -0700517.jd-tagdata p {
518 margin:0 0 1em 1em;
519}
520
The Android Open Source Project88b60792009-03-03 19:28:42 -0800521/* API reference: adjustments to
522the detailed description block */
523.jd-tagdescr {
524 margin:.25em 0 .75em 0;
525 line-height:1em;
526}
527
528.jd-tagdescr p {
529 margin:.5em 0;
530 padding:0;
531
532}
533
534.jd-tagdescr ol,
535.jd-tagdescr ul {
536 margin:0 2.5em;
537 padding:0;
538}
539
540.jd-tagdescr table,
541.jd-tagdescr img {
542 margin:.25em 1em;
543}
544
545.jd-tagdescr li {
546margin:0 0 .25em 0;
547padding:0;
548}
549
550/* API reference: heading marking
551the details section for constants,
552attrs, methods, etc. */
553h4.jd-details-title {
554 font-size:1.15em;
555 background-color: #E2E2E2;
556 margin:1.5em 0 .6em;
557 padding:3px;
Scott Maindf094242009-07-27 09:47:11 -0700558 position:relative; /* so the api level can be absolute */
The Android Open Source Project88b60792009-03-03 19:28:42 -0800559}
560
561h4.jd-tagtitle {
562 margin:0;
563}
564
565/* API reference: heading for "Parameters", "See Also", etc.,
566in details sections */
567h5.jd-tagtitle {
568 margin:0 0 .25em 0;
569 font-size:1em;
570}
571
572.jd-tagtable {
573 margin:0;
574}
575
576.jd-tagtable td,
577.jd-tagtable th {
578 border:none;
579 background-color:#fff;
580 vertical-align:top;
581 font-weight:normal;
582 padding:2px 10px;
583}
584
585.jd-tagtable th {
586 font-style:italic;
587}
588
589#jd-content table h2 {
590 background-color: #d6d6d6;
591 font-size: 1.1em;
592 margin:0 0 10px;
593 padding:5px;
594 left:0;
595 width:auto;
596}
597
598div.special {
599 padding: .5em 1em 1em 1em;
600 margin: 0 0 1em;
601 background-color: #ddf0f2;
602}
603
604div.special p {
605 margin: .5em 0 0 0;
606}
607
608div.special ol {
609 margin: 0;
610}
611
612div.special ol li {
613 margin: 0;
614 padding: 0;
615}
616
617#jd-content div.special h2,
618#jd-content div.special h3 {
619 color:#669999;
620 font-size:1.2em;
621 border:none;
622 margin:0 0 .5em;
623 padding:0;
624}
Scott Main9e541302009-04-20 11:15:26 -0700625
The Android Open Source Project88b60792009-03-03 19:28:42 -0800626p.note, p.caution, p.warning {
627 margin: 1em;
628 padding: 0 0 0 .5em;
629 border-left: 4px solid;
630}
631
632p.special-note {
633 background-color:#EBF3DB;
634 padding:10px 20px;
635 margin:0 0 1em;
636}
637
638p.note {
639 border-color: #99aacc;
640}
The Android Open Source Project88b60792009-03-03 19:28:42 -0800641
642p.warning {
643 border-color: #aa0033;
644}
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700645
646p.caution {
647 border-color: #ffcf00;
648}
Scott Main9b547922009-05-13 17:50:33 -0700649
Scott Main9e541302009-04-20 11:15:26 -0700650p.warning b, p.warning strong {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800651 font-weight: bold;
652}
653
Scott Main9e541302009-04-20 11:15:26 -0700654li p.note, li p.warning {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800655 margin: .5em 0 0 0;
656 padding: .2em .5em .2em .9em;
657}
658
659dl.xml dt {
660 font-variant:small-caps;
661 font-size:1.2em;
662}
663
664dl.xml dl {
665 padding:0;
666}
667
668dl.xml dl dt {
669 font-variant:normal;
670 font-size:1em;
671}
672
673.listhead li {
674 font-weight: bold;
675}
676
677.listhead li *, /*ie*/.listhead li li {
678 font-weight: normal;
679}
680
681ol.no-style,
682ul.no-style {
683 list-style:none;
684 padding-left:1em;
685}
686
687.new {
688 font-size: .78em;
689 font-weight: bold;
690 color: red;
691 text-decoration: none;
692}
693
694pre.classic {
695 background-color:transparent;
696 border:none;
697 padding:0;
698}
699
700
701/* BEGIN quickview sidebar element styles */
702
703#qv-wrapper {
704 float: right;
705 width:310px;
706 background-color:#fff;
707 margin:-48px 0 2px 0;
708 padding:0 0 20px 35px;
709}
710
711#qv {
712 background-color:#fff;
713 border:4px solid #dee8f1;
714 margin:0;
715 padding:0 6px 6px;
716 width:270px;
717 font-size:.9em;
718}
719
720#qv ol {
721 list-style:none;
722 padding: 0;
723}
724
725#qv ol ol{
726 list-style:none;
Scott Main9b547922009-05-13 17:50:33 -0700727 padding: 0 0 0 12px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800728 margin:0;
729}
730
731#qv ul {
732 padding: 0 10px 0 2em;
733}
734
735#qv li {
Scott Main9b547922009-05-13 17:50:33 -0700736 padding: 0 10px 3px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800737 line-height: 1.2em;
738}
739
Scott Main9b547922009-05-13 17:50:33 -0700740#qv li li {
741 padding: 3px 10px 0;
742}
743
The Android Open Source Project88b60792009-03-03 19:28:42 -0800744#qv ul li {
745 padding: 0 10px 0 0;
746}
747
748#qv li.selected a {
749 color:#555;
750 text-decoration:none;
751}
752
753#qv a {
754 color:#cc6600;
755}
756
757#qv p {
758 margin:8px 0 0;
759 padding:0 10px;
760}
761
762#qv-extra #rule {
763 padding: 0 10px;
764 margin: 0;
765}
766
767#qv-sub-rule {
768 padding: 6px 20px;
769 margin: 0;
770}
771
772#qv-sub-rule p {
773 margin: 0;
774}
775
776#jd-content #qv h2 {
777 font-size:1.05em;
778 font-weight:bold;
779 margin:12px 0 .25em 0;
780 padding:0 10px;
781 background-color:transparent;
782 color:#7BB026;
783 border:none;
784 left:0;
785 z-index:1;
786}
787
788/* END quickview sidebar element styles */
789
790/* Begin sidebox sidebar element styles */
791
792.sidebox-wrapper {
793 float: right;
794 width:280px;
795 background-color:#fff;
796 margin: 0;
797 padding: 20px 0 20px 20px;
798}
799
800.sidebox-inner {
801 border-left:1px solid #dee8f1;
802 background-color:#ffffee;
803 padding:5px 8px 5px 12px;
804 font-size:90%;
805 width:260px;
806}
807
808.sidebox {
809 float: right;
810 width:260px;
811 background-color:#ffffee;
812 border-left:1px solid #dee8f1;
813 margin: 12px 0 0 15px;
814 padding:5px 8px 0 12px;
815 font-size:90%;
816}
817
818.sidebox p,
819.sidebox-inner p {
820 margin-bottom: .25em;
821}
822
823.sidebox ul,
824.sidebox-inner ul {
825 padding: 0 0 0 1.5em;
826}
827
828.sidebox li ul,
829.sidebox-inner li ul {
830 margin-top:0;
831 margin-bottom:.1em;
832}
833
834.sidebox li,
835.sidebox-inner li {
836padding:0 0 0 0em;
837}
838
839#jd-content .sidebox h2,
840#jd-content .sidebox h3,
841#jd-content .sidebox-inner h2,
842#jd-content .sidebox-inner h3 {
843 border:none;
844 font-size:1em;
845 margin:0;
846 padding:4px 0 4px;
847 left:0;
848 z-index:0;
849}
850
851.sidebox hr,
852.sidebox-inner hr {
853 background-color:#ccc;
854 border:none;
855}
856
857/* End sidebox sidebar element styles */
858
Dirk Dougherty29eafde2009-05-26 08:40:40 -0700859/* BEGIN image and caption styles (originally for UI Guidelines docs) */
860
861table.image-caption {
862 padding:0;
863 margin:.5em 0;
864 border:0;
865}
866
867td.image-caption-i {
868 font-size:92%;
869 padding:0;
870 margin:0;
871 border:0;
872}
873
874td.image-caption-i img {
875 padding:0 1em;
876 margin:0;
877}
878
879.image-list {
880 width:24px;
881 text-align:center;
882}
883
884.image-list .caption {
885 margin:0 2px;
886}
887
888td.image-caption-c {
889 font-size:92%;
890 padding:1em 2px 2px 2px;
891 margin:0;
892 border:0;
893 width:350px;
894}
895
896.grad-rule-top {
897background-image:url(images/grad-rule-qv.png);
898background-repeat:no-repeat;
899padding-top:1em;
900margin-top:0;
901}
902
903.image-caption-nested {
904 margin-top:0;
905 padding:0 0 0 1em;
906}
907
908.image-caption-nested td {
909 padding:0 4px 2px 0;
910 margin:0;
911 border:0;
912}
913
914/* END image and caption styles */
915
The Android Open Source Project88b60792009-03-03 19:28:42 -0800916/* table of contents */
917
918ol.toc {
919 margin: 0 0 1em 0;
920 padding: 0;
921 list-style: none;
922 font-size:95%;
923}
924
925ol.toc li {
926 font-weight: bold;
927 margin: 0 0 .5em 1em;
928 padding: 0;
929}
930
931ol.toc li p {
932 font-weight: normal;
933}
934
935ol.toc li ol {
936 margin: 0;
937 padding: 0;
938}
939
940ol.toc li li {
941 padding: 0;
942 margin: 0 0 0 1em;
943 font-weight: normal;
944 list-style: none;
945}
946
947table ol.toc {
948 margin-left: 0;
949}
950
951.columns td {
952 padding:0 5px;
953 border:none;
954}
955
956/* link table */
957.jd-linktable {
958 margin: 0 0 1em;
959 border-bottom: 1px solid #888;
960}
961.jd-linktable th,
962.jd-linktable td {
963 padding: 3px 5px;
964 vertical-align: top;
965 text-align: left;
966 border:none;
967}
968.jd-linktable tr {
969 background-color: #fff;
970}
971.jd-linktable td {
972 border-top: 1px solid #888;
973 background-color: inherit;
974}
975.jd-linktable td p {
976 padding: 0 0 5px;
977}
978.jd-linktable .jd-linkcol {
979}
980.jd-linktable .jd-descrcol {
981}
982.jd-linktable .jd-typecol {
983 text-align:right;
984}
985.jd-linktable .jd-valcol {
986}
987.jd-linktable .jd-commentrow {
988 border-top:none;
989 padding-left:25px;
990}
991.jd-deprecated-warning {
992 margin-top: 0;
993 margin-bottom: 10px;
994}
995
996tr.alt-color {
997 background-color: #f6f6f6;
998}
999
1000/* expando trigger */
1001#jd-content .jd-expando-trigger-img {
1002 margin:0;
1003}
1004
1005/* jd-expando */
1006.jd-inheritedlinks {
1007 padding:0 0 0 13px
1008}
1009
1010/* SDK PAGE */
1011table.download tr {
1012 background-color:#d9d9d9;
1013}
1014
1015table.download tr.alt-color {
1016 background-color:#ededed;
1017}
1018
1019table.download td,
1020table.download th {
1021 border:2px solid #fff;
1022 padding:10px 5px;
1023}
1024
1025table.download th {
1026 background-color:#6d8293;
1027 color:#fff;
1028}
1029
1030/* INLAY 180 COPY and 240PX EXTENSION */
1031/* modified to 43px so that all browsers eliminate the package panel h-scroll */
1032.g-tpl-240 .g-unit,
1033.g-unit .g-tpl-240 .g-unit,
1034.g-unit .g-unit .g-tpl-240 .g-unit {
1035 display: block;
1036 margin: 0 0 0 243px;
1037 width: auto;
1038 float: none;
1039}
1040.g-unit .g-unit .g-tpl-240 .g-first,
1041.g-unit .g-tpl-240 .g-first,
1042.g-tpl-240 .g-first {
1043 display: block;
1044 margin: 0;
1045 width: 243px;
1046 float: left;
1047}
1048/* 240px alt */
1049.g-tpl-240-alt .g-unit,
1050.g-unit .g-tpl-240-alt .g-unit,
1051.g-unit .g-unit .g-tpl-240-alt .g-unit {
1052 display: block;
1053 margin: 0 243px 0 0;
1054 width: auto;
1055 float: none;
1056}
1057.g-unit .g-unit .g-tpl-240-alt .g-first,
1058.g-unit .g-tpl-240-alt .g-first,
1059.g-tpl-240-alt .g-first {
1060 display: block;
1061 margin: 0;
1062 width: 243px;
1063 float: right;
1064}
1065
1066/* 180px */
1067.g-tpl-180 .g-unit,
1068.g-unit .g-tpl-180 .g-unit,
1069.g-unit .g-unit .g-tpl-180 .g-unit {
1070 display: block;
1071 margin: 0 0 0 180px;
1072 width: auto;
1073 float: none;
1074}
1075.g-unit .g-unit .g-tpl-180 .g-first,
1076.g-unit .g-tpl-180 .g-first,
1077.g-tpl-180 .g-first {
1078 display: block;
1079 margin: 0;
1080 width: 180px;
1081 float: left;
1082}
1083/* 180px alt */
1084.g-tpl-180-alt .g-unit,
1085.g-unit .g-tpl-180-alt .g-unit,
1086.g-unit .g-unit .g-tpl-180-alt .g-unit {
1087 display: block;
1088 margin: 0 180px 0 0;
1089 width: auto;
1090 float: none;
1091}
1092.g-unit .g-unit .g-tpl-180-alt .g-first,
1093.g-unit .g-tpl-180-alt .g-first,
1094.g-tpl-180-alt .g-first {
1095 display: block;
1096 margin: 0;
1097 width: 180px;
1098 float: right;
1099}
1100
1101
1102/* JQUERY RESIZABLE STYLES */
1103.ui-resizable { position: relative; }
1104.ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
1105.ui-resizable .ui-resizable-handle { display: block; }
1106body .ui-resizable-disabled .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1107body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1108.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; }
1109.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; }
1110
1111@media print {
1112
1113 body {
1114 overflow:visible;
1115 }
1116
1117 #header {
1118 height:60px;
1119 }
1120
1121 #headerLeft {
Dirk Dougherty18467172009-04-15 11:31:36 -07001122 padding:0;
1123 }
1124
1125 #headerLeft .guide {
1126 display:none;
The Android Open Source Project88b60792009-03-03 19:28:42 -08001127 }
1128
1129 #headerRight {
1130 display:none;
1131 }
1132
1133 #body-content {
1134 position:inherit;
1135 }
1136
1137 #side-nav {
1138 display:none;
1139 }
1140
1141 #doc-content {
1142 margin-left:0 !important;
1143 height:auto !important;
1144 width:auto !important;
1145 overflow:inherit;
1146 display:inline;
1147 }
1148
1149 #jd-header {
1150 padding:10px 0;
1151 }
1152
1153 #jd-content {
1154 padding:15px 0 0;
1155 }
1156
1157 #footer {
1158 float:none;
1159 margin:2em 0 0;
1160 }
1161
1162 h4.jd-details-title {
1163 border-bottom:1px solid #666;
1164 }
1165
1166 pre {
1167 /* these allow lines to break (if there's a white space) */
1168 overflow: visible;
1169 text-wrap: unrestricted;
1170 white-space: -moz-pre-wrap; /* Moz */
1171 white-space: -pre-wrap; /* Opera 4-6 */
1172 white-space: -o-pre-wrap; /* Opera 7 */
1173 white-space: pre-wrap; /* CSS3 */
1174 word-wrap: break-word; /* IE 5.5+ */
1175 }
1176
1177 h1, h2, h3, h4, h5, h6 {
1178 page-break-after: avoid;
1179 }
1180
1181 table, img {
1182 page-break-inside: avoid;
1183 }
1184
Dirk Dougherty233bc0b2009-07-07 17:43:27 -07001185/* #qv,
The Android Open Source Project88b60792009-03-03 19:28:42 -08001186 #qv-wrapper {
1187 display:none;
1188 }
Dirk Dougherty233bc0b2009-07-07 17:43:27 -07001189*/
The Android Open Source Project88b60792009-03-03 19:28:42 -08001190}