1 /* file: android-developer-core.css
4 info: core developer styles (developer.android.com)
10 html,body,div,h1,h2,h3,h4,h5,h6,p,img,
11 dl,dt,dd,ol,ul,li,table,caption,tbody,
12 tfoot,thead,tr,th,td,form,fieldset,
22 overflow:hidden; /* keeps scrollbar off IE */
23 background-color:#fff;
27 font-family:arial,sans-serif;
31 background-image:url(images/bg_fade.jpg);
32 background-repeat:repeat-x;
50 textarea, option, label {
55 vertical-align:middle;
69 font-family:monospace;
79 border:1px solid #ccc;
80 background-color:#fafafa;
84 line-height:inherit; /* fixes vertical scrolling in webkit */
128 li pre, li table, li img {
133 #jd-content dd table,
163 border-collapse:collapse;
169 border:1px solid #ccc;
173 background-color:inherit;
177 background-color:#dee8f1;
185 background-color:#DDF0F2;
193 padding: 0 4em 0 1em;
194 border-left:2px solid #eee;
199 /* "Preliminary" watermark for preview releases and interim builds.
200 background:transparent url(images/preliminary.png) repeat scroll 0 0; */
210 min-width:675px; /* min width for the tabs, before they wrap */
212 border-bottom:3px solid #94b922;
231 /* Tabs in the header */
242 margin: 0px 2px 0px 0px;
247 text-decoration: none;
249 background-image: url(images/bg_images_sprite.png);
250 background-position: 0 -58px;
251 background-repeat: no-repeat;
262 background-image: url(images/bg_images_sprite.png);
263 background-position: 0 -29px;
264 background-repeat: no-repeat;
272 #header li a span+span {
276 /* tab highlighting */
279 .guide #guide-link a,
280 .reference #reference-link a,
282 .resources #resources-link a,
283 .videos #videos-link a {
284 background-image: url(images/bg_images_sprite.png);
285 background-position: 0 0;
286 background-repeat: no-repeat;
292 .home #home-link a:hover,
293 .guide #guide-link a:hover,
294 .reference #reference-link a:hover,
295 .sdk #sdk-link a:hover,
296 .resources #resources-link a:hover,
297 .videos #videos-link a:hover {
298 background-image: url(images/bg_images_sprite.png);
299 background-position: 0 0;
303 margin:10px 10px 0 0;
314 vertical-align:middle;
323 margin:15px 10px 0 0;
344 margin: 0em 0em 0em 0em;
363 #mainBodyFixed .green,
364 #mainBodyFluid .green,
367 background-color:none;
388 #mainBodyLeft p.blue {
392 #mainBodyLeft #communityDiv {
394 background-image:url(images/bg_community_leftDiv.jpg);
395 background-repeat: no-repeat;
398 padding: 20px 0px 0px 20px;
412 #mainBodyRight table {
417 border:0px solid #666;
422 #mainBodyRight .blueBorderBox {
423 border:5px solid #ddf0f2;
424 padding:18px 18px 18px 18px;
428 #mainBodyFixed .seperator {
429 background-image:url(images/hr_gray_side.jpg);
430 background-repeat:no-repeat;
443 #mainBodyBottom .seperator {
444 background-image:url(images/hr_gray_main.jpg);
445 background-repeat:no-repeat;
467 text-decoration: underline;
476 #footerlinks a:visited {
482 #search_autocomplete {
490 #search_filtered_div {
494 border:1px solid #BCCDF0;
495 background-color:#fff;
502 background-color:#fff;
503 border-bottom: 1px solid #669999;
507 #search_filtered .jd-selected {
508 background-color: #94b922;
511 #search_filtered .jd-selected,
512 #search_filtered .jd-selected a {
521 font-family: Arial, sans-serif;
541 /* restrict global search form width */
550 /* disable twiddle and size selectors for left column */
551 #leftSearchControl div {
555 #leftSearchControl .gsc-twiddle {
556 background-image : none;
559 #leftSearchControl td, #searchForm td {
560 border: 0px solid #000;
563 #leftSearchControl .gsc-resultsHeader .gsc-title {
571 #leftSearchControl .gsc-resultsHeader div.gsc-results-selector {
575 #leftSearchControl .gsc-resultsRoot {
579 #leftSearchControl div.gs-visibleUrl-long {
584 .gsc-webResult div.gs-visibleUrl-short,
590 .gsc-cursor-box .gsc-cursor div.gsc-cursor-page,
591 .gsc-cursor-box .gsc-trailing-more-results a.gsc-trailing-more-results,
592 #leftSearchControl a,
593 #leftSearchControl a b {
601 /* Disable built in search forms */
602 .gsc-control form.gsc-search-box {
605 table.gsc-search-box {
607 border-collapse:collapse;
613 vertical-align:middle;
617 border:1px solid #BCCDF0;
623 td.gsc-search-button {
634 /* search result tabs */
636 #doc-content .gsc-control {
640 #doc-content .gsc-tabsArea {
645 #doc-content .gsc-tabHeader {
650 #doc-content .gsc-tabHeader.gsc-tabhActive {
651 border-top: 2px solid #94B922;
654 #doc-content h2#searchTitle {
658 #doc-content .gsc-resultsbox-visible {
665 padding: 0px 0px 0px 0px;
673 background:url(images/home/bg_home_announcement.png) no-repeat 0 0;
685 #announcement-block {
688 background: url(images/hr_gray_side.jpg) no-repeat 15px 0;
692 #announcement-block>* {
696 #announcement-block img {
707 background:url(images/home/bg_home_carousel.png) no-repeat 0 0;
713 background: url(images/home/bg_home_carousel_board.png) 0 0 no-repeat;
715 padding: 25px 21px 0;
725 #carouselMain .bulletinDesc h3 {
730 #carouselMain .bulletinDesc p {
736 background: url(images/home/bg_home_carousel_wheel.png) 0 0 no-repeat;
741 .clearer { clear:both; }
743 a#arrow-left, a#arrow-right {
747 background-image:url(images/home/carousel_buttons_sprite.png);
748 background-repeat:no-repeat;
751 margin:35px 3px 0 10px;
754 margin:35px 10px 0 0;
757 a#arrow-left.arrow-left-off:hover {
758 background-position:0 0;
761 a#arrow-right.arrow-right-off:hover {
762 background-position:-42px 0;
765 background-position:0 -42px;
767 a#arrow-right:hover {
768 background-position:-42px -42px;
771 background-position:0 0;
774 background-position:-42px 0;
781 .app-list-container {
812 -webkit-border-radius:7px;
813 -moz-border-radius:7px;
815 text-decoration:none;
832 #app-list a.selected,
833 #app-list a:active.selected,
834 #app-list a:hover.selected {
838 text-decoration:none;
846 #app-list a:hover span,
847 #app-list a:active span {
848 text-decoration:underline;
854 padding-bottom:.25em;
858 * html #app-list a { zoom: 1; margin:0 24px 0 15px;}
861 width:430px !important;
864 /*carousel bulletin layouts*/
871 padding:8px 0 8px 8px;
882 padding:8px 8px 8px 0;
900 #mainBodyLeft.videoPlayer {
904 #mainBodyRight.videoPlayer {
911 background-color: #DAF3FC;
913 -moz-border-radius:7px;
914 -webkit-border-radius:7px;
917 border:1px solid #d3ecf5;
918 box-shadow:2px 3px 1px #eee;
919 -moz-box-shadow:2px 3px 1px #eee;
920 -webkit-box-shadow:2px 3px 1px #eee;
924 background-color: #FFF;
926 height:auto !important;
927 border:1px solid #ccdada;
928 border-radius:7px 7px 0 0;
929 -moz-border-radius:7px 7px 0 0;
930 -webkit-border-top-left-radius:7px;
931 -webkit-border-top-right-radius:7px;
939 #videoPlayerTitle h2 {
956 list-style-type:none;
960 padding: 20px 0 0 15px;
961 zoom:1; /* IE7/8, otherwise top-padding is double */
972 border-radius:7px 7px 0 0;
973 -moz-border-radius:7px 7px 0 0;
974 -webkit-border-top-left-radius:7px;
975 -webkit-border-top-right-radius:7px;
978 text-decoration:none;
983 ul#videoTabs li.selected a {
985 text-decoration:none;
988 border-bottom:1px solid #daf3fc;
991 ul#videoTabs li:hover a {
995 ul#videoTabs li.selected:hover a {
1003 margin-bottom:1.5em;
1006 -moz-border-radius:5px;
1007 -webkit-border-radius:5px;
1008 box-shadow:2px 3px 1px #eee;
1009 -moz-box-shadow:2px 3px 1px #eee;
1010 -webkit-box-shadow:2px 3px 1px #eee;
1017 #videos div.selected {
1025 zoom:1; /* IE, otherwise, layout doesn't update when showing 'more' */
1028 ul.videoPreviews li {
1035 #mainBodyFixed ul.videoPreviews h3 {
1037 margin:0 0 1em 130px;
1043 ul.videoPreviews a {
1046 text-decoration:none;
1050 -moz-border-radius:5px;
1051 -webkit-border-radius:5px;
1052 background-color:transparent;
1055 ul.videoPreviews a:hover {
1056 background-color:#FFF;
1057 border:none; /* IE8, otherwise, bg doesn't work */
1060 ul.videoPreviews a.selected {
1061 background-color: #FF9900;
1064 ul.videoPreviews img {
1070 ul.videoPreviews h3 {
1073 text-decoration:none;
1074 margin:0 0 1em 130px;
1078 ul.videoPreviews p {
1080 text-decoration:none;
1081 margin:0 0 1.2em 130px;
1084 ul.videoPreviews p.full {
1088 ul.videoPreviews span.more {
1090 background:url(images/arrow_bluelink_down.png) 0 2px no-repeat;
1093 ul.videoPreviews span.less {
1095 background:url(images/arrow_bluelink_up.png) 0 2px no-repeat;
1099 ul.videoPreviews p.toggle {
1102 margin-top:-23px; /* instead of bottom:23px, because IE won't do it correctly */
1106 ul.videoPreviews p.toggle a {
1110 zoom:1; /* IE6, otherwise the margin considers the img on redraws */
1113 ul.videoPreviews p.toggle a:hover {
1114 text-decoration:underline;
1115 background:transparent; /* IE6, otherwise it inherits white */
1118 /* featured videos */
1124 #mainBodyRight ul.videoPreviews {
1128 #mainBodyRight ul.videoPreviews li {
1135 #mainBodyRight ul.videoPreviews h3 {
1140 #mainBodyRight ul.videoPreviews a {
1141 text-decoration:none;
1143 border:1px solid #FFF;
1146 #mainBodyRight ul.videoPreviews a:hover {
1147 border:1px solid #CCDADA;
1150 #mainBodyRight ul.videoPreviews a.selected {
1151 border:1px solid #FFF;
1154 #mainBodyRight ul.videoPreviews p {
1157 margin:4px 0 0 130px;
1160 #mainBodyRight ul.videoPreviews img {
1164 /* Pretty printing styles. Used with prettify.js. */
1166 .str { color: #080; }
1167 .kwd { color: #008; }
1168 .com { color: #800; }
1169 .typ { color: #606; }
1170 .lit { color: #066; }
1171 .pun { color: #660; }
1172 .pln { color: #000; }
1173 dl.tag-list dt code,
1174 .tag { color: #008; }
1175 dl.atn-list dt code,
1176 .atn { color: #828; }
1177 .atv { color: #080; }
1178 .dec { color: #606; }
1181 .str { color: #060; }
1182 .kwd { color: #006; font-weight: bold; }
1183 .com { color: #600; font-style: italic; }
1184 .typ { color: #404; font-weight: bold; }
1185 .lit { color: #044; }
1186 .pun { color: #440; }
1187 .pln { color: #000; }
1188 .tag { color: #006; font-weight: bold; }
1189 .atn { color: #404; }
1190 .atv { color: #060; }