The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 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 { |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 52 | padding:0; |
| 53 | margin:0; |
| 54 | } |
| 55 | |
| 56 | option { |
| 57 | padding:0 4px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | p { |
| 61 | padding:0; |
| 62 | margin:0 0 1em; |
| 63 | } |
| 64 | |
| 65 | code, pre { |
| 66 | color:#007000; |
| 67 | font-family:monospace; |
| 68 | line-height:1em; |
| 69 | } |
| 70 | |
| 71 | var { |
| 72 | color:#007000; |
| 73 | font-style:italic; |
| 74 | } |
| 75 | |
| 76 | pre { |
| 77 | border:1px solid #ccc; |
| 78 | background-color:#fafafa; |
| 79 | padding:10px; |
| 80 | margin:0 0 1em 1em; |
| 81 | overflow:auto; |
| 82 | } |
| 83 | |
| 84 | h1,h2,h3,h4,h5 { |
| 85 | margin:1em 0; |
| 86 | padding:0; |
| 87 | } |
| 88 | |
| 89 | p,ul,ol,dl,dd,dt,li { |
| 90 | line-height:1.3em; |
| 91 | } |
| 92 | |
| 93 | ul,ol { |
| 94 | margin:0 0 .8em; |
| 95 | padding:0 0 0 2em; |
| 96 | } |
| 97 | |
| 98 | li { |
| 99 | padding:0 0 .5em; |
| 100 | } |
| 101 | |
| 102 | dl { |
| 103 | margin:0 0 1em 0; |
| 104 | padding:0; |
| 105 | } |
| 106 | |
| 107 | dt { |
| 108 | margin:0; |
| 109 | padding:0; |
| 110 | } |
| 111 | |
| 112 | dd { |
| 113 | margin:0 0 1em; |
| 114 | padding:0 0 0 2em; |
| 115 | } |
| 116 | |
Scott Main | 9e54130 | 2009-04-20 11:15:26 -0700 | [diff] [blame] | 117 | li p { |
| 118 | margin:.5em 0 0; |
| 119 | } |
| 120 | |
| 121 | dd p { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 122 | margin:1em 0 0; |
| 123 | } |
| 124 | |
Scott Main | 9e54130 | 2009-04-20 11:15:26 -0700 | [diff] [blame] | 125 | li pre, li table, li img { |
| 126 | margin:.5em 0 0 1em; |
| 127 | } |
| 128 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 129 | dd pre, dd table, dd img { |
| 130 | margin:1em 0 0 1em; |
| 131 | } |
| 132 | |
| 133 | li ul, |
| 134 | li ol { |
| 135 | margin:.5em 0 0 0; |
| 136 | padding: 0 0 0 2em; |
| 137 | } |
| 138 | |
| 139 | dl li { |
| 140 | padding:.5em 0 0 0; |
| 141 | } |
| 142 | |
| 143 | dl dl, |
| 144 | ol dl, |
| 145 | ul dl { |
| 146 | margin:0 0 1em; |
| 147 | padding:0; |
| 148 | } |
| 149 | |
| 150 | table { |
| 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 | |
| 159 | td,th { |
| 160 | border:1px solid #ccc; |
| 161 | padding:6px 12px; |
| 162 | text-align:left; |
| 163 | vertical-align:top; |
| 164 | background-color:inherit; |
| 165 | } |
| 166 | |
| 167 | th { |
| 168 | background-color:#dee8f1; |
| 169 | } |
| 170 | |
| 171 | hr.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 Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 183 | } |
| 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 Main | 3ba448c | 2009-07-15 15:38:17 -0700 | [diff] [blame] | 198 | #headerLeft img{ |
| 199 | height:50px; |
| 200 | width:180px; |
| 201 | } |
| 202 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 203 | #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 Dougherty | 4405a23 | 2009-07-07 17:43:27 -0700 | [diff] [blame] | 250 | #header li a span+span { |
| 251 | display:none; |
| 252 | } |
| 253 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 254 | /* TAB HIGHLIGHTING */ |
| 255 | .home #home-link a, |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 256 | .guide #guide-link a, |
| 257 | .reference #reference-link a, |
| 258 | .sdk #sdk-link a, |
| 259 | .community #community-link a, |
Scott Main | 3ba448c | 2009-07-15 15:38:17 -0700 | [diff] [blame] | 260 | .videos #videos-link a { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 261 | 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 Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 270 | .guide #guide-link a:hover, |
| 271 | .reference #reference-link a:hover, |
| 272 | .sdk #sdk-link a:hover, |
| 273 | .community #community-link a:hover, |
Scott Main | 3ba448c | 2009-07-15 15:38:17 -0700 | [diff] [blame] | 274 | .videos #videos-link a:hover { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 275 | 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 Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 282 | font-size: 11px; |
| 283 | vertical-align: top; |
| 284 | } |
| 285 | |
| 286 | #headerLinks a { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 287 | color: #7FA9B5; |
Dirk Dougherty | 4405a23 | 2009-07-07 17:43:27 -0700 | [diff] [blame] | 288 | } |
| 289 | |
| 290 | #headerLinks img { |
| 291 | vertical-align:middle; |
| 292 | } |
| 293 | |
| 294 | #language { |
| 295 | margin:0 10px 0 4px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 296 | } |
| 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 | |
| 355 | div.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 | |
| 497 | span.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 | |
| 505 | span.emBlue { |
| 506 | color: #336666; |
| 507 | font-style:italic; |
| 508 | } |
| 509 | |
| 510 | .pageTable { |
| 511 | width: 95%; |
| 512 | border: none; |
| 513 | } |
| 514 | |
| 515 | .pageTable img { |
| 516 | vertical-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, |
| 652 | table.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 | } |
| 672 | table.gsc-search-box { |
| 673 | margin:6px 0 0 0; |
| 674 | border-collapse:collapse; |
| 675 | } |
| 676 | |
| 677 | td.gsc-input { |
| 678 | padding:0 2px; |
| 679 | width:100%; |
| 680 | vertical-align:middle; |
| 681 | } |
| 682 | |
| 683 | input.gsc-input { |
| 684 | border:1px solid #BCCDF0; |
| 685 | width:99%; |
| 686 | padding-left:2px; |
| 687 | font-size:.95em; |
| 688 | } |
| 689 | |
| 690 | td.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 Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 699 | } |
| 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 Project | 2f31293 | 2009-03-09 11:52:11 -0700 | [diff] [blame] | 709 | white-space:nowrap; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 710 | } |
| 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 Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 736 | position:relative; |
| 737 | } |
| 738 | |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 739 | #topAnnouncement { |
| 740 | background:url(images/home/bg_home_announcement.png) no-repeat 0 0; |
| 741 | } |
| 742 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 743 | #homeTitle { |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 744 | padding:15px 15px 0; |
| 745 | height:30px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 746 | } |
| 747 | |
| 748 | #homeTitle h2 { |
| 749 | padding:0; |
| 750 | } |
| 751 | |
| 752 | #announcement-block { |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 753 | 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 Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 761 | } |
| 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 Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 773 | #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 Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 780 | background: url('/assets/images/home/bg_home_carousel_board.png') 0 0 no-repeat; |
| 781 | height:auto; |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 782 | padding: 25px 21px 0; |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 783 | overflow:hidden; |
| 784 | position:relative; |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 785 | zoom:1; /*IE6*/ |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 786 | } |
| 787 | |
| 788 | #carouselMain img { |
| 789 | margin:0; |
| 790 | } |
| 791 | |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 792 | #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 Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 806 | } |
| 807 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 808 | .clearer { clear:both; } |
| 809 | |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 810 | a#arrow-left, a#arrow-right { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 811 | 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 Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 817 | a#arrow-left { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 818 | margin:35px 3px 0 10px; |
| 819 | } |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 820 | a#arrow-right { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 821 | margin:35px 10px 0 0; |
| 822 | } |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 823 | a.arrow-left-off, |
| 824 | a#arrow-left.arrow-left-off:hover { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 825 | background-position:0 0; |
| 826 | } |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 827 | a.arrow-right-off, |
| 828 | a#arrow-right.arrow-right-off:hover { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 829 | background-position:-42px 0; |
| 830 | } |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 831 | a#arrow-left:hover { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 832 | background-position:0 -42px; |
| 833 | } |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 834 | a#arrow-right:hover { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 835 | background-position:-42px -42px; |
| 836 | } |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 837 | a.arrow-left-on { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 838 | background-position:0 0; |
| 839 | } |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 840 | a.arrow-right-on { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 841 | background-position:-42px 0; |
| 842 | } |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 843 | a.arrow-right-off, |
| 844 | a.arrow-left-off { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 845 | cursor:default; |
| 846 | } |
| 847 | |
| 848 | .app-list-container { |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 849 | margin:0 20px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 850 | position:relative; |
| 851 | width:100%; |
| 852 | } |
| 853 | |
| 854 | div#list-clip { |
| 855 | height:110px; |
| 856 | width:438px; |
| 857 | overflow:hidden; |
| 858 | position:relative; |
| 859 | float:left; |
| 860 | } |
| 861 | |
| 862 | div#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 Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 885 | line-height:11px; |
| 886 | } |
| 887 | |
| 888 | #app-list a span { |
| 889 | position:relative; |
| 890 | top:-4px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 891 | } |
| 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 Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 924 | /*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 Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 931 | /*carousel bulletin layouts*/ |
| 932 | /*460px width*/ |
| 933 | /*185px height*/ |
| 934 | .img-left { |
| 935 | float:left; |
| 936 | width:230px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 937 | overflow:hidden; |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 938 | padding:8px 0 8px 8px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 939 | } |
| 940 | .desc-right { |
| 941 | float:left; |
| 942 | width:270px; |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 943 | padding:10px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 944 | } |
| 945 | .img-right { |
| 946 | float:right; |
| 947 | width:220px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 948 | overflow:hidden; |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 949 | padding:8px 8px 8px 0; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 950 | } |
| 951 | .desc-left { |
| 952 | float:right; |
| 953 | width:280px; |
Scott Main | 5eb5832 | 2009-06-12 14:02:40 -0700 | [diff] [blame] | 954 | padding:10px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 955 | text-align:right; |
| 956 | } |
| 957 | .img-top { |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 958 | padding:20px 20px 0; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 959 | } |
| 960 | .desc-bottom { |
Scott Main | 5db40c6 | 2009-07-21 10:52:11 -0700 | [diff] [blame] | 961 | padding:10px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 962 | } |
| 963 | |
| 964 | |
Scott Main | 3ba448c | 2009-07-15 15:38:17 -0700 | [diff] [blame] | 965 | /* VIDEO PAGE */ |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 966 | |
Scott Main | 3ba448c | 2009-07-15 15:38:17 -0700 | [diff] [blame] | 967 | #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 | |
| 1022 | ul#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 | |
| 1031 | ul#videoTabs li { |
| 1032 | display:inline; |
| 1033 | padding:0; |
| 1034 | margin:0 3px 0 0; |
| 1035 | line-height:2em; |
| 1036 | } |
| 1037 | |
| 1038 | ul#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 | |
| 1050 | ul#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 | |
| 1058 | ul#videoTabs li:hover a { |
| 1059 | background:#85acba; |
| 1060 | } |
| 1061 | |
| 1062 | ul#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 | |
| 1088 | ul.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 | |
| 1095 | ul.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 | |
| 1110 | ul.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 | |
| 1122 | ul.videoPreviews a:hover { |
| 1123 | background-color:#FFF; |
| 1124 | border:none; /* IE8, otherwise, bg doesn't work */ |
| 1125 | } |
| 1126 | |
| 1127 | ul.videoPreviews a.selected { |
| 1128 | background-color: #FF9900; |
| 1129 | } |
| 1130 | |
| 1131 | ul.videoPreviews img { |
| 1132 | float:left; |
| 1133 | clear:left; |
| 1134 | margin:0; |
| 1135 | } |
| 1136 | |
| 1137 | ul.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 | |
| 1145 | ul.videoPreviews p { |
| 1146 | font-size: 12px; |
| 1147 | text-decoration:none; |
| 1148 | margin:0 0 1.2em 130px; |
| 1149 | } |
| 1150 | |
| 1151 | ul.videoPreviews p.full { |
| 1152 | display:none; |
| 1153 | } |
| 1154 | |
| 1155 | ul.videoPreviews span.more { |
| 1156 | padding:0 0 0 12px; |
| 1157 | background:url('/assets/images/arrow_bluelink_down.png') 0 2px no-repeat; |
| 1158 | } |
| 1159 | |
| 1160 | ul.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 | |
| 1166 | ul.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 | |
| 1173 | ul.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 | |
| 1180 | ul.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 | } |