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 {
132 dd pre, dd table, dd img {
161 border-collapse:collapse;
167 border:1px solid #ccc;
171 background-color:inherit;
175 background-color:#dee8f1;
179 background-color:#DDF0F2;
188 /* "Preliminary" watermark for preview releases and interim builds.
189 background:transparent url(images/preliminary.png) repeat scroll 0 0; */
199 min-width:675px; /* min width for the tabs, before they wrap */
201 border-bottom:3px solid #94b922;
220 /* Tabs in the header */
231 margin: 0px 2px 0px 0px;
236 text-decoration: none;
238 background-image: url(images/bg_images_sprite.png);
239 background-position: 0 -58px;
240 background-repeat: no-repeat;
251 background-image: url(images/bg_images_sprite.png);
252 background-position: 0 -29px;
253 background-repeat: no-repeat;
261 #header li a span+span {
265 /* tab highlighting */
268 .guide #guide-link a,
269 .reference #reference-link a,
271 .resources #resources-link a,
272 .videos #videos-link a {
273 background-image: url(images/bg_images_sprite.png);
274 background-position: 0 0;
275 background-repeat: no-repeat;
281 .home #home-link a:hover,
282 .guide #guide-link a:hover,
283 .reference #reference-link a:hover,
284 .sdk #sdk-link a:hover,
285 .resources #resources-link a:hover,
286 .videos #videos-link a:hover {
287 background-image: url(images/bg_images_sprite.png);
288 background-position: 0 0;
292 margin:10px 10px 0 0;
303 vertical-align:middle;
312 margin:15px 10px 0 0;
333 margin: 0em 0em 0em 0em;
352 #mainBodyFixed .green,
353 #mainBodyFluid .green,
356 background-color:none;
377 #mainBodyLeft p.blue {
381 #mainBodyLeft #communityDiv {
383 background-image:url(images/bg_community_leftDiv.jpg);
384 background-repeat: no-repeat;
387 padding: 20px 0px 0px 20px;
401 #mainBodyRight table {
406 border:0px solid #666;
411 #mainBodyRight .blueBorderBox {
412 border:5px solid #ddf0f2;
413 padding:18px 18px 18px 18px;
417 #mainBodyFixed .seperator {
418 background-image:url(images/hr_gray_side.jpg);
419 background-repeat:no-repeat;
432 #mainBodyBottom .seperator {
433 background-image:url(images/hr_gray_main.jpg);
434 background-repeat:no-repeat;
456 text-decoration: underline;
465 #footerlinks a:visited {
471 #search_autocomplete {
479 #search_filtered_div {
483 border:1px solid #BCCDF0;
484 background-color:#fff;
491 background-color:#fff;
492 border-bottom: 1px solid #669999;
496 #search_filtered .jd-selected {
497 background-color: #94b922;
500 #search_filtered .jd-selected,
501 #search_filtered .jd-selected a {
510 font-family: Arial, sans-serif;
530 /* restrict global search form width */
539 /* disable twiddle and size selectors for left column */
540 #leftSearchControl div {
544 #leftSearchControl .gsc-twiddle {
545 background-image : none;
548 #leftSearchControl td, #searchForm td {
549 border: 0px solid #000;
552 #leftSearchControl .gsc-resultsHeader .gsc-title {
560 #leftSearchControl .gsc-resultsHeader div.gsc-results-selector {
564 #leftSearchControl .gsc-resultsRoot {
568 #leftSearchControl div.gs-visibleUrl-long {
573 .gsc-webResult div.gs-visibleUrl-short,
579 .gsc-cursor-box .gsc-cursor div.gsc-cursor-page,
580 .gsc-cursor-box .gsc-trailing-more-results a.gsc-trailing-more-results,
581 #leftSearchControl a,
582 #leftSearchControl a b {
590 /* Disable built in search forms */
591 .gsc-control form.gsc-search-box {
594 table.gsc-search-box {
596 border-collapse:collapse;
602 vertical-align:middle;
606 border:1px solid #BCCDF0;
612 td.gsc-search-button {
623 /* search result tabs */
625 #doc-content .gsc-control {
629 #doc-content .gsc-tabsArea {
634 #doc-content .gsc-tabHeader {
639 #doc-content .gsc-tabHeader.gsc-tabhActive {
640 border-top: 2px solid #94B922;
643 #doc-content h2#searchTitle {
647 #doc-content .gsc-resultsbox-visible {
654 padding: 0px 0px 0px 0px;
662 background:url(images/home/bg_home_announcement.png) no-repeat 0 0;
674 #announcement-block {
677 background: url(images/hr_gray_side.jpg) no-repeat 15px 0;
681 #announcement-block>* {
685 #announcement-block img {
696 background:url(images/home/bg_home_carousel.png) no-repeat 0 0;
702 background: url(images/home/bg_home_carousel_board.png) 0 0 no-repeat;
704 padding: 25px 21px 0;
714 #carouselMain .bulletinDesc h3 {
719 #carouselMain .bulletinDesc p {
725 background: url(images/home/bg_home_carousel_wheel.png) 0 0 no-repeat;
730 .clearer { clear:both; }
732 a#arrow-left, a#arrow-right {
736 background-image:url(images/home/carousel_buttons_sprite.png);
737 background-repeat:no-repeat;
740 margin:35px 3px 0 10px;
743 margin:35px 10px 0 0;
746 a#arrow-left.arrow-left-off:hover {
747 background-position:0 0;
750 a#arrow-right.arrow-right-off:hover {
751 background-position:-42px 0;
754 background-position:0 -42px;
756 a#arrow-right:hover {
757 background-position:-42px -42px;
760 background-position:0 0;
763 background-position:-42px 0;
770 .app-list-container {
801 -webkit-border-radius:7px;
802 -moz-border-radius:7px;
804 text-decoration:none;
821 #app-list a.selected,
822 #app-list a:active.selected,
823 #app-list a:hover.selected {
827 text-decoration:none;
835 #app-list a:hover span,
836 #app-list a:active span {
837 text-decoration:underline;
843 padding-bottom:.25em;
847 * html #app-list a { zoom: 1; margin:0 24px 0 15px;}
850 width:430px !important;
853 /*carousel bulletin layouts*/
860 padding:8px 0 8px 8px;
871 padding:8px 8px 8px 0;
889 #mainBodyLeft.videoPlayer {
893 #mainBodyRight.videoPlayer {
900 background-color: #DAF3FC;
902 -moz-border-radius:7px;
903 -webkit-border-radius:7px;
906 border:1px solid #d3ecf5;
907 box-shadow:2px 3px 1px #eee;
908 -moz-box-shadow:2px 3px 1px #eee;
909 -webkit-box-shadow:2px 3px 1px #eee;
913 background-color: #FFF;
915 height:auto !important;
916 border:1px solid #ccdada;
917 border-radius:7px 7px 0 0;
918 -moz-border-radius:7px 7px 0 0;
919 -webkit-border-top-left-radius:7px;
920 -webkit-border-top-right-radius:7px;
928 #videoPlayerTitle h2 {
945 list-style-type:none;
949 padding: 20px 0 0 15px;
950 zoom:1; /* IE7/8, otherwise top-padding is double */
961 border-radius:7px 7px 0 0;
962 -moz-border-radius:7px 7px 0 0;
963 -webkit-border-top-left-radius:7px;
964 -webkit-border-top-right-radius:7px;
967 text-decoration:none;
972 ul#videoTabs li.selected a {
974 text-decoration:none;
977 border-bottom:1px solid #daf3fc;
980 ul#videoTabs li:hover a {
984 ul#videoTabs li.selected:hover a {
995 -moz-border-radius:5px;
996 -webkit-border-radius:5px;
997 box-shadow:2px 3px 1px #eee;
998 -moz-box-shadow:2px 3px 1px #eee;
999 -webkit-box-shadow:2px 3px 1px #eee;
1006 #videos div.selected {
1014 zoom:1; /* IE, otherwise, layout doesn't update when showing 'more' */
1017 ul.videoPreviews li {
1024 #mainBodyFixed ul.videoPreviews h3 {
1026 margin:0 0 1em 130px;
1032 ul.videoPreviews a {
1035 text-decoration:none;
1039 -moz-border-radius:5px;
1040 -webkit-border-radius:5px;
1041 background-color:transparent;
1044 ul.videoPreviews a:hover {
1045 background-color:#FFF;
1046 border:none; /* IE8, otherwise, bg doesn't work */
1049 ul.videoPreviews a.selected {
1050 background-color: #FF9900;
1053 ul.videoPreviews img {
1059 ul.videoPreviews h3 {
1062 text-decoration:none;
1063 margin:0 0 1em 130px;
1067 ul.videoPreviews p {
1069 text-decoration:none;
1070 margin:0 0 1.2em 130px;
1073 ul.videoPreviews p.full {
1077 ul.videoPreviews span.more {
1079 background:url(images/arrow_bluelink_down.png) 0 2px no-repeat;
1082 ul.videoPreviews span.less {
1084 background:url(images/arrow_bluelink_up.png) 0 2px no-repeat;
1088 ul.videoPreviews p.toggle {
1091 margin-top:-23px; /* instead of bottom:23px, because IE won't do it correctly */
1095 ul.videoPreviews p.toggle a {
1099 zoom:1; /* IE6, otherwise the margin considers the img on redraws */
1102 ul.videoPreviews p.toggle a:hover {
1103 text-decoration:underline;
1104 background:transparent; /* IE6, otherwise it inherits white */
1107 /* featured videos */
1113 #mainBodyRight ul.videoPreviews {
1117 #mainBodyRight ul.videoPreviews li {
1124 #mainBodyRight ul.videoPreviews h3 {
1129 #mainBodyRight ul.videoPreviews a {
1130 text-decoration:none;
1132 border:1px solid #FFF;
1135 #mainBodyRight ul.videoPreviews a:hover {
1136 border:1px solid #CCDADA;
1139 #mainBodyRight ul.videoPreviews a.selected {
1140 border:1px solid #FFF;
1143 #mainBodyRight ul.videoPreviews p {
1146 margin:4px 0 0 130px;
1149 #mainBodyRight ul.videoPreviews img {
1153 /* Pretty printing styles. Used with prettify.js. */
1155 .str { color: #080; }
1156 .kwd { color: #008; }
1157 .com { color: #800; }
1158 .typ { color: #606; }
1159 .lit { color: #066; }
1160 .pun { color: #660; }
1161 .pln { color: #000; }
1162 .tag { color: #008; }
1163 .atn { color: #606; }
1164 .atv { color: #080; }
1165 .dec { color: #606; }
1168 .str { color: #060; }
1169 .kwd { color: #006; font-weight: bold; }
1170 .com { color: #600; font-style: italic; }
1171 .typ { color: #404; font-weight: bold; }
1172 .lit { color: #044; }
1173 .pun { color: #440; }
1174 .pln { color: #000; }
1175 .tag { color: #006; font-weight: bold; }
1176 .atn { color: #404; }
1177 .atv { color: #060; }