blob: 3bd7060ece65d601dcb7cafc8d70f6b5258855e7 [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001/* 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
10html,body,div,h1,h2,h3,h4,h5,h6,p,img,
11dl,dt,dd,ol,ul,li,table,caption,tbody,
12tfoot,thead,tr,th,td,form,fieldset,
13embed,object,applet {
14 margin: 0;
15 padding: 0;
16 border: 0;
17}
18
19/* BASICS */
20
21html, body {
22 overflow:hidden; /* keeps scrollbar off IE */
23 background-color:#fff;
24}
25
26body {
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
35a, a code {
36 color:#006699;
37}
38
39
40a:active,
41a:active code {
42 color:#f00;
43}
44
45a:visited,
46a:visited code {
47 color:#006699;
48}
49
50input, select,
51textarea, option {
Scott Maindf094242009-07-27 09:47:11 -070052 padding:0;
53 margin:0;
54}
55
56option {
57 padding:0 4px;
The Android Open Source Project88b60792009-03-03 19:28:42 -080058}
59
60p {
61 padding:0;
62 margin:0 0 1em;
63}
64
65code, pre {
66 color:#007000;
67 font-family:monospace;
68 line-height:1em;
69}
70
71var {
72 color:#007000;
73 font-style:italic;
74}
75
76pre {
77 border:1px solid #ccc;
78 background-color:#fafafa;
79 padding:10px;
80 margin:0 0 1em 1em;
81 overflow:auto;
82}
83
84h1,h2,h3,h4,h5 {
85 margin:1em 0;
86 padding:0;
87}
88
89p,ul,ol,dl,dd,dt,li {
90 line-height:1.3em;
91}
92
93ul,ol {
94 margin:0 0 .8em;
95 padding:0 0 0 2em;
96}
97
98li {
99 padding:0 0 .5em;
100}
101
102dl {
103 margin:0 0 1em 0;
104 padding:0;
105}
106
107dt {
108 margin:0;
109 padding:0;
110}
111
112dd {
113 margin:0 0 1em;
114 padding:0 0 0 2em;
115}
116
Scott Main9e541302009-04-20 11:15:26 -0700117li p {
118 margin:.5em 0 0;
119}
120
121dd p {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800122 margin:1em 0 0;
123}
124
Scott Main9e541302009-04-20 11:15:26 -0700125li pre, li table, li img {
126 margin:.5em 0 0 1em;
127}
128
The Android Open Source Project88b60792009-03-03 19:28:42 -0800129dd pre, dd table, dd img {
130 margin:1em 0 0 1em;
131}
132
133li ul,
134li ol {
135 margin:.5em 0 0 0;
136 padding: 0 0 0 2em;
137}
138
139dl li {
140 padding:.5em 0 0 0;
141}
142
143dl dl,
144ol dl,
145ul dl {
146 margin:0 0 1em;
147 padding:0;
148}
149
150table {
151 font-size:1em;
152 margin:0 0 1em;
153 padding:0;
154 border-collapse:collapse;
155 border-width:0;
156 empty-cells:show;
157}
158
159td,th {
160 border:1px solid #ccc;
161 padding:6px 12px;
162 text-align:left;
163 vertical-align:top;
164 background-color:inherit;
165}
166
167th {
168 background-color:#dee8f1;
169}
170
171hr.blue {
172 background-color:#DDF0F2;
173 border:none;
174 height:5px;
175 margin:20px 0 10px;
176}
177
178/* LAYOUT */
179#body-content {
180 margin:0;
181 position:relative;
182 width:100%;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800183}
184
185#header {
186 height: 114px;
187 position:relative;
188 z-index:100;
189 min-width:576px;
190 padding:0 10px;
191 border-bottom:3px solid #94b922;
192}
193
194#headerLeft{
195 padding: 25px 0 0;
196}
197
Scott Main3ba448c2009-07-15 15:38:17 -0700198#headerLeft img{
199 height:50px;
200 width:180px;
201}
202
The Android Open Source Project88b60792009-03-03 19:28:42 -0800203#headerRight {
204 position:absolute;
205 right:0;
206 top:0;
207 text-align:right;
208}
209
210/* Tabs in the header */
211#header ul {
212 list-style: none;
213 margin: 7px 0 0;
214 padding: 0;
215 height: 29px;
216}
217
218#header li {
219 float: left;
220 margin: 0px 2px 0px 0px;
221 padding:0;
222}
223
224#header li a {
225 text-decoration: none;
226 display: block;
227 background-image: url(images/bg_images_sprite.png);
228 background-position: 0 -58px;
229 background-repeat: no-repeat;
230 color: #666;
231 font-size: 13px;
232 font-weight: bold;
233 width: 94px;
234 height: 29px;
235 text-align: center;
236 margin: 0px;
237}
238
239#header li a:hover {
240 background-image: url(images/bg_images_sprite.png);
241 background-position: 0 -29px;
242 background-repeat: no-repeat;
243}
244
245#header li a span {
246 position:relative;
247 top:7px;
248}
249
Dirk Dougherty4405a232009-07-07 17:43:27 -0700250#header li a span+span {
251 display:none;
252}
253
The Android Open Source Project88b60792009-03-03 19:28:42 -0800254/* TAB HIGHLIGHTING */
255.home #home-link a,
The Android Open Source Project88b60792009-03-03 19:28:42 -0800256.guide #guide-link a,
257.reference #reference-link a,
258.sdk #sdk-link a,
259.community #community-link a,
Scott Main3ba448c2009-07-15 15:38:17 -0700260.videos #videos-link a {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800261 background-image: url(images/bg_images_sprite.png);
262 background-position: 0 0;
263 background-repeat: no-repeat;
264 color: #fff;
265 font-weight: bold;
266 cursor:default;
267}
268
269.home #home-link a:hover,
The Android Open Source Project88b60792009-03-03 19:28:42 -0800270.guide #guide-link a:hover,
271.reference #reference-link a:hover,
272.sdk #sdk-link a:hover,
273.community #community-link a:hover,
Scott Main3ba448c2009-07-15 15:38:17 -0700274.videos #videos-link a:hover {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800275 background-image: url(images/bg_images_sprite.png);
276 background-position: 0 0;
277}
278
279#headerLinks {
280 margin:10px 10px 0 0;
281 height:13px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800282 font-size: 11px;
283 vertical-align: top;
284}
285
286#headerLinks a {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800287 color: #7FA9B5;
Dirk Dougherty4405a232009-07-07 17:43:27 -0700288}
289
290#headerLinks img {
291 vertical-align:middle;
292}
293
294#language {
295 margin:0 10px 0 4px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800296}
297
298#search {
299 height:45px;
300 margin:15px 10px 0 0;
301}
302
303/* main */
304
305#mainBodyFluid {
306 margin: 20px 10px;
307 color:#333;
308}
309
310#mainBodyFixed {
311 margin: 20px 10px;
312 color: #333;
313 width:930px;
314 position:relative;
315}
316
317#mainBodyFixed h3,
318#mainBodyFluid h3 {
319 color:#336666;
320 font-size:1.25em;
321 margin: 0em 0em 0em 0em;
322 padding-bottom:.5em;
323}
324
325#mainBodyFixed h2,
326#mainBodyFluid h2 {
327 color:#336666;
328 font-size:1.25em;
329 margin: 0;
330 padding-bottom:.5em;
331}
332
333#mainBodyFixed h1,
334#mainBodyFluid h1 {
335 color:#435A6E;
336 font-size:1.7em;
337 margin: 1em 0;
338}
339
340#mainBodyFixed .green,
341#mainBodyFluid .green,
342#jd-content .green {
343 color:#7BB026;
344 background-color:none;
345}
346
347#mainBodyLeft {
348 float: left;
349 width: 600px;
350 margin-right: 20px;
351 color: #333;
352 position:relative;
353}
354
355div.indent {
356 margin-left: 40px;
357 margin-right: 70px;
358}
359
360#mainBodyLeft p {
361 color: #333;
362 font-size: 13px;
363}
364
365#mainBodyLeft p.blue {
366 color: #669999;
367}
368
369#mainBodyLeft #communityDiv {
370 float: left;
371 background-image:url(images/bg_community_leftDiv.jpg);
372 background-repeat: no-repeat;
373 width: 581px;
374 height: 347px;
375 padding: 20px 0px 0px 20px;
376}
377
378#mainBodyRight {
379 float: left;
380 width: 300px;
381 color: #333;
382}
383
384#mainBodyRight p {
385 padding-right: 50px;
386 color: #333;
387}
388
389#mainBodyRight table {
390 width: 100%;
391}
392
393#mainBodyRight td {
394 border:0px solid #666;
395 padding:0px 5px;
396 text-align:left;
397}
398
399#mainBodyRight .blueBorderBox {
400 border:5px solid #ddf0f2;
401 padding:18px 18px 18px 18px;
402 text-align:left;
403}
404
405#mainBodyFixed .seperator {
406 background-image:url(images/hr_gray_side.jpg);
407 background-repeat:no-repeat;
408 width: 100%;
409 float: left;
410 clear: both;
411}
412
413#mainBodyBottom {
414 float: left;
415 width: 100%;
416 clear:both;
417 color: #333;
418}
419
420#mainBodyBottom .seperator {
421 background-image:url(images/hr_gray_main.jpg);
422 background-repeat:no-repeat;
423 width: 100%;
424 float: left;
425 clear: both;
426}
427
428/* Footer */
429#footer {
430 float: left;
431 width:90%;
432 margin: 20px;
433 color: #aaa;
434 font-size: 11px;
435}
436
437#footer a {
438 color: #aaa;
439 font-size: 11px;
440}
441
442#footer a:hover {
443 text-decoration: underline;
444 color:#aaa;
445}
446
447#footerlinks {
448 margin-top:2px;
449}
450
451#footerlinks a,
452#footerlinks a:visited {
453 color:#006699;
454}
455
456#homeBottom td {
457 border:0px solid #666;
458 padding: 8px 18px 8px 18px;
459}
460
461#homeBottom table {
462 width: 100%;
463}
464
465
466#homeBottom {
467 padding: 0px 0px 0px 0px;
468 float: left;
469 width: 585px;
470 height: 165px;
471 background-image:url(images/home/bg_home_bottom.jpg);
472 background-repeat: no-repeat;
473}
474
475.groupTable {
476 width: 100%;
477}
478
479.groupTable th {
480 padding: 10px;
481 color: #ffffff;
482 background-color: #6D8293;
483 border: 2px solid #fff;
484}
485
486.groupTable td {
487 padding: 10px;
488 color: #333333;
489 background-color: #d9d9d9;
490 border: 2px solid #fff;
491}
492
493.groupTable .evenRow td {
494 background-color: #ededed;
495}
496
497span.BigBlue {
498 color:#336666;
499 font-size:1.25em;
500 margin: 0em 0em 0em 0em;
501 padding-bottom:.5em;
502 font-weight: bold;
503}
504
505span.emBlue {
506 color: #336666;
507 font-style:italic;
508}
509
510.pageTable {
511 width: 95%;
512 border: none;
513}
514
515.pageTable img {
516vertical-align: bottom;
517}
518
519.pageTable td {
520 border: none;
521}
522
523.pageTable td.leftNav {
524 width: 100px;
525}
526
527.greenBox {
528 margin: 10px 30px 10px 30px;
529 padding: 10px 20px 10px 20px;
530 background-color: #EBF3DB;
531 width: 75%;
532}
533
534.blueBox {
535 margin: 10px 30px 10px 30px;
536 padding: 10px 20px 10px 20px;
537 background-color: #DDF0F2;
538 width: 75%;
539}
540
541.blueHR {
542 margin: 10px 30px 10px 30px;
543 height: 5px;
544 background-color: #DDF0F2;
545 width: 75%;
546}
547
548/* SEARCH FILTER */
549#search_autocomplete {
550 color:#aaa;
551}
552
553#search-button {
554 display:inline;
555}
556
557#search_filtered_div {
558 position:absolute;
559 margin-top:-1px;
560 z-index:101;
561 border:1px solid #BCCDF0;
562 background-color:#fff;
563}
564
565#search_filtered {
566 min-width:100%;
567}
568#search_filtered td{
569 background-color:#fff;
570 border-bottom: 1px solid #669999;
571 line-height:1.5em;
572}
573
574#search_filtered .jd-selected {
575 background-color: #94b922;
576 cursor:pointer;
577}
578#search_filtered .jd-selected,
579#search_filtered .jd-selected a {
580 color:#fff;
581}
582
583.no-display {
584 display: none;
585}
586
587.jd-autocomplete {
588 font-family: Arial, sans-serif;
589 padding-left: 6px;
590 padding-right: 6px;
591 padding-top: 1px;
592 padding-bottom: 1px;
593 font-size: .8em;
594 border: none;
595 margin: 0;
596 line-height: 1.05em;
597}
598
599.show-row {
600 display: table-row;
601}
602.hide-row {
603 display: hidden;
604}
605
606/* SEARCH */
607
608/* restrict global search form width */
609#searchForm {
610 width:350px;
611}
612
613#searchTxt {
614 width:200px;
615}
616
617/* disable twiddle and size selectors for left column */
618#leftSearchControl div {
619 width: 100%;
620}
621
622#leftSearchControl .gsc-twiddle {
623 background-image : none;
624}
625
626#leftSearchControl td, #searchForm td {
627 border: 0px solid #000;
628}
629
630#leftSearchControl .gsc-resultsHeader .gsc-title {
631 padding-left : 0px;
632 font-weight : bold;
633 font-size : 13px;
634 color:#006699;
635 display : none;
636}
637
638#leftSearchControl .gsc-resultsHeader div.gsc-results-selector {
639 display : none;
640}
641
642#leftSearchControl .gsc-resultsRoot {
643 padding-top : 6px;
644}
645
646#leftSearchControl div.gs-visibleUrl-long {
647 display : block;
648 color:#006699;
649}
650
651.gsc-webResult div.gs-visibleUrl-short,
652table.gsc-branding,
653.gsc-clear-button {
654 display : none;
655}
656
657.gsc-cursor-box .gsc-cursor div.gsc-cursor-page,
658.gsc-cursor-box .gsc-trailing-more-results a.gsc-trailing-more-results,
659#leftSearchControl a,
660#leftSearchControl a b {
661 color:#006699;
662}
663
664.gsc-resultsHeader {
665 display: none;
666}
667
668/* Disable built in search forms */
669.gsc-control form.gsc-search-box {
670 display : none;
671}
672table.gsc-search-box {
673 margin:6px 0 0 0;
674 border-collapse:collapse;
675}
676
677td.gsc-input {
678 padding:0 2px;
679 width:100%;
680 vertical-align:middle;
681}
682
683input.gsc-input {
684 border:1px solid #BCCDF0;
685 width:99%;
686 padding-left:2px;
687 font-size:.95em;
688}
689
690td.gsc-search-button {
691 text-align: right;
692 padding:0;
693 vertical-align:top;
694}
695
696#search-button {
697 margin:0 0 0 2px;
698 font-size:11px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800699}
700
701/* search result tabs */
702
703#doc-content .gsc-control {
704 position:relative;
705}
706
707#doc-content .gsc-tabsArea {
708 position:relative;
The Android Open Source Project2f312932009-03-09 11:52:11 -0700709 white-space:nowrap;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800710}
711
712#doc-content .gsc-tabHeader {
713 padding: 3px 6px;
714 position:relative;
715}
716
717#doc-content .gsc-tabHeader.gsc-tabhActive {
718 border-top: 2px solid #94B922;
719}
720
721#doc-content h2#searchTitle {
722 padding:0;
723}
724
725#doc-content .gsc-resultsbox-visible {
726 padding:1em 0 0 6px;
727}
728
729/* CAROUSEL */
730
731#homeMiddle {
732 padding: 0px 0px 0px 0px;
733 float: left;
734 width: 584px;
735 height: 580px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800736 position:relative;
737}
738
Scott Main5eb58322009-06-12 14:02:40 -0700739#topAnnouncement {
740 background:url(images/home/bg_home_announcement.png) no-repeat 0 0;
741}
742
The Android Open Source Project88b60792009-03-03 19:28:42 -0800743#homeTitle {
Scott Main5eb58322009-06-12 14:02:40 -0700744 padding:15px 15px 0;
745 height:30px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800746}
747
748#homeTitle h2 {
749 padding:0;
750}
751
752#announcement-block {
Scott Main5eb58322009-06-12 14:02:40 -0700753 padding:0 15px 0;
754 overflow:hidden;
755 background: url(images/hr_gray_side.jpg) no-repeat 15px 0;
756 zoom:1;
757}
758
759#announcement-block>* {
760 padding:15px 0 0;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800761}
762
763#announcement-block img {
764 float:left;
765 margin:0 30px 0 0;
766}
767
768#announcement {
769 float:left;
770 margin:0;
771}
772
Scott Main5eb58322009-06-12 14:02:40 -0700773#carousel {
774 background:url(images/home/bg_home_carousel.png) no-repeat 0 0;
775 position:relative;
776 height:400px;
777}
778
779#carouselMain {
Scott Main5db40c62009-07-21 10:52:11 -0700780 background: url('/assets/images/home/bg_home_carousel_board.png') 0 0 no-repeat;
781 height:auto;
Scott Main5eb58322009-06-12 14:02:40 -0700782 padding: 25px 21px 0;
Scott Main5eb58322009-06-12 14:02:40 -0700783 overflow:hidden;
784 position:relative;
Scott Main5db40c62009-07-21 10:52:11 -0700785 zoom:1; /*IE6*/
Scott Main5eb58322009-06-12 14:02:40 -0700786}
787
788#carouselMain img {
789 margin:0;
790}
791
Scott Main5db40c62009-07-21 10:52:11 -0700792#carouselMain .bulletinDesc h3 {
793 margin:0;
794 padding:0;
795}
796
797#carouselMain .bulletinDesc p {
798 margin:0;
799 padding:0.7em 0 0;
800}
801
802#carouselWheel {
803 background: url('/assets/images/home/bg_home_carousel_wheel.png') 0 0 no-repeat;
804 padding-top:40px;
805 height:150px;
Scott Main5eb58322009-06-12 14:02:40 -0700806}
807
The Android Open Source Project88b60792009-03-03 19:28:42 -0800808.clearer { clear:both; }
809
Scott Main5db40c62009-07-21 10:52:11 -0700810a#arrow-left, a#arrow-right {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800811 float:left;
812 width:42px;
813 height:42px;
814 background-image:url(images/home/carousel_buttons_sprite.png);
815 background-repeat:no-repeat;
816}
Scott Main5db40c62009-07-21 10:52:11 -0700817a#arrow-left {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800818 margin:35px 3px 0 10px;
819}
Scott Main5db40c62009-07-21 10:52:11 -0700820a#arrow-right {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800821 margin:35px 10px 0 0;
822}
Scott Main5db40c62009-07-21 10:52:11 -0700823a.arrow-left-off,
824a#arrow-left.arrow-left-off:hover {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800825 background-position:0 0;
826}
Scott Main5db40c62009-07-21 10:52:11 -0700827a.arrow-right-off,
828a#arrow-right.arrow-right-off:hover {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800829 background-position:-42px 0;
830}
Scott Main5db40c62009-07-21 10:52:11 -0700831a#arrow-left:hover {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800832 background-position:0 -42px;
833}
Scott Main5db40c62009-07-21 10:52:11 -0700834a#arrow-right:hover {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800835 background-position:-42px -42px;
836}
Scott Main5db40c62009-07-21 10:52:11 -0700837a.arrow-left-on {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800838 background-position:0 0;
839}
Scott Main5db40c62009-07-21 10:52:11 -0700840a.arrow-right-on {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800841 background-position:-42px 0;
842}
Scott Main5db40c62009-07-21 10:52:11 -0700843a.arrow-right-off,
844a.arrow-left-off {
The Android Open Source Project88b60792009-03-03 19:28:42 -0800845 cursor:default;
846}
847
848.app-list-container {
Scott Main5db40c62009-07-21 10:52:11 -0700849 margin:0 20px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800850 position:relative;
851 width:100%;
852}
853
854div#list-clip {
855 height:110px;
856 width:438px;
857 overflow:hidden;
858 position:relative;
859 float:left;
860}
861
862div#app-list {
863 left:0;
864 z-index:1;
865 position:absolute;
866 margin:11px 0 0;
867 _margin-top:13px;
868 width:1000%;
869}
870
871#app-list a {
872 display:block;
873 float:left;
874 height:90px;
875 width:90px;
876 margin:0 24px 0;
877 padding:3px;
878 background:#99cccc;
879 -webkit-border-radius:7px;
880 -moz-border-radius:7px;
881 border-radius:7px;
882 text-decoration:none;
883 text-align:center;
884 font-size:11px;
Scott Main5eb58322009-06-12 14:02:40 -0700885 line-height:11px;
886}
887
888#app-list a span {
889 position:relative;
890 top:-4px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800891}
892
893#app-list img {
894 width:90px;
895 height:70px;
896 margin:0;
897}
898
899#app-list a.selected,
900#app-list a:active.selected,
901#app-list a:hover.selected {
902 background:#A4C639;
903 color:#fff;
904 cursor:default;
905 text-decoration:none;
906}
907
908#app-list a:hover,
909#app-list a:active {
910 background:#ff9900;
911}
912
913#app-list a:hover span,
914#app-list a:active span {
915 text-decoration:underline;
916}
917
918#droid-name {
919 padding-top:.5em;
920 color:#666;
921 padding-bottom:.25em;
922}
923
Scott Main5db40c62009-07-21 10:52:11 -0700924/*IE6*/
925* html #app-list a { zoom: 1; margin:0 24px 0 15px;}
926
927* html #list-clip {
928 width:430px !important;
929}
930
The Android Open Source Project88b60792009-03-03 19:28:42 -0800931/*carousel bulletin layouts*/
932/*460px width*/
933/*185px height*/
934.img-left {
935 float:left;
936 width:230px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800937 overflow:hidden;
Scott Main5eb58322009-06-12 14:02:40 -0700938 padding:8px 0 8px 8px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800939}
940.desc-right {
941 float:left;
942 width:270px;
Scott Main5eb58322009-06-12 14:02:40 -0700943 padding:10px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800944}
945.img-right {
946 float:right;
947 width:220px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800948 overflow:hidden;
Scott Main5eb58322009-06-12 14:02:40 -0700949 padding:8px 8px 8px 0;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800950}
951.desc-left {
952 float:right;
953 width:280px;
Scott Main5eb58322009-06-12 14:02:40 -0700954 padding:10px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800955 text-align:right;
956}
957.img-top {
Scott Main5db40c62009-07-21 10:52:11 -0700958 padding:20px 20px 0;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800959}
960.desc-bottom {
Scott Main5db40c62009-07-21 10:52:11 -0700961 padding:10px;
The Android Open Source Project88b60792009-03-03 19:28:42 -0800962}
963
964
Scott Main3ba448c2009-07-15 15:38:17 -0700965/* VIDEO PAGE */
The Android Open Source Project88b60792009-03-03 19:28:42 -0800966
Scott Main3ba448c2009-07-15 15:38:17 -0700967#mainBodyLeft.videoPlayer {
968 width:570px;
969}
970
971#mainBodyRight.videoPlayer {
972 width:330px;
973}
974
975/* player */
976
977#videoPlayerBox {
978 background-color: #DAF3FC;
979 border-radius:7px;
980 -moz-border-radius:7px;
981 -webkit-border-radius:7px;
982 width:530px;
983 padding:20px;
984 border:1px solid #d3ecf5;
985 box-shadow:2px 3px 1px #eee;
986 -moz-box-shadow:2px 3px 1px #eee;
987 -webkit-box-shadow:2px 3px 1px #eee;
988}
989
990#videoBorder {
991 background-color: #FFF;
992 min-height:399px;
993 height:auto !important;
994 border:1px solid #ccdada;
995 border-radius:7px 7px 0 0;
996 -moz-border-radius:7px 7px 0 0;
997 -webkit-border-top-left-radius:7px;
998 -webkit-border-top-right-radius:7px;
999}
1000
1001#videoPlayerTitle {
1002 width:500px;
1003 padding:15px 15px 0;
1004}
1005
1006#videoPlayerTitle h2 {
1007 font-weight:bold;
1008 font-size:1.2em;
1009 color:#336666;
1010 margin:0;
1011 padding:0;
1012}
1013
1014#objectWrapper {
1015 padding:15px 15px;
1016 height:334px;
1017 width:500px;
1018}
1019
1020/* playlist tabs */
1021
1022ul#videoTabs {
1023 list-style-type:none;
1024 padding:0;
1025 clear:both;
1026 margin:0;
1027 padding: 20px 0 0 15px;
1028 zoom:1; /* IE7/8, otherwise top-padding is double */
1029}
1030
1031ul#videoTabs li {
1032 display:inline;
1033 padding:0;
1034 margin:0 3px 0 0;
1035 line-height:2em;
1036}
1037
1038ul#videoTabs li a {
1039 border-radius:7px 7px 0 0;
1040 -moz-border-radius:7px 7px 0 0;
1041 -webkit-border-top-left-radius:7px;
1042 -webkit-border-top-right-radius:7px;
1043 background:#95c0d0;
1044 color:#fff;
1045 text-decoration:none;
1046 padding:.45em 1.5em;
1047 font-weight:bold;
1048}
1049
1050ul#videoTabs li.selected a {
1051 font-weight:bold;
1052 text-decoration:none;
1053 color:#555;
1054 background:#daf3fc;
1055 border-bottom:1px solid #daf3fc;
1056}
1057
1058ul#videoTabs li:hover a {
1059 background:#85acba;
1060}
1061
1062ul#videoTabs li.selected:hover a {
1063 background:#daf3fc;
1064}
1065
1066/* playlists */
1067
1068#videos {
1069 background:#daf3fc;
1070 margin-bottom:1.5em;
1071 padding:15px;
1072 border-radius:5px;
1073 -moz-border-radius:5px;
1074 -webkit-border-radius:5px;
1075 box-shadow:2px 3px 1px #eee;
1076 -moz-box-shadow:2px 3px 1px #eee;
1077 -webkit-box-shadow:2px 3px 1px #eee;
1078}
1079
1080#videos div {
1081 display:none;
1082}
1083
1084#videos div.selected {
1085 display:block;
1086}
1087
1088ul.videoPreviews {
1089 list-style:none;
1090 padding:0;
1091 margin:0;
1092 zoom:1; /* IE, otherwise, layout doesn't update when showing 'more' */
1093}
1094
1095ul.videoPreviews li {
1096 margin:0 0 5px;
1097 padding:0;
1098 overflow:hidden;
1099 position:relative;
1100}
1101
1102#mainBodyFixed ul.videoPreviews h3 {
1103 font-size: 12px;
1104 margin:0 0 1em 130px;
1105 padding:0;
1106 font-weight:bold;
1107 color:inherit;
1108}
1109
1110ul.videoPreviews a {
1111 margin:1px;
1112 padding:10px;
1113 text-decoration:none;
1114 height:90px;
1115 display:block;
1116 border-radius:5px;
1117 -moz-border-radius:5px;
1118 -webkit-border-radius:5px;
1119 background-color:transparent;
1120}
1121
1122ul.videoPreviews a:hover {
1123 background-color:#FFF;
1124 border:none; /* IE8, otherwise, bg doesn't work */
1125}
1126
1127ul.videoPreviews a.selected {
1128 background-color: #FF9900;
1129}
1130
1131ul.videoPreviews img {
1132 float:left;
1133 clear:left;
1134 margin:0;
1135}
1136
1137ul.videoPreviews h3 {
1138 font-size:12px;
1139 font-weight:bold;
1140 text-decoration:none;
1141 margin:0 0 1em 130px;
1142 padding:0;
1143}
1144
1145ul.videoPreviews p {
1146 font-size: 12px;
1147 text-decoration:none;
1148 margin:0 0 1.2em 130px;
1149}
1150
1151ul.videoPreviews p.full {
1152 display:none;
1153}
1154
1155ul.videoPreviews span.more {
1156 padding:0 0 0 12px;
1157 background:url('/assets/images/arrow_bluelink_down.png') 0 2px no-repeat;
1158}
1159
1160ul.videoPreviews span.less {
1161 padding:0 0 0 12px;
1162 background:url('/assets/images/arrow_bluelink_up.png') 0 2px no-repeat;
1163 display:none;
1164}
1165
1166ul.videoPreviews p.toggle {
1167 position:absolute;
1168 margin:0;
1169 margin-top:-23px; /* instead of bottom:23px, because IE won't do it correctly */
1170 left:140px;
1171}
1172
1173ul.videoPreviews p.toggle a {
1174 height:auto;
1175 margin:0;
1176 padding:0;
1177 zoom:1; /* IE6, otherwise the margin considers the img on redraws */
1178}
1179
1180ul.videoPreviews p.toggle a:hover {
1181 text-decoration:underline;
1182 background:transparent; /* IE6, otherwise it inherits white */
1183}
1184
1185/* featured videos */
1186
1187#mainBodyRight h2 {
1188 padding:0 0 5px;
1189}
1190
1191#mainBodyRight ul.videoPreviews {
1192 margin:10px 0 0;
1193}
1194
1195#mainBodyRight ul.videoPreviews li {
1196 font-size:11px;
1197 line-height:13px;
1198 margin:0 0 5px;
1199 padding:0;
1200}
1201
1202#mainBodyRight ul.videoPreviews h3 {
1203 padding:0;
1204 margin:0;
1205}
1206
1207#mainBodyRight ul.videoPreviews a {
1208 text-decoration:none;
1209 height:108px;
1210 border:1px solid #FFF;
1211}
1212
1213#mainBodyRight ul.videoPreviews a:hover {
1214 border:1px solid #CCDADA;
1215}
1216
1217#mainBodyRight ul.videoPreviews a.selected {
1218 border:1px solid #FFF;
1219}
1220
1221#mainBodyRight ul.videoPreviews p {
1222 line-height:1.2em;
1223 padding:0;
1224 margin:4px 0 0 130px;
1225}
1226
1227#mainBodyRight ul.videoPreviews img {
1228 margin-top:5px;
1229}