OSDN Git Service

dee006fea4ef062205e12f683807d21550037061
[android-x86/build.git] / tools / droiddoc / templates / assets / android-developer-core.css
1 /* file: android-developer-core.css
2    author: smain
3    date: september 2008
4    info: core developer styles (developer.android.com)
5 */
6
7
8 /* RESET STYLES */
9
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,
13 embed,object,applet {
14   margin: 0;
15   padding: 0;
16   border: 0;
17 }
18
19 /* BASICS */
20
21 html, body {
22   overflow:hidden; /* keeps scrollbar off IE */
23   background-color:#fff;
24 }
25
26 body {
27   font-family:arial,sans-serif;
28   color:#000;
29   font-size:13px;
30   color:#333;
31   background-image:url(images/bg_fade.jpg); 
32   background-repeat:repeat-x;
33 }
34
35 a, a code { 
36   color:#006699;
37
38
39
40 a:active,
41 a:active code { 
42   color:#f00;
43
44
45 a:visited,
46 a:visited code { 
47   color:#006699;
48 }
49
50 input, select,
51 textarea, option {
52   font-family:inherit;
53   font-size:inherit;
54 }
55
56 p {
57   padding:0;
58   margin:0 0 1em;
59 }
60
61 code, pre {
62   color:#007000;
63   font-family:monospace;
64   line-height:1em;
65 }
66
67 var {
68   color:#007000;
69   font-style:italic;
70 }
71
72 pre {
73   border:1px solid #ccc;
74   background-color:#fafafa;
75   padding:10px;
76   margin:0 0 1em 1em;
77   overflow:auto;
78 }
79
80 h1,h2,h3,h4,h5 {
81   margin:1em 0;
82   padding:0;
83 }
84
85 p,ul,ol,dl,dd,dt,li {
86   line-height:1.3em;
87 }
88
89 ul,ol {
90   margin:0 0 .8em;
91   padding:0 0 0 2em;
92 }
93
94 li {
95   padding:0 0 .5em;
96 }
97
98 dl {
99   margin:0 0 1em 0;
100   padding:0;
101 }
102
103 dt {  
104   margin:0;
105   padding:0;
106 }
107
108 dd {
109   margin:0 0 1em;
110   padding:0 0 0 2em;
111 }
112
113 li p {
114   margin:.5em 0 0;
115 }
116
117 dd p {
118   margin:1em 0 0;
119 }
120
121 li pre, li table, li img {
122   margin:.5em 0 0 1em;
123 }
124
125 dd pre, dd table, dd img {
126   margin:1em 0 0 1em;
127 }
128
129 li ul,
130 li ol {
131   margin:.5em 0 0 0;
132   padding: 0 0 0 2em;
133 }
134
135 dl li {
136   padding:.5em 0 0 0;
137 }
138
139 dl dl,
140 ol dl,
141 ul dl {
142   margin:0 0 1em;
143   padding:0;
144 }
145
146 table {
147   font-size:1em;
148   margin:0 0 1em;
149   padding:0;
150   border-collapse:collapse;
151   border-width:0;
152   empty-cells:show;
153 }
154
155 td,th {
156   border:1px solid #ccc;
157   padding:6px 12px;
158   text-align:left;
159   vertical-align:top;
160   background-color:inherit;
161 }
162
163 th {
164   background-color:#dee8f1;
165 }
166
167 hr.blue {
168   background-color:#DDF0F2;
169   border:none;
170   height:5px;
171   margin:20px 0 10px;
172 }
173
174 /* LAYOUT */
175 #body-content {
176   margin:0;
177   position:relative;
178   width:100%;
179 }
180
181 #header {
182   height: 114px;
183   position:relative;
184   z-index:100;
185   min-width:576px;
186   padding:0 10px;
187   border-bottom:3px solid #94b922;
188 }
189
190 #headerLeft{
191   padding: 25px 0 0;
192 }
193
194 #headerRight {
195   position:absolute;
196   right:0;
197   top:0;
198   text-align:right;
199 }
200
201 /* Tabs in the header */
202 #header ul {
203   list-style: none;
204   margin: 7px 0 0;  
205   padding: 0;
206   height: 29px;
207 }
208
209 #header li {
210   float: left;
211   margin: 0px 2px 0px 0px;
212   padding:0;
213 }
214
215 #header li a {
216   text-decoration: none;
217   display: block;
218   background-image: url(images/bg_images_sprite.png);
219   background-position: 0 -58px;
220   background-repeat: no-repeat;
221   color: #666;
222   font-size: 13px;
223   font-weight: bold;
224   width: 94px;
225   height: 29px;
226   text-align: center;
227   margin: 0px;
228 }
229
230 #header li a:hover {
231   background-image: url(images/bg_images_sprite.png);
232   background-position: 0 -29px;
233   background-repeat: no-repeat;
234 }
235
236 #header li a span {
237   position:relative;
238   top:7px;
239 }
240
241 #header li a span+span {
242   display:none;
243 }
244
245 /* TAB HIGHLIGHTING */
246 .home #home-link a,
247 .publish #publish-link a,
248 .guide #guide-link a,
249 .reference #reference-link a,
250 .sdk #sdk-link a,
251 .community #community-link a,
252 .about #about-link a {
253   background-image: url(images/bg_images_sprite.png);
254   background-position: 0 0;
255   background-repeat: no-repeat;
256   color: #fff;
257   font-weight: bold;
258   cursor:default;
259 }
260
261 .home #home-link a:hover,
262 .publish #publish-link a:hover,
263 .guide #guide-link a:hover,
264 .reference #reference-link a:hover,
265 .sdk #sdk-link a:hover,
266 .community #community-link a:hover,
267 .about #about-link  a:hover {
268   background-image: url(images/bg_images_sprite.png);
269   background-position: 0 0;
270 }
271
272 #headerLinks {
273   margin:10px 10px 0 0;
274   height:13px;
275   font-size: 11px;
276   vertical-align: top;
277 }
278
279 #headerLinks a {
280   color: #7FA9B5;
281 }
282
283 #headerLinks img {
284   vertical-align:middle;
285 }
286
287 #language {
288   margin:0 10px 0 4px;
289 }
290
291 #search {
292   height:45px;
293   margin:15px 10px 0 0;
294 }
295
296 /* main */
297
298 #mainBodyFluid {
299   margin: 20px 10px;
300   color:#333;
301 }
302
303 #mainBodyFixed {
304   margin: 20px 10px;
305   color: #333;
306   width:930px;
307   position:relative;
308 }
309
310 #mainBodyFixed h3,
311 #mainBodyFluid h3 {
312   color:#336666;
313   font-size:1.25em;
314   margin: 0em 0em 0em 0em;
315   padding-bottom:.5em;
316 }
317
318 #mainBodyFixed h2,
319 #mainBodyFluid h2 { 
320   color:#336666;
321   font-size:1.25em;
322   margin: 0;
323   padding-bottom:.5em;
324 }
325
326 #mainBodyFixed h1,
327 #mainBodyFluid h1 { 
328   color:#435A6E;
329   font-size:1.7em;
330   margin: 1em 0;
331 }
332
333 #mainBodyFixed .green,
334 #mainBodyFluid .green,
335 #jd-content .green { 
336   color:#7BB026;
337   background-color:none;
338 }
339
340 #mainBodyLeft {
341   float: left;
342   width: 600px;
343   margin-right: 20px;  
344   color: #333;
345   position:relative;
346 }
347
348 div.indent {
349   margin-left: 40px;  
350   margin-right: 70px;
351 }
352
353 #mainBodyLeft p {
354   color: #333;
355   font-size: 13px;
356 }
357
358 #mainBodyLeft p.blue {
359   color: #669999;
360 }
361
362 #mainBodyLeft #communityDiv {
363   float: left;
364   background-image:url(images/bg_community_leftDiv.jpg);
365   background-repeat: no-repeat;
366   width: 581px;
367   height: 347px;
368   padding: 20px 0px 0px 20px;
369 }
370
371 #mainBodyRight {
372   float: left;
373   width: 300px;
374   color: #333;
375 }
376
377 #mainBodyRight p {
378   padding-right: 50px;
379   color: #333;
380 }
381
382 #mainBodyRight table {
383   width: 100%;
384 }
385
386 #mainBodyRight td {
387   border:0px solid #666;
388   padding:0px 5px;
389   text-align:left;
390 }
391
392 #mainBodyRight .blueBorderBox {
393   border:5px solid #ddf0f2;
394   padding:18px 18px 18px 18px;
395   text-align:left;
396 }
397
398 #mainBodyFixed .seperator {
399   background-image:url(images/hr_gray_side.jpg);
400   background-repeat:no-repeat;
401   width: 100%;
402   float: left;
403   clear: both;
404 }
405
406 #mainBodyBottom {
407   float: left;
408   width: 100%;
409   clear:both;
410   color: #333;
411 }
412
413 #mainBodyBottom .seperator {
414   background-image:url(images/hr_gray_main.jpg);
415   background-repeat:no-repeat;
416   width: 100%;
417   float: left;
418   clear: both;
419 }
420
421 /* Footer */
422 #footer {
423   float: left;
424   width:90%;
425   margin: 20px;
426   color: #aaa;
427   font-size: 11px;
428 }
429
430 #footer a {
431   color: #aaa;
432   font-size: 11px;
433 }
434
435 #footer a:hover {
436   text-decoration: underline;
437   color:#aaa;
438 }
439
440 #footerlinks {
441   margin-top:2px;
442 }
443
444 #footerlinks a,
445 #footerlinks a:visited {
446   color:#006699;
447 }
448
449 #homeBottom td {
450   border:0px solid #666;
451   padding: 8px 18px 8px 18px;
452 }
453
454 #homeBottom table {
455   width: 100%;
456 }
457
458
459 #homeBottom {
460   padding: 0px 0px 0px 0px;
461   float: left;
462   width: 585px;
463   height: 165px;
464   background-image:url(images/home/bg_home_bottom.jpg);
465   background-repeat: no-repeat;
466 }
467
468 .groupTable {
469   width: 100%;
470 }
471
472 .groupTable th {
473   padding: 10px;
474   color: #ffffff;
475   background-color: #6D8293;
476   border: 2px solid #fff;
477 }
478
479 .groupTable td {
480   padding: 10px;
481   color: #333333;
482   background-color: #d9d9d9;
483   border: 2px solid #fff;
484 }
485
486 .groupTable .evenRow td {  
487   background-color: #ededed;
488 }
489
490 span.BigBlue {
491   color:#336666;
492   font-size:1.25em;
493   margin: 0em 0em 0em 0em;
494   padding-bottom:.5em;
495   font-weight: bold;
496 }
497
498 span.emBlue {
499   color: #336666;
500   font-style:italic;
501 }
502
503 .pageTable {
504   width: 95%;
505   border: none;
506 }
507
508 .pageTable img {
509 vertical-align: bottom;
510 }
511
512 .pageTable td {
513   border: none;
514 }
515
516 .pageTable td.leftNav {
517   width: 100px;
518 }
519
520 .greenBox {
521   margin: 10px 30px 10px 30px;
522   padding: 10px 20px 10px 20px;
523   background-color: #EBF3DB;
524   width: 75%;
525 }
526
527 .blueBox {
528   margin: 10px 30px 10px 30px;
529   padding: 10px 20px 10px 20px;
530   background-color: #DDF0F2;
531   width: 75%;
532 }
533
534 .blueHR {
535   margin: 10px 30px 10px 30px;
536   height: 5px;
537   background-color: #DDF0F2;
538   width: 75%;
539 }
540
541 /* SEARCH FILTER */
542 #search_autocomplete {
543   color:#aaa;
544 }
545
546 #search-button {
547   display:inline;
548 }
549
550 #search_filtered_div {
551   position:absolute;
552   margin-top:-1px;
553   z-index:101;
554   border:1px solid #BCCDF0;
555   background-color:#fff;
556 }
557
558 #search_filtered {
559   min-width:100%;
560 }
561 #search_filtered td{
562   background-color:#fff;
563   border-bottom: 1px solid #669999;
564   line-height:1.5em;
565 }
566
567 #search_filtered .jd-selected {
568   background-color: #94b922;
569   cursor:pointer;
570 }
571 #search_filtered .jd-selected,
572 #search_filtered .jd-selected a {
573   color:#fff;
574 }
575
576 .no-display {
577   display: none;
578 }
579
580 .jd-autocomplete {
581   font-family: Arial, sans-serif;
582   padding-left: 6px;
583   padding-right: 6px;
584   padding-top: 1px;
585   padding-bottom: 1px;
586   font-size: .8em;
587   border: none;
588   margin: 0;
589   line-height: 1.05em;
590 }
591
592 .show-row {
593   display: table-row;
594 }
595 .hide-row {
596   display: hidden;
597 }
598
599 /* SEARCH */
600
601 /* restrict global search form width */
602 #searchForm {
603   width:350px;
604 }
605
606 #searchTxt {
607   width:200px;
608 }
609
610 /* disable twiddle and size selectors for left column */
611 #leftSearchControl div {
612   width: 100%;
613 }
614
615 #leftSearchControl .gsc-twiddle {
616   background-image : none;
617 }
618
619 #leftSearchControl td, #searchForm td {
620   border: 0px solid #000;
621 }
622
623 #leftSearchControl .gsc-resultsHeader .gsc-title {
624   padding-left : 0px;
625   font-weight : bold;
626   font-size : 13px;
627   color:#006699;
628   display : none;
629 }
630
631 #leftSearchControl .gsc-resultsHeader div.gsc-results-selector {
632   display : none;
633 }
634
635 #leftSearchControl .gsc-resultsRoot {
636   padding-top : 6px;
637 }
638
639 #leftSearchControl div.gs-visibleUrl-long {
640   display : block;
641   color:#006699;
642 }
643
644 .gsc-webResult div.gs-visibleUrl-short,
645 table.gsc-branding,
646 .gsc-clear-button {
647   display : none;
648 }
649
650 .gsc-cursor-box .gsc-cursor div.gsc-cursor-page,
651 .gsc-cursor-box .gsc-trailing-more-results a.gsc-trailing-more-results,
652 #leftSearchControl a, 
653 #leftSearchControl a b {
654   color:#006699;
655 }
656
657 .gsc-resultsHeader {
658   display: none;
659 }
660
661 /* Disable built in search forms */
662 .gsc-control form.gsc-search-box {
663   display : none;
664 }
665 table.gsc-search-box {
666   margin:6px 0 0 0;
667   border-collapse:collapse;
668 }
669
670 td.gsc-input {
671   padding:0 2px;
672   width:100%;
673   vertical-align:middle;
674 }
675
676 input.gsc-input {
677   border:1px solid #BCCDF0;
678   width:99%;
679   padding-left:2px;
680   font-size:.95em;
681 }
682
683 td.gsc-search-button {
684   text-align: right;
685   padding:0;
686   vertical-align:top;
687 }
688
689 #search-button {
690   margin:0 0 0 2px;
691   font-size:11px;
692   height:1.8em;
693 }
694
695 /* search result tabs */
696
697 #doc-content .gsc-control {
698   position:relative;
699 }
700
701 #doc-content .gsc-tabsArea {
702   position:relative;
703   white-space:nowrap;
704 }
705
706 #doc-content .gsc-tabHeader {
707   padding: 3px 6px;
708   position:relative;
709 }
710
711 #doc-content .gsc-tabHeader.gsc-tabhActive {
712   border-top: 2px solid #94B922;
713 }
714
715 #doc-content h2#searchTitle {
716   padding:0;
717 }
718
719 #doc-content .gsc-resultsbox-visible {
720   padding:1em 0 0 6px;
721 }
722
723 /* CAROUSEL */
724
725 #homeMiddle {
726   padding: 0px 0px 0px 0px;
727   float: left;
728   width: 584px;
729   height: 580px;
730   position:relative;
731 }
732
733 #topAnnouncement {
734   background:url(images/home/bg_home_announcement.png) no-repeat 0 0;
735 }
736   
737 #homeTitle {
738   padding:15px 15px 0;
739   height:30px;  
740 }
741
742 #homeTitle h2 {
743   padding:0;
744 }
745
746 #announcement-block {
747   padding:0 15px 0;
748   overflow:hidden;
749   background: url(images/hr_gray_side.jpg) no-repeat 15px 0;
750   zoom:1;
751 }
752
753 #announcement-block>* {
754   padding:15px 0 0;
755 }
756
757 #announcement-block img {
758   float:left;
759   margin:0 30px 0 0;
760 }
761
762 #announcement {
763   float:left;
764   margin:0;
765 }
766
767 #carousel {
768   background:url(images/home/bg_home_carousel.png) no-repeat 0 0;
769   position:relative;
770   height:400px;
771 }
772
773 #carouselMain {
774   padding: 25px 21px 0;
775   height:185px;
776   background-position:top;
777   overflow:hidden;
778   position:relative;
779 }
780
781 #carouselMain img {
782   margin:0;
783 }
784
785 #homeMiddle p {
786   margin:0;
787   padding-bottom: 1em;
788 }
789
790 .clearer { clear:both; }
791
792 #arrow-left, #arrow-right {
793   float:left;
794   width:42px;
795   height:42px;
796   background-image:url(images/home/carousel_buttons_sprite.png);
797   background-repeat:no-repeat;
798 }
799 #arrow-left {
800   margin:35px 3px 0 10px;
801 }
802 #arrow-right {
803   margin:35px 10px 0 0;
804 }
805 .arrow-left-off,
806 #arrow-left.arrow-left-off:hover { 
807   background-position:0 0;
808 }
809 .arrow-right-off, 
810 #arrow-right.arrow-right-off:hover { 
811   background-position:-42px 0;
812 }
813 #arrow-left:hover { 
814   background-position:0 -42px;
815 }
816 #arrow-right:hover { 
817   background-position:-42px -42px;
818 }
819 .arrow-left-on {
820   background-position:0 0;
821 }
822 .arrow-right-on {
823   background-position:-42px 0;
824 }
825 .arrow-right-off,
826 .arrow-left-off {
827   cursor:default;
828 }
829
830 .app-list-container {
831   margin:37px 20px 0;
832   _margin-top:33px;
833   position:relative;
834   width:100%;
835 }
836
837 div#list-clip { 
838   height:110px; 
839   width:438px;
840   overflow:hidden; 
841   position:relative; 
842   float:left; 
843 }
844
845 div#app-list { 
846   left:0; 
847   z-index:1; 
848   position:absolute;
849   margin:11px 0 0;
850   _margin-top:13px;
851   width:1000%;
852 }
853
854 #app-list a {
855   display:block;
856   float:left;
857   height:90px;
858   width:90px;
859   margin:0 24px 0;
860   padding:3px;
861   background:#99cccc;
862   -webkit-border-radius:7px;
863   -moz-border-radius:7px;
864   border-radius:7px;
865   text-decoration:none;
866   text-align:center;
867   font-size:11px;
868   line-height:11px;
869 }
870
871 #app-list a span {
872   position:relative;
873   top:-4px;
874 }
875
876 #app-list img {  
877   width:90px;
878   height:70px;
879   margin:0;
880 }
881
882 #app-list a.selected, 
883 #app-list a:active.selected, 
884 #app-list a:hover.selected {
885   background:#A4C639;
886   color:#fff;
887   cursor:default;
888   text-decoration:none;
889 }
890
891 #app-list a:hover, 
892 #app-list a:active {
893   background:#ff9900;
894 }
895
896 #app-list a:hover span, 
897 #app-list a:active span {
898   text-decoration:underline;
899 }
900
901 #droid-name {
902   padding-top:.5em;
903   color:#666;
904   padding-bottom:.25em;
905 }
906
907 /*carousel bulletin layouts*/
908 /*460px width*/
909 /*185px height*/
910 .img-left {
911   float:left;
912   width:230px;
913   height:165px;
914   overflow:hidden;
915   padding:8px 0 8px 8px;
916 }
917 .desc-right {
918   float:left;
919   width:270px;
920   padding:10px;
921 }
922 .img-right {
923   float:right;
924   width:220px;
925   height:165px;
926   overflow:hidden;
927   padding:8px 8px 8px 0;
928 }
929 .desc-left {
930   float:right;
931   width:280px;
932   padding:10px;
933   text-align:right;
934 }
935 .img-top {
936   height:80px;
937   text-align:center;
938 }
939 .desc-bottom {
940   height:100px;
941   margin:10px;
942 }
943
944
945