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 #resize-packages-nav {
38 /* keeps the resize handle below the h-scroll handle */
79 padding: 3px 0 1px 9px;
88 #side-nav li a span+span {
92 #side-nav li a:hover {
93 text-decoration:underline;
99 /*second level (nested) list*/
100 #side-nav li li li a {
103 /*third level (nested) list*/
104 #side-nav li li li li a {
108 #side-nav .selected {
109 background-color: #435a6e;
114 #side-nav .selected a {
116 text-decoration:none;
123 #side-nav .toggle-list .toggle-img {
133 /* second-level toggle */
134 #side-nav .toggle-list .toggle-list .toggle-img {
138 #side-nav .closed .toggle-img,
139 #side-nav .open .closed .toggle-img {
140 background:url('images/triangle-closed-small.png') 7px 4px no-repeat;
142 #side-nav .open .toggle-img {
143 background:url('images/triangle-opened-small.png') 7px 4px no-repeat;
146 #side-nav .toggle-list {
150 #side-nav .toggle-list ul {
155 #side-nav .toggle-list div {
159 #index-links .selected {
160 background-color: #fff;
163 text-decoration:none;
167 padding:7px 0 4px 10px;
176 #side-nav #nav-tree ul li a,
177 #side-nav #nav-tree ul li span.no-children {
198 #nav-tree .children_ul {
204 text-decoration: none;
207 #nav-tree span.label {
220 text-decoration:none;
235 background-color: #E2E2E2;
251 #jd-header .crumb a:visited {
252 text-decoration:none;
256 #jd-header .crumb a:hover {
257 text-decoration:underline;
271 #jd-header.guide-header {
272 background-color:#fff;
281 /* summary tables for reference pages */
283 margin: .5em 1em 1em 1em;
284 width:95%; /* consistent table widths; within IE's quirks */
289 text-decoration:none;
292 .jd-sumtable a:hover {
293 text-decoration:underline;
296 /* the link inside a sumtable for "Show All/Hide All" */
304 /* adjustments for in/direct subclasses tables */
305 .jd-sumtable-subclasses {
310 /* extra space between end of method name and open-paren */
315 /* right alignment for the return type in sumtable */
316 .jd-sumtable .jd-typecol {
320 /* adjustments for the expando table-in-table */
321 .jd-sumtable-expando {
326 /* a div that holds a short description */
328 padding:3px 1em 0 1em;
333 /* page-top-right container for reference pages (holds
334 links to summary tables) */
351 #api-level-toggle label.disabled {
364 #api-info-block div.api-level {
373 /* Force link colors for IE6 */
377 #api-info-block div.api-level a:link {
380 #api-level-toggle a {
397 background:rgba(255,255,255,0.7);
398 border:1px solid #dddd00;
400 /* IE6 can't position fixed */
401 * html div#naMessage div { position:absolute; }
403 div#naMessage strong {
412 color:#bbb !important;
413 cursor:default !important;
414 text-decoration:none !important;
420 text-decoration:none;
423 #api-level-toggle a:hover,
426 text-decoration:underline !important;
427 cursor:pointer !important;
430 #side-nav li.absent.selected,
431 #side-nav li.absent.selected *,
432 #side-nav div.label.absent.selected,
433 #side-nav div.label.absent.selected * {
434 background-color:#eaeaea !important;
436 /* IE6 quirk (won't chain classes, so just keep background blue) */
437 * html #side-nav li.selected,
438 * html #side-nav li.selected *,
439 * html #side-nav div.label.selected,
440 * html #side-nav div.label.selected * {
441 background-color: #435a6e !important;
445 .absent h4.jd-details-title,
446 .absent h4.jd-details-title * {
447 background-color:#f6f6f6 !important;
452 filter: alpha(opacity=30);
453 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
457 /* applies to a div containing links to summary tables */
463 .sum-details-links a {
464 text-decoration:none;
467 .sum-details-links a:hover {
468 text-decoration:underline;
472 /* inheritance table */
473 .jd-inheritance-table {
479 .jd-inheritance-table td {
484 .jd-inheritance-table .jd-inheritance-space {
488 .jd-inheritance-table .jd-inheritance-interface-cell {
497 background-color:#ccc;
514 border-top:2px solid #ccc;
522 padding: .75em 0 .65em 0;
532 #jd-content .small-header {
572 font-variant:small-caps;
576 dl.tag-list dl.atn-list {
581 /* border:1px solid #669999;
586 /* API reference: a container for the
587 .tagdata blocks that make up the detailed
594 /* API reference: a block containing
595 a detailed description, a params table,
605 /* API reference: adjustments to
606 the detailed description block */
608 margin:.25em 0 .75em 0;
634 /* API reference: heading marking
635 the details section for constants,
636 attrs, methods, etc. */
637 h4.jd-details-title {
639 background-color: #E2E2E2;
641 padding:3px 95px 3px 3px; /* room for api-level */
648 /* API reference: heading for "Parameters", "See Also", etc.,
649 in details sections */
662 background-color:#fff;
672 #jd-content table h2 {
673 background-color: #d6d6d6;
682 padding: .5em 1em 1em 1em;
684 background-color: #DAF3FC;
685 border:1px solid #d3ecf5;
687 -moz-border-radius:5px;
688 -webkit-border-radius:5px;
691 .toggle-content-toggleme {
695 .toggle-content-button {
698 text-decoration:none;
703 .toggle-content-button:hover {
704 text-decoration:underline;
720 #jd-content div.special h2,
721 #jd-content div.special h3 {
730 p.caution, div.caution,
731 p.warning, div.warning {
734 border-left: 4px solid;
739 background-color:#EBF3DB;
746 border-color: #99aacc;
751 border-color: #aa0033;
756 border-color: #ffcf00;
759 li p.note, li p.warning {
761 padding: .2em .5em .2em .9em;
765 font-variant:small-caps;
782 .listhead li *, /*ie*/.listhead li li {
796 text-decoration: none;
802 background-color:transparent;
808 margin: -0.5em 0 1em 1em; /* matches default img left-margin */
816 background-color:#fff;
817 /* width must be defined w/ an inline style matching the image width */
825 div.figure p.img-caption {
826 margin: -0.5em 0 1em 0;
830 margin: 0 0 0.5em 1em; /* matches default table left-margin */
833 /* BEGIN quickview sidebar element styles */
837 width:310px; /* +35px padding */
838 background-color:#fff;
839 margin:-48px 0 2px 0;
840 padding:0 0 20px 35px;
844 background-color:#fff;
845 border:4px solid #dee8f1;
848 width:292px; /* +10px padding; +8px border */
864 padding: 0 10px 0 2em;
882 text-decoration:none;
912 margin:12px 0 .25em 0;
914 background-color:transparent;
921 /* END quickview sidebar element styles */
923 /* Begin sidebox sidebar element styles */
928 width:310px; /* +35px padding */
929 background-color:#fff;
931 padding:0 0 20px 35px;
935 border-left:1px solid #dee8f1;
936 background-color:#ffffee;
940 width:285px; /* +24px padding; +1px border */
944 margin-bottom: .75em;
948 padding: 0 0 0 1.5em;
960 #jd-content .sidebox h2,
961 #jd-content .sidebox h3,
962 #jd-content .sidebox h4,
963 #jd-content .sidebox h5 {
973 background-color:#ccc;
977 /* End sidebox sidebar element styles */
979 /* BEGIN image and caption styles (originally for UI Guidelines docs) */
981 table.image-caption {
994 td.image-caption-i img {
1004 td.image-caption-c {
1006 padding:1em 2px 2px 2px;
1013 background-image:url(images/grad-rule-qv.png);
1014 background-repeat:no-repeat;
1019 .image-caption-nested {
1024 .image-caption-nested td {
1025 padding:0 4px 2px 0;
1030 /* END image and caption styles */
1032 /* table of contents */
1043 margin: 0 0 .5em 1em;
1048 font-weight: normal;
1059 font-weight: normal;
1075 border-bottom: 1px solid #888;
1080 vertical-align: top;
1085 background-color: #fff;
1088 border-top: 1px solid #888;
1089 background-color: inherit;
1091 .jd-linktable td p {
1094 .jd-linktable .jd-linkcol {
1096 .jd-linktable .jd-descrcol {
1098 .jd-linktable .jd-typecol {
1101 .jd-linktable .jd-valcol {
1103 .jd-linktable .jd-commentrow {
1107 .jd-deprecated-warning {
1109 margin-bottom: 10px;
1113 background-color: #f6f6f6;
1116 /* expando trigger */
1117 #jd-content .jd-expando-trigger-img {
1122 .jd-inheritedlinks {
1128 background-color:#d9d9d9;
1131 table.download tr.alt-color {
1132 background-color:#ededed;
1137 border:2px solid #fff;
1142 background-color:#6d8293;
1146 /* INLAY 180 COPY and 240PX EXTENSION */
1147 /* modified to 43px so that all browsers eliminate the package panel h-scroll */
1149 .g-unit .g-tpl-240 .g-unit,
1150 .g-unit .g-unit .g-tpl-240 .g-unit {
1152 margin: 0 0 0 243px;
1156 .g-unit .g-unit .g-tpl-240 .g-first,
1157 .g-unit .g-tpl-240 .g-first,
1158 .g-tpl-240 .g-first {
1165 .g-tpl-240-alt .g-unit,
1166 .g-unit .g-tpl-240-alt .g-unit,
1167 .g-unit .g-unit .g-tpl-240-alt .g-unit {
1169 margin: 0 243px 0 0;
1173 .g-unit .g-unit .g-tpl-240-alt .g-first,
1174 .g-unit .g-tpl-240-alt .g-first,
1175 .g-tpl-240-alt .g-first {
1184 .g-unit .g-tpl-200 .g-unit,
1185 .g-unit .g-unit .g-tpl-200 .g-unit {
1187 margin: 0 0 0 200px;
1191 .g-unit .g-unit .g-tpl-200 .g-first,
1192 .g-unit .g-tpl-200 .g-first,
1193 .g-tpl-200 .g-first {
1200 .g-tpl-200-alt .g-unit,
1201 .g-unit .g-tpl-200-alt .g-unit,
1202 .g-unit .g-unit .g-tpl-200-alt .g-unit {
1204 margin: 0 200px 0 0;
1208 .g-unit .g-unit .g-tpl-200-alt .g-first,
1209 .g-unit .g-tpl-200-alt .g-first,
1210 .g-tpl-200-alt .g-first {
1219 .g-unit .g-tpl-190 .g-unit,
1220 .g-unit .g-unit .g-tpl-190 .g-unit {
1222 margin: 0 0 0 190px;
1226 .g-unit .g-unit .g-tpl-190 .g-first,
1227 .g-unit .g-tpl-190 .g-first,
1228 .g-tpl-190 .g-first {
1235 .g-tpl-190-alt .g-unit,
1236 .g-unit .g-tpl-190-alt .g-unit,
1237 .g-unit .g-unit .g-tpl-190-alt .g-unit {
1239 margin: 0 190px 0 0;
1243 .g-unit .g-unit .g-tpl-190-alt .g-first,
1244 .g-unit .g-tpl-190-alt .g-first,
1245 .g-tpl-190-alt .g-first {
1254 .g-unit .g-tpl-180 .g-unit,
1255 .g-unit .g-unit .g-tpl-180 .g-unit {
1257 margin: 0 0 0 180px;
1261 .g-unit .g-unit .g-tpl-180 .g-first,
1262 .g-unit .g-tpl-180 .g-first,
1263 .g-tpl-180 .g-first {
1270 .g-tpl-180-alt .g-unit,
1271 .g-unit .g-tpl-180-alt .g-unit,
1272 .g-unit .g-unit .g-tpl-180-alt .g-unit {
1274 margin: 0 180px 0 0;
1278 .g-unit .g-unit .g-tpl-180-alt .g-first,
1279 .g-unit .g-tpl-180-alt .g-first,
1280 .g-tpl-180-alt .g-first {
1288 /* JQUERY RESIZABLE STYLES */
1289 .ui-resizable { position: relative; }
1290 .ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
1291 .ui-resizable .ui-resizable-handle { display: block; }
1292 body .ui-resizable-disabled .ui-resizable-handle { display: none; }
1293 body .ui-resizable-autohide .ui-resizable-handle { display: none; }
1294 .ui-resizable-s { cursor: s-resize; height: 6px; width: 100%; bottom: 0px; left: 0px;
1295 background: transparent url("images/resizable-s2.gif") repeat scroll center top; }
1296 .ui-resizable-e { cursor: e-resize; width: 6px; right: 0px; top: 0px; height: 100%;
1297 background: transparent url("images/resizable-e2.gif") repeat scroll right center; }
1325 margin-left:0 !important;
1326 height:auto !important;
1327 width:auto !important;
1345 h4.jd-details-title {
1346 border-bottom:1px solid #666;
1350 /* these allow lines to break (if there's a white space) */
1352 text-wrap: unrestricted;
1353 white-space: -moz-pre-wrap; /* Moz */
1354 white-space: -pre-wrap; /* Opera 4-6 */
1355 white-space: -o-pre-wrap; /* Opera 7 */
1356 white-space: pre-wrap; /* CSS3 */
1357 word-wrap: break-word; /* IE 5.5+ */
1360 h1, h2, h3, h4, h5, h6 {
1361 page-break-after: avoid;
1365 page-break-inside: avoid;