1 /* file: android-developer-docs.css
4 info: developer doc styles (developer.android.com)
7 @import url("android-developer-core.css");
10 border-bottom: 4px solid #ccc;
33 background-color: #fff;
37 #side-nav.not-resizable {
38 background:url('images/sidenav-rule.png') no-repeat 243px 0;
41 #resize-packages-nav {
42 /* keeps the resize handle below the h-scroll handle */
83 padding: 3px 0 1px 9px;
92 #side-nav li a span+span {
96 #side-nav li a:hover {
97 text-decoration:underline;
104 #side-nav li li li a {
109 #side-nav .selected {
110 background-color: #435a6e;
115 #side-nav .selected a {
117 text-decoration:none;
124 #side-nav .toggle-img {
135 #side-nav .closed .toggle-img {
136 background:url('images/triangle-closed-small.png') 7px 4px no-repeat;
138 #side-nav .open .toggle-img {
139 background:url('images/triangle-opened-small.png') 7px 4px no-repeat;
142 #side-nav .toggle-list {
146 #side-nav .toggle-list ul {
151 #side-nav .toggle-list div {
155 #index-links .selected {
156 background-color: #fff;
159 text-decoration:none;
163 padding:7px 0 4px 10px;
172 #side-nav #nav-tree ul li a,
173 #side-nav #nav-tree ul li span.no-children {
194 #nav-tree .children_ul {
200 text-decoration: none;
203 #nav-tree span.label {
216 text-decoration:none;
231 background-color: #E2E2E2;
247 #jd-header .crumb a:visited {
248 text-decoration:none;
252 #jd-header .crumb a:hover {
253 text-decoration:underline;
267 #jd-header.guide-header {
268 background-color:#fff;
277 /* summary tables for reference pages */
279 margin: .5em 1em 1em 1em;
280 width:95%; /* consistent table widths; within IE's quirks */
285 text-decoration:none;
288 .jd-sumtable a:hover {
289 text-decoration:underline;
292 /* the link inside a sumtable for "Show All/Hide All" */
300 /* adjustments for in/direct subclasses tables */
301 .jd-sumtable-subclasses {
306 /* extra space between end of method name and open-paren */
311 /* right alignment for the return type in sumtable */
312 .jd-sumtable .jd-typecol {
316 /* adjustments for the expando table-in-table */
317 .jd-sumtable-expando {
322 /* a div that holds a short description */
324 padding:3px 1em 0 1em;
329 /* page-top-right container for reference pages (holds
330 links to summary tables) */
347 #api-level-toggle label.disabled {
360 #api-info-block div.api-level {
369 /* Force link colors for IE6 */
373 #api-info-block div.api-level a:link {
376 #api-level-toggle a {
393 background:rgba(255,255,255,0.7);
394 border:1px solid #dddd00;
396 /* IE6 can't position fixed */
397 * html div#naMessage div { position:absolute; }
399 div#naMessage strong {
408 color:#bbb !important;
409 cursor:default !important;
410 text-decoration:none !important;
416 text-decoration:none;
419 #api-level-toggle a:hover,
422 text-decoration:underline !important;
423 cursor:pointer !important;
426 #side-nav li.absent.selected,
427 #side-nav li.absent.selected *,
428 #side-nav div.label.absent.selected,
429 #side-nav div.label.absent.selected * {
430 background-color:#eaeaea !important;
432 /* IE6 quirk (won't chain classes, so just keep background blue) */
433 * html #side-nav li.selected,
434 * html #side-nav li.selected *,
435 * html #side-nav div.label.selected,
436 * html #side-nav div.label.selected * {
437 background-color: #435a6e !important;
441 .absent h4.jd-details-title,
442 .absent h4.jd-details-title * {
443 background-color:#f6f6f6 !important;
448 filter: alpha(opacity=30);
449 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
453 /* applies to a div containing links to summary tables */
459 .sum-details-links a {
460 text-decoration:none;
463 .sum-details-links a:hover {
464 text-decoration:underline;
468 /* inheritance table */
469 .jd-inheritance-table {
475 .jd-inheritance-table td {
480 .jd-inheritance-table .jd-inheritance-space {
484 .jd-inheritance-table .jd-inheritance-interface-cell {
493 background-color:#ccc;
508 border-top:2px solid #ccc;
510 margin: 1.5em 0 1em 0;
517 padding: .75em 0 .65em 0;
527 #jd-content .small-header {
563 /* border:1px solid #669999;
568 /* API reference: a container for the
569 .tagdata blocks that make up the detailed
576 /* API reference: a block containing
577 a detailed description, a params table,
587 /* API reference: adjustments to
588 the detailed description block */
590 margin:.25em 0 .75em 0;
616 /* API reference: heading marking
617 the details section for constants,
618 attrs, methods, etc. */
619 h4.jd-details-title {
621 background-color: #E2E2E2;
623 padding:3px 95px 3px 3px; /* room for api-level */
630 /* API reference: heading for "Parameters", "See Also", etc.,
631 in details sections */
644 background-color:#fff;
654 #jd-content table h2 {
655 background-color: #d6d6d6;
664 padding: .5em 1em 1em 1em;
666 background-color: #DAF3FC;
667 border:1px solid #d3ecf5;
669 -moz-border-radius:5px;
670 -webkit-border-radius:5px;
673 .toggle-content-toggleme {
677 .toggle-content-button {
680 text-decoration:none;
685 .toggle-content-button:hover {
686 text-decoration:underline;
702 #jd-content div.special h2,
703 #jd-content div.special h3 {
711 p.note, p.caution, p.warning {
714 border-left: 4px solid;
718 background-color:#EBF3DB;
724 border-color: #99aacc;
728 border-color: #aa0033;
732 border-color: #ffcf00;
735 p.warning b, p.warning strong {
739 li p.note, li p.warning {
741 padding: .2em .5em .2em .9em;
745 font-variant:small-caps;
762 .listhead li *, /*ie*/.listhead li li {
776 text-decoration: none;
782 background-color:transparent;
788 /* BEGIN quickview sidebar element styles */
793 background-color:#fff;
794 margin:-48px 0 2px 0;
795 padding:0 0 20px 35px;
799 background-color:#fff;
800 border:4px solid #dee8f1;
819 padding: 0 10px 0 2em;
837 text-decoration:none;
866 margin:12px 0 .25em 0;
868 background-color:transparent;
875 /* END quickview sidebar element styles */
877 /* Begin sidebox sidebar element styles */
882 background-color:#fff;
884 padding: 20px 0 20px 20px;
888 border-left:1px solid #dee8f1;
889 background-color:#ffffee;
890 padding:5px 8px 5px 12px;
898 background-color:#ffffee;
899 border-left:1px solid #dee8f1;
900 margin: 12px 0 0 15px;
901 padding:5px 8px 0 12px;
907 margin-bottom: .25em;
912 padding: 0 0 0 1.5em;
916 .sidebox-inner li ul {
926 #jd-content .sidebox h2,
927 #jd-content .sidebox h3,
928 #jd-content .sidebox-inner h2,
929 #jd-content .sidebox-inner h3 {
940 background-color:#ccc;
944 /* End sidebox sidebar element styles */
946 /* BEGIN image and caption styles (originally for UI Guidelines docs) */
948 table.image-caption {
961 td.image-caption-i img {
971 .image-list .caption {
977 padding:1em 2px 2px 2px;
984 background-image:url(images/grad-rule-qv.png);
985 background-repeat:no-repeat;
990 .image-caption-nested {
995 .image-caption-nested td {
1001 /* END image and caption styles */
1003 /* table of contents */
1014 margin: 0 0 .5em 1em;
1019 font-weight: normal;
1030 font-weight: normal;
1046 border-bottom: 1px solid #888;
1051 vertical-align: top;
1056 background-color: #fff;
1059 border-top: 1px solid #888;
1060 background-color: inherit;
1062 .jd-linktable td p {
1065 .jd-linktable .jd-linkcol {
1067 .jd-linktable .jd-descrcol {
1069 .jd-linktable .jd-typecol {
1072 .jd-linktable .jd-valcol {
1074 .jd-linktable .jd-commentrow {
1078 .jd-deprecated-warning {
1080 margin-bottom: 10px;
1084 background-color: #f6f6f6;
1087 /* expando trigger */
1088 #jd-content .jd-expando-trigger-img {
1093 .jd-inheritedlinks {
1099 background-color:#d9d9d9;
1102 table.download tr.alt-color {
1103 background-color:#ededed;
1108 border:2px solid #fff;
1113 background-color:#6d8293;
1117 /* INLAY 180 COPY and 240PX EXTENSION */
1118 /* modified to 43px so that all browsers eliminate the package panel h-scroll */
1120 .g-unit .g-tpl-240 .g-unit,
1121 .g-unit .g-unit .g-tpl-240 .g-unit {
1123 margin: 0 0 0 243px;
1127 .g-unit .g-unit .g-tpl-240 .g-first,
1128 .g-unit .g-tpl-240 .g-first,
1129 .g-tpl-240 .g-first {
1136 .g-tpl-240-alt .g-unit,
1137 .g-unit .g-tpl-240-alt .g-unit,
1138 .g-unit .g-unit .g-tpl-240-alt .g-unit {
1140 margin: 0 243px 0 0;
1144 .g-unit .g-unit .g-tpl-240-alt .g-first,
1145 .g-unit .g-tpl-240-alt .g-first,
1146 .g-tpl-240-alt .g-first {
1155 .g-unit .g-tpl-180 .g-unit,
1156 .g-unit .g-unit .g-tpl-180 .g-unit {
1158 margin: 0 0 0 180px;
1162 .g-unit .g-unit .g-tpl-180 .g-first,
1163 .g-unit .g-tpl-180 .g-first,
1164 .g-tpl-180 .g-first {
1171 .g-tpl-180-alt .g-unit,
1172 .g-unit .g-tpl-180-alt .g-unit,
1173 .g-unit .g-unit .g-tpl-180-alt .g-unit {
1175 margin: 0 180px 0 0;
1179 .g-unit .g-unit .g-tpl-180-alt .g-first,
1180 .g-unit .g-tpl-180-alt .g-first,
1181 .g-tpl-180-alt .g-first {
1189 /* JQUERY RESIZABLE STYLES */
1190 .ui-resizable { position: relative; }
1191 .ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
1192 .ui-resizable .ui-resizable-handle { display: block; }
1193 body .ui-resizable-disabled .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1194 body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
1195 .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; }
1196 .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; }
1224 margin-left:0 !important;
1225 height:auto !important;
1226 width:auto !important;
1244 h4.jd-details-title {
1245 border-bottom:1px solid #666;
1249 /* these allow lines to break (if there's a white space) */
1251 text-wrap: unrestricted;
1252 white-space: -moz-pre-wrap; /* Moz */
1253 white-space: -pre-wrap; /* Opera 4-6 */
1254 white-space: -o-pre-wrap; /* Opera 7 */
1255 white-space: pre-wrap; /* CSS3 */
1256 word-wrap: break-word; /* IE 5.5+ */
1259 h1, h2, h3, h4, h5, h6 {
1260 page-break-after: avoid;
1264 page-break-inside: avoid;