blob: 47a30a30451ab66e37fcbbc21a356696e0e86d5a [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
Scott Mainee629d92010-02-05 14:30:08 -0800104/*second level (nested) list*/
The Android Open Source Project88b60792009-03-03 19:28:42 -0800105#side-nav li li li a {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800106 padding: 0 0 0 28px;
Scott Mainee629d92010-02-05 14:30:08 -0800107}
108/*third level (nested) list*/
109#side-nav li li li li a {
110 padding: 0 0 0 38px;
111}
The Android Open Source Project88b60792009-03-03 19:28:42 -0800112
113#side-nav .selected {
114 background-color: #435a6e;
115 color: #fff;
116 font-weight:bold;
117}
118
119#side-nav .selected a {
120 color: #fff;
121 text-decoration:none;
122}
123
124#side-nav strong {
125 display:block;
126}
127
Scott Mainee629d92010-02-05 14:30:08 -0800128#side-nav .toggle-list .toggle-img {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800129 margin:0;
130 padding:0;
131 position:absolute;
132 top:0;
133 left:0;
134 height:16px;
135 width:15px;
136 outline-style:none;
137}
Scott Mainee629d92010-02-05 14:30:08 -0800138/* second-level toggle */
139#side-nav .toggle-list .toggle-list .toggle-img {
140 left:10px;
141}
The Android Open Source Project88b60792009-03-03 19:28:42 -0800142
Scott Mainee629d92010-02-05 14:30:08 -0800143#side-nav .closed .toggle-img,
144#side-nav .open .closed .toggle-img {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800145 background:url('images/triangle-closed-small.png') 7px 4px no-repeat;
146}
147#side-nav .open .toggle-img {
148 background:url('images/triangle-opened-small.png') 7px 4px no-repeat;
149}
150
151#side-nav .toggle-list {
152 position:relative;
153}
154
155#side-nav .toggle-list ul {
156 margin:0;
157 display:none;
158}
159
160#side-nav .toggle-list div {
161 display:block;
162}
163
164#index-links .selected {
165 background-color: #fff;
166 color: #000;
167 font-weight:normal;
168 text-decoration:none;
169}
170
171#index-links {
172 padding:7px 0 4px 10px;
173}
174
175/* nav tree */
176
177#nav-tree ul {
178 padding:5px 0 1.5em;
179}
180
181#side-nav #nav-tree ul li a,
182#side-nav #nav-tree ul li span.no-children {
183 padding: 0 0 0 0;
184 margin: 0;
185}
186
187#nav-tree .plus {
188 margin: 0 3px 0 0;
189}
190
191#nav-tree ul ul {
192 list-style: none;
193 margin: 0;
194 padding: 0 0 0 0;
195}
196
197#nav-tree ul li {
198 margin: 0;
199 padding: 0 0 0 0;
200 white-space: nowrap;
201}
202
203#nav-tree .children_ul {
204 margin:0;
205}
206
207#nav-tree a.nolink {
208 color: black;
209 text-decoration: none;
210}
211
212#nav-tree span.label {
213 width: 100%;
214}
215
216#nav-tree {
217 overflow-x: auto;
218 overflow-y: scroll;
219}
220
221#nav-swap {
222 font-size:10px;
223 line-height:10px;
224 margin-left:1em;
225 text-decoration:none;
226 display:block;
227}
228
229#tree-link {
230
231}
232
233/* DOCUMENT BODY */
234
235#doc-content {
236 overflow:auto;
237}
Scott Mainee629d92010-02-05 14:30:08 -0800238
The Android Open Source Project88b60792009-03-03 19:28:42 -0800239#jd-header {
240 background-color: #E2E2E2;
241 padding: 7px 15px;
242}
243
244#jd-header h1 {
245 margin: 0 0 10px;
246 font-size:1.7em;
247}
248
249#jd-header .crumb {
250 font-size:.9em;
251 line-height:1em;
252 color:#777;
253}
254
255#jd-header .crumb a,
256#jd-header .crumb a:visited {
257 text-decoration:none;
258 color:#777;
259}
260
261#jd-header .crumb a:hover {
262 text-decoration:underline;
263}
264
265#jd-header table {
266 margin:0;
267 padding:0;
268}
269
270#jd-header td {
271 border:none;
272 padding:0;
273 vertical-align:top;
274}
275
276#jd-header.guide-header {
277 background-color:#fff;
278 color:#435a6e;
279 height:50px;
280}
281
282#jd-descr {
283 position:relative;
284}
285
286/* summary tables for reference pages */
287.jd-sumtable {
Scott Main25fda192009-08-04 11:26:30 -0700288 margin: .5em 1em 1em 1em;
289 width:95%; /* consistent table widths; within IE's quirks */
290 font-size:.9em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800291}
292
293.jd-sumtable a {
294 text-decoration:none;
295}
296
297.jd-sumtable a:hover {
298 text-decoration:underline;
299}
300
301/* the link inside a sumtable for "Show All/Hide All" */
302.toggle-all {
303 display:block;
304 float:right;
305 font-weight:normal;
306 font-size:0.9em;
307}
308
309/* adjustments for in/direct subclasses tables */
310.jd-sumtable-subclasses {
311 margin: 1em 0 0 0;
312 max-width:968px;
313}
314
315/* extra space between end of method name and open-paren */
316.sympad {
317 margin-right: 2px;
318}
319
320/* right alignment for the return type in sumtable */
321.jd-sumtable .jd-typecol {
322 text-align:right;
323}
324
325/* adjustments for the expando table-in-table */
326.jd-sumtable-expando {
327 margin:.5em 0;
328 padding:0;
329}
330
331/* a div that holds a short description */
332.jd-descrdiv {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800333 padding:3px 1em 0 1em;
334 margin:0;
335 border:0;
336}
337
338/* page-top-right container for reference pages (holds
339links to summary tables) */
340#api-info-block {
341 font-size:.8em;
Scott Main25fda192009-08-04 11:26:30 -0700342 padding:6px 10px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800343 font-weight:normal;
344 float:right;
345 text-align:right;
346 color:#999;
347 max-width:70%;
348}
349
Scott Maindf094242009-07-27 09:47:11 -0700350#api-level-toggle {
Scott Maindf094242009-07-27 09:47:11 -0700351 padding:0 10px;
352 font-size:11px;
Scott Main8e44ae92009-10-30 13:33:39 -0700353 float:right;
Scott Main9b5fdb92009-10-27 15:09:15 -0700354}
355
356#api-level-toggle label.disabled {
Scott Maindf094242009-07-27 09:47:11 -0700357 color:#999;
358}
359
Scott Main25fda192009-08-04 11:26:30 -0700360div.api-level {
361 font-size:.8em;
Scott Maindf094242009-07-27 09:47:11 -0700362 font-weight:normal;
363 color:#999;
Scott Main25fda192009-08-04 11:26:30 -0700364 float:right;
365 padding:0 7px 0;
366 margin-top:-25px;
Scott Maindf094242009-07-27 09:47:11 -0700367}
368
Scott Main25fda192009-08-04 11:26:30 -0700369#api-info-block div.api-level {
370 font-size:1.3em;
371 font-weight:bold;
372 float:none;
373 color:#444;
374 padding:0;
375 margin:0;
376}
377
378/* Force link colors for IE6 */
379div.api-level a {
380 color:#999;
381}
382#api-info-block div.api-level a:link {
383 color:#444;
384}
385#api-level-toggle a {
386 color:#999;
387}
388
389div#naMessage {
390 display:none;
391 width:555px;
392 height:0;
393 margin:0 auto;
394}
395
396div#naMessage div {
397 width:450px;
398 position:fixed;
399 margin:50px 0;
400 padding:4em 4em 3em;
401 background:#FFF;
402 background:rgba(255,255,255,0.7);
403 border:1px solid #dddd00;
404}
405/* IE6 can't position fixed */
406* html div#naMessage div { position:absolute; }
407
408div#naMessage strong {
409 font-size:1.1em;
Scott Maindf094242009-07-27 09:47:11 -0700410}
411
412.absent,
413.absent a:link,
414.absent a:visited,
415.absent a:hover,
416.absent * {
Scott Main25fda192009-08-04 11:26:30 -0700417 color:#bbb !important;
Scott Maindf094242009-07-27 09:47:11 -0700418 cursor:default !important;
419 text-decoration:none !important;
420}
421
Scott Main25fda192009-08-04 11:26:30 -0700422#api-level-toggle a,
423.api-level a {
424 color:inherit;
425 text-decoration:none;
426}
427
428#api-level-toggle a:hover,
429.api-level a:hover {
430 color:inherit;
431 text-decoration:underline !important;
432 cursor:pointer !important;
Scott Maindf094242009-07-27 09:47:11 -0700433}
434
435#side-nav li.absent.selected,
Scott Main25fda192009-08-04 11:26:30 -0700436#side-nav li.absent.selected *,
437#side-nav div.label.absent.selected,
438#side-nav div.label.absent.selected * {
439 background-color:#eaeaea !important;
Scott Maindf094242009-07-27 09:47:11 -0700440}
Scott Main25fda192009-08-04 11:26:30 -0700441/* IE6 quirk (won't chain classes, so just keep background blue) */
442* html #side-nav li.selected,
443* html #side-nav li.selected *,
444* html #side-nav div.label.selected,
445* html #side-nav div.label.selected * {
446 background-color: #435a6e !important;
447}
448
449
450.absent h4.jd-details-title,
451.absent h4.jd-details-title * {
452 background-color:#f6f6f6 !important;
453}
454
455.absent img {
456 opacity: .3;
457 filter: alpha(opacity=30);
458 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
459}
460
Scott Maindf094242009-07-27 09:47:11 -0700461
The Android Open Source Project88b60792009-03-03 19:28:42 -0800462/* applies to a div containing links to summary tables */
463.sum-details-links {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800464 padding:0;
465 font-weight:normal;
466}
467
468.sum-details-links a {
469 text-decoration:none;
470}
471
472.sum-details-links a:hover {
473 text-decoration:underline;
474}
475
476
477/* inheritance table */
478.jd-inheritance-table {
479 border-spacing:0;
480 margin:0;
481 padding:0;
482 font-size:.9em;
483}
484.jd-inheritance-table td {
485 border: none;
486 margin: 0;
487 padding: 0;
488}
489.jd-inheritance-table .jd-inheritance-space {
490 font-weight:bold;
491 width:1em;
492}
493.jd-inheritance-table .jd-inheritance-interface-cell {
494 padding-left: 17px;
495}
496
497#jd-content {
498 padding: 18px 15px;
499}
500
501hr {
502 background-color:#ccc;
Scott Mainb89740f2010-03-24 13:49:49 -0700503 border-color:#fff;
504 margin:2em 0 1em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800505}
506
507/* DOC CLASSES */
508
509#jd-content h1 {
510/*sdk page*/
511 font-size:1.6em;
512 color:#336666;
513 margin:0 0 .5em;
514}
515
516#jd-content h2 {
517 font-size:1.45em;
518 color:#111;
519 border-top:2px solid #ccc;
520 padding: .5em 0 0;
521 margin: 1.5em 0 1em 0;
522 max-width:968px;
523}
524
525#jd-content h3 {
526 font-size:1.2em;
527 color:#222;
528 padding: .75em 0 .65em 0;
529 margin:0;
530}
531
532#jd-content h4 {
533 font-size:1.1em;
534 margin-bottom:.5em;
535 color:#222;
536}
537
538#jd-content .small-header {
539 font-size:1em;
540 color:#000;
541 font-weight:bold;
542 border:none;
543 padding:0;
544 margin:1em 0 .5em;
545 position:inherit;
546}
547
548#jd-content img {
549 margin: 0 0 1em 1em;
550}
551
552#jd-content li img,
553#jd-content dd img {
554 margin:.5em 0 0 1em;
555}
556
557.nolist {
558 list-style:none;
559 padding:0;
Scott Main9b547922009-05-13 17:50:33 -0700560 margin:0 0 1em 1em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800561}
562
563.nolist li {
Scott Main9b547922009-05-13 17:50:33 -0700564 padding:0 0 2px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800565 margin:0;
566}
567
568h4 .normal {
569 font-size:.9em;
570 font-weight:normal;
571}
572
Scott Mainee629d92010-02-05 14:30:08 -0800573.caps {
574 font-variant:small-caps;
575 font-size:1.2em;
576}
577
578dl.tag-list dl.atn-list {
579 padding:0 0 0 2em;
580}
581
The Android Open Source Project88b60792009-03-03 19:28:42 -0800582.jd-details {
583/* border:1px solid #669999;
584 padding:4px; */
585 margin:0 0 1em;
586}
587
588/* API reference: a container for the
589.tagdata blocks that make up the detailed
590description */
591.jd-details-descr {
592 padding:0;
593 margin:.5em .25em;
594}
595
596/* API reference: a block containing
597a detailed description, a params table,
598seealso list, etc */
599.jd-tagdata {
600 margin:.5em 1em;
601}
602
Scott Maindf094242009-07-27 09:47:11 -0700603.jd-tagdata p {
604 margin:0 0 1em 1em;
605}
606
The Android Open Source Project88b60792009-03-03 19:28:42 -0800607/* API reference: adjustments to
608the detailed description block */
609.jd-tagdescr {
610 margin:.25em 0 .75em 0;
611 line-height:1em;
612}
613
614.jd-tagdescr p {
615 margin:.5em 0;
616 padding:0;
617
618}
619
620.jd-tagdescr ol,
621.jd-tagdescr ul {
622 margin:0 2.5em;
623 padding:0;
624}
625
626.jd-tagdescr table,
627.jd-tagdescr img {
628 margin:.25em 1em;
629}
630
631.jd-tagdescr li {
632margin:0 0 .25em 0;
633padding:0;
634}
635
636/* API reference: heading marking
637the details section for constants,
638attrs, methods, etc. */
639h4.jd-details-title {
640 font-size:1.15em;
641 background-color: #E2E2E2;
642 margin:1.5em 0 .6em;
Scott Main25fda192009-08-04 11:26:30 -0700643 padding:3px 95px 3px 3px; /* room for api-level */
The Android Open Source Project88b60792009-03-03 19:28:42 -0800644}
645
646h4.jd-tagtitle {
647 margin:0;
648}
649
650/* API reference: heading for "Parameters", "See Also", etc.,
651in details sections */
652h5.jd-tagtitle {
653 margin:0 0 .25em 0;
654 font-size:1em;
655}
656
657.jd-tagtable {
658 margin:0;
659}
660
661.jd-tagtable td,
662.jd-tagtable th {
663 border:none;
664 background-color:#fff;
665 vertical-align:top;
666 font-weight:normal;
667 padding:2px 10px;
668}
669
670.jd-tagtable th {
671 font-style:italic;
672}
673
674#jd-content table h2 {
675 background-color: #d6d6d6;
676 font-size: 1.1em;
677 margin:0 0 10px;
678 padding:5px;
679 left:0;
680 width:auto;
681}
682
683div.special {
684 padding: .5em 1em 1em 1em;
685 margin: 0 0 1em;
Scott Main462cc372009-10-23 16:19:37 -0700686 background-color: #DAF3FC;
687 border:1px solid #d3ecf5;
688 border-radius:5px;
689 -moz-border-radius:5px;
690 -webkit-border-radius:5px;
691}
692
693.toggle-content-toggleme {
694 display:none;
695}
696
697.toggle-content-button {
698 font-size:.9em;
699 line-height:.9em;
700 text-decoration:none;
701 position:relative;
702 top:5px;
703}
704
705.toggle-content-button:hover {
706 text-decoration:underline;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800707}
708
709div.special p {
710 margin: .5em 0 0 0;
711}
712
713div.special ol {
714 margin: 0;
715}
716
717div.special ol li {
718 margin: 0;
719 padding: 0;
720}
721
722#jd-content div.special h2,
723#jd-content div.special h3 {
724 color:#669999;
725 font-size:1.2em;
726 border:none;
727 margin:0 0 .5em;
728 padding:0;
729}
Scott Main9e541302009-04-20 11:15:26 -0700730
The Android Open Source Project88b60792009-03-03 19:28:42 -0800731p.note, p.caution, p.warning {
732 margin: 1em;
733 padding: 0 0 0 .5em;
734 border-left: 4px solid;
735}
736
737p.special-note {
738 background-color:#EBF3DB;
739 padding:10px 20px;
740 margin:0 0 1em;
741}
742
743p.note {
744 border-color: #99aacc;
745}
The Android Open Source Project88b60792009-03-03 19:28:42 -0800746
747p.warning {
748 border-color: #aa0033;
749}
Dirk Dougherty4e4c9192009-05-12 15:32:35 -0700750
751p.caution {
752 border-color: #ffcf00;
753}
Scott Main9b547922009-05-13 17:50:33 -0700754
Scott Main9e541302009-04-20 11:15:26 -0700755p.warning b, p.warning strong {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800756 font-weight: bold;
757}
758
Scott Main9e541302009-04-20 11:15:26 -0700759li p.note, li p.warning {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800760 margin: .5em 0 0 0;
761 padding: .2em .5em .2em .9em;
762}
763
764dl.xml dt {
765 font-variant:small-caps;
766 font-size:1.2em;
767}
768
769dl.xml dl {
770 padding:0;
771}
772
773dl.xml dl dt {
774 font-variant:normal;
775 font-size:1em;
776}
777
778.listhead li {
779 font-weight: bold;
780}
Scott Main483cf382009-12-09 18:08:32 -0800781
The Android Open Source Project88b60792009-03-03 19:28:42 -0800782.listhead li *, /*ie*/.listhead li li {
783 font-weight: normal;
784}
785
786ol.no-style,
787ul.no-style {
788 list-style:none;
789 padding-left:1em;
790}
791
792.new {
793 font-size: .78em;
794 font-weight: bold;
795 color: red;
796 text-decoration: none;
Dirk Doughertyfce6b452009-10-16 17:14:33 -0700797 vertical-align:top;
798 line-height:.9em;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800799}
800
801pre.classic {
802 background-color:transparent;
803 border:none;
804 padding:0;
805}
806
Scott Main483cf382009-12-09 18:08:32 -0800807div.figure {
808 float:right;
Scott Mainb89740f2010-03-24 13:49:49 -0700809 clear:right;
Scott Main483cf382009-12-09 18:08:32 -0800810 padding:0 0 20px 20px;
811 /* width must be defined w/ an inline style matching the image width */
812}
813
814#jd-content div.figure img {
815 display:block;
816 margin:0 0 10px 0;
817}
The Android Open Source Project88b60792009-03-03 19:28:42 -0800818
819/* BEGIN quickview sidebar element styles */
820
821#qv-wrapper {
822 float: right;
Scott Main67c2a962010-03-16 17:04:22 -0700823 width:310px; /* +35px padding */
The Android Open Source Project88b60792009-03-03 19:28:42 -0800824 background-color:#fff;
825 margin:-48px 0 2px 0;
826 padding:0 0 20px 35px;
827}
828
829#qv {
830 background-color:#fff;
831 border:4px solid #dee8f1;
832 margin:0;
Scott Main67c2a962010-03-16 17:04:22 -0700833 padding:0 5px 5px;
834 width:292px; /* +10px padding; +8px border */
The Android Open Source Project88b60792009-03-03 19:28:42 -0800835 font-size:.9em;
836}
837
838#qv ol {
839 list-style:none;
840 padding: 0;
841}
842
843#qv ol ol{
844 list-style:none;
Scott Main9b547922009-05-13 17:50:33 -0700845 padding: 0 0 0 12px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800846 margin:0;
847}
848
849#qv ul {
850 padding: 0 10px 0 2em;
851}
852
853#qv li {
Scott Main9b547922009-05-13 17:50:33 -0700854 padding: 0 10px 3px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800855 line-height: 1.2em;
856}
857
Scott Main9b547922009-05-13 17:50:33 -0700858#qv li li {
859 padding: 3px 10px 0;
860}
861
The Android Open Source Project88b60792009-03-03 19:28:42 -0800862#qv ul li {
863 padding: 0 10px 0 0;
864}
865
866#qv li.selected a {
867 color:#555;
868 text-decoration:none;
869}
870
871#qv a {
872 color:#cc6600;
873}
874
875#qv p {
876 margin:8px 0 0;
877 padding:0 10px;
878}
879
880#qv-extra #rule {
881 padding: 0 10px;
882 margin: 0;
883}
884
885#qv-sub-rule {
886 padding: 6px 20px;
887 margin: 0;
888}
889
890#qv-sub-rule p {
891 margin: 0;
892}
893
894#jd-content #qv h2 {
895 font-size:1.05em;
896 font-weight:bold;
897 margin:12px 0 .25em 0;
898 padding:0 10px;
899 background-color:transparent;
900 color:#7BB026;
901 border:none;
902 left:0;
903 z-index:1;
904}
905
906/* END quickview sidebar element styles */
907
908/* Begin sidebox sidebar element styles */
909
910.sidebox-wrapper {
911 float: right;
Scott Main67c2a962010-03-16 17:04:22 -0700912 width:300px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800913 background-color:#fff;
914 margin: 0;
Scott Main67c2a962010-03-16 17:04:22 -0700915 padding: 0 0 20px 20px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800916}
917
Scott Main84f8a5e2010-03-24 17:20:39 -0700918.sidebox {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800919 border-left:1px solid #dee8f1;
920 background-color:#ffffee;
Scott Main67c2a962010-03-16 17:04:22 -0700921 padding:8px 12px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800922 font-size:90%;
923 width:260px;
924}
925
Scott Main84f8a5e2010-03-24 17:20:39 -0700926.sidebox p {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800927 margin-bottom: .25em;
928}
929
Scott Main84f8a5e2010-03-24 17:20:39 -0700930.sidebox ul {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800931 padding: 0 0 0 1.5em;
932}
933
Scott Main84f8a5e2010-03-24 17:20:39 -0700934.sidebox li ul {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800935 margin-top:0;
936 margin-bottom:.1em;
937}
938
Scott Main84f8a5e2010-03-24 17:20:39 -0700939.sidebox li {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800940padding:0 0 0 0em;
941}
942
943#jd-content .sidebox h2,
Scott Main84f8a5e2010-03-24 17:20:39 -0700944#jd-content .sidebox h3 {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800945 border:none;
946 font-size:1em;
947 margin:0;
Scott Main67c2a962010-03-16 17:04:22 -0700948 padding:0 0 8px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800949 left:0;
950 z-index:0;
951}
952
Scott Main84f8a5e2010-03-24 17:20:39 -0700953.sidebox hr {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800954 background-color:#ccc;
955 border:none;
956}
957
958/* End sidebox sidebar element styles */
959
Dirk Dougherty29eafde2009-05-26 08:40:40 -0700960/* BEGIN image and caption styles (originally for UI Guidelines docs) */
961
962table.image-caption {
963 padding:0;
964 margin:.5em 0;
965 border:0;
966}
967
968td.image-caption-i {
969 font-size:92%;
970 padding:0;
971 margin:0;
972 border:0;
973}
974
975td.image-caption-i img {
976 padding:0 1em;
977 margin:0;
978}
979
980.image-list {
981 width:24px;
982 text-align:center;
983}
984
985.image-list .caption {
986 margin:0 2px;
987}
988
989td.image-caption-c {
990 font-size:92%;
991 padding:1em 2px 2px 2px;
992 margin:0;
993 border:0;
994 width:350px;
995}
996
997.grad-rule-top {
998background-image:url(images/grad-rule-qv.png);
999background-repeat:no-repeat;
1000padding-top:1em;
1001margin-top:0;
1002}
1003
1004.image-caption-nested {
1005 margin-top:0;
1006 padding:0 0 0 1em;
1007}
1008
1009.image-caption-nested td {
1010 padding:0 4px 2px 0;
1011 margin:0;
1012 border:0;
1013}
1014
1015/* END image and caption styles */
1016
The Android Open Source Project88b60792009-03-03 19:28:42 -08001017/* table of contents */
1018
1019ol.toc {
1020 margin: 0 0 1em 0;
1021 padding: 0;
1022 list-style: none;
1023 font-size:95%;
1024}
1025
1026ol.toc li {
1027 font-weight: bold;
1028 margin: 0 0 .5em 1em;
1029 padding: 0;
1030}
1031
1032ol.toc li p {
1033 font-weight: normal;
1034}
1035
1036ol.toc li ol {
1037 margin: 0;
1038 padding: 0;
1039}
1040
1041ol.toc li li {
1042 padding: 0;
1043 margin: 0 0 0 1em;
1044 font-weight: normal;
1045 list-style: none;
1046}
1047
1048table ol.toc {
1049 margin-left: 0;
1050}
1051
1052.columns td {
1053 padding:0 5px;
1054 border:none;
1055}
1056
1057/* link table */
1058.jd-linktable {
1059 margin: 0 0 1em;
1060 border-bottom: 1px solid #888;
1061}
1062.jd-linktable th,
1063.jd-linktable td {
1064 padding: 3px 5px;
1065 vertical-align: top;
1066 text-align: left;
1067 border:none;
1068}
1069.jd-linktable tr {
1070 background-color: #fff;
1071}
1072.jd-linktable td {
1073 border-top: 1px solid #888;
1074 background-color: inherit;
1075}
1076.jd-linktable td p {
1077 padding: 0 0 5px;
1078}
1079.jd-linktable .jd-linkcol {
1080}
1081.jd-linktable .jd-descrcol {
1082}
1083.jd-linktable .jd-typecol {
1084 text-align:right;
1085}
1086.jd-linktable .jd-valcol {
1087}
1088.jd-linktable .jd-commentrow {
1089 border-top:none;
1090 padding-left:25px;
1091}
1092.jd-deprecated-warning {
1093 margin-top: 0;
1094 margin-bottom: 10px;
1095}
1096
1097tr.alt-color {
1098 background-color: #f6f6f6;
1099}
1100
1101/* expando trigger */
1102#jd-content .jd-expando-trigger-img {
1103 margin:0;
1104}
1105
1106/* jd-expando */
1107.jd-inheritedlinks {
1108 padding:0 0 0 13px
1109}
1110
1111/* SDK PAGE */
1112table.download tr {
1113 background-color:#d9d9d9;
1114}
1115
1116table.download tr.alt-color {
1117 background-color:#ededed;
1118}
1119
1120table.download td,
1121table.download th {
1122 border:2px solid #fff;
1123 padding:10px 5px;
1124}
1125
1126table.download th {
1127 background-color:#6d8293;
1128 color:#fff;
1129}
1130
1131/* INLAY 180 COPY and 240PX EXTENSION */
1132/* modified to 43px so that all browsers eliminate the package panel h-scroll */
1133.g-tpl-240 .g-unit,
1134.g-unit .g-tpl-240 .g-unit,
1135.g-unit .g-unit .g-tpl-240 .g-unit {
1136 display: block;
1137 margin: 0 0 0 243px;
1138 width: auto;
1139 float: none;
1140}
1141.g-unit .g-unit .g-tpl-240 .g-first,
1142.g-unit .g-tpl-240 .g-first,
1143.g-tpl-240 .g-first {
1144 display: block;
1145 margin: 0;
1146 width: 243px;
1147 float: left;
1148}
1149/* 240px alt */
1150.g-tpl-240-alt .g-unit,
1151.g-unit .g-tpl-240-alt .g-unit,
1152.g-unit .g-unit .g-tpl-240-alt .g-unit {
1153 display: block;
1154 margin: 0 243px 0 0;
1155 width: auto;
1156 float: none;
1157}
1158.g-unit .g-unit .g-tpl-240-alt .g-first,
1159.g-unit .g-tpl-240-alt .g-first,
1160.g-tpl-240-alt .g-first {
1161 display: block;
1162 margin: 0;
1163 width: 243px;
1164 float: right;
1165}
1166
1167/* 180px */
1168.g-tpl-180 .g-unit,
1169.g-unit .g-tpl-180 .g-unit,
1170.g-unit .g-unit .g-tpl-180 .g-unit {
1171 display: block;
1172 margin: 0 0 0 180px;
1173 width: auto;
1174 float: none;
1175}
1176.g-unit .g-unit .g-tpl-180 .g-first,
1177.g-unit .g-tpl-180 .g-first,
1178.g-tpl-180 .g-first {
1179 display: block;
1180 margin: 0;
1181 width: 180px;
1182 float: left;
1183}
1184/* 180px alt */
1185.g-tpl-180-alt .g-unit,
1186.g-unit .g-tpl-180-alt .g-unit,
1187.g-unit .g-unit .g-tpl-180-alt .g-unit {
1188 display: block;
1189 margin: 0 180px 0 0;
1190 width: auto;
1191 float: none;
1192}
1193.g-unit .g-unit .g-tpl-180-alt .g-first,
1194.g-unit .g-tpl-180-alt .g-first,
1195.g-tpl-180-alt .g-first {
1196 display: block;
1197 margin: 0;
1198 width: 180px;
1199 float: right;
1200}
1201
1202
1203/* JQUERY RESIZABLE STYLES */
1204.ui-resizable { position: relative; }
1205.ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
1206.ui-resizable .ui-resizable-handle { display: block; }
Scott Main67c2a962010-03-16 17:04:22 -07001207body .ui-resizable-disabled .ui-resizable-handle { display: none; }
1208body .ui-resizable-autohide .ui-resizable-handle { display: none; }
1209.ui-resizable-s { cursor: s-resize; height: 6px; width: 100%; bottom: 0px; left: 0px;
1210 background: transparent url("images/resizable-s2.gif") repeat scroll center top; }
1211.ui-resizable-e { cursor: e-resize; width: 6px; right: 0px; top: 0px; height: 100%;
1212 background: transparent url("images/resizable-e2.gif") repeat scroll right center; }
The Android Open Source Project88b60792009-03-03 19:28:42 -08001213
1214@media print {
1215
1216 body {
1217 overflow:visible;
1218 }
1219
1220 #header {
1221 height:60px;
1222 }
1223
1224 #headerLeft {
Dirk Dougherty18467172009-04-15 11:31:36 -07001225 padding:0;
1226 }
1227
Scott Main54161d12009-08-18 19:00:11 -07001228 #header-tabs,
1229 #headerRight,
1230 #side-nav,
1231 #api-info-block {
The Android Open Source Project88b60792009-03-03 19:28:42 -08001232 display:none;
1233 }
1234
1235 #body-content {
1236 position:inherit;
1237 }
The Android Open Source Project88b60792009-03-03 19:28:42 -08001238
1239 #doc-content {
1240 margin-left:0 !important;
1241 height:auto !important;
1242 width:auto !important;
1243 overflow:inherit;
1244 display:inline;
1245 }
1246
1247 #jd-header {
1248 padding:10px 0;
1249 }
1250
1251 #jd-content {
1252 padding:15px 0 0;
1253 }
1254
1255 #footer {
1256 float:none;
1257 margin:2em 0 0;
1258 }
1259
1260 h4.jd-details-title {
1261 border-bottom:1px solid #666;
1262 }
1263
1264 pre {
1265 /* these allow lines to break (if there's a white space) */
1266 overflow: visible;
1267 text-wrap: unrestricted;
1268 white-space: -moz-pre-wrap; /* Moz */
1269 white-space: -pre-wrap; /* Opera 4-6 */
1270 white-space: -o-pre-wrap; /* Opera 7 */
1271 white-space: pre-wrap; /* CSS3 */
1272 word-wrap: break-word; /* IE 5.5+ */
1273 }
1274
1275 h1, h2, h3, h4, h5, h6 {
1276 page-break-after: avoid;
1277 }
1278
1279 table, img {
1280 page-break-inside: avoid;
1281 }
The Android Open Source Project88b60792009-03-03 19:28:42 -08001282}