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 {
729 p.note, p.caution, p.warning {
732 border-left: 4px solid;
736 background-color:#EBF3DB;
742 border-color: #99aacc;
746 border-color: #aa0033;
750 border-color: #ffcf00;
753 p.warning b, p.warning strong {
757 li p.note, li p.warning {
759 padding: .2em .5em .2em .9em;
763 font-variant:small-caps;
780 .listhead li *, /*ie*/.listhead li li {
794 text-decoration: none;
800 background-color:transparent;
806 margin: -0.5em 0 1em 1em; /* matches default img left-margin */
814 background-color:#fff;
815 /* width must be defined w/ an inline style matching the image width */
823 div.figure p.img-caption {
824 margin: -0.5em 0 1em 0;
828 margin: 0 0 0.5em 1em; /* matches default table left-margin */
831 /* BEGIN quickview sidebar element styles */
835 width:310px; /* +35px padding */
836 background-color:#fff;
837 margin:-48px 0 2px 0;
838 padding:0 0 20px 35px;
842 background-color:#fff;
843 border:4px solid #dee8f1;
846 width:292px; /* +10px padding; +8px border */
862 padding: 0 10px 0 2em;
880 text-decoration:none;
910 margin:12px 0 .25em 0;
912 background-color:transparent;
919 /* END quickview sidebar element styles */
921 /* Begin sidebox sidebar element styles */
926 width:310px; /* +35px padding */
927 background-color:#fff;
929 padding:0 0 20px 35px;
933 border-left:1px solid #dee8f1;
934 background-color:#ffffee;
938 width:285px; /* +24px padding; +1px border */
942 margin-bottom: .75em;
946 padding: 0 0 0 1.5em;
958 #jd-content .sidebox h2,
959 #jd-content .sidebox h3,
960 #jd-content .sidebox h4,
961 #jd-content .sidebox h5 {
971 background-color:#ccc;
975 /* End sidebox sidebar element styles */
977 /* BEGIN image and caption styles (originally for UI Guidelines docs) */
979 table.image-caption {
992 td.image-caption-i img {
1002 td.image-caption-c {
1004 padding:1em 2px 2px 2px;
1011 background-image:url(images/grad-rule-qv.png);
1012 background-repeat:no-repeat;
1017 .image-caption-nested {
1022 .image-caption-nested td {
1023 padding:0 4px 2px 0;
1028 /* END image and caption styles */
1030 /* table of contents */
1041 margin: 0 0 .5em 1em;
1046 font-weight: normal;
1057 font-weight: normal;
1073 border-bottom: 1px solid #888;
1078 vertical-align: top;
1083 background-color: #fff;
1086 border-top: 1px solid #888;
1087 background-color: inherit;
1089 .jd-linktable td p {
1092 .jd-linktable .jd-linkcol {
1094 .jd-linktable .jd-descrcol {
1096 .jd-linktable .jd-typecol {
1099 .jd-linktable .jd-valcol {
1101 .jd-linktable .jd-commentrow {
1105 .jd-deprecated-warning {
1107 margin-bottom: 10px;
1111 background-color: #f6f6f6;
1114 /* expando trigger */
1115 #jd-content .jd-expando-trigger-img {
1120 .jd-inheritedlinks {
1126 background-color:#d9d9d9;
1129 table.download tr.alt-color {
1130 background-color:#ededed;
1135 border:2px solid #fff;
1140 background-color:#6d8293;
1144 /* INLAY 180 COPY and 240PX EXTENSION */
1145 /* modified to 43px so that all browsers eliminate the package panel h-scroll */
1147 .g-unit .g-tpl-240 .g-unit,
1148 .g-unit .g-unit .g-tpl-240 .g-unit {
1150 margin: 0 0 0 243px;
1154 .g-unit .g-unit .g-tpl-240 .g-first,
1155 .g-unit .g-tpl-240 .g-first,
1156 .g-tpl-240 .g-first {
1163 .g-tpl-240-alt .g-unit,
1164 .g-unit .g-tpl-240-alt .g-unit,
1165 .g-unit .g-unit .g-tpl-240-alt .g-unit {
1167 margin: 0 243px 0 0;
1171 .g-unit .g-unit .g-tpl-240-alt .g-first,
1172 .g-unit .g-tpl-240-alt .g-first,
1173 .g-tpl-240-alt .g-first {
1182 .g-unit .g-tpl-200 .g-unit,
1183 .g-unit .g-unit .g-tpl-200 .g-unit {
1185 margin: 0 0 0 200px;
1189 .g-unit .g-unit .g-tpl-200 .g-first,
1190 .g-unit .g-tpl-200 .g-first,
1191 .g-tpl-200 .g-first {
1198 .g-tpl-200-alt .g-unit,
1199 .g-unit .g-tpl-200-alt .g-unit,
1200 .g-unit .g-unit .g-tpl-200-alt .g-unit {
1202 margin: 0 200px 0 0;
1206 .g-unit .g-unit .g-tpl-200-alt .g-first,
1207 .g-unit .g-tpl-200-alt .g-first,
1208 .g-tpl-200-alt .g-first {
1217 .g-unit .g-tpl-190 .g-unit,
1218 .g-unit .g-unit .g-tpl-190 .g-unit {
1220 margin: 0 0 0 190px;
1224 .g-unit .g-unit .g-tpl-190 .g-first,
1225 .g-unit .g-tpl-190 .g-first,
1226 .g-tpl-190 .g-first {
1233 .g-tpl-190-alt .g-unit,
1234 .g-unit .g-tpl-190-alt .g-unit,
1235 .g-unit .g-unit .g-tpl-190-alt .g-unit {
1237 margin: 0 190px 0 0;
1241 .g-unit .g-unit .g-tpl-190-alt .g-first,
1242 .g-unit .g-tpl-190-alt .g-first,
1243 .g-tpl-190-alt .g-first {
1252 .g-unit .g-tpl-180 .g-unit,
1253 .g-unit .g-unit .g-tpl-180 .g-unit {
1255 margin: 0 0 0 180px;
1259 .g-unit .g-unit .g-tpl-180 .g-first,
1260 .g-unit .g-tpl-180 .g-first,
1261 .g-tpl-180 .g-first {
1268 .g-tpl-180-alt .g-unit,
1269 .g-unit .g-tpl-180-alt .g-unit,
1270 .g-unit .g-unit .g-tpl-180-alt .g-unit {
1272 margin: 0 180px 0 0;
1276 .g-unit .g-unit .g-tpl-180-alt .g-first,
1277 .g-unit .g-tpl-180-alt .g-first,
1278 .g-tpl-180-alt .g-first {
1286 /* JQUERY RESIZABLE STYLES */
1287 .ui-resizable { position: relative; }
1288 .ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
1289 .ui-resizable .ui-resizable-handle { display: block; }
1290 body .ui-resizable-disabled .ui-resizable-handle { display: none; }
1291 body .ui-resizable-autohide .ui-resizable-handle { display: none; }
1292 .ui-resizable-s { cursor: s-resize; height: 6px; width: 100%; bottom: 0px; left: 0px;
1293 background: transparent url("images/resizable-s2.gif") repeat scroll center top; }
1294 .ui-resizable-e { cursor: e-resize; width: 6px; right: 0px; top: 0px; height: 100%;
1295 background: transparent url("images/resizable-e2.gif") repeat scroll right center; }
1323 margin-left:0 !important;
1324 height:auto !important;
1325 width:auto !important;
1343 h4.jd-details-title {
1344 border-bottom:1px solid #666;
1348 /* these allow lines to break (if there's a white space) */
1350 text-wrap: unrestricted;
1351 white-space: -moz-pre-wrap; /* Moz */
1352 white-space: -pre-wrap; /* Opera 4-6 */
1353 white-space: -o-pre-wrap; /* Opera 7 */
1354 white-space: pre-wrap; /* CSS3 */
1355 word-wrap: break-word; /* IE 5.5+ */
1358 h1, h2, h3, h4, h5, h6 {
1359 page-break-after: avoid;
1363 page-break-inside: avoid;