OSDN Git Service

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