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