| Roman Nurik | 7379046 | 2011-12-22 16:18:19 -0800 | [diff] [blame] | 1 | /* color definitions */ |
| 2 | /* 16 column layout */ |
| 3 | /* clearfix idiom */ |
| 4 | /* common mixins */ |
| 5 | /* page layout + top-level styles */ |
| 6 | ::-moz-selection, |
| 7 | ::-webkit-selection, |
| 8 | ::selection { |
| 9 | background-color: #0099cc; |
| 10 | color: #fff; } |
| 11 | |
| 12 | html, body { |
| 13 | height: 100%; |
| 14 | margin: 0; |
| 15 | padding: 0; |
| 16 | background: #eee none no-repeat fixed top left; |
| 17 | background-image: -webkit-gradient(linear, 100% 0%, 100% 100%, from(#dddddd), color-stop(25%, #f2f2f2), color-stop(75%, #f2f2f2), to(#dddddd)); |
| 18 | background-image: -moz-linear-gradient(top, #dddddd, #f2f2f2, #f2f2f2, #dddddd); |
| 19 | -webkit-font-smoothing: antialiased; |
| 20 | /* prevent subpixel antialiasing, which thickens the text */ |
| 21 | text-rendering: optimizeLegibility; |
| 22 | /* opentype ftw */ } |
| 23 | |
| 24 | body { |
| 25 | color: #555555; |
| 26 | font: 14px/20px Roboto, sans-serif; |
| 27 | font-weight: 400; } |
| 28 | |
| 29 | #page-container { |
| 30 | width: 940px; |
| 31 | margin: 0 40px; } |
| 32 | |
| 33 | #page-header { |
| 34 | height: 80px; |
| 35 | margin-bottom: 20px; |
| 36 | font-size: 48px; |
| 37 | line-height: 48px; |
| 38 | font-weight: 100; |
| 39 | padding-left: 10px; } |
| 40 | #page-header a { |
| 41 | display: block; |
| 42 | position: relative; |
| 43 | top: 20px; |
| 44 | text-decoration: none; |
| 45 | color: #555555 !important; } |
| 46 | |
| 47 | #main-row { |
| 48 | display: inline-block; } |
| 49 | #main-row:after { |
| 50 | content: "."; |
| 51 | display: block; |
| 52 | height: 0; |
| 53 | clear: both; |
| 54 | visibility: hidden; } |
| 55 | * html #main-row { |
| 56 | height: 1px; } |
| 57 | |
| 58 | #page-footer { |
| 59 | margin-left: 190px; |
| 60 | margin-top: 80px; |
| 61 | color: #999999; |
| 62 | padding-bottom: 40px; |
| 63 | font-size: 12px; |
| 64 | line-height: 15px; } |
| 65 | #page-footer a { |
| 66 | color: #777777; } |
| 67 | #page-footer #copyright { |
| 68 | margin-bottom: 10px; } |
| 69 | |
| 70 | #nav { |
| 71 | width: 160px; |
| 72 | margin-right: 20px; |
| 73 | float: left; } |
| 74 | |
| 75 | #content { |
| 76 | width: 760px; |
| 77 | float: left; } |
| 78 | |
| 79 | a, |
| 80 | a:visited { |
| 81 | color: #333333; } |
| 82 | |
| 83 | a:hover, |
| 84 | acronym:hover { |
| 85 | color: #7aa1b0 !important; } |
| 86 | |
| 87 | a:focus, |
| 88 | a:active { |
| 89 | color: #33b5e5 !important; } |
| 90 | |
| 91 | img { |
| 92 | border: none; } |
| 93 | |
| 94 | ul { |
| 95 | margin: 0; |
| 96 | padding: 0; } |
| 97 | |
| 98 | strong { |
| 99 | font-weight: 500; } |
| 100 | |
| 101 | em { |
| 102 | font-style: italic; } |
| 103 | |
| 104 | code { |
| 105 | font-family: Courier New, monospace; } |
| 106 | |
| 107 | acronym { |
| 108 | border-bottom: 1px dotted #555555; |
| 109 | cursor: help; } |
| 110 | |
| 111 | acronym:hover { |
| 112 | border-bottom-color: #7aa1b0; } |
| 113 | |
| 114 | img.with-shadow, |
| 115 | video.with-shadow { |
| 116 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); } |
| 117 | |
| 118 | /* disclosures mixin */ |
| 119 | /* content layout */ |
| 120 | .layout-content-row { |
| 121 | display: inline-block; |
| 122 | margin-bottom: 10px; } |
| 123 | .layout-content-row:after { |
| 124 | content: "."; |
| 125 | display: block; |
| 126 | height: 0; |
| 127 | clear: both; |
| 128 | visibility: hidden; } |
| 129 | * html .layout-content-row { |
| 130 | height: 1px; } |
| 131 | |
| 132 | .layout-content-col { |
| 133 | float: left; |
| 134 | margin-left: 20px; } |
| 135 | .layout-content-col:first-child { |
| 136 | margin-left: 0; } |
| 137 | |
| 138 | .layout-content-col.span-1 { |
| 139 | width: 40px; } |
| 140 | |
| 141 | .layout-content-col.span-2 { |
| 142 | width: 100px; } |
| 143 | |
| 144 | .layout-content-col.span-3 { |
| 145 | width: 160px; } |
| 146 | |
| 147 | .layout-content-col.span-4 { |
| 148 | width: 220px; } |
| 149 | |
| 150 | .layout-content-col.span-5 { |
| 151 | width: 280px; } |
| 152 | |
| 153 | .layout-content-col.span-6 { |
| 154 | width: 340px; } |
| 155 | |
| 156 | .layout-content-col.span-7 { |
| 157 | width: 400px; } |
| 158 | |
| 159 | .layout-content-col.span-8 { |
| 160 | width: 460px; } |
| 161 | |
| 162 | .layout-content-col.span-9 { |
| 163 | width: 520px; } |
| 164 | |
| 165 | .layout-content-col.span-10 { |
| 166 | width: 580px; } |
| 167 | |
| 168 | .layout-content-col.span-11 { |
| 169 | width: 640px; } |
| 170 | |
| 171 | .layout-content-col.span-12 { |
| 172 | width: 700px; } |
| 173 | |
| 174 | .layout-content-col.span-13 { |
| 175 | width: 760px; } |
| 176 | |
| 177 | .vspace.size-1 { |
| 178 | height: 10px; } |
| 179 | |
| 180 | .vspace.size-2 { |
| 181 | height: 20px; } |
| 182 | |
| 183 | .vspace.size-3 { |
| 184 | height: 30px; } |
| 185 | |
| 186 | .vspace.size-4 { |
| 187 | height: 40px; } |
| 188 | |
| 189 | .vspace.size-5 { |
| 190 | height: 50px; } |
| 191 | |
| 192 | .vspace.size-6 { |
| 193 | height: 60px; } |
| 194 | |
| 195 | .vspace.size-7 { |
| 196 | height: 70px; } |
| 197 | |
| 198 | .vspace.size-8 { |
| 199 | height: 80px; } |
| 200 | |
| 201 | .vspace.size-9 { |
| 202 | height: 90px; } |
| 203 | |
| 204 | .vspace.size-10 { |
| 205 | height: 100px; } |
| 206 | |
| 207 | .vspace.size-11 { |
| 208 | height: 110px; } |
| 209 | |
| 210 | .vspace.size-12 { |
| 211 | height: 120px; } |
| 212 | |
| 213 | .vspace.size-13 { |
| 214 | height: 130px; } |
| 215 | |
| 216 | .vspace.size-14 { |
| 217 | height: 140px; } |
| 218 | |
| 219 | .vspace.size-15 { |
| 220 | height: 150px; } |
| 221 | |
| 222 | .vspace.size-16 { |
| 223 | height: 160px; } |
| 224 | |
| 225 | /* nav */ |
| 226 | #nav { |
| 227 | /* section header divs */ |
| 228 | /* expanded section header divs */ |
| 229 | /* sublinks */ } |
| 230 | #nav li { |
| 231 | list-style-type: none; |
| 232 | font-size: 14px; |
| 233 | line-height: 10px; } |
| 234 | #nav a { |
| 235 | color: #555555; |
| 236 | text-decoration: none; } |
| 237 | #nav li.selected > a, |
| 238 | #nav li.selected .nav-section-header a { |
| 239 | font-weight: 500; |
| 240 | color: #0099cc !important; } |
| 241 | #nav .nav-section-header { |
| 242 | position: relative; |
| 243 | padding: 10px; |
| 244 | margin-bottom: 1px; |
| 245 | /* section header links */ } |
| 246 | #nav .nav-section-header a { |
| 247 | color: #333333; |
| 248 | font-weight: 500; |
| 249 | text-transform: uppercase; } |
| 250 | #nav .nav-section-header:after { |
| 251 | content: ''; |
| 252 | background: transparent url(disclosure_down.png) no-repeat scroll top left; |
| 253 | width: 10px; |
| 254 | height: 10px; |
| 255 | display: block; |
| 256 | position: absolute; |
| 257 | top: 10px; |
| 258 | right: 10px; } |
| 259 | #nav li.expanded .nav-section-header { |
| 260 | background: rgba(0, 0, 0, 0.05); } |
| 261 | #nav li.expanded .nav-section-header:after { |
| 262 | content: ''; |
| 263 | background: transparent url(disclosure_up.png) no-repeat scroll top left; |
| 264 | width: 10px; |
| 265 | height: 10px; } |
| 266 | #nav > li > ul { |
| 267 | height: 0; |
| 268 | overflow: hidden; |
| 269 | margin-bottom: 0; } |
| 270 | #nav > li > ul.animate-height { |
| 271 | transition: height 0.25s ease-in; |
| 272 | -webkit-transition: height 0.25s ease-in; |
| 273 | -moz-transition: height 0.25s ease-in; } |
| 274 | #nav > li > ul li { |
| 275 | padding: 10px 10px 11px 10px; } |
| 276 | #nav > li.expanded > ul { |
| 277 | height: auto; } |
| 278 | #nav > li.expanded > ul li { |
| 279 | background: rgba(0, 0, 0, 0.03); } |
| 280 | #nav #back-dac-section { |
| 281 | padding: 10px; |
| Roman Nurik | aaaafca | 2012-01-12 13:57:44 -0800 | [diff] [blame] | 282 | border-top: 1px solid #ddd; } |
| Roman Nurik | 7379046 | 2011-12-22 16:18:19 -0800 | [diff] [blame] | 283 | #nav #back-dac-section a { |
| 284 | color: #333333; |
| 285 | font-weight: 500; |
| 286 | text-transform: uppercase; } |
| 287 | |
| 288 | /* content header */ |
| 289 | .content-header { |
| 290 | border-bottom: 1px solid #33b5e5; |
| 291 | height: 30px; } |
| 292 | .content-header h2 { |
| 293 | border-bottom: 0; } |
| 294 | .content-header.just-links { |
| 295 | border-bottom: 0; } |
| 296 | |
| 297 | .content-footer { |
| 298 | border-top: 1px solid #33b5e5; |
| 299 | margin-top: 10px; |
| 300 | height: 30px; } |
| 301 | |
| 302 | .paging-links { |
| 303 | position: relative; } |
| 304 | .paging-links a { |
| 305 | position: absolute; |
| 306 | font-size: 14px; |
| 307 | line-height: 30px; |
| 308 | color: #555555; |
| 309 | text-decoration: none; |
| 310 | text-transform: uppercase; } |
| 311 | .paging-links .prev-page-link { |
| 312 | display: none; |
| 313 | left: -5px; } |
| 314 | .paging-links .prev-page-link:before { |
| 315 | content: ''; |
| 316 | background: transparent url(disclosure_left.png) no-repeat scroll top left; |
| 317 | width: 10px; |
| 318 | height: 10px; |
| 319 | display: inline-block; |
| 320 | margin-right: 5px; } |
| 321 | .paging-links .next-page-link { |
| 322 | display: none; |
| 323 | right: 10px; } |
| 324 | .paging-links .next-page-link:after { |
| 325 | content: ''; |
| 326 | background: transparent url(disclosure_right.png) no-repeat scroll top left; |
| 327 | width: 10px; |
| 328 | height: 10px; |
| 329 | display: inline-block; |
| 330 | margin-left: 5px; } |
| 331 | |
| 332 | /* content body */ |
| 333 | #content p, |
| 334 | #content ul, |
| 335 | #content ol, |
| 336 | #content h3 { |
| 337 | margin: 0 10px 10px 10px; } |
| 338 | #content h2 { |
| 339 | padding-left: 10px; |
| 340 | padding-right: 10px; |
| 341 | margin-bottom: 10px; |
| 342 | font-size: 16px; |
| 343 | line-height: 30px; |
| 344 | font-weight: 500; |
| 345 | color: #33b5e5; |
| 346 | border-bottom: 1px solid #33b5e5; |
| 347 | height: 30px; } |
| 348 | #content hr { |
| 349 | border: 0; |
| 350 | border-bottom: 1px solid #33b5e5; |
| 351 | margin-bottom: 20px; } |
| 352 | #content h3 { |
| 353 | color: #33b5e5; |
| 354 | text-transform: uppercase; |
| 355 | font-size: 14px; |
| 356 | line-height: 20px; |
| 357 | font-weight: 500; } |
| 358 | #content h4 { |
| 359 | margin: 0 10px; |
| 360 | color: #333333; |
| 361 | font-weight: 500; |
| 362 | font-size: 14px; |
| 363 | line-height: 20px; } |
| 364 | #content strong { |
| 365 | color: #333333; } |
| 366 | #content ul li, |
| 367 | #content ol li { |
| 368 | margin-left: 20px; } |
| 369 | #content ul li h4, |
| 370 | #content ol li h4 { |
| 371 | margin: 0; } |
| 372 | #content ul li p, |
| 373 | #content ol li p { |
| 374 | margin-left: 0; } |
| 375 | #content ul li { |
| 376 | list-style-type: square; |
| 377 | list-style-type: none; |
| 378 | position: relative; } |
| 379 | #content ul li:before { |
| 380 | content: '\2022'; |
| 381 | font-family: verdana; |
| 382 | font-size: 14px; |
| 383 | line-height: 20px; |
| 384 | position: absolute; |
| 385 | left: -20px; |
| 386 | top: -1px; } |
| 387 | #content ol { |
| 388 | counter-reset: item; } |
| 389 | #content ol li { |
| 390 | font-size: 14px; |
| 391 | line-height: 20px; |
| 392 | list-style-type: none; |
| 393 | position: relative; } |
| 394 | #content ol li:before { |
| 395 | content: counter(item) ". "; |
| 396 | counter-increment: item; |
| 397 | position: absolute; |
| 398 | left: -20px; |
| 399 | top: 0; } |
| 400 | #content ol li.value-1:before { |
| 401 | content: "1. "; } |
| 402 | #content ol li.value-2:before { |
| 403 | content: "2. "; } |
| 404 | #content ol li.value-3:before { |
| 405 | content: "3. "; } |
| 406 | #content ol li.value-4:before { |
| 407 | content: "4. "; } |
| 408 | #content ol li.value-5:before { |
| 409 | content: "5. "; } |
| 410 | #content ol li.value-6:before { |
| 411 | content: "6. "; } |
| 412 | #content ol li.value-7:before { |
| 413 | content: "7. "; } |
| 414 | #content ol li.value-8:before { |
| 415 | content: "8. "; } |
| 416 | #content ol li.value-9:before { |
| 417 | content: "9. "; } |
| 418 | #content ol li.value-10:before { |
| 419 | content: "10. "; } |
| 420 | #content .with-callouts ol li { |
| 421 | list-style-position: inside; |
| 422 | margin-left: 0; } |
| 423 | #content .with-callouts ol li:before { |
| 424 | position: static; |
| 425 | display: inline; |
| 426 | left: 0; |
| 427 | float: left; |
| 428 | width: 17px; |
| 429 | color: #33b5e5; |
| 430 | font-weight: 500; } |
| 431 | |
| 432 | /* special list items */ |
| 433 | li.no-bullet { |
| 434 | list-style-type: none !important; } |
| 435 | |
| 436 | #content li.with-icon { |
| 437 | position: relative; |
| 438 | margin-left: 40px; |
| 439 | min-height: 30px; } |
| 440 | #content li.with-icon p { |
| 441 | margin-left: 0 !important; } |
| 442 | #content li.with-icon:before { |
| 443 | position: absolute; |
| 444 | left: -40px; |
| 445 | top: 0; |
| 446 | content: ''; |
| 447 | width: 30px; |
| 448 | height: 30px; } |
| 449 | #content li.with-icon.tablet:before { |
| 450 | background-image: url(ico_phone_tablet.png); } |
| 451 | #content li.with-icon.web:before { |
| 452 | background-image: url(ico_web.png); } |
| 453 | #content li.with-icon.checklist:before { |
| 454 | background-image: url(ico_checklist.png); } |
| 455 | #content li.with-icon.action:before { |
| 456 | background-image: url(ico_action.png); } |
| 457 | #content li.with-icon.use:before { |
| 458 | background-image: url(ico_use.png); } |
| 459 | |
| 460 | /* figures and callouts */ |
| 461 | .figure { |
| 462 | position: relative; } |
| 463 | .figure.pad-below { |
| 464 | margin-bottom: 20px; } |
| 465 | .figure .figure-callout { |
| 466 | position: absolute; |
| 467 | color: #fff; |
| 468 | font-weight: 500; |
| 469 | font-size: 16px; |
| 470 | line-height: 23px; |
| 471 | text-align: center; |
| 472 | background: transparent url(callout.png) no-repeat scroll 50% 50%; |
| 473 | padding-right: 2px; |
| 474 | width: 30px; |
| 475 | height: 29px; |
| 476 | z-index: 1000; } |
| 477 | .figure .figure-callout.top { |
| 478 | top: -9px; } |
| 479 | .figure .figure-callout.right { |
| 480 | right: -5px; } |
| 481 | |
| 482 | .figure-caption { |
| 483 | margin: 0 10px 20px 10px; |
| 484 | font-size: 14px; |
| 485 | line-height: 20px; |
| 486 | font-style: italic; } |
| 487 | |
| 488 | /* rows of figures */ |
| 489 | .figure-row { |
| 490 | font-size: 0; |
| 491 | line-height: 0; |
| 492 | /* to prevent space between figures */ } |
| 493 | .figure-row .figure { |
| 494 | display: inline-block; |
| 495 | vertical-align: top; } |
| 496 | .figure-row .figure + .figure { |
| 497 | margin-left: 10px; |
| 498 | /* reintroduce space between figures */ } |
| 499 | |
| 500 | /* video containers */ |
| 501 | .framed-galaxynexus-land-span-13 { |
| 502 | background: transparent url(content/misc_full_galaxynexus_blank_land_span13.png) no-repeat scroll top left; |
| 503 | padding: 42px 122px 62px 126px; |
| 504 | overflow: hidden; } |
| 505 | .framed-galaxynexus-land-span-13, .framed-galaxynexus-land-span-13 video, .framed-galaxynexus-land-span-13 img { |
| 506 | width: 512px; |
| 507 | height: 286px; } |
| 508 | |
| 509 | .framed-galaxynexus-port-span-9 { |
| 510 | background: transparent url(content/misc_full_galaxynexus_blank_port_span9.png) no-repeat scroll top left; |
| 511 | padding: 95px 122px 107px 124px; |
| 512 | overflow: hidden; } |
| 513 | .framed-galaxynexus-port-span-9, .framed-galaxynexus-port-span-9 video, .framed-galaxynexus-port-span-9 img { |
| 514 | width: 274px; |
| 515 | height: 488px; } |
| 516 | |
| 517 | .framed-galaxynexus-port-span-5 { |
| 518 | background: transparent url(content/misc_full_galaxynexus_blank_port_span5.png) no-repeat scroll top left; |
| 519 | padding: 75px 31px 76px 33px; |
| 520 | overflow: hidden; } |
| 521 | .framed-galaxynexus-port-span-5, .framed-galaxynexus-port-span-5 video, .framed-galaxynexus-port-span-5 img { |
| 522 | width: 216px; |
| 523 | height: 384px; } |
| 524 | |
| 525 | /* landing page disclosures */ |
| 526 | .landing-page-link { |
| 527 | text-decoration: none; |
| 528 | font-weight: 500; |
| 529 | color: #333333; } |
| 530 | .landing-page-link:after { |
| 531 | content: ''; |
| 532 | background: transparent url(disclosure_right.png) no-repeat scroll top left; |
| 533 | width: 10px; |
| 534 | height: 10px; |
| 535 | display: inline-block; |
| 536 | margin-left: 5px; } |
| 537 | |
| 538 | /* tooltips */ |
| 539 | .tooltip-box { |
| 540 | position: absolute; |
| 541 | background-color: rgba(0, 0, 0, 0.9); |
| 542 | border-radius: 2px; |
| 543 | font-size: 14px; |
| 544 | line-height: 20px; |
| 545 | color: #fff; |
| 546 | padding: 6px 10px; |
| 547 | max-width: 250px; |
| 548 | z-index: 10000; } |
| 549 | .tooltip-box.below:after { |
| 550 | position: absolute; |
| 551 | content: ''; |
| 552 | line-height: 0; |
| 553 | display: block; |
| 554 | top: -10px; |
| 555 | left: 5px; |
| 556 | border: 5px solid transparent; |
| 557 | border-bottom-color: rgba(0, 0, 0, 0.9); } |
| 558 | |
| 559 | /* video note */ |
| 560 | .video-instructions { |
| 561 | margin-top: 10px; |
| 562 | margin-bottom: 10px; } |
| 563 | .video-instructions:before { |
| 564 | content: ''; |
| 565 | background: transparent url(ico_movie_inline.png) no-repeat scroll top left; |
| 566 | display: inline-block; |
| 567 | width: 12px; |
| 568 | height: 12px; |
| 569 | margin-right: 8px; } |
| 570 | .video-instructions:after { |
| Roman Nurik | aaaafca | 2012-01-12 13:57:44 -0800 | [diff] [blame] | 571 | content: 'Click to replay movie.'; } |