Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1 | /* color definitions */ |
| 2 | /* 16 column layout */ |
| 3 | /* clearfix idiom */ |
| 4 | /* common mixins */ |
| 5 | /* page layout + top-level styles */ |
| 6 | ::selection { |
| 7 | background-color: #0099cc; |
| 8 | color: #fff; } |
| 9 | ::-webkit-selection { |
| 10 | background-color: #0099cc; |
| 11 | color: #fff; } |
| 12 | ::-moz-selection { |
| 13 | background-color: #0099cc; |
| 14 | color: #fff; } |
| 15 | |
| 16 | html, body { |
| 17 | height: 100%; |
| 18 | margin: 0; |
| 19 | padding: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 20 | background-color: #fff; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 21 | -webkit-font-smoothing: antialiased; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 22 | -moz-osx-font-smoothing: grayscale; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 23 | /* prevent subpixel antialiasing, which thickens the text */ |
| 24 | /* text-rendering: optimizeLegibility; */ |
| 25 | /* turned off ligatures due to bug 5945455 */ } |
| 26 | |
| 27 | body { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 28 | color: #515151; |
| 29 | color: rgba(0, 0, 0, .68); |
| 30 | font: 14px/24px Roboto, sans-serif; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 31 | font-weight: 400; |
| 32 | letter-spacing:.1; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 33 | padding: 0 20px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | @media (max-width: 719px) { |
| 37 | html { |
| 38 | /* Disable accidental horizontal overflow. */ |
| 39 | overflow-x: hidden; |
| 40 | } |
| 41 | |
| 42 | body { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 43 | padding-left: 10px; |
| 44 | padding-right: 10px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 45 | } |
| 46 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 47 | |
| 48 | #page-container { |
| 49 | width: 940px; |
| 50 | margin: 0 40px; } |
| 51 | |
| 52 | #page-header { |
| 53 | height: 80px; |
| 54 | margin-bottom: 20px; |
| 55 | font-size: 48px; |
| 56 | line-height: 48px; |
| 57 | font-weight: 100; |
| 58 | padding-left: 10px; } |
| 59 | #page-header a { |
| 60 | display: block; |
| 61 | position: relative; |
| 62 | top: 20px; |
| 63 | text-decoration: none; |
| 64 | color: #555555 !important; } |
| 65 | |
| 66 | #main-row { |
| 67 | display: inline-block; } |
| 68 | #main-row:after { |
| 69 | content: "."; |
| 70 | display: block; |
| 71 | height: 0; |
| 72 | clear: both; |
| 73 | visibility: hidden; } |
| 74 | * html #main-row { |
| 75 | height: 1px; } |
| 76 | |
| 77 | #page-footer { |
| 78 | margin-left: 190px; |
| 79 | margin-top: 80px; |
| 80 | color: #999999; |
| 81 | padding-bottom: 40px; |
| 82 | font-size: 12px; |
| 83 | line-height: 15px; } |
| 84 | #page-footer a { |
| 85 | color: #777777; } |
| 86 | #page-footer #copyright { |
| 87 | margin-bottom: 10px; } |
| 88 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 89 | .hide-text { |
| 90 | position: absolute; |
| 91 | text-indent: -9999px; |
| 92 | } |
| 93 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 94 | #nav-container { |
| 95 | width: 160px; |
| 96 | min-height: 10px; |
| 97 | margin-right: 20px; |
| 98 | float: left; } |
| 99 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 100 | #devdoc-nav h2 { |
| 101 | border:0; |
| 102 | } |
| 103 | |
| 104 | #devdoc-nav.fixed { |
| 105 | position: fixed; |
| 106 | margin:0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 107 | top: 84px; /* sticky-header height + 20px gutter */ |
Scott Main | 20cf2a9 | 2014-04-02 21:57:20 -0700 | [diff] [blame] | 108 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 109 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 110 | .dac-devdoc-toggle { |
| 111 | cursor: pointer; |
| 112 | padding: 8px 0; |
| 113 | } |
| 114 | |
| 115 | .scroll-pane { |
| 116 | /* Match height of fixed parent. */ |
| 117 | height: 100%; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 118 | } |
| 119 | |
| 120 | #content { |
| 121 | width: 760px; |
| 122 | float: left; } |
| 123 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 124 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 125 | /***** PREVIOUSLY style.css ******************/ |
| 126 | /* This should be close to the top, so it is easier to override. */ |
| 127 | [dir='rtl'] { |
| 128 | direction: rtl; |
| 129 | } |
| 130 | html { |
| 131 | line-height: 20px; |
| 132 | } |
| 133 | pre, table, input, textarea, code { |
| 134 | font-size: 1em; |
| 135 | } |
| 136 | address, abbr, cite { |
| 137 | font-style: normal; |
| 138 | } |
| 139 | [dir='rtl'] th { |
| 140 | text-align: right; |
| 141 | } |
| 142 | html[lang^=ja] blockquote, html[lang^=ja] q, html[lang^=ko] blockquote, html[lang^=ko] q, |
| 143 | html[lang^=zh] blockquote, html[lang^=zh] q { |
| 144 | font-style: normal; |
| 145 | } |
| 146 | q { |
| 147 | font-style: italic; |
| 148 | } |
| 149 | fieldset, iframe, img { |
| 150 | border: 0; |
| 151 | } |
| 152 | img { |
| 153 | border: none; |
| 154 | -ms-interpolation-mode: bicubic; |
| 155 | max-width: 100%; |
| 156 | vertical-align: middle; |
| 157 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 158 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 159 | video { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 160 | cursor: pointer; |
| 161 | margin-bottom: 10px; /* same as img */ |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 162 | max-width: 100%; |
| 163 | object-fit: cover; |
| 164 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 165 | |
| 166 | .video-wrapper { |
| 167 | line-height: 0; |
| 168 | margin-bottom: 10px; /* same as img */ |
| 169 | position: relative; |
| 170 | } |
| 171 | |
| 172 | .video-wrapper video { |
| 173 | margin:0; |
| 174 | } |
| 175 | |
| 176 | .video-wrapper:before { |
| 177 | background: rgba(0, 0, 0, 0.5) url(//material-design.storage.googleapis.com/images/play.svg) no-repeat center center; |
| 178 | background-size: 72px 72px; |
| 179 | bottom: 0; |
| 180 | content: ""; |
| 181 | left: 0; |
| 182 | position: absolute; |
| 183 | right: 0; |
| 184 | top: 0; |
| 185 | transition: opacity .2s; |
| 186 | } |
| 187 | |
| 188 | .video-wrapper:hover:before { |
| 189 | opacity: .7; |
| 190 | } |
| 191 | |
| 192 | .video-wrapper.playing:before { |
| 193 | opacity: 0; |
| 194 | } |
| 195 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 196 | q { |
| 197 | quotes: none; |
| 198 | } |
| 199 | sup, sub { |
| 200 | font-size: 11px; |
| 201 | line-height: 0; |
| 202 | } |
| 203 | |
| 204 | table, fieldset { |
| 205 | margin: 0; |
| 206 | } |
| 207 | /* Biggest type */ |
| 208 | .display-1 { |
| 209 | font-size: 56px; |
| 210 | line-height: 68px; |
| 211 | } |
| 212 | @media (max-width: 719px) { |
| 213 | .display-1 { |
| 214 | font-size: 44px; |
| 215 | line-height: 56px; |
| 216 | } |
| 217 | } |
| 218 | h1, h2, h3 { |
| 219 | color: #212121; |
| 220 | color: rgba(0, 0, 0, .87); |
| 221 | } |
| 222 | h1 { |
| 223 | font-size: 44px; |
| 224 | line-height: 56px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 225 | font-weight: 300; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 226 | margin: 0; |
| 227 | padding: 24px 0 12px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 228 | } |
| 229 | h1.short { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 230 | padding-right:320px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 231 | } |
| 232 | @media (max-width: 719px) { |
| 233 | h1 { |
| 234 | font-size: 36px; |
| 235 | line-height: 48px; |
| 236 | } |
| 237 | } |
| 238 | h2 { |
| 239 | clear: left; |
| 240 | font-size: 28px; |
| 241 | font-weight: 400; |
| 242 | line-height: 32px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 243 | margin: 0; |
| 244 | padding: 12px 0 16px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 245 | } |
| 246 | h3 { |
| 247 | font-size: 24px; |
| 248 | line-height: 32px; |
| 249 | font-weight: 400; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 250 | margin: 0; |
| 251 | padding: 8px 0 12px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 252 | } |
| 253 | h4 { |
| 254 | font-size: 18px; |
| 255 | line-height: 24px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 256 | margin: 0; |
| 257 | padding: 4px 0 8px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 258 | font-weight: 500; |
| 259 | } |
| 260 | h5, h6 { |
| 261 | font-size: 16px; |
| 262 | line-height: 24px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 263 | margin: 0; |
| 264 | padding: 4px 0 8px; |
| 265 | } |
| 266 | th>h3 { |
| 267 | font-size:inherit; |
| 268 | line-height:inherit; |
| 269 | font-weight:inherit; |
| 270 | margin:0; |
| 271 | padding:0; |
| 272 | color:inherit; |
smain@google.com | a0a6d32 | 2016-02-05 17:34:22 -0800 | [diff] [blame] | 273 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 274 | hr { /* applied to the bottom of h2 elements */ |
| 275 | height: 1px; |
| 276 | margin: 7px 0 12px; |
| 277 | border: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 278 | background: rgba(0, 0, 0, 0.1); |
| 279 | } |
| 280 | h2[id], h3[id], h4[id], h5[id], h6[id] { |
| 281 | margin-top: -64px; |
| 282 | border-top: 64px solid transparent; |
| 283 | -webkit-background-clip: padding-box; |
| 284 | -moz-background-clip: padding; |
| 285 | background-clip: padding-box; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 286 | } |
| 287 | p, pre, table, form { |
| 288 | margin: 0 0 12px; |
| 289 | } |
| 290 | small { |
| 291 | font-size: 11.5px; |
| 292 | color: #000; |
| 293 | } |
| 294 | ul, ol { |
| 295 | margin: 0 0 15px 20px; |
| 296 | padding: 0; |
| 297 | } |
| 298 | [dir='rtl'] ul, [dir='rtl'] ol { |
| 299 | margin: 10px 30px 10px 10px; |
| 300 | } |
| 301 | ul ul, ul ol, ol ul, ol ol { |
| 302 | margin-bottom: 0; |
| 303 | margin-top: 0; |
| 304 | } |
| 305 | li { |
| 306 | margin: 0 0 12px; |
| 307 | } |
| 308 | dt { |
| 309 | margin: 24px 0 12px; |
| 310 | } |
| 311 | dd { |
| 312 | margin:0 0 10px 40px; |
| 313 | } |
| 314 | dd p, |
| 315 | dd pre, |
| 316 | dd ul, |
| 317 | dd ol, |
| 318 | dd dl { |
| 319 | margin-top:10px; |
| 320 | } |
| 321 | li p, |
| 322 | li pre, |
| 323 | li ul, |
| 324 | li ol, |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 325 | li dl, |
| 326 | #body-content li img { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 327 | margin-top: 6px; |
| 328 | margin-bottom: 6px; |
| 329 | } |
| 330 | dl dd dl:first-child { |
| 331 | margin-top: 0; |
| 332 | } |
| 333 | pre strong, pre b, a strong, a b, a code { |
| 334 | color: inherit; |
| 335 | } |
| 336 | pre, code { |
| 337 | color: #060; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 338 | font: 13px/18px Consolas, "Liberation Mono", Menlo, Monaco, Courier, monospace; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 339 | -webkit-font-smoothing: subpixel-antialiased; |
| 340 | -moz-osx-font-smoothing: auto; |
| 341 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 342 | legend { |
| 343 | display: none; |
| 344 | } |
| 345 | a, .link-color { |
| 346 | color: #039BE5; |
| 347 | text-decoration: none; |
| 348 | } |
| 349 | a:focus, a:hover { |
| 350 | color: rgba(3, 155, 229, .7); |
| 351 | text-decoration: none; |
| 352 | } |
| 353 | a.white { |
| 354 | color: #fff; |
| 355 | text-decoration:underline; |
| 356 | } |
| 357 | a.white:hover, a.white:active { |
| 358 | color: #ccc; |
| 359 | } |
| 360 | strong, b { |
| 361 | font-weight: bold; |
| 362 | } |
| 363 | table { |
| 364 | border-collapse: collapse; |
| 365 | border-spacing: 0; |
| 366 | border:0; |
| 367 | margin: .5em 1em 1em 0; |
| 368 | width:100%; /* consistent table widths; within IE's quirks */ |
| 369 | background-color:#f7f7f7; |
| 370 | } |
| 371 | th, td { |
| 372 | padding: 4px 12px; |
| 373 | vertical-align: top; |
| 374 | text-align: left; |
| 375 | } |
| 376 | td { |
| 377 | background-color:inherit; |
| 378 | border:solid 1px #DDD; |
| 379 | } |
| 380 | td *:last-child { |
| 381 | margin-bottom:0; |
| 382 | } |
| 383 | th { |
| 384 | background-color: #999; |
| 385 | color: #fff; |
| 386 | border:solid 1px #DDD; |
| 387 | font-weight: normal; |
| 388 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 389 | tr.alt th { |
| 390 | color:inherit; |
| 391 | background-color: #e0e0e0; |
| 392 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 393 | tr:first-of-type th:first-of-type:empty { |
| 394 | visibility: hidden; |
| 395 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 396 | |
| 397 | a.external-link { |
| 398 | background:url('../images/styles/open_new_page.png') no-repeat 100% 50%; |
| 399 | padding-right:16px; |
| 400 | } |
| 401 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 402 | #body-content img { |
| 403 | margin-bottom:12px; |
| 404 | } |
| 405 | |
| 406 | #body-content p>img { |
| 407 | margin-bottom:0; |
| 408 | } |
| 409 | |
| 410 | #body-content img.inline-icon { |
| 411 | vertical-align:sub; |
| 412 | margin:0; |
| 413 | height:16px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 414 | } |
| 415 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 416 | em { |
| 417 | font-style: italic; } |
| 418 | |
| 419 | acronym, |
| 420 | .tooltip-link { |
| 421 | border-bottom: 1px dotted #555555; |
| 422 | cursor: help; } |
| 423 | |
| 424 | acronym:hover, |
| 425 | .tooltip-link:hover { |
| 426 | color: #7aa1b0; |
| 427 | border-bottom-color: #7aa1b0; } |
| 428 | |
| 429 | img.with-shadow, |
| 430 | video.with-shadow { |
| 431 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); } |
| 432 | |
| 433 | /* disclosures mixin */ |
| 434 | /* content layout */ |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 435 | /* This grid is deprecated in favor of .cols and .col-X */ |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 436 | .layout-content-row { |
| 437 | display: inline-block; |
| 438 | margin-bottom: 10px; } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 439 | * html .layout-content-row { |
| 440 | height: 1px; } |
| 441 | |
| 442 | .layout-content-col { |
| 443 | float: left; |
| 444 | margin-left: 20px; } |
| 445 | .layout-content-col:first-child { |
| 446 | margin-left: 0; } |
| 447 | .layout-content-col h3, |
| 448 | .layout-content-col h4 { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 449 | padding-top:0; } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 450 | |
| 451 | .layout-content-col.span-1 { |
| 452 | width: 40px; } |
| 453 | |
| 454 | .layout-content-col.span-2 { |
| 455 | width: 100px; } |
| 456 | |
| 457 | .layout-content-col.span-3 { |
| 458 | width: 160px; } |
| 459 | |
| 460 | .layout-content-col.span-4 { |
| 461 | width: 220px; } |
| 462 | |
| 463 | .layout-content-col.span-5 { |
| 464 | width: 280px; } |
| 465 | |
| 466 | .layout-content-col.span-6 { |
| 467 | width: 340px; } |
| 468 | |
| 469 | .layout-content-col.span-7 { |
| 470 | width: 400px; } |
| 471 | |
| 472 | .layout-content-col.span-8 { |
| 473 | width: 460px; } |
| 474 | |
| 475 | .layout-content-col.span-9 { |
| 476 | width: 520px; } |
| 477 | |
| 478 | .layout-content-col.span-10 { |
| 479 | width: 580px; } |
| 480 | |
| 481 | .layout-content-col.span-11 { |
| 482 | width: 640px; } |
| 483 | |
| 484 | .layout-content-col.span-12 { |
| 485 | width: 700px; } |
| 486 | |
| 487 | .layout-content-col.span-13 { |
| 488 | width: 760px; } |
| 489 | |
| 490 | .vspace.size-1 { |
| 491 | height: 10px; } |
| 492 | |
| 493 | .vspace.size-2 { |
| 494 | height: 20px; } |
| 495 | |
| 496 | .vspace.size-3 { |
| 497 | height: 30px; } |
| 498 | |
| 499 | .vspace.size-4 { |
| 500 | height: 40px; } |
| 501 | |
| 502 | .vspace.size-5 { |
| 503 | height: 50px; } |
| 504 | |
| 505 | .vspace.size-6 { |
| 506 | height: 60px; } |
| 507 | |
| 508 | .vspace.size-7 { |
| 509 | height: 70px; } |
| 510 | |
| 511 | .vspace.size-8 { |
| 512 | height: 80px; } |
| 513 | |
| 514 | .vspace.size-9 { |
| 515 | height: 90px; } |
| 516 | |
| 517 | .vspace.size-10 { |
| 518 | height: 100px; } |
| 519 | |
| 520 | .vspace.size-11 { |
| 521 | height: 110px; } |
| 522 | |
| 523 | .vspace.size-12 { |
| 524 | height: 120px; } |
| 525 | |
| 526 | .vspace.size-13 { |
| 527 | height: 130px; } |
| 528 | |
| 529 | .vspace.size-14 { |
| 530 | height: 140px; } |
| 531 | |
| 532 | .vspace.size-15 { |
| 533 | height: 150px; } |
| 534 | |
| 535 | .vspace.size-16 { |
| 536 | height: 160px; } |
| 537 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 538 | .new, |
| 539 | .new-child { |
| 540 | font-size: .78em; |
| 541 | font-weight: bold; |
| 542 | color: #ff3d3d; |
| 543 | vertical-align:top; |
| 544 | white-space:nowrap; |
| 545 | } |
| 546 | |
| 547 | /* content header */ |
| 548 | .content-header { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 549 | position: relative; |
| 550 | } |
| 551 | .content-header:before, |
| 552 | .content-header:after { |
| 553 | content: ''; |
| 554 | display: table; |
| 555 | /* Clear heading margins, to make absolutely positioned nav a bit more predictable. */ |
| 556 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 557 | .content-header.just-links { |
| 558 | margin-bottom:0; |
| 559 | padding-bottom:0;} |
| 560 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 561 | .content-footer { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 562 | margin-top: 10px; |
| 563 | padding-top:10px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 564 | width:100%; } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 565 | |
| 566 | .content-footer .col-9 { |
| 567 | margin-left:0; |
| 568 | } |
| 569 | .content-footer .col-4 { |
| 570 | margin-right:0; |
| 571 | } |
| 572 | .content-footer.wrap { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 573 | max-width:940px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 574 | } |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 575 | .content-footer .plus-container { |
| 576 | margin:5px 0 0; |
| 577 | text-align:right; |
| 578 | float:right; |
| 579 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 580 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 581 | a.back-link { |
| 582 | text-decoration: none; |
| 583 | text-transform: uppercase; |
| 584 | } |
| 585 | |
| 586 | .content-header .paging-links { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 587 | position: absolute; |
| 588 | right: 0; |
| 589 | top: 8px; |
| 590 | width: 220px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 591 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 592 | .paging-links { |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 593 | position: relative; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 594 | min-height:30px; } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 595 | .paging-links a, |
| 596 | .training-nav-top a { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 597 | text-decoration: none; } |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 598 | .training-nav-top .prev-page-link:before, |
| 599 | a.back-link:before { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 600 | content: ''; |
| 601 | background: transparent url(../images/styles/disclosure_left.png) no-repeat scroll 50% 50%; |
| 602 | width: 10px; |
| 603 | height: 10px; |
| 604 | display: inline-block; |
| 605 | margin-right: 5px; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 606 | .training-nav-top .next-page-link:after, |
| 607 | .training-nav-top .start-class-link:after, |
| 608 | .training-nav-top .start-course-link:after, |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 609 | .go-link:after { |
| 610 | content: ''; |
| 611 | background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%; |
| 612 | width: 10px; |
| 613 | height: 10px; |
| 614 | display: inline-block; |
| 615 | margin-left: 5px; } |
| 616 | .prev-page-link.inline:before { |
| 617 | content: none; } |
| 618 | .next-page-link.inline:after { |
| 619 | content: none; } |
| 620 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 621 | .content-footer { |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 622 | left:0; |
| 623 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 624 | |
| 625 | .training-nav-top a { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 626 | border-bottom:0; |
| 627 | box-sizing: border-box; |
| 628 | color: inherit; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 629 | display:block; |
| 630 | float:left; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 631 | padding:10px 0; |
| 632 | line-height:30px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 633 | text-align:center; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 634 | width: 50%; |
| 635 | } |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 636 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 637 | .training-nav-top a.prev-page-link { |
| 638 | padding-left: 15px; |
| 639 | text-align: left; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 640 | } |
| 641 | |
| 642 | .training-nav-top a.next-page-link { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 643 | padding-right: 15px; |
| 644 | text-align: right; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 645 | } |
| 646 | |
| 647 | .paging-links a.disabled, |
| 648 | .training-nav-top a.disabled, |
| 649 | .content-footer a.disabled { |
| 650 | color:#bbb; |
| 651 | } |
| 652 | |
| 653 | .paging-links a.disabled:hover, |
| 654 | .training-nav-top a.disabled:hover, |
| 655 | .content-footer a.disabled:hover { |
| 656 | cursor:default; |
| 657 | color:#bbb !important; |
| 658 | } |
| 659 | |
| 660 | .training-nav-top a.start-class-link, |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 661 | .training-nav-top a.start-course-link { |
Dirk Dougherty | e21bed2 | 2014-05-02 15:14:04 -0700 | [diff] [blame] | 662 | width:100%; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 663 | } |
| 664 | |
| 665 | /* list of classes on course landing page */ |
| 666 | ol.class-list { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 667 | counter-reset: class; |
| 668 | list-style: none; |
| 669 | margin: 60px 0 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 670 | } |
| 671 | ol.class-list>li { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 672 | box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.26); |
| 673 | margin: 0 0 20px; |
| 674 | overflow: hidden; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 675 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 676 | ol.class-list .title { |
| 677 | background: #00bcd4; |
| 678 | color: #fff; |
| 679 | display: block; |
| 680 | font-size: 20px; |
| 681 | font-weight: 500; |
| 682 | height: 32px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 683 | padding: 52px 16px 12px; |
| 684 | position: relative; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 685 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 686 | ol.class-list .title:before { |
| 687 | border-bottom: 1px solid white; |
| 688 | box-sizing: border-box; |
| 689 | /* Disable the numbers for now, since vert few classes need to be taken in order. */ |
| 690 | /* content: counter(class); */ |
| 691 | counter-increment: class; |
| 692 | height: 40px; |
| 693 | left: 0; |
| 694 | padding: 10px 1px 0 5px; |
| 695 | position: absolute; |
| 696 | top: 0; |
| 697 | text-align: right; |
| 698 | min-width: 30px; |
| 699 | } |
| 700 | ol.class-list .title h2 { |
| 701 | color: currentColor; |
| 702 | font-size: inherit; |
| 703 | font-weight: inherit; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 704 | padding:0 0 10px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 705 | display:block; |
| 706 | float:left; |
| 707 | width:675px; |
| 708 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 709 | ol.class-list .title span { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 710 | display:none; |
| 711 | float:left; |
| 712 | font-size:18px; |
| 713 | font-weight:bold; |
| 714 | background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%; |
| 715 | width: 10px; |
| 716 | height: 32px; |
| 717 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 718 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 719 | ol.class-list .description { |
| 720 | box-sizing: border-box; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 721 | float:left; |
| 722 | display:block; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 723 | margin:0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 724 | padding: 16px 10px 16px 16px; |
| 725 | width: 50%; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 726 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 727 | ol.class-list .description.article { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 728 | width: 550px; |
| 729 | } |
| 730 | ol.class-list ol { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 731 | box-sizing: border-box; |
| 732 | float: left; |
| 733 | list-style: none; |
| 734 | margin: 0; |
| 735 | padding: 16px 16px 16px 10px; |
| 736 | width: 50%; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 737 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 738 | ol.class-list .lessons li { |
| 739 | margin: 0 0 6px; |
| 740 | line-height: 16px; |
| 741 | } |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 742 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 743 | /* Class colors */ |
| 744 | ol.class-list li:nth-child(10n+1) .title { |
| 745 | background: #00bcd4; |
| 746 | } |
| 747 | ol.class-list li:nth-child(10n+2) .title { |
| 748 | background: #4db6ac; |
| 749 | } |
| 750 | ol.class-list li:nth-child(10n+3) .title { |
| 751 | background: #66bb6a; |
| 752 | } |
| 753 | ol.class-list li:nth-child(10n+4) .title { |
| 754 | background: #7cb342; |
| 755 | } |
| 756 | ol.class-list li:nth-child(10n+5) .title { |
| 757 | background: #afb42b; |
| 758 | } |
| 759 | ol.class-list li:nth-child(10n+6) .title { |
| 760 | background: #ffb300; |
| 761 | } |
| 762 | ol.class-list li:nth-child(10n+7) .title { |
| 763 | background: #ff7043; |
| 764 | } |
| 765 | ol.class-list li:nth-child(10n+8) .title { |
| 766 | background: #ec407a; |
| 767 | } |
| 768 | ol.class-list li:nth-child(10n+9) .title { |
| 769 | background: #ab47bc; |
| 770 | } |
| 771 | ol.class-list li:nth-child(10n+10) .title { |
| 772 | background: #7e57c2; |
| 773 | } |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 774 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 775 | @media (max-width: 719px) { |
| 776 | ol.class-list ol, |
| 777 | ol.class-list .description { |
| 778 | float: none; |
| 779 | margin: 16px; |
| 780 | padding: 0; |
| 781 | width: auto; |
| 782 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 783 | } |
| 784 | |
| 785 | |
| 786 | .hide { |
| 787 | display:none !important; |
| 788 | } |
| 789 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 790 | |
| 791 | |
| 792 | /* inner-doc tabs w/ title */ |
| 793 | |
| 794 | div#title-tabs-wrapper { |
| 795 | border-bottom:1px solid #ccc; |
| 796 | margin:20px 0 30px; |
| 797 | } |
| 798 | h1.with-title-tabs { |
| 799 | display:inline-block; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 800 | margin-bottom: -1px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 801 | padding:0 60px 0 0; |
| 802 | border-bottom:1px solid #F9F9F9; |
| 803 | } |
| 804 | ul#title-tabs { |
| 805 | list-style:none; |
| 806 | padding:0; |
| 807 | height:29px; |
| 808 | margin:0; |
| 809 | font-size:16px; |
| 810 | line-height:26px; |
| 811 | display:inline-block; |
| 812 | vertical-align:bottom; |
| 813 | } |
| 814 | ul#title-tabs li { |
| 815 | display:block; |
| 816 | float:left; |
| 817 | margin-right:40px; |
| 818 | border-bottom: 3px solid transparent; |
| 819 | } |
| 820 | ul#title-tabs li.selected { |
| 821 | border-bottom: 3px solid #93C; |
| 822 | } |
| 823 | ul#title-tabs li a { |
| 824 | color:#333; |
| 825 | } |
| 826 | ul#title-tabs li a:hover, |
| 827 | ul#title-tabs li a:active { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 828 | color:#039BE5 !important; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 829 | } |
| 830 | |
| 831 | |
| 832 | |
| 833 | /* content body */ |
| 834 | @-webkit-keyframes glowheader { |
| 835 | from { |
| 836 | background-color: #33b5e5; |
| 837 | color: #000; |
| 838 | border-bottom-color: #000; } |
| 839 | |
| 840 | to { |
| 841 | background-color: transparent; |
| 842 | color: #33b5e5; |
| 843 | border-bottom-color: #33b5e5; } } |
| 844 | |
| 845 | @-moz-keyframes glowheader { |
| 846 | from { |
| 847 | background-color: #33b5e5; |
| 848 | color: #000; |
| 849 | border-bottom-color: #000; } |
| 850 | |
| 851 | to { |
| 852 | background-color: transparent; |
| 853 | color: #33b5e5; |
| 854 | border-bottom-color: #33b5e5; } } |
| 855 | |
| 856 | @keyframes glowheader { |
| 857 | from { |
| 858 | background-color: #33b5e5; |
| 859 | color: #000; |
| 860 | border-bottom-color: #000; } |
| 861 | |
| 862 | to { |
| 863 | background-color: transparent; |
| 864 | color: #33b5e5; |
| 865 | border-bottom-color: #33b5e5; } } |
| 866 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 867 | h1:target, |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 868 | h2:target, |
| 869 | h3:target { |
| 870 | -webkit-animation-name: glowheader; |
| 871 | -moz-animation-name: glowheader; |
| 872 | animation-name: glowheader; |
| 873 | -webkit-animation-duration: 0.7s; |
| 874 | -moz-animation-duration: 0.7s; |
| 875 | animation-duration: 0.7s; |
| 876 | -webkit-animation-timing-function: ease-out; |
| 877 | -moz-animation-timing-function: ease-out; |
| 878 | animation-timing-function: ease-out; } |
| 879 | |
| 880 | .design ol h4 { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 881 | padding-bottom:0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 882 | } |
| 883 | .design ol { |
| 884 | counter-reset: item; } |
| 885 | .design ol>li { |
| 886 | font-size: 14px; |
| 887 | line-height: 20px; |
| 888 | list-style-type: none; |
| 889 | position: relative; } |
| 890 | .design ol>li:before { |
| 891 | content: counter(item) ". "; |
| 892 | counter-increment: item; |
| 893 | position: absolute; |
| 894 | left: -20px; |
| 895 | top: 0; } |
| 896 | .design ol li.value-1:before { |
| 897 | content: "1. "; } |
| 898 | .design ol li.value-2:before { |
| 899 | content: "2. "; } |
| 900 | .design ol li.value-3:before { |
| 901 | content: "3. "; } |
| 902 | .design ol li.value-4:before { |
| 903 | content: "4. "; } |
| 904 | .design ol li.value-5:before { |
| 905 | content: "5. "; } |
| 906 | .design ol li.value-6:before { |
| 907 | content: "6. "; } |
| 908 | .design ol li.value-7:before { |
| 909 | content: "7. "; } |
| 910 | .design ol li.value-8:before { |
| 911 | content: "8. "; } |
| 912 | .design ol li.value-9:before { |
| 913 | content: "9. "; } |
| 914 | .design ol li.value-10:before { |
| 915 | content: "10. "; } |
| 916 | .design .with-callouts ol>li { |
| 917 | list-style-position: inside; |
| 918 | margin-left: 0; } |
| 919 | .design .with-callouts ol>li:before { |
| 920 | display: inline; |
| 921 | left: -20px; |
| 922 | float: left; |
| 923 | width: 17px; |
| 924 | color: #33b5e5; |
| 925 | font-weight: 500; } |
| 926 | .design .with-callouts ul>li { |
| 927 | list-style-position: outside; } |
| 928 | |
| 929 | /* special list items */ |
| 930 | li.no-bullet { |
| 931 | list-style-type: none !important; } |
| 932 | li.no-bullet *{ |
| 933 | margin:0; } |
| 934 | |
| 935 | .design li.with-icon { |
| 936 | position: relative; |
| 937 | margin-left: 20px; |
| 938 | min-height: 30px; } |
| 939 | .design li.with-icon p { |
| 940 | margin-left: 0 !important; } |
| 941 | .design li.with-icon:before { |
| 942 | position: absolute; |
| 943 | left: -40px; |
| 944 | top: 0; |
| 945 | content: ''; |
| 946 | width: 30px; |
| 947 | height: 30px; } |
| 948 | .design li.with-icon.tablet:before { |
| 949 | background-image: url(../images/styles/ico_phone_tablet.png); } |
| 950 | .design li.with-icon.web:before { |
| 951 | background-image: url(../images/styles/ico_web.png); } |
| 952 | .design li.with-icon.action:before { |
| 953 | background-image: url(../images/styles/ico_action.png); } |
| 954 | .design li.with-icon.use:before { |
| 955 | background-image: url(../images/styles/ico_use.png); } |
| 956 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 957 | /* video containers */ |
| 958 | .framed-galaxynexus-land-span-13 { |
| 959 | background: transparent url(../images/styles/device_galaxynexus_blank_land_span13.png) no-repeat |
| 960 | scroll top left; |
| 961 | padding: 42px 122px 62px 126px; |
| 962 | overflow: hidden; } |
| 963 | .framed-galaxynexus-land-span-13, .framed-galaxynexus-land-span-13 video, |
| 964 | .framed-galaxynexus-land-span-13 img { |
| 965 | width: 512px; |
| 966 | height: 286px; } |
| 967 | |
| 968 | |
| 969 | .framed-galaxynexus-land-span-8{ |
| 970 | background: transparent url(../images/styles/device_galaxynexus_blank_land_span8.png) no-repeat |
| 971 | scroll top left; |
| 972 | padding: 26px 68px 38px 72px; |
| 973 | overflow: hidden; } |
| 974 | .framed-galaxynexus-land-span-8, .framed-galaxynexus-land-span-8 video, |
| 975 | .framed-galaxynexus-land-span-8 img { |
| 976 | width: 320px; |
| 977 | height: 180px; } |
| 978 | |
| 979 | .framed-galaxynexus-port-span-9 { |
| 980 | background: transparent url(../images/styles/device_galaxynexus_blank_port_span9.png) no-repeat |
| 981 | scroll top left; |
| 982 | padding: 95px 122px 107px 124px; |
| 983 | overflow: hidden; } |
| 984 | .framed-galaxynexus-port-span-9, .framed-galaxynexus-port-span-9 video, |
| 985 | .framed-galaxynexus-port-span-9 img { |
| 986 | width: 274px; |
| 987 | height: 488px; } |
| 988 | |
| 989 | .framed-galaxynexus-port-span-5 { |
| 990 | background: transparent url(../images/styles/device_galaxynexus_blank_port_span5.png) no-repeat |
| 991 | scroll top left; |
| 992 | padding: 75px 31px 76px 33px; |
| 993 | overflow: hidden; } |
| 994 | .framed-galaxynexus-port-span-5, .framed-galaxynexus-port-span-5 video, |
| 995 | .framed-galaxynexus-port-span-5 img { |
| 996 | width: 216px; |
| 997 | height: 384px; } |
| 998 | |
| 999 | .framed-nexus4-port-216 { |
| 1000 | background: transparent url(../images/styles/device_nexus4_blank_port_432.png) no-repeat |
| 1001 | scroll top left; |
| 1002 | background-size:240px 465px; |
| 1003 | padding: 52px 12px 52px 12px; |
| 1004 | overflow: hidden; } |
| 1005 | .framed-nexus4-port-216, .framed-nexus4-port-216 video, |
| 1006 | .framed-nexus4-port-216 img { |
| 1007 | width: 216px; |
| 1008 | height: 360px; } |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 1009 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1010 | .framed-nexus5-port-span-5 { |
| 1011 | background: transparent url(../images/styles/device_nexus5_blank_port_span5.png) no-repeat |
| 1012 | scroll top left; |
| 1013 | padding: 52px 33px 69px 31px; |
| 1014 | overflow: hidden; |
| 1015 | } |
| 1016 | |
| 1017 | .framed-nexus5-port-span-5, |
| 1018 | .framed-nexus5-port-span-5 video, |
| 1019 | .framed-nexus5-port-span-5 img { |
| 1020 | width: 216px; |
| 1021 | height: 384px; |
| 1022 | } |
| 1023 | |
| 1024 | .framed-nexus5-land-span-13 { |
| 1025 | background: transparent url(../images/styles/device_nexus5_blank_land_span13.png) no-repeat scroll top left; |
| 1026 | padding: 36px 119px 54px 108px; |
| 1027 | overflow: hidden; |
| 1028 | } |
| 1029 | |
| 1030 | .framed-nexus5-land-span-13, |
| 1031 | .framed-nexus5-land-span-13 video, |
| 1032 | .framed-nexus5-land-span-13 img { |
| 1033 | width: 533px; |
| 1034 | height: 300px; |
| 1035 | } |
| 1036 | |
| 1037 | .framed-nexus5-port-span-5, |
| 1038 | .framed-nexus5-port-span-5 video, |
| 1039 | .framed-nexus5-port-span-5 img { |
| 1040 | width: 216px; |
| 1041 | height: 384px; |
| 1042 | } |
| 1043 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 1044 | /* wear device frames */ |
| 1045 | |
| 1046 | .framed-wear-square { |
| 1047 | background: transparent url(../images/styles/device_wear_square.png) no-repeat scroll top left; |
| 1048 | background-size: 302px 302px; |
| 1049 | height:222px; |
| 1050 | width:222px; |
| 1051 | padding:40px; |
| 1052 | overflow:hidden; |
| 1053 | } |
| 1054 | |
| 1055 | .framed-wear-square-small { |
| 1056 | background: transparent url(../images/styles/device_wear_square_small.png) no-repeat scroll top left; |
| 1057 | background-size: 169px 200px; |
| 1058 | height:147px; |
| 1059 | width:147px; |
| 1060 | padding:27px 11px; |
| 1061 | overflow:hidden; |
| 1062 | } |
| 1063 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1064 | #api-info-block { |
| 1065 | color: #999; |
| 1066 | float: right; |
| 1067 | font-size: 12px; |
| 1068 | font-weight: normal; |
| 1069 | line-height: 14px; |
| 1070 | margin: 20px 0 0; |
| 1071 | max-width: 80%; |
| 1072 | padding: 0 10px 6px; |
| 1073 | text-align: right; |
| 1074 | } |
| 1075 | |
| 1076 | #api-info-block a, |
| 1077 | #api-info-block a:active, |
| 1078 | #api-info-block a:visited { |
| 1079 | color: #222; |
| 1080 | } |
| 1081 | |
| 1082 | #jd-header { |
| 1083 | font-size: 12px; |
| 1084 | margin: 20px 0 12px; |
| 1085 | padding: 0 0 12px; |
| 1086 | } |
| 1087 | |
| 1088 | #jd-header h1 { |
| 1089 | margin: 0; |
| 1090 | padding: 0 0 6px; |
| 1091 | } |
| 1092 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 1093 | #jd-content |
| 1094 | .framed-wear-square img { |
| 1095 | height:222px; |
| 1096 | width: 222px; |
| 1097 | padding:0; |
| 1098 | margin:0; |
| 1099 | } |
| 1100 | |
| 1101 | #jd-content |
| 1102 | .framed-wear-square-small img { |
| 1103 | height:147px; |
| 1104 | width: 147px; |
| 1105 | padding:0; |
| 1106 | margin:0; |
| 1107 | } |
| 1108 | |
| 1109 | |
| 1110 | |
| 1111 | |
| 1112 | |
| 1113 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1114 | /* landing page disclosures */ |
| 1115 | .landing-page-link { |
| 1116 | text-decoration: none; |
| 1117 | font-weight: 500; |
| 1118 | color: #333333; } |
| 1119 | .landing-page-link:after { |
| 1120 | content: ''; |
| 1121 | background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%; |
| 1122 | width: 10px; |
| 1123 | height: 10px; |
| 1124 | display: inline-block; |
| 1125 | margin-left: 5px; } |
| 1126 | |
| 1127 | /* tooltips */ |
| 1128 | .tooltip-box { |
| 1129 | position: absolute; |
| 1130 | background-color: rgba(0, 0, 0, 0.9); |
| 1131 | border-radius: 2px; |
| 1132 | font-size: 14px; |
| 1133 | line-height: 20px; |
| 1134 | color: #fff; |
| 1135 | padding: 6px 10px; |
| 1136 | max-width: 250px; |
| 1137 | z-index: 10000; } |
| 1138 | .tooltip-box.below:after { |
| 1139 | position: absolute; |
| 1140 | content: ''; |
| 1141 | line-height: 0; |
| 1142 | display: block; |
| 1143 | top: -10px; |
| 1144 | left: 5px; |
| 1145 | border: 5px solid transparent; |
| 1146 | border-bottom-color: rgba(0, 0, 0, 0.9); } |
| 1147 | |
| 1148 | /* video note */ |
| 1149 | .video-instructions { |
| 1150 | margin-top: 10px; |
| 1151 | margin-bottom: 10px; } |
| 1152 | .video-instructions:before { |
| 1153 | content: ''; |
| 1154 | background: transparent url(../images/styles/ico_movie_inline.png) no-repeat scroll top left; |
| 1155 | display: inline-block; |
| 1156 | width: 12px; |
| 1157 | height: 12px; |
| 1158 | margin-right: 8px; } |
| 1159 | .video-instructions:after { |
| 1160 | content: 'Click device screen to replay movie.'; } |
| 1161 | |
| 1162 | /* download buttons */ |
| 1163 | .download-button { |
| 1164 | display: block; |
| 1165 | margin-bottom: 5px; |
| 1166 | text-decoration: none; |
| 1167 | background-color: #33b5e5; |
| 1168 | color: #fff !important; |
| 1169 | font-weight: 500; |
| 1170 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12); |
| 1171 | padding: 6px 12px; |
| 1172 | border-radius: 2px; } |
| 1173 | .download-button:hover, .download-button:focus { |
| 1174 | background-color: #0099cc; |
| 1175 | color: #fff !important; } |
| 1176 | .download-button:active { |
| 1177 | background-color: #006699; } |
| 1178 | |
| 1179 | /* UI tables and other things found in Writing style and Settings pattern */ |
| 1180 | .ui-table { |
| 1181 | width: 100%; |
| 1182 | background-color: #282828; |
| 1183 | color: #fff; |
| 1184 | border-radius: 2px; |
| 1185 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); |
| 1186 | border-collapse: separate; } |
| 1187 | .ui-table th, |
| 1188 | .ui-table td { |
| 1189 | padding: 5px 10px; |
| 1190 | background-color: inherit; |
| 1191 | border:0;} |
| 1192 | .ui-table thead th { |
| 1193 | font-weight: bold; } |
| 1194 | .ui-table tfoot td { |
| 1195 | border-top: 1px solid #494949; |
| 1196 | border-right: 1px solid #494949; |
| 1197 | text-align: center; } |
| 1198 | .ui-table tfoot td:last-child { |
| 1199 | border-right: 0; } |
| 1200 | |
| 1201 | .layout-with-list-item-margins { |
| 1202 | margin-left: 30px !important; } |
| 1203 | |
| 1204 | .emulate-content-left-padding { |
| 1205 | margin-left: 10px; } |
| 1206 | |
| 1207 | .do-dont-label { |
| 1208 | margin-bottom: 10px; |
| 1209 | padding-left: 20px; |
| 1210 | background: transparent none no-repeat scroll 0px 3px; } |
| 1211 | .do-dont-label.bad { |
| 1212 | background-image: url(../images/styles/ico_wrong.png); } |
| 1213 | .do-dont-label.good { |
| 1214 | background-image: url(../images/styles/ico_good.png); } |
| 1215 | |
| 1216 | |
| 1217 | |
| 1218 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1219 | /* -------------------------------------------------------------------------- |
| 1220 | Footer |
| 1221 | */ |
| 1222 | .line { |
| 1223 | clear: both; |
| 1224 | background: #acbc00; |
| 1225 | background: -moz-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1226 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #acbc00), |
| 1227 | color-stop(50%, #acbc00), color-stop(50%, #bdde00), color-stop(100%, #bdde00)); |
| 1228 | background: -webkit-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1229 | background: -o-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1230 | background: -ms-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1231 | background: linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1232 | height: 2px; |
| 1233 | margin-top: 150px; |
| 1234 | position: relative; |
| 1235 | z-index: 11; |
| 1236 | } |
| 1237 | #footer { |
| 1238 | font-size:11px; |
| 1239 | clear: both; |
| 1240 | color: #999; |
| 1241 | padding: 15px 0; |
| 1242 | margin-top:10px; |
| 1243 | width:auto; |
| 1244 | } |
| 1245 | #footer-local ul { |
| 1246 | list-style: none; |
| 1247 | margin: 5px 0 30px 0; |
| 1248 | } |
| 1249 | #footer-local li { |
| 1250 | display: inline; |
| 1251 | } |
| 1252 | #footer-local li+li:before { |
| 1253 | content: '|'; |
| 1254 | padding: 0 3px; |
| 1255 | color: #e5e5e5; |
| 1256 | } |
| 1257 | #footer-global { |
| 1258 | padding: 10px 15px; |
| 1259 | background: #f5f5f5; |
| 1260 | } |
| 1261 | #footer-global { |
| 1262 | border-top: 1px solid #ebebeb; |
| 1263 | font-size: 11.5px; |
| 1264 | line-height: 1.8; |
| 1265 | list-style: none; |
| 1266 | } |
| 1267 | #footer-global ul { |
| 1268 | margin: 0; |
| 1269 | } |
| 1270 | #footer-global li { |
| 1271 | display: inline; |
| 1272 | font-weight: bold; |
| 1273 | } |
| 1274 | #footer-global li+li:before { |
| 1275 | content: '¬?'; |
| 1276 | padding: 0 3px; |
| 1277 | } |
| 1278 | * html #footer-global li { |
| 1279 | margin: 0 13px 0 0; |
| 1280 | } |
| 1281 | * [dir='rtl'] #footer-global li { |
| 1282 | margin: 0 0 0 13px; |
| 1283 | } |
| 1284 | *+html #footer-global li { |
| 1285 | margin: 0 13px 0 0; |
| 1286 | } |
| 1287 | *+[dir='rtl'] #footer-global li { |
| 1288 | margin: 0 0 0 13px; |
| 1289 | } |
| 1290 | #footer-global li a { |
| 1291 | font-weight: normal; |
| 1292 | } |
| 1293 | .locales { |
| 1294 | margin: 10px 0 0 0px; |
| 1295 | } |
| 1296 | [dir='rtl'] .locales { |
| 1297 | background-position: right center; |
| 1298 | float: left; |
| 1299 | padding: 0 24px 0 0; |
| 1300 | } |
| 1301 | .locales form { |
| 1302 | margin: 0; |
| 1303 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1304 | |
| 1305 | .locales select, |
| 1306 | .locales option { |
| 1307 | text-transform: capitalize; |
| 1308 | } |
| 1309 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1310 | .locales select, .sites select { |
| 1311 | line-height: 3.08; |
| 1312 | margin: 0px 0; |
| 1313 | border: solid 1px #EBEBEB; |
| 1314 | -webkit-appearance: none; |
| 1315 | background: white url('../images/arrows-up-down.png') right center no-repeat; |
| 1316 | height: 30px; |
| 1317 | color: #222; |
| 1318 | line-height: normal; |
| 1319 | padding: 5px; |
| 1320 | width: 230px; |
| 1321 | } |
| 1322 | } |
| 1323 | |
| 1324 | /* ============================================================================= |
| 1325 | Print Only |
| 1326 | ========================================================================== */ |
| 1327 | @media print { |
| 1328 | /* configure printed page */ |
| 1329 | @page { |
| 1330 | margin: 0.75in 1in; |
| 1331 | widows: 4; |
| 1332 | orphans: 4; |
| 1333 | } |
| 1334 | |
| 1335 | /* reset spacing metrics */ |
| 1336 | html, body, .wrap { |
| 1337 | margin: 0 !important; |
| 1338 | padding: 0 !important; |
| 1339 | width: auto !important; |
| 1340 | } |
| 1341 | |
| 1342 | /* leave enough space on the left for bullets */ |
| 1343 | body { |
| 1344 | padding-left: 20px !important; |
| 1345 | } |
| 1346 | #doc-col { |
| 1347 | margin-left: 0; |
| 1348 | } |
| 1349 | |
| 1350 | /* hide a bunch of non-content elements */ |
| 1351 | #header, #footer, #nav-x, #side-nav, |
| 1352 | .training-nav-top, .training-nav-bottom, |
| 1353 | #doc-col .content-footer, |
| 1354 | .nav-x, .nav-y, |
Scott Main | 20cf2a9 | 2014-04-02 21:57:20 -0700 | [diff] [blame] | 1355 | .paging-links { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1356 | display: none !important; |
| 1357 | } |
| 1358 | |
| 1359 | /* remove extra space above page titles */ |
| 1360 | #doc-col .content-header { |
| 1361 | margin-top: 0; |
| 1362 | } |
| 1363 | |
| 1364 | /* bump up spacing above subheadings */ |
| 1365 | h2 { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1366 | padding-top: 40px !important; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1367 | } |
| 1368 | |
| 1369 | /* print link URLs where possible and give links default text color */ |
| 1370 | p a:after { |
| 1371 | content: " (" attr(href) ")"; |
| 1372 | font-size: 80%; |
| 1373 | } |
| 1374 | p a { |
| 1375 | word-wrap: break-word; |
| 1376 | } |
| 1377 | a { |
| 1378 | color: inherit; |
| 1379 | } |
| 1380 | |
| 1381 | /* syntax highlighting rules */ |
| 1382 | .str { color: #060; } |
| 1383 | .kwd { color: #006; font-weight: bold; } |
| 1384 | .com { color: #600; font-style: italic; } |
| 1385 | .typ { color: #404; font-weight: bold; } |
| 1386 | .lit { color: #044; } |
| 1387 | .pun { color: #440; } |
| 1388 | .pln { color: #000; } |
| 1389 | .tag { color: #006; font-weight: bold; } |
| 1390 | .atn { color: #404; } |
| 1391 | .atv { color: #060; } |
| 1392 | } |
| 1393 | |
| 1394 | /* ============================================================================= |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1395 | Layout |
| 1396 | ========================================================================== */ |
| 1397 | @media screen, projection, print { |
| 1398 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1399 | .training-nav-top { |
| 1400 | border:1px solid #e5e5e5; |
| 1401 | border-width: 1px 1px 0; |
| 1402 | bottom: -56px; |
| 1403 | box-sizing: border-box; |
Dirk Dougherty | 29e9343 | 2015-05-05 18:17:13 -0700 | [diff] [blame] | 1404 | position: absolute; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1405 | right: 0; |
| 1406 | width: 280px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1407 | } |
| 1408 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1409 | .training-nav-bottom { |
| 1410 | float:right; |
| 1411 | margin:0 0 0 20px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1412 | padding:0 0 20px; |
| 1413 | } |
| 1414 | |
| 1415 | #tb-wrapper, |
| 1416 | #qv-wrapper { |
| 1417 | float:right; |
| 1418 | clear:right; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 1419 | margin:6px 0 0 30px; /* negative top-margin to counter the content-header bottom margin */ |
Dirk Dougherty | 0803240 | 2014-02-15 10:14:35 -0800 | [diff] [blame] | 1420 | padding:0 0 30px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1421 | } |
| 1422 | |
| 1423 | #tb-wrapper { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1424 | margin:56px 0 0 20px; /* negative top-margin to counter the content-header bottom margin */ |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1425 | } |
| 1426 | |
| 1427 | #tb, |
| 1428 | #qv { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1429 | border: 1px solid #e5e5e5; |
| 1430 | box-sizing: border-box; |
| 1431 | float: right; |
| 1432 | line-height: 16px; |
| 1433 | padding: 5px 0; |
| 1434 | width: 240px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1435 | } |
| 1436 | |
| 1437 | #tb { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1438 | width:280px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1439 | } |
| 1440 | |
| 1441 | #tb h2, |
| 1442 | #qv h2 { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1443 | border-top: 1px solid #e5e5e5; |
| 1444 | color: inherit; |
| 1445 | font-size: 16px; |
| 1446 | line-height: 24px; |
| 1447 | margin: 15px 0 4px; |
| 1448 | padding: 10px 15px 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1449 | } |
| 1450 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1451 | #tb h2:first-child, |
| 1452 | #qv h2:first-child { |
| 1453 | border-top: 0; |
| 1454 | padding-top: 0; |
| 1455 | margin-top: 10px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1456 | } |
| 1457 | |
| 1458 | #tb .download-box, |
| 1459 | #qv .download-box { |
| 1460 | padding:0 0 0 15px; |
| 1461 | } |
| 1462 | |
| 1463 | #tb .download-box .filename, |
| 1464 | #qv .download-box .filename { |
| 1465 | font-size:11px; |
| 1466 | margin:4px 4px 10px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1467 | } |
| 1468 | |
| 1469 | @media (max-width: 719px) { |
| 1470 | .training-nav-top { |
| 1471 | left: 0; |
| 1472 | width: auto; |
| 1473 | } |
| 1474 | |
| 1475 | #tb-wrapper { |
| 1476 | clear: none; |
| 1477 | float: none; |
| 1478 | margin-left: 0; |
| 1479 | } |
| 1480 | |
| 1481 | #tb { |
| 1482 | float: none; |
| 1483 | width: auto; |
| 1484 | } |
| 1485 | |
| 1486 | #qv-wrapper { |
| 1487 | display: none; |
| 1488 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1489 | } |
| 1490 | |
| 1491 | |
| 1492 | /* Dev guide quicknav */ |
| 1493 | |
| 1494 | .sidebox-wrapper { |
| 1495 | float:right; |
| 1496 | clear:right; |
| 1497 | margin:0 0 0 20px; |
| 1498 | padding:0 0 20px; |
| 1499 | } |
| 1500 | |
| 1501 | .sidebox { |
| 1502 | width:226px; |
| 1503 | font-size:13px; |
| 1504 | line-height:18px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1505 | border-left:3px solid #96ca7c; |
| 1506 | border-left-color: rgba(106, 179, 68, .7); /* #6ab344 * 70% */ |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1507 | float:right; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1508 | padding:0 0 0 20px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1509 | margin:0 0 1em 20px; |
| 1510 | } |
| 1511 | |
| 1512 | .sidebox h2, |
| 1513 | .sidebox h3, |
| 1514 | .sidebox h4, |
| 1515 | .sidebox h5 { |
| 1516 | font-weight:bold; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1517 | padding: 0 0 10px; |
Dirk Dougherty | e21bed2 | 2014-05-02 15:14:04 -0700 | [diff] [blame] | 1518 | line-height: 16px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1519 | } |
| 1520 | |
| 1521 | .sidebox * { |
| 1522 | font-size:inherit; |
| 1523 | } |
| 1524 | |
| 1525 | .sidebox > *:last-child { |
| 1526 | margin-bottom:0; |
| 1527 | } |
| 1528 | |
| 1529 | #tb ol, |
| 1530 | #tb ul, |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1531 | #tb p, |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1532 | #qv ul { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1533 | list-style-type: none; |
| 1534 | margin:0 15px 10px 15px; |
| 1535 | } |
| 1536 | |
| 1537 | #tb li, |
| 1538 | #qv li { |
| 1539 | margin: 8px 0; |
| 1540 | padding: 0 0 0 16px; |
| 1541 | position: relative; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1542 | } |
| 1543 | |
| 1544 | #qv ol { |
| 1545 | list-style:none; |
| 1546 | margin:0 15px 15px; |
| 1547 | font-size:inherit; |
| 1548 | line-height:inherit; |
| 1549 | } |
| 1550 | |
| 1551 | #tb ol ol, |
| 1552 | #tb ul ul, |
| 1553 | #qv ol ol, |
| 1554 | #qv ul ul, |
| 1555 | .sidebox ol ol, |
| 1556 | .sidebox ul ul { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1557 | margin: 8px 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1558 | } |
| 1559 | |
| 1560 | .sidebox p, |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1561 | #qv p { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1562 | margin: 0 0 10px; |
| 1563 | } |
| 1564 | |
| 1565 | /* related resources blocks in checklists */ |
| 1566 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 1567 | /* related resources sections that have dynamic content */ |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1568 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1569 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1570 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 1571 | h3.rel-resources { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1572 | padding:1.25em auto; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1573 | } |
| 1574 | |
| 1575 | /* -------------------------------------------------------------------------- |
| 1576 | Form |
| 1577 | */ |
| 1578 | .article form { |
| 1579 | margin: 0 0 20px; |
| 1580 | } |
| 1581 | .article form .form-required { |
| 1582 | color: #dd4b39; |
| 1583 | } |
| 1584 | .article form fieldset { |
| 1585 | margin: 0 0 20px; |
| 1586 | padding: 0; |
| 1587 | } |
| 1588 | .article form legend { |
| 1589 | display: block; |
| 1590 | line-height: 1.5; |
| 1591 | margin: 0; |
| 1592 | padding: 0; |
| 1593 | } |
| 1594 | /* |
| 1595 | .article form ol, .article form ul { |
| 1596 | margin: 0 0 0 1em; |
| 1597 | padding: 0 0 0 1em; |
| 1598 | } |
| 1599 | [dir='rtl'] .article form ol, [dir='rtl'] .article form ul { |
| 1600 | margin: 0 1em 0 0; |
| 1601 | padding: 0 1em 0 0; |
| 1602 | } |
| 1603 | .article form ol ul, .article form ul ul, [dir='rtl'] .article form ol ul, [dir='rtl'] .article form |
| 1604 | ul ul { |
| 1605 | list-style: none; |
| 1606 | margin: 0; |
| 1607 | padding: 0; |
| 1608 | } |
| 1609 | .article form li { |
| 1610 | margin: 0 0 20px; |
| 1611 | } |
| 1612 | .article form li li { |
| 1613 | margin: 0 0 5px; |
| 1614 | } |
| 1615 | */ |
| 1616 | .article form label { |
| 1617 | display: block; |
| 1618 | margin: 0 0 5px; |
| 1619 | padding: 0; |
| 1620 | } |
| 1621 | .article form input[type='text'], .article form select, .article form textarea, .article form |
| 1622 | .checkbox-group, .article form .radio-group { |
| 1623 | margin-bottom: 15px; |
| 1624 | } |
| 1625 | .checkbox-group input { |
| 1626 | width: 13px; |
| 1627 | height: 13px; |
| 1628 | background: #fff; |
| 1629 | border: solid 1px #c6c6c6; |
| 1630 | float: left; |
| 1631 | } |
| 1632 | .article form .checkbox-group, .article form .radio-group { |
| 1633 | display: block |
| 1634 | } |
| 1635 | .article form select { |
| 1636 | border: solid 1px #ebebeb; |
| 1637 | border-top-color: #ddd; |
| 1638 | -webkit-appearance: none; |
| 1639 | background: #f3f3f3 url(../images/arrows-up-down.png) right center no-repeat; |
| 1640 | height: 30px; |
| 1641 | color: #222; |
| 1642 | line-height: normal; |
| 1643 | padding: 5px; |
| 1644 | width: 130px; |
| 1645 | } |
| 1646 | |
| 1647 | .article form .browse .browse-msg { |
| 1648 | font-size: 11.5px; |
| 1649 | } |
| 1650 | .article form .browse .button-secondary { |
| 1651 | height: auto; |
| 1652 | line-height: 25px; |
| 1653 | font-size: 11px; |
| 1654 | padding: 0 8px; |
| 1655 | margin: 0 10px 15px 0; |
| 1656 | } |
| 1657 | .article form input[type='text'], .article form textarea { |
| 1658 | border: 1px solid #ebebeb; |
| 1659 | border-top-color: #dcdcdc; |
| 1660 | color: #222; |
| 1661 | line-height: normal; |
| 1662 | padding: 6px 10px; |
| 1663 | width: 300px; |
| 1664 | } |
| 1665 | .article form textarea { |
| 1666 | height: 150px; |
| 1667 | } |
| 1668 | .article form input[type='text']:focus, .article form textarea:focus { |
| 1669 | border-color: #33B5E5; |
| 1670 | -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); |
| 1671 | -o-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); |
| 1672 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); |
| 1673 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); |
| 1674 | outline: 0; |
| 1675 | } |
| 1676 | .article form input[disabled], .article form textarea[disabled], .article form label.form-disabled { |
| 1677 | color: #999; |
| 1678 | } |
| 1679 | .article form input[type='text'][disabled], .article form textarea[disabled] { |
| 1680 | background-color: #ebebeb; |
| 1681 | } |
| 1682 | form .form-error input[type='text'], form .form-error textarea { |
| 1683 | border-color: #dd4b39; |
| 1684 | margin-right: 20px; |
| 1685 | } |
| 1686 | .aside { |
| 1687 | -moz-border-radius: 2px; |
| 1688 | -webkit-border-radius: 2px; |
| 1689 | border-radius: 2px; |
| 1690 | margin: 10px 0; |
| 1691 | padding: 20px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1692 | position: relative; |
| 1693 | background: #f9f9f9; |
| 1694 | } |
| 1695 | /* |
| 1696 | .aside, .notification, .promo { |
| 1697 | -moz-border-radius: 2px; |
| 1698 | -webkit-border-radius: 2px; |
| 1699 | border-radius: 2px; |
| 1700 | margin: 10px 0; |
| 1701 | padding: 10px; |
| 1702 | position: relative; |
| 1703 | } |
| 1704 | .aside>:first-child, .notification>:first-child, .promo>:first-child { |
| 1705 | margin-top: 0; |
| 1706 | } |
| 1707 | .aside>:last-child, .notification>:last-child, .promo>:last-child { |
| 1708 | margin-bottom: 0; |
| 1709 | } |
| 1710 | .aside { |
| 1711 | background: #f9f9f9; |
| 1712 | } |
| 1713 | .notification { |
| 1714 | background: #fffbe4; |
| 1715 | border-color: #f8f6e6; |
| 1716 | } |
| 1717 | .promo { |
| 1718 | background: #f6f9ff; |
| 1719 | border-color: #eff2f9; |
| 1720 | } |
| 1721 | */ |
| 1722 | |
| 1723 | /* SDK TOS styles */ |
| 1724 | |
| 1725 | div.sdk-terms { |
| 1726 | white-space: pre-wrap; |
| 1727 | word-wrap: break-word; |
| 1728 | font-family: inherit; |
| 1729 | font-size: inherit; |
| 1730 | padding: 10px; |
| 1731 | height: 370px; |
| 1732 | width: 738px; |
| 1733 | border: 1px solid #444; |
| 1734 | background: transparent; |
| 1735 | overflow:auto; |
| 1736 | margin:0 0 10px; |
| 1737 | } |
| 1738 | |
| 1739 | div.sdk-terms.fullsize { |
| 1740 | padding: 0; |
| 1741 | height: auto; |
| 1742 | width: auto; |
| 1743 | border:none; |
| 1744 | } |
| 1745 | |
| 1746 | div.sdk-terms h3, |
| 1747 | div.sdk-terms h2 { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1748 | padding: 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1749 | } |
| 1750 | |
| 1751 | div#sdk-terms-form { |
| 1752 | padding:0 0 0 10px; |
| 1753 | } |
| 1754 | |
| 1755 | div#sdk-terms-form input { |
| 1756 | display:inline; |
| 1757 | margin:4px 4px 4px 0; |
| 1758 | } |
| 1759 | |
| 1760 | |
| 1761 | /* -------------------------------------------------------------------------- |
| 1762 | Code Style |
| 1763 | */ |
| 1764 | pre { |
| 1765 | margin:0 0 1em 0; |
| 1766 | padding: 1em; |
| 1767 | overflow: auto; |
| 1768 | border: solid 1px #ddd; |
| 1769 | background: #f7f7f7; |
| 1770 | } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1771 | |
| 1772 | p.package-name { |
| 1773 | margin:1em 0; |
| 1774 | } |
| 1775 | |
| 1776 | h1.api-title { |
| 1777 | padding-bottom:0; |
| 1778 | } |
| 1779 | |
| 1780 | h2.api-section { |
| 1781 | margin: 60px 0 0; |
| 1782 | } |
| 1783 | |
| 1784 | h2.api-section+hr { |
| 1785 | margin-bottom: 30px; |
| 1786 | } |
| 1787 | |
| 1788 | h3.api-name { |
| 1789 | margin: 80px 0 12px; |
| 1790 | padding: 0; |
| 1791 | } |
| 1792 | |
| 1793 | /* remove top padding when this h3 (visibly) follows an h2. |
| 1794 | This accounts for the variation in structure, |
| 1795 | including the collapsed mobile headings */ |
| 1796 | h2+hr+div>div>a+div>h3.api-name, |
| 1797 | h2+hr+a+div>h3.api-name, |
| 1798 | h2+hr+a+h3.api-name { |
| 1799 | margin-top: 0; |
| 1800 | } |
| 1801 | |
| 1802 | pre.api-signature, |
| 1803 | code.api-signature { |
| 1804 | color:inherit; |
| 1805 | padding:0; |
| 1806 | margin:1em 0; |
| 1807 | border:0; |
| 1808 | background:transparent; |
| 1809 | } |
| 1810 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1811 | .str { color: #800; } /* Code string */ |
| 1812 | .kwd { color: #008; } |
| 1813 | .typ { color: #606; } |
| 1814 | .lit { color: #066; } |
| 1815 | .pun { color: #660; } |
| 1816 | .pln { color: #000; } |
| 1817 | .tag { color: #008; } |
| 1818 | .atn { color: #828; } |
| 1819 | .atv { color: #800; } /* XML string */ |
| 1820 | .dec { color: #606; } |
| 1821 | |
| 1822 | /* -------------------------------------------------------------------------- |
| 1823 | Three-Pane |
| 1824 | */ |
| 1825 | /* Package Nav & Classes Nav */ |
| 1826 | .three-pane { |
| 1827 | position: relative; |
| 1828 | border-top: solid 1px #ebebeb; |
| 1829 | } |
| 1830 | #packages-nav .js-pane, |
| 1831 | #classes-nav .js-pane { |
| 1832 | overflow:visible; |
| 1833 | } |
| 1834 | #packages-nav { |
| 1835 | height:270px; |
| 1836 | max-height: inherit; |
| 1837 | overflow: hidden; |
| 1838 | position: relative; |
| 1839 | } |
| 1840 | #classes-nav { |
| 1841 | overflow: hidden; |
| 1842 | position: relative; |
| 1843 | } |
| 1844 | #packages-nav ul, #classes-nav ul { |
| 1845 | list-style-type: none; |
| 1846 | margin: 10px 0 20px 0; |
| 1847 | padding: 0; |
| 1848 | } |
| 1849 | #classes-nav li { |
| 1850 | font-weight: bold; |
| 1851 | margin: 5px 0; |
| 1852 | } |
| 1853 | #packages-nav li, |
| 1854 | #classes-nav li li { |
| 1855 | margin: 0; |
| 1856 | } |
| 1857 | #packages-nav li a, #packages-nav li a:active, #packages-nav li a:visited, |
| 1858 | #classes-nav li a, #classes-nav li a:active, #classes-nav li a:visited { |
| 1859 | padding: 0 0 0 4px; |
| 1860 | } |
| 1861 | #packages-nav li a, #packages-nav li a:active, #packages-nav li a:visited, |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1862 | #classes-nav li li a, #classes-nav li li a:active, #classes-nav li li a:visited { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1863 | color: #222; |
| 1864 | font-weight: normal; |
| 1865 | } |
| 1866 | #packages-nav li a, #packages-nav li a:active, #packages-nav li a:visited, |
| 1867 | #classes-nav li li a, #classes-nav li li a:active, #classes-nav li li a:visited { |
| 1868 | display: block; |
| 1869 | } |
| 1870 | #packages-nav li.selected a, #packages-nav li.selected a:active, #packages-nav li.selected |
| 1871 | a:visited, |
| 1872 | #classes-nav li li.selected a, #classes-nav li li.selected a:active, #classes-nav li li.selected |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1873 | a:visited { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1874 | font-weight: 500; |
| 1875 | color: #0099cc; |
| 1876 | background-color:#fff; } |
| 1877 | #packages-nav li.selected ul li a, |
| 1878 | #classes-nav li.selected ul li a { |
| 1879 | /* don't highlight child items */ |
| 1880 | color: #555555; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1881 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1882 | #nav-swap { |
| 1883 | height:30px; |
| 1884 | border-top:1px solid #ccc; |
| 1885 | } |
| 1886 | #nav-swap a { |
| 1887 | display:inline-block; |
| 1888 | height:100%; |
| 1889 | color: #222; |
| 1890 | font-size: 12px; |
| 1891 | padding: 5px 0 5px 5px; |
| 1892 | } |
| 1893 | |
| 1894 | #nav-swap .fullscreen { |
| 1895 | float: right; |
| 1896 | width: 24px; |
| 1897 | height: 24px; |
| 1898 | text-indent: -1000em; |
| 1899 | padding:0; |
| 1900 | margin:3px 5px 0; |
| 1901 | background: url(../images/fullscreen.png) no-repeat -24px 0; |
| 1902 | } |
| 1903 | #nav-swap .fullscreen.disabled { |
| 1904 | background-position: 0 0; |
| 1905 | } |
| 1906 | #nav-swap .fullscreen:hover, |
| 1907 | #nav-swap .fullscreen:focus { |
| 1908 | cursor:pointer; |
| 1909 | } |
| 1910 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1911 | /* Content */ |
| 1912 | #doc-col { |
| 1913 | margin-right:0; |
| 1914 | } |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 1915 | |
| 1916 | /* Uncomment this for preview release watermark |
| 1917 | #doc-col { |
| 1918 | background: url('../images/preview.png') repeat; |
| 1919 | } |
| 1920 | */ |
| 1921 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1922 | #doc-content-container { |
| 1923 | margin-left: 291px |
| 1924 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1925 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1926 | #doc-header, #doc-content { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1927 | padding: 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1928 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1929 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1930 | #doc-header { |
| 1931 | background: #f7f7f7; |
| 1932 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1933 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1934 | #doc-header h1 { |
| 1935 | line-height: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1936 | padding-bottom: 15px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1937 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1938 | |
| 1939 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1940 | #api-info-block { |
| 1941 | float: right; |
| 1942 | font-weight: bold; |
| 1943 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1944 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1945 | #api-info-block a, #api-info-block a:active, #api-info-block a:visited { |
| 1946 | color: #222; |
| 1947 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1948 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1949 | #api-info-block a:hover, #api-info-block a:focus { |
| 1950 | color: #33B5E5; |
| 1951 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1952 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1953 | #api-nav-header { |
| 1954 | height:19px; /* plus 16px padding = 35; same as #nav li */ |
| 1955 | font-size:14px; |
| 1956 | padding: 8px 0; |
| 1957 | margin: 0; |
| 1958 | border-bottom: 1px solid #CCC; |
| 1959 | background:#e9e9e9; |
| 1960 | background: rgba(0, 0, 0, 0.05); /* matches #nav li.expanded */ |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 1961 | line-height: 19px; /* Fix regression after page line-height is bumped to 24px */ |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1962 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1963 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1964 | #api-nav-title { |
| 1965 | padding:0 5px; |
| 1966 | white-space:nowrap; |
| 1967 | } |
| 1968 | |
| 1969 | #api-level-toggle { |
| 1970 | float:right; |
| 1971 | padding:0 5px; |
| 1972 | } |
| 1973 | |
| 1974 | #api-level-toggle label { |
| 1975 | margin:0; |
| 1976 | vertical-align:top; |
| 1977 | line-height: 19px; |
| 1978 | font-size:13px; |
| 1979 | height: 19px; |
| 1980 | } |
| 1981 | |
| 1982 | #api-level-toggle .select-wrapper { |
| 1983 | width: 35px; |
| 1984 | display: inline-block; |
| 1985 | overflow: hidden; |
| 1986 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 1987 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1988 | #api-level-toggle select { |
| 1989 | border: 0; |
| 1990 | appearance:none; |
| 1991 | -moz-appearance:none; |
| 1992 | -webkit-appearance: none; |
| 1993 | background: transparent url(../images/arrows-up-down.png) 23px 5px no-repeat; |
| 1994 | color: #222; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1995 | /* remove the lines below after xp testing |
| 1996 | height: 19px; |
| 1997 | line-height: 19px; */ |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 1998 | padding: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 1999 | margin: .5px 0 0 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2000 | width:150%; |
| 2001 | font-size:13px; |
| 2002 | vertical-align:top; |
| 2003 | outline:0; |
| 2004 | } |
| 2005 | |
| 2006 | |
| 2007 | /* Toggle for revision notes and stuff */ |
| 2008 | div.toggle-content.closed .toggle-content-toggleme { |
| 2009 | display:none; |
| 2010 | } |
| 2011 | |
| 2012 | #jd-content img.toggle-content-img { |
| 2013 | margin:0 5px 5px 0; |
| 2014 | } |
| 2015 | |
| 2016 | div.toggle-content-toggleme { |
| 2017 | padding:0 0 0 15px; |
| 2018 | } |
| 2019 | |
| 2020 | |
| 2021 | /* API LEVEL FILTERED MEMBERS */ |
| 2022 | |
| 2023 | .absent, |
| 2024 | .absent a:link, |
| 2025 | .absent a:visited, |
| 2026 | .absent a:hover, |
| 2027 | .absent * { |
| 2028 | color:#bbb !important; |
| 2029 | cursor:default !important; |
| 2030 | text-decoration:none !important; |
| 2031 | } |
| 2032 | #devdoc-nav li.absent.selected, |
| 2033 | #devdoc-nav li.absent.selected *, |
| 2034 | #devdoc-nav div.label.absent.selected, |
| 2035 | #devdoc-nav div.label.absent.selected * { |
| 2036 | background-color:#eaeaea !important; |
| 2037 | } |
| 2038 | .absent h4.jd-details-title, |
| 2039 | .absent h4.jd-details-title * { |
| 2040 | background-color:#f6f6f6 !important; |
| 2041 | } |
| 2042 | .absent img { |
| 2043 | opacity: .3; |
| 2044 | filter: alpha(opacity=30); |
| 2045 | -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; |
| 2046 | } |
| 2047 | |
| 2048 | |
| 2049 | |
| 2050 | |
| 2051 | |
| 2052 | |
| 2053 | |
| 2054 | |
| 2055 | |
| 2056 | /* JQUERY RESIZABLE STYLES */ |
| 2057 | .ui-resizable { position: relative; } |
| 2058 | .ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; } |
| 2059 | .ui-resizable .ui-resizable-handle { display: block; border-bottom: 1px solid #e4e4e4; } |
| 2060 | /*body .ui-resizable-disabled .ui-resizable-handle { display: none; } |
| 2061 | body .ui-resizable-autohide .ui-resizable-handle { display: none; }*/ |
| 2062 | .ui-resizable-s { cursor: s-resize; height: 10px; width: 100% !important; bottom: -11px; left: 0; |
| 2063 | border-bottom: solid 1px #ededed; |
| 2064 | background: #f7f7f7 url("../images/resizable-s2.png") no-repeat scroll center center; } |
| 2065 | /* |
| 2066 | .ui-resizable-e { |
| 2067 | cursor: e-resize; width: 10px; right: 0; top: 0; height: 100%; border-right: solid |
| 2068 | 1px #ededed;background: #f7f7f7 url("../images/resizable-e2.png") no-repeat scroll center center; } |
| 2069 | */ |
| 2070 | |
| 2071 | /* -------------------------------------------------------------------------- |
| 2072 | Lightbox |
| 2073 | */ |
| 2074 | .lightbox { |
| 2075 | width: 769px; |
| 2076 | padding: 1.5em; |
| 2077 | margin: 0 auto; |
| 2078 | border: solid 1px #dcdcdc; |
| 2079 | background: #fff; |
| 2080 | -moz-box-shadow: 1px 1px 5px rgba(0,0,0,0.1); |
| 2081 | -webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.1); |
| 2082 | box-shadow: 1px 1px 5px rgba(0,0,0,0.1) |
| 2083 | } |
| 2084 | .lightbox .header { |
| 2085 | float: left; |
| 2086 | width: 720px; |
| 2087 | margin: -10px 20px 10px 0; |
| 2088 | } |
| 2089 | .lightbox .close { |
| 2090 | float: right; |
| 2091 | width: 10px; |
| 2092 | height: 10px; |
| 2093 | margin: -10px -10px 10px 0; |
| 2094 | text-indent: -1000em; |
| 2095 | background: url(../images/close.png) no-repeat 0 0; |
| 2096 | } |
| 2097 | .lightbox .close:hover, .lightbox .close:focus { |
| 2098 | background-position: -10px 0; |
| 2099 | } |
| 2100 | |
| 2101 | /* -------------------------------------------------------------------------- |
| 2102 | Styles for samples browser |
| 2103 | */ |
| 2104 | |
| 2105 | #codesample-wrapper { |
| 2106 | width:100000px; /* super wide to contain floats, but doesn't cause scroll */ |
| 2107 | overflow:visible; |
| 2108 | } |
| 2109 | pre#codesample-block { |
| 2110 | float:left; |
| 2111 | overflow:visible; |
| 2112 | background:transparent; |
| 2113 | border:none; |
| 2114 | } |
| 2115 | pre#codesample-block a.number { |
| 2116 | display:none; |
| 2117 | } |
| 2118 | pre#codesample-block .code-line:hover { |
| 2119 | background:#e7e7e7; |
| 2120 | } |
| 2121 | pre#codesample-line-numbers { |
| 2122 | float:left; |
| 2123 | width:2em; |
| 2124 | background:transparent; |
| 2125 | border:none; |
| 2126 | border-right:1px solid #ccc; |
| 2127 | padding-left:0; |
| 2128 | font-family:monospace; |
| 2129 | text-align:right; |
| 2130 | -webkit-touch-callout: none; |
| 2131 | -webkit-user-select: none; |
| 2132 | -khtml-user-select: none; |
| 2133 | -moz-user-select: -moz-none; |
| 2134 | -ms-user-select: none; |
| 2135 | user-select: none; |
| 2136 | } |
| 2137 | pre#codesample-line-numbers a { |
| 2138 | color:#999; |
| 2139 | } |
| 2140 | pre#codesample-line-numbers.hidden { |
| 2141 | display:none; |
| 2142 | } |
| 2143 | pre#codesample-block span.code-line { |
| 2144 | width:100%; |
| 2145 | display:inline-block; |
| 2146 | } |
| 2147 | |
| 2148 | /* |
| 2149 | Styles for displaying image or video resources in samples browser. |
| 2150 | Resources are marked as no-display if they exceed the size limit. |
| 2151 | */ |
| 2152 | div#codesample-resource img, div#codesample-resource video { |
| 2153 | border: 1px solid #ececec; |
| 2154 | } |
| 2155 | |
| 2156 | div#codesample-resource.noDisplay div { |
| 2157 | border: 1px solid #ececec; |
| 2158 | width:120px; |
| 2159 | margin-bottom:4px; |
| 2160 | padding:20px; |
| 2161 | } |
| 2162 | |
| 2163 | div#codesample-resource .noDisplay-message:after { |
| 2164 | font-style:italic; |
| 2165 | font-size:12px; |
| 2166 | content: 'This resource is not available for browsing. To view it, please download the project.'; |
| 2167 | } |
| 2168 | |
| 2169 | /* |
| 2170 | Styles for project structure (treeview) page |
| 2171 | */ |
| 2172 | .structure-dir { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2173 | background-image:url(../images/folder.png); |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2174 | background-repeat:no-repeat; |
| 2175 | background-position:16px 2px; |
| 2176 | margin:.25em 0 0 0; |
| 2177 | padding:0 0 0 0; |
| 2178 | } |
| 2179 | |
| 2180 | .structure-toggleme { |
| 2181 | margin:0 0 0 3em; |
| 2182 | padding:0 0 0 0; |
| 2183 | text-decoration:none; |
| 2184 | } |
| 2185 | |
| 2186 | .structure-java{ |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2187 | background-image:url(../images/file-java.png); |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2188 | background-repeat:no-repeat; |
| 2189 | background-position:0px 2px; |
| 2190 | margin:.3em 0 0 0; |
| 2191 | padding:.3em 0 .3em 22px; |
| 2192 | } |
| 2193 | |
| 2194 | .structure-file { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2195 | background-image:url(../images/file-generic.png); |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2196 | background-repeat:no-repeat; |
| 2197 | background-position:0px 2px; |
| 2198 | margin:.3em 0 0 0; |
| 2199 | padding:.3em 0 .3em 22px; |
| 2200 | } |
| 2201 | |
| 2202 | .structure-xml { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2203 | background-image:url(../images/file-xml.png); |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2204 | background-repeat:no-repeat; |
| 2205 | background-position:0px 2px; |
| 2206 | margin:.3em 0 0 0; |
| 2207 | padding:.3em 0 .25em 22px; |
| 2208 | } |
| 2209 | |
| 2210 | .structure-img { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2211 | background-image:url(../images/file-image.png); |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2212 | background-repeat:no-repeat; |
| 2213 | background-position:0px 2px; |
| 2214 | margin:.3em 0 0 0; |
| 2215 | padding:.3em 0 .25em 22px; |
| 2216 | } |
| 2217 | |
| 2218 | .structure-manifest { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2219 | background-image:url(../images/file-manifest.png); |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2220 | background-repeat:no-repeat; |
| 2221 | margin:.0 0 0 1.25em; |
| 2222 | padding:0 0 0 22px; |
| 2223 | text-decoration:none; |
| 2224 | } |
| 2225 | |
| 2226 | #jd-content .structure-toggle-img { |
| 2227 | margin:.5em 0 0 0; |
| 2228 | padding-right:2.1em; |
| 2229 | } |
| 2230 | |
| 2231 | .dirInfo { |
| 2232 | margin-left:2em; |
| 2233 | } |
| 2234 | |
| 2235 | .structure-dir a { |
| 2236 | text-decoration:none; |
| 2237 | } |
| 2238 | |
| 2239 | .structure-manifest a { |
| 2240 | text-decoration: none; |
| 2241 | } |
| 2242 | .structure-file a { |
| 2243 | text-decoration: none; |
| 2244 | } |
| 2245 | |
| 2246 | .sampleEmbed { |
| 2247 | background-color:rgb(249, 249, 249); |
| 2248 | } |
| 2249 | |
| 2250 | .sampleEmbed ol.lineNumbers { |
| 2251 | list-style-type: decimal; |
| 2252 | padding-left:1em; |
| 2253 | } |
| 2254 | |
| 2255 | .sampleEmbed ol.lineNumbers li { |
| 2256 | border-left:1px solid #ddd; |
| 2257 | border-right:1px solid #ddd; |
| 2258 | color:gray; |
| 2259 | background-color:#f7f7f7; |
| 2260 | margin:0 0 0 24px; |
| 2261 | padding: 2px 2px 2px 6px; |
| 2262 | } |
| 2263 | |
| 2264 | .sampleEmbed ol.lineNumbers li:hover { |
| 2265 | background: #efefef; |
| 2266 | } |
| 2267 | |
| 2268 | .samples-nav li a { |
| 2269 | overflow: hidden; |
| 2270 | text-overflow: ellipsis; |
| 2271 | white-space: nowrap; |
| 2272 | } |
| 2273 | |
| 2274 | /* -------------------------------------------------------------------------- |
| 2275 | Styles for raw formatted line numbers (not used with listformatted version) |
| 2276 | div.sampleLine div.lineNumber { |
| 2277 | display: inline; |
| 2278 | } |
| 2279 | div.sampleLine div.lineCode { |
| 2280 | display: inline; |
| 2281 | padding-left:6px; |
| 2282 | } |
| 2283 | div.sampleLine { |
| 2284 | padding:0; |
| 2285 | margin:0; |
| 2286 | }*/ |
| 2287 | |
| 2288 | /* -------------------------------------------------------------------------- |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2289 | Misc and article typography |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2290 | */ |
| 2291 | |
| 2292 | |
| 2293 | .clearfix:before, .clearfix:after { |
| 2294 | content: ""; |
| 2295 | display: table |
| 2296 | } |
| 2297 | .clearfix:after { |
| 2298 | clear: both |
| 2299 | } |
| 2300 | .clearfix { |
| 2301 | *zoom: 1 |
| 2302 | } |
| 2303 | table.blank th, table.blank td { |
| 2304 | border: 0; |
| 2305 | background: none |
| 2306 | } |
| 2307 | .caption { |
| 2308 | margin: 0.5em 0 2em 0; |
| 2309 | color: #000; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 2310 | font-size: 11.5px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2311 | } |
| 2312 | |
| 2313 | .nolist, .nolist ul, .nolist ol { |
| 2314 | list-style:none; |
| 2315 | margin-left:0; |
| 2316 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2317 | |
| 2318 | ol.callouts { |
| 2319 | counter-reset: item; |
| 2320 | list-style-type: none; |
| 2321 | margin-left:44px; |
| 2322 | } |
| 2323 | ol.callouts>li:before { |
| 2324 | counter-increment: item; |
| 2325 | content: counter(item); |
| 2326 | position: absolute; |
| 2327 | color:#fff; |
| 2328 | font-weight:bold; |
| 2329 | background-image:url(../images/styles/callout-bg_2x.png); |
| 2330 | background-size:24px; |
| 2331 | width:16px; |
| 2332 | padding-left:8px; |
| 2333 | margin-left:-34px; |
| 2334 | } |
| 2335 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2336 | #tb .nolist { |
| 2337 | margin-left:15px; |
| 2338 | } |
| 2339 | |
| 2340 | dl.xml>dt { |
| 2341 | text-transform:uppercase; |
| 2342 | } |
| 2343 | dl.xml dl.attr { |
| 2344 | margin-top:0; |
| 2345 | } |
| 2346 | |
| 2347 | pre.classic { |
| 2348 | background-color:transparent; |
| 2349 | border:none; |
| 2350 | padding:0; |
| 2351 | } |
| 2352 | |
| 2353 | p.img-caption { |
| 2354 | margin: -10px 0 20px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2355 | font-size: 13px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2356 | } |
| 2357 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2358 | /* figures and callouts */ |
| 2359 | .figure { |
| 2360 | position: relative; |
| 2361 | } |
| 2362 | |
| 2363 | .figure.pad-below { |
| 2364 | margin-bottom: 20px; |
| 2365 | } |
| 2366 | |
| 2367 | .figure .figure-callout { |
| 2368 | position: absolute; |
| 2369 | color: #fff; |
| 2370 | font-weight: 500; |
| 2371 | font-size: 16px; |
| 2372 | line-height: 23px; |
| 2373 | text-align: center; |
| 2374 | background: transparent url(../images/styles/callout.png) no-repeat scroll 50% 50%; |
| 2375 | padding-right: 2px; |
| 2376 | width: 30px; |
| 2377 | height: 29px; |
| 2378 | z-index: 1000; |
| 2379 | } |
| 2380 | |
| 2381 | .figure .figure-callout.top { |
| 2382 | top: -9px; |
| 2383 | } |
| 2384 | |
| 2385 | .figure .figure-callout.right { |
| 2386 | right: -5px; |
| 2387 | } |
| 2388 | |
| 2389 | .figure-caption { |
| 2390 | margin: 0 10px 20px 0; |
| 2391 | font-size: 14px; |
| 2392 | line-height: 20px; |
| 2393 | font-style: italic; |
| 2394 | } |
| 2395 | |
| 2396 | /* rows of figures */ |
| 2397 | .figure-row { |
| 2398 | font-size: 0; |
| 2399 | line-height: 0; |
| 2400 | /* to prevent space between figures */ |
| 2401 | } |
| 2402 | |
| 2403 | .figure-row .figure { |
| 2404 | display: inline-block; |
| 2405 | vertical-align: top; |
| 2406 | } |
| 2407 | |
| 2408 | .figure-row .figure + .figure { |
| 2409 | margin-left: 10px; |
| 2410 | /* reintroduce space between figures */ |
| 2411 | } |
| 2412 | |
| 2413 | .border-img { |
| 2414 | border: 1px solid #CCC; |
| 2415 | } |
| 2416 | |
| 2417 | .center-img { |
| 2418 | margin: auto; |
| 2419 | text-align: center; |
| 2420 | } |
| 2421 | .center-img img { |
| 2422 | margin-bottom: 15px; |
| 2423 | } |
| 2424 | |
| 2425 | .figure img, |
| 2426 | .figure-right img, |
| 2427 | .figure-left img, |
| 2428 | .figure-center img, |
| 2429 | .border-img { |
| 2430 | margin-bottom: 15px; |
| 2431 | } |
| 2432 | |
| 2433 | .figure-center { |
| 2434 | margin: 32px auto 24px; |
| 2435 | max-width: 100%; |
| 2436 | } |
| 2437 | |
| 2438 | .figure, |
| 2439 | .figure-right { |
| 2440 | clear: right; |
| 2441 | float: right; |
| 2442 | margin: 10px 0 0 0; |
| 2443 | padding: 0 0 0 20px; |
| 2444 | max-width: 50%; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2445 | /* width must be defined w/ an inline style matching the image width */ |
| 2446 | } |
| 2447 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2448 | .figure-left { |
| 2449 | clear: left; |
| 2450 | float: left; |
| 2451 | margin: 10px 0 0 0; |
| 2452 | padding: 0 20px 0 0; |
| 2453 | max-width: 50%; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2454 | /* width must be defined w/ an inline style matching the image width */ |
| 2455 | } |
| 2456 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2457 | @media (max-width: 719px) { |
| 2458 | /* Collapse on mobile. */ |
| 2459 | .figure, |
| 2460 | .figure-right, |
| 2461 | .figure-left { |
| 2462 | float: none; |
| 2463 | clear: none; |
| 2464 | padding: 0; |
| 2465 | margin: 32px auto 24px; |
| 2466 | max-width: 100%; |
| 2467 | } |
| 2468 | } |
| 2469 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2470 | img.frame { |
| 2471 | border:1px solid #DDD; |
| 2472 | padding:4px; |
| 2473 | } |
| 2474 | |
| 2475 | p.table-caption { |
| 2476 | margin: 0 0 4px 0; |
| 2477 | font-size:13px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2478 | } |
| 2479 | |
| 2480 | p.code-caption { |
| 2481 | margin-bottom: 4px; |
| 2482 | font: 12px/1.5 monospace; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2483 | } |
| 2484 | |
| 2485 | p.note, div.note, |
| 2486 | p.caution, div.caution, |
| 2487 | p.warning, div.warning { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2488 | padding: 0 0 0 20px; |
| 2489 | border-left: 3px solid; |
| 2490 | margin: 16px 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2491 | } |
| 2492 | |
| 2493 | p.note, div.note { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2494 | border-color: #4eb9ed; |
| 2495 | border-color: rgba(3, 155, 229, .7); /* #039be5 * 70% */ |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2496 | } |
| 2497 | |
| 2498 | p.caution, div.caution { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2499 | border-color: #ffbc4c; |
| 2500 | border-color: rgba(255, 160, 0, .7); /* #ffa000 * 70% */ |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2501 | } |
| 2502 | |
| 2503 | p.warning, div.warning { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2504 | border-color: #f48684; |
| 2505 | border-color: rgba(239, 83, 80, .7); /* #ef5350 * 70% */ |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2506 | } |
| 2507 | |
| 2508 | div.note.design { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2509 | border-left: 4px solid #00bcd4; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2510 | } |
| 2511 | |
| 2512 | div.note.develop { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2513 | border-left: 4px solid #ff7043; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2514 | } |
| 2515 | |
| 2516 | div.note.distribute { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2517 | border-left: 4px solid #afb42b; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2518 | } |
| 2519 | |
| 2520 | .note p, .caution p, .warning p { |
| 2521 | margin:0 0 5px; |
| 2522 | } |
| 2523 | |
| 2524 | .note p:last-child, .caution p:last-child, .warning p:last-child { |
| 2525 | margin-bottom:0; |
| 2526 | } |
| 2527 | |
Dirk Dougherty | ef0e3ea | 2016-03-04 18:46:54 -0800 | [diff] [blame] | 2528 | .summary-table { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2529 | background-color:#eceff1; |
Dirk Dougherty | ef0e3ea | 2016-03-04 18:46:54 -0800 | [diff] [blame] | 2530 | padding:1em; |
| 2531 | margin-bottom:1.5em; |
| 2532 | } |
| 2533 | |
| 2534 | .summary-table h5 { |
| 2535 | line-height:1em; |
| 2536 | font-size:.98em; |
| 2537 | } |
| 2538 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2539 | body.about blockquote { |
| 2540 | display:block; |
| 2541 | float:right; |
| 2542 | width:280px; |
| 2543 | font-size:20px; |
| 2544 | font-style:italic; |
| 2545 | line-height:24px; |
| 2546 | color:#33B5E5; |
| 2547 | margin:0 0 20px 30px; |
| 2548 | } |
| 2549 | |
| 2550 | div.design-announce p { |
| 2551 | margin:0 0 10px; |
| 2552 | } |
| 2553 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2554 | .expandable { |
| 2555 | height:34px; |
| 2556 | padding-left:20px; |
| 2557 | position:relative; |
| 2558 | } |
| 2559 | .expandable:before { |
| 2560 | content: ''; |
| 2561 | background-image: url(../images/styles/disclosure_down.png); |
| 2562 | background-repeat:no-repeat; |
| 2563 | background-position: -12px -9px; |
| 2564 | width: 20px; |
| 2565 | height: 20px; |
| 2566 | display: inline-block; |
| 2567 | position: absolute; |
| 2568 | top: 0; |
| 2569 | left: 0; } |
| 2570 | } |
| 2571 | .expandable.expanded:before { |
| 2572 | background-image: url(../images/styles/disclosure_up.png); |
| 2573 | } |
| 2574 | |
| 2575 | /* notice box for cross links between Design/Develop docs */ |
| 2576 | a.notice-developers-video, |
| 2577 | a.notice-developers, |
| 2578 | a.notice-designers-video, |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2579 | a.notice-designers { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2580 | float:right; |
| 2581 | clear:right; |
| 2582 | width:238px; |
| 2583 | min-height:50px; |
| 2584 | margin:0 0 20px 20px; |
| 2585 | border:1px solid #ddd; |
| 2586 | } |
| 2587 | a.notice-developers-video.wide, |
| 2588 | a.notice-developers.wide, |
| 2589 | a.notice-designers-video.wide, |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2590 | a.notice-designers.wide { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2591 | width:278px; |
| 2592 | } |
| 2593 | a.notice-developers-video div, |
| 2594 | a.notice-developers div, |
| 2595 | a.notice-designers-video div, |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2596 | a.notice-designers div { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2597 | min-height:40px; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2598 | background:url('../images/styles/notice-developers_2x.png') no-repeat 10px 10px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2599 | background-size:40px 40px; |
| 2600 | padding:10px 10px 10px 60px; |
| 2601 | } |
| 2602 | a.notice-designers div { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2603 | background:url('../images/styles/notice-designers_2x.png') no-repeat 10px 10px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2604 | background-size:40px 40px; |
| 2605 | } |
| 2606 | a.notice-designers-video div { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2607 | background:url('../images/styles/notice-designers-video_2x.png') no-repeat 10px 10px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2608 | background-size:40px 40px; |
| 2609 | } |
| 2610 | a.notice-developers-video div { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 2611 | background:url('../images/styles/notice-developers-video_2x.png') no-repeat 10px 10px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2612 | background-size:40px 40px; |
| 2613 | } |
| 2614 | a.notice-developers-video:hover, |
| 2615 | a.notice-developers:hover, |
| 2616 | a.notice-designers-video:hover, |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2617 | a.notice-designers:hover { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2618 | background:#eee; |
| 2619 | } |
| 2620 | a.notice-developers-video h3, |
| 2621 | a.notice-developers h3, |
| 2622 | a.notice-designers-video h3, |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2623 | a.notice-designers h3 { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2624 | font-size:13px; |
| 2625 | line-height:18px; |
| 2626 | font-weight:bold; |
| 2627 | text-transform:uppercase; |
| 2628 | color:#000 !important; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2629 | padding:0 0 1px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2630 | } |
| 2631 | a.notice-developers-video p, |
| 2632 | a.notice-developers p, |
| 2633 | a.notice-designers-video p, |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2634 | a.notice-designers p { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2635 | margin:0; |
| 2636 | line-height:14px; |
| 2637 | } |
| 2638 | a.notice-developers-video.left, |
| 2639 | a.notice-developers.left, |
| 2640 | a.notice-designers-video.left, |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 2641 | a.notice-designers.left { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2642 | margin-left:0; |
| 2643 | float:left; |
| 2644 | } |
| 2645 | |
| 2646 | |
| 2647 | /* hide nested list items; companion to hideNestedLists() */ |
| 2648 | .hide-nested li ol, |
| 2649 | .hide-nested li ul { |
| 2650 | display:none; |
| 2651 | } |
| 2652 | |
| 2653 | a.header-toggle { |
| 2654 | display:block; |
| 2655 | float:right; |
| 2656 | text-transform:uppercase; |
| 2657 | font-size:.8em !important; |
| 2658 | font-weight:normal; |
| 2659 | margin-top:2px; |
| 2660 | } |
| 2661 | |
| 2662 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 2663 | /* for IDE instruction toggle (Studio/Eclipse/Other) */ |
| 2664 | select.ide { |
| 2665 | background: transparent; |
| 2666 | border: 1px solid #bbb; |
| 2667 | border-left: 0; |
| 2668 | border-right: 0; |
| 2669 | margin: 10px 0; |
| 2670 | padding: 10px 0; |
| 2671 | color:#666; |
| 2672 | } |
| 2673 | select.ide, |
| 2674 | select.ide option { |
| 2675 | font-family: inherit; |
| 2676 | font-size:16px; |
| 2677 | font-weight:500; |
| 2678 | } |
| 2679 | /* hide all except studio by default */ |
| 2680 | .select-ide.eclipse, |
| 2681 | .select-ide.other { |
| 2682 | display:none; |
| 2683 | } |
| 2684 | /* ... unless studio also includes one of the others */ |
| 2685 | .select-ide.studio.eclipse, |
| 2686 | .select-ide.studio.other { |
| 2687 | display:none; |
| 2688 | } |
| 2689 | |
| 2690 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2691 | /* ----------------------------------------------- |
| 2692 | good/bad example containers |
| 2693 | */ |
| 2694 | |
| 2695 | div.example-block { |
| 2696 | background-repeat: no-repeat; |
| 2697 | background-position:10px 8px; |
| 2698 | background-color:#ccc; |
| 2699 | padding:4px; |
| 2700 | margin:.8em auto 1.5em 2em; |
| 2701 | width:260px; |
| 2702 | float:right; |
| 2703 | } |
| 2704 | /* red container */ |
| 2705 | .example-block.bad { |
| 2706 | background-image: url(/images/example-bad.png); |
| 2707 | background-color:#f4cccc; |
| 2708 | } |
| 2709 | /* green container */ |
| 2710 | .example-block.good { |
| 2711 | background-image: url(/images/example-good.png); |
| 2712 | background-color:#d9ead3; |
| 2713 | } |
| 2714 | /* container heading div */ |
| 2715 | #jd-content .example-block .heading { |
| 2716 | font-weight:bold; |
| 2717 | margin:6px 0 9px 36px; |
| 2718 | padding:6px auto; |
| 2719 | } |
| 2720 | /* container image (if any) */ |
| 2721 | #jd-content .example-block img { |
| 2722 | margin:0; |
| 2723 | padding:0px; |
| 2724 | } |
| 2725 | |
| 2726 | .example-block table { |
| 2727 | margin:0; |
| 2728 | } |
| 2729 | |
| 2730 | /* ----------------------------------------------- |
| 2731 | Dialog box for popup messages |
| 2732 | */ |
| 2733 | |
| 2734 | div.dialog { |
| 2735 | height:0; |
| 2736 | margin:0 auto; |
| 2737 | } |
| 2738 | |
| 2739 | div.dialog>div { |
| 2740 | z-index:99; |
| 2741 | position:fixed; |
| 2742 | margin:70px 0; |
| 2743 | width: 391px; |
| 2744 | height: 200px; |
| 2745 | background: #F7F7F7; |
| 2746 | -moz-box-shadow: 0 0 15px rgba(0,0,0,0.5); |
| 2747 | -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.5); |
| 2748 | box-shadow: 0 0 15px rgba(0,0,0,0.5); |
| 2749 | } |
| 2750 | /* IE6 can't position fixed */ |
| 2751 | * html div.dialog div { position:absolute; } |
| 2752 | |
| 2753 | |
| 2754 | div#deprecatedSticker { |
| 2755 | display:none; |
| 2756 | z-index:99; |
| 2757 | position:fixed; |
| 2758 | right:15px; |
| 2759 | top:114px; |
| 2760 | margin:0; |
| 2761 | padding:1em; |
| 2762 | background:#FFF; |
| 2763 | border:1px solid #dddd00; |
| 2764 | box-shadow:-5px 5px 10px #ccc; |
| 2765 | -moz-box-shadow:-5px 5px 10px #ccc; |
| 2766 | -webkit-box-shadow:-5px 5px 10px #ccc; |
| 2767 | } |
| 2768 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 2769 | div#langMessage, |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2770 | div#naMessage { |
| 2771 | display:none; |
| 2772 | width:555px; |
| 2773 | height:0; |
| 2774 | margin:0 auto; |
| 2775 | } |
| 2776 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 2777 | |
| 2778 | div#langMessage>div, |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2779 | div#naMessage div { |
| 2780 | z-index:99; |
| 2781 | width:450px; |
| 2782 | position:fixed; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2783 | margin:80px 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2784 | padding:4em 4em 3em; |
| 2785 | background:#FFF; |
| 2786 | border:1px solid #999; |
| 2787 | box-shadow:-10px 10px 40px #888; |
| 2788 | -moz-box-shadow:-10px 10px 40px #888; |
| 2789 | -webkit-box-shadow:-10px 10px 40px #888; |
| 2790 | } |
| 2791 | /* IE6 can't position fixed */ |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 2792 | * html div#langMessage>div, |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2793 | * html div#naMessage div { position:absolute; } |
| 2794 | |
| 2795 | div#naMessage strong { |
| 2796 | font-size:1.1em; |
| 2797 | } |
| 2798 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 2799 | div#langMessage .lang { |
| 2800 | display:none; |
| 2801 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2802 | |
| 2803 | /* -------------------------------------------------------------------------- |
| 2804 | Slideshow Controls & Next/Prev |
| 2805 | */ |
| 2806 | .slideshow-next, .slideshow-prev { |
| 2807 | width: 20px; |
| 2808 | height: 36px; |
| 2809 | text-indent: -1000em; |
| 2810 | } |
| 2811 | .slideshow-container { |
| 2812 | margin: 2em 0; |
| 2813 | } |
| 2814 | .slideshow-container:before, .slideshow-container:after { |
| 2815 | content: ""; |
| 2816 | display: table; |
| 2817 | clear: both; |
| 2818 | } |
| 2819 | a.slideshow-next, a.slideshow-next:visited { |
| 2820 | |
| 2821 | float: right; |
| 2822 | |
| 2823 | background: url(../images/arrow-right.png) no-repeat 0 0 |
| 2824 | |
| 2825 | } |
| 2826 | |
| 2827 | a.slideshow-prev, a.slideshow-prev:visited { |
| 2828 | |
| 2829 | float: left; |
| 2830 | |
| 2831 | background: url(../images/arrow-left.png) no-repeat 0 0 |
| 2832 | |
| 2833 | } |
| 2834 | |
| 2835 | .slideshow-next:hover, .slideshow-prev:hover, .slideshow-next:focus, .slideshow-prev:focus { |
| 2836 | |
| 2837 | background-position: 0 -36px |
| 2838 | |
| 2839 | } |
| 2840 | |
| 2841 | .slideshow-next:active, .slideshow-prev:active { |
| 2842 | |
| 2843 | background-position: 0 -72px |
| 2844 | |
| 2845 | } |
| 2846 | .slideshow-nav { |
| 2847 | width: 74px; |
| 2848 | margin: 0 auto; |
| 2849 | } |
| 2850 | .slideshow-nav a, .slideshow-nav a:visited { |
| 2851 | display: inline-block; |
| 2852 | width: 12px; |
| 2853 | height: 12px; |
| 2854 | margin: 0 2px 20px 2px; |
| 2855 | background: #ccc; |
| 2856 | -webkit-border-radius: 50%; |
| 2857 | -moz-border-radius: 50%; |
| 2858 | border-radius: 50%; |
| 2859 | } |
| 2860 | .slideshow-nav a:hover, .slideshow-nav a:focus { |
| 2861 | |
| 2862 | background: #33B5E5 |
| 2863 | } |
| 2864 | |
| 2865 | .slideshow-nav a:active { |
| 2866 | |
| 2867 | background: #1e799a; |
| 2868 | background: #ebebeb; |
| 2869 | -webkit-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05); |
| 2870 | -moz-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05); |
| 2871 | box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05); |
| 2872 | } |
| 2873 | .slideshow-nav a.active, .slideshow-nav a.active:active, .slideshow-nav a.active:visited { |
| 2874 | background: #33B5E5 |
| 2875 | } |
| 2876 | /* -------------------------------------------------------------------------- |
| 2877 | Tabs |
| 2878 | */ |
| 2879 | ul.tabs { |
| 2880 | padding: 0; |
| 2881 | margin: 2em 0 0 0; |
| 2882 | } |
| 2883 | ul.tabs:before, ul.tabs:after { |
| 2884 | content: ""; |
| 2885 | display: table; |
| 2886 | clear: both; |
| 2887 | } |
| 2888 | ul.tabs li { |
| 2889 | list-style-type: none; |
| 2890 | float: left; |
| 2891 | } |
| 2892 | ul.tabs li a, ul.tabs li a:active, ul.tabs li a:visited { |
| 2893 | display: block; |
| 2894 | height: 36px; |
| 2895 | line-height: 36px; |
| 2896 | padding: 0 15px; |
| 2897 | margin-right: 2px; |
| 2898 | color: #222; |
| 2899 | -moz-border-radius-topleft: 2px; |
| 2900 | -moz-border-radius-topright: 2px; |
| 2901 | -moz-border-radius-bottomright: px; |
| 2902 | -moz-border-radius-bottomleft: px; |
| 2903 | -webkit-border-radius: 2px 2px px px; |
| 2904 | border-radius: 2px 2px px px; |
| 2905 | border-top: solid 1px #ebebeb; |
| 2906 | border-left: solid 1px #ebebeb; |
| 2907 | border-right: solid 1px #ebebeb; |
| 2908 | background-color: #fff; |
| 2909 | background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#fafafa)); |
| 2910 | background-image: -webkit-linear-gradient(top, #ffffff, #fafafa); |
| 2911 | background-image: -moz-linear-gradient(top, #ffffff, #fafafa); |
| 2912 | background-image: -ms-linear-gradient(top, #ffffff, #fafafa); |
| 2913 | background-image: -o-linear-gradient(top, #ffffff, #fafafa); |
| 2914 | background-image: linear-gradient(top, #ffffff, #fafafa); |
| 2915 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', |
| 2916 | EndColorStr='#fafafa'); |
| 2917 | } |
| 2918 | ul.tabs li a:hover { |
| 2919 | color: #33B5E5; |
| 2920 | } |
| 2921 | ul.tabs li a.selected { |
| 2922 | height: 37px; |
| 2923 | color: #33B5E5; |
| 2924 | background-color: #f7f7f7; |
| 2925 | background-image: none; |
| 2926 | border-color: #ddd; |
| 2927 | } |
| 2928 | .tab-content { |
| 2929 | padding: 1.2em; |
| 2930 | margin: -1px 0 2em 0; |
| 2931 | -webkit-border-radius: 2px; |
| 2932 | -moz-border-radius: 2px; |
| 2933 | border-radius: 2px; |
| 2934 | border: solid 1px #ddd; |
| 2935 | background: #f7f7f7; |
| 2936 | } |
| 2937 | /* -------------------------------------------------------------------------- |
| 2938 | Feature Boxes |
| 2939 | */ |
| 2940 | .feature-box { |
| 2941 | width: 291px; |
| 2942 | height: 200px; |
| 2943 | position: relative; |
| 2944 | background: #F7F7F7; |
| 2945 | } |
| 2946 | .box-border .top, .box-border .bottom, .box-border .left, .box-border .right { |
| 2947 | z-index: 100; |
| 2948 | position: absolute; |
| 2949 | background-color: #aaa; |
| 2950 | } |
| 2951 | .box-border .top, .box-border .bottom { |
| 2952 | width: 291px; |
| 2953 | height: 1px; |
| 2954 | } |
| 2955 | .dialog .box-border .top, |
| 2956 | .dialog .box-border .bottom { width:391px; } |
| 2957 | |
| 2958 | .box-border .left, .box-border .right { |
| 2959 | width: 1px; |
| 2960 | height: 8px; |
| 2961 | } |
| 2962 | .box-border .top { top: 0; left: 0 } |
| 2963 | .box-border .top .left { top: 1px; left: 0 } |
| 2964 | .box-border .top .right { top: 1px; right: 0 } |
| 2965 | .box-border .bottom .left { top: -8px; left: 0 } |
| 2966 | .box-border .bottom { top: 200px; left: 0 } |
| 2967 | .box-border .bottom .right { top: -8px; right: 0 } |
| 2968 | |
| 2969 | .feature-box h4, |
| 2970 | .dialog h4 { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 2971 | padding: 15px 18px 10px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 2972 | } |
| 2973 | |
| 2974 | .feature-box p, |
| 2975 | .dialog p { |
| 2976 | margin: 10px 18px; |
| 2977 | padding:0; |
| 2978 | } |
| 2979 | .feature-box .link, |
| 2980 | .dialog .link { |
| 2981 | border-top: 1px solid #dedede; |
| 2982 | bottom: 0; |
| 2983 | position: absolute; |
| 2984 | width: inherit; |
| 2985 | } |
| 2986 | .feature-box a, .feature-box h4, |
| 2987 | .dialog a, .dialog h4 { |
| 2988 | -webkit-transition: color .4s ease; |
| 2989 | -moz-transition: color .4s ease; |
| 2990 | -o-transition: color .4s ease; |
| 2991 | transition: color .4s ease; |
| 2992 | } |
| 2993 | .feature-box:hover { |
| 2994 | cursor: pointer; |
| 2995 | } |
| 2996 | .feature-box:hover .box-border .top, .feature-box:hover .box-border .bottom, .feature-box:hover |
| 2997 | .left, .feature-box:hover .right { |
| 2998 | background-color: #33B5E5; |
| 2999 | } |
| 3000 | .feature-box:hover h4, .feature-box:hover a { |
| 3001 | color: #33B5E5; |
| 3002 | } |
| 3003 | /* -------------------------------------------------------------------------- |
| 3004 | Page-Specific Styles |
| 3005 | */ |
| 3006 | .colors { |
| 3007 | position: relative; |
| 3008 | float: left; |
| 3009 | width: 92px; |
| 3010 | margin: 40px 0 20px; |
| 3011 | } |
| 3012 | .colors div { |
| 3013 | color: #fff; |
| 3014 | font-size: 11.5px; |
| 3015 | width: 82px; |
| 3016 | height: 82px; |
| 3017 | margin-top:-30px; |
| 3018 | line-height: 82px; |
| 3019 | text-align: center; |
| 3020 | border: solid 5px #fff; |
| 3021 | -webkit-border-radius: 50%; |
| 3022 | -moz-border-radius: 50%; |
| 3023 | border-radius: 50%; |
| 3024 | } |
| 3025 | |
| 3026 | |
| 3027 | |
| 3028 | |
| 3029 | |
| 3030 | |
| 3031 | |
| 3032 | |
| 3033 | |
| 3034 | |
| 3035 | |
| 3036 | |
| 3037 | |
| 3038 | |
| 3039 | /* ########### REFERENCE DOCS ################## */ |
| 3040 | |
| 3041 | #packages-nav h2, |
| 3042 | #classes-nav h2 { |
| 3043 | font-size:18px; |
| 3044 | margin:0; |
| 3045 | padding:0 0 0 4px; |
| 3046 | } |
| 3047 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3048 | /* not sure if this is needed in the ref docs, disabling for now |
| 3049 | .jd-descr h2 { |
| 3050 | margin:16px 0; |
| 3051 | } |
| 3052 | */ |
| 3053 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3054 | /* First paragraph of a content pages is a bit larger |
| 3055 | - note the very specific selector. */ |
| 3056 | .jd-descr > p:first-child, |
| 3057 | .jd-descr > #tb-wrapper + p, |
| 3058 | .jd-descr > #qv-wrapper + p { |
| 3059 | font-size: 16px; |
| 3060 | margin-bottom: 16px; |
| 3061 | } |
| 3062 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3063 | /* page-top-right container for reference pages (holds |
| 3064 | links to summary tables) */ |
| 3065 | #api-info-block { |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3066 | font-size:12px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3067 | margin:20px 0 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3068 | font-weight:normal; |
| 3069 | float:right; |
| 3070 | text-align:right; |
| 3071 | color:#999; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3072 | max-width:300px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3073 | font-size: 12px; |
| 3074 | line-height:14px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3075 | } |
| 3076 | |
| 3077 | #api-info-block div.api-level { |
| 3078 | font-weight:bold; |
| 3079 | font-size:inherit; |
| 3080 | float:none; |
| 3081 | color:#222; |
| 3082 | padding:0; |
| 3083 | margin:0; |
| 3084 | } |
| 3085 | |
| 3086 | /* inheritance table */ |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3087 | table.inhtable>tbody>tr>td { |
| 3088 | padding-left:0; |
| 3089 | } |
| 3090 | table.inhtable>tbody>tr>td div:first-of-type { |
| 3091 | padding-left:12px; |
| 3092 | } |
| 3093 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3094 | .jd-inheritance-table { |
| 3095 | border-spacing:0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3096 | margin:1em 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3097 | padding:0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3098 | background-color:transparent; |
| 3099 | } |
| 3100 | .jd-inheritance-table tr td { |
| 3101 | border: none; |
| 3102 | margin: 0; |
| 3103 | padding: 0; |
| 3104 | background-color:transparent; |
| 3105 | } |
| 3106 | .jd-inheritance-table .jd-inheritance-space { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3107 | width:2em; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3108 | } |
| 3109 | .jd-inheritance-table .jd-inheritance-interface-cell { |
| 3110 | padding-left: 17px; |
| 3111 | } |
| 3112 | |
| 3113 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3114 | /* the link inside a sumtable for "Show All/Hide All" */ |
| 3115 | .toggle-all { |
| 3116 | display:block; |
| 3117 | float:right; |
| 3118 | font-weight:normal; |
| 3119 | font-size:0.9em; |
| 3120 | } |
| 3121 | |
| 3122 | /* adjustments for in/direct subclasses tables */ |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3123 | .jd-sumtable-subclasses { |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3124 | margin: 1em 0 0 0; |
| 3125 | max-width:968px; |
| 3126 | background-color:transparent; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3127 | } |
| 3128 | |
| 3129 | /* extra space between end of method name and open-paren */ |
| 3130 | .sympad { |
| 3131 | margin-right: 2px; |
| 3132 | } |
| 3133 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3134 | /* adjustments for the expando table-in-table */ |
| 3135 | .jd-sumtable-expando { |
| 3136 | margin:.5em 0; |
| 3137 | padding:0; |
| 3138 | } |
| 3139 | |
| 3140 | /* a div that holds a short description */ |
| 3141 | .jd-descrdiv { |
| 3142 | padding:3px 1em 0 1em; |
| 3143 | margin:0; |
| 3144 | border:0; |
| 3145 | } |
| 3146 | |
| 3147 | #jd-content img.jd-expando-trigger-img { |
| 3148 | padding:0 4px 4px 0; |
| 3149 | margin:0; |
| 3150 | } |
| 3151 | |
| 3152 | .jd-sumtable-subclasses div#subclasses-direct, |
| 3153 | .jd-sumtable-subclasses div#subclasses-indirect { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3154 | /* left margin matches width of the toggle image, |
| 3155 | so this section aligns with the text above */ |
| 3156 | margin:0 0 0 34px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3157 | } |
| 3158 | |
| 3159 | |
| 3160 | |
| 3161 | /********* MEMBER REF *************/ |
| 3162 | |
| 3163 | |
| 3164 | .jd-details { |
| 3165 | /* border:1px solid #669999; |
| 3166 | padding:4px; */ |
| 3167 | margin:0 0 1em; |
| 3168 | } |
| 3169 | |
| 3170 | /* API reference: a container for the |
| 3171 | .tagdata blocks that make up the detailed |
| 3172 | description */ |
| 3173 | .jd-details-descr { |
| 3174 | padding:0; |
| 3175 | margin:.5em .25em; |
| 3176 | } |
| 3177 | |
| 3178 | /* API reference: a block containing |
| 3179 | a detailed description, a params table, |
| 3180 | seealso list, etc */ |
| 3181 | .jd-tagdata { |
| 3182 | margin:.5em 1em; |
| 3183 | } |
| 3184 | |
| 3185 | .jd-tagdata p { |
| 3186 | margin:0 0 1em 1em; |
| 3187 | } |
| 3188 | |
| 3189 | /* API reference: adjustments to |
| 3190 | the detailed description block */ |
| 3191 | .jd-tagdescr { |
| 3192 | margin:.25em 0 .75em 0; |
| 3193 | } |
| 3194 | |
| 3195 | .jd-tagdescr ol, |
| 3196 | .jd-tagdescr ul { |
| 3197 | margin:0 2.5em; |
| 3198 | padding:0; |
| 3199 | } |
| 3200 | |
| 3201 | .jd-tagdescr table, |
| 3202 | .jd-tagdescr img { |
| 3203 | margin:.25em 1em; |
| 3204 | } |
| 3205 | |
| 3206 | .jd-tagdescr li { |
| 3207 | margin:0 0 .25em 0; |
| 3208 | padding:0; |
| 3209 | } |
| 3210 | |
| 3211 | /* API reference: heading marking |
| 3212 | the details section for constants, |
| 3213 | attrs, methods, etc. */ |
| 3214 | h4.jd-details-title { |
| 3215 | font-size:1.15em; |
| 3216 | background-color: #E2E2E2; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3217 | margin:1.5em 0 .6em; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3218 | padding:3px 95px 3px 3px; /* room for api-level */ |
| 3219 | } |
| 3220 | body.google h4.jd-details-title { |
| 3221 | background-color: #FFF; |
| 3222 | padding-top:5px; |
| 3223 | border-top: 1px solid #ccc; |
| 3224 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3225 | |
| 3226 | h4.jd-tagtitle { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3227 | padding:0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3228 | } |
| 3229 | |
| 3230 | h4 .normal { |
| 3231 | font-weight:normal; |
| 3232 | } |
| 3233 | |
| 3234 | /* API reference: heading for "Parameters", "See Also", etc., |
| 3235 | in details sections */ |
| 3236 | h5.jd-tagtitle { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3237 | padding:0 0 .25em 0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3238 | font-size:1em; |
| 3239 | } |
| 3240 | |
| 3241 | .jd-tagtable { |
| 3242 | margin:0; |
| 3243 | background-color:transparent; |
| 3244 | width:auto; |
| 3245 | } |
| 3246 | |
| 3247 | .jd-tagtable td, |
| 3248 | .jd-tagtable th { |
| 3249 | border:none; |
| 3250 | background-color:#fff; |
| 3251 | vertical-align:top; |
| 3252 | font-weight:normal; |
| 3253 | padding:2px 10px; |
| 3254 | } |
| 3255 | |
| 3256 | .jd-tagtable th { |
| 3257 | font-style:italic; |
| 3258 | } |
| 3259 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3260 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3261 | /* Inline api level indicator for methods */ |
| 3262 | div.api-level { |
| 3263 | font-size:.8em; |
| 3264 | font-weight:normal; |
| 3265 | color:#999; |
| 3266 | float:right; |
| 3267 | padding:0 8px 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3268 | margin-top:-35px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3269 | } |
| 3270 | |
| 3271 | table.jd-tagtable td, |
| 3272 | table.jd-tagtable th { |
| 3273 | background-color:transparent; |
| 3274 | } |
| 3275 | |
| 3276 | table.jd-tagtable th { |
| 3277 | color:inherit; |
| 3278 | } |
| 3279 | |
Scott Main | 20cf2a9 | 2014-04-02 21:57:20 -0700 | [diff] [blame] | 3280 | /************ STICKY NAV BAR ******************/ |
| 3281 | |
Scott Main | 20cf2a9 | 2014-04-02 21:57:20 -0700 | [diff] [blame] | 3282 | #context { |
| 3283 | clear: both; |
| 3284 | padding-top: 14px; |
| 3285 | } |
| 3286 | #context .breadcrumb { |
| 3287 | float: left; |
| 3288 | margin-bottom: 10px; |
| 3289 | } |
| 3290 | #context .util { |
| 3291 | float: right; |
| 3292 | margin-right: 20px; |
| 3293 | } |
| 3294 | |
| 3295 | .breadcrumb { |
| 3296 | list-style: none; |
| 3297 | margin: 0; |
| 3298 | padding: 0; |
| 3299 | position: relative; |
| 3300 | } |
| 3301 | .breadcrumb li { |
| 3302 | float: left; |
| 3303 | padding: 0 20px 0 0; |
| 3304 | color: #000; |
| 3305 | white-space: nowrap; |
| 3306 | } |
| 3307 | .breadcrumb li a { |
| 3308 | color: #000; |
| 3309 | } |
| 3310 | .breadcrumb li:after { |
| 3311 | content: url(../images/breadcrumb.png); |
| 3312 | position: relative; |
| 3313 | top: 1px; |
| 3314 | left: 10px; |
| 3315 | width: 5px; |
| 3316 | height: 10px; |
| 3317 | } |
| 3318 | .breadcrumb li.current { |
| 3319 | font-weight: 700; |
| 3320 | } |
| 3321 | .breadcrumb li.current:after { |
| 3322 | display: none; |
| 3323 | } |
| 3324 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3325 | /* offset the <a name=""> tags to account for sticky nav */ |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 3326 | body.reference a[name]:not(.nav-start-marker) { |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3327 | visibility: hidden; |
| 3328 | display: block; |
| 3329 | position: relative; |
| 3330 | top: -56px; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 3331 | |
| 3332 | } |
| 3333 | |
| 3334 | .nav-start-marker { |
| 3335 | position: absolute; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3336 | } |
| 3337 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3338 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3339 | /* Quicknav */ |
| 3340 | .btn-quicknav { |
| 3341 | width:20px; |
| 3342 | height:28px; |
| 3343 | float:left; |
| 3344 | margin-left:6px; |
| 3345 | padding-right:10px; |
| 3346 | position:relative; |
| 3347 | cursor:pointer; |
| 3348 | border-right:1px solid #CCC; |
| 3349 | } |
| 3350 | |
| 3351 | .btn-quicknav a { |
| 3352 | zoom:1; |
| 3353 | position:absolute; |
| 3354 | top:13px; |
| 3355 | left:5px; |
| 3356 | display:block; |
| 3357 | text-indent:-9999em; |
| 3358 | width:10px; |
| 3359 | height:5px; |
| 3360 | background:url(../images/quicknav_arrow.png) no-repeat; |
| 3361 | } |
| 3362 | |
| 3363 | .btn-quicknav a.arrow-active { |
| 3364 | background-position: 0 -5px; |
| 3365 | display:none; |
| 3366 | } |
| 3367 | |
| 3368 | #header-wrap.quicknav a.arrow-inactive { |
| 3369 | display:none; |
| 3370 | } |
| 3371 | |
| 3372 | .btn-quicknav.active a.arrow-active { |
| 3373 | display:block; |
| 3374 | } |
| 3375 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3376 | #header-wrap.quicknav .nav-x li { |
| 3377 | min-width:160px; |
| 3378 | margin-right:20px; |
| 3379 | } |
| 3380 | |
| 3381 | #header-wrap.quicknav li.last { |
| 3382 | margin-right:0px; |
| 3383 | } |
| 3384 | |
| 3385 | #quicknav { |
| 3386 | float:none; |
| 3387 | clear:both; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3388 | margin-left:0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3389 | margin-top:-30px; |
| 3390 | display:none; |
| 3391 | overflow:hidden; |
| 3392 | } |
| 3393 | |
| 3394 | #header-wrap.quicknav #quicknav { |
| 3395 | |
| 3396 | } |
| 3397 | |
| 3398 | #quicknav ul { |
| 3399 | margin:10px 0; |
| 3400 | padding:0; |
| 3401 | } |
| 3402 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3403 | #quicknav ul li.about { |
| 3404 | border-top:1px solid #9933CC; |
| 3405 | } |
| 3406 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3407 | #quicknav ul li.design { |
| 3408 | border-top:1px solid #33b5e5; |
| 3409 | } |
| 3410 | |
| 3411 | #quicknav ul li.develop { |
| 3412 | border-top:1px solid #FF8800; |
| 3413 | } |
| 3414 | |
| 3415 | #quicknav ul li.distribute { |
| 3416 | border-top:1px solid #99cc00; |
| 3417 | } |
| 3418 | |
| 3419 | #quicknav ul li { |
| 3420 | display:block; |
| 3421 | float:left; |
| 3422 | margin:0 20px 0 0; |
| 3423 | min-width:140px; |
| 3424 | } |
| 3425 | |
| 3426 | #quicknav ul li.last { |
| 3427 | margin-right:0px; |
| 3428 | } |
| 3429 | |
| 3430 | #quicknav ul li ul li { |
| 3431 | float:none; |
| 3432 | } |
| 3433 | |
| 3434 | #quicknav ul li ul li a { |
| 3435 | color:#222; |
| 3436 | } |
| 3437 | |
| 3438 | #quicknav ul li li ul, |
| 3439 | #quicknav ul li li ul li { |
| 3440 | margin:0; |
| 3441 | } |
| 3442 | |
| 3443 | #quicknav ul li li ul li:before { |
| 3444 | content:"\21B3"; |
| 3445 | } |
| 3446 | |
| 3447 | #header-wrap { |
| 3448 | -webkit-transition: all 0.25s ease-out; |
| 3449 | -moz-transition: all 0.25s ease-out; |
| 3450 | -ms-transition: all 0.25s ease-out; |
| 3451 | -o-transition: all 0.25s ease-out; |
| 3452 | transition: all 0.25s ease-out; |
| 3453 | |
| 3454 | } |
| 3455 | |
| 3456 | #header-wrap.quicknav { |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3457 | height:216px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3458 | |
| 3459 | } |
| 3460 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3461 | .moremenu { |
| 3462 | float: right; |
| 3463 | position: relative; |
| 3464 | width: 50px; |
| 3465 | height:28px; |
| 3466 | display: block; |
| 3467 | margin-top:-3px; |
| 3468 | margin-bottom:7px; |
| 3469 | overflow:hidden; |
| 3470 | -webkit-transition: width 0.25s ease; |
| 3471 | -moz-transition: width 0.25s ease; |
| 3472 | -o-transition: width 0.25s ease; |
| 3473 | transition: width 0.25s ease; |
| 3474 | } |
| 3475 | |
| 3476 | .moremenu #more-btn { |
| 3477 | width:40px; |
| 3478 | height:28px; |
| 3479 | background:url(../images/icon_more.png) no-repeat; |
| 3480 | border-left:1px solid #CCC; |
| 3481 | float:left; |
| 3482 | cursor:pointer; |
| 3483 | } |
| 3484 | |
| 3485 | .moremenu:hover #more-btn { |
| 3486 | background-position:0 -28px; |
| 3487 | } |
| 3488 | |
| 3489 | .morehover { |
| 3490 | position:absolute; |
| 3491 | right:6px; |
| 3492 | top:-9px; |
| 3493 | width:40px; |
| 3494 | height:35px; |
| 3495 | z-index:99; |
| 3496 | overflow:hidden; |
| 3497 | |
| 3498 | -webkit-opacity:0; |
| 3499 | -moz-opacity:0; |
| 3500 | -o-opacity:0; |
| 3501 | opacity:0; |
| 3502 | |
| 3503 | -webkit-transform-origin:100% 0%; |
| 3504 | -moz-transform-origin:100% 0%; |
| 3505 | -o-transform-origin:100% 0%; |
| 3506 | transform-origin:100% 0%; |
| 3507 | |
| 3508 | -webkit-transition-property: -webkit-opacity; |
| 3509 | -webkit-transition-duration: .25s; |
| 3510 | -webkit-transition-timing-function:ease; |
| 3511 | |
| 3512 | -moz-transition-property: -moz-opacity; |
| 3513 | -moz-transition-duration: .25s; |
| 3514 | -moz-transition-timing-function:ease; |
| 3515 | |
| 3516 | -o-transition-property: -o-opacity; |
| 3517 | -o-transition-duration: .25s; |
| 3518 | -o-transition-timing-function:ease; |
| 3519 | |
| 3520 | transition-property: opacity; |
| 3521 | transition-duration: .25s; |
| 3522 | transition-timing-function:ease; |
| 3523 | } |
| 3524 | |
| 3525 | .morehover:hover, |
| 3526 | .morehover.hover { |
| 3527 | opacity:1; |
| 3528 | height:385px; |
| 3529 | width:268px; |
| 3530 | -webkit-transition-property:height, -webkit-opacity; |
| 3531 | } |
| 3532 | |
| 3533 | .morehover .top { |
| 3534 | width:268px; |
| 3535 | height:39px; |
| 3536 | background:url(../images/more_top.png) no-repeat; |
| 3537 | } |
| 3538 | |
| 3539 | .morehover .mid { |
| 3540 | width:228px; |
| 3541 | background:url(../images/more_mid.png) repeat-y; |
| 3542 | padding:10px 20px 0 20px; |
| 3543 | } |
| 3544 | |
| 3545 | .morehover .mid .header { |
| 3546 | border-bottom:1px solid #ccc; |
| 3547 | font-weight:bold; |
| 3548 | } |
| 3549 | |
| 3550 | .morehover .bottom { |
| 3551 | width:268px; |
| 3552 | height:6px; |
| 3553 | background:url(../images/more_bottom.png) no-repeat; |
| 3554 | } |
| 3555 | |
| 3556 | .morehover ul { |
| 3557 | margin:10px 10px 20px 0; |
| 3558 | } |
| 3559 | |
| 3560 | .morehover ul li { |
| 3561 | list-style:none; |
| 3562 | } |
| 3563 | |
| 3564 | .morehover ul li.active a, |
| 3565 | .morehover ul li.active a:hover { |
| 3566 | color:#222 !important; |
| 3567 | } |
| 3568 | |
| 3569 | .morehover ul li.active img { |
| 3570 | margin-right:4px; |
| 3571 | } |
| 3572 | |
| 3573 | |
| 3574 | |
| 3575 | |
| 3576 | /* MARQUEE */ |
| 3577 | .slideshow-container { |
| 3578 | width:100%; |
| 3579 | overflow:hidden; |
| 3580 | position:relative; |
| 3581 | } |
| 3582 | .slideshow-container .slideshow-prev { |
| 3583 | position:absolute; |
| 3584 | top:50%; |
| 3585 | left:0px; |
| 3586 | margin-top:-36px; |
| 3587 | z-index:99; |
| 3588 | } |
| 3589 | .slideshow-container .slideshow-next { |
| 3590 | position:absolute; |
| 3591 | top:50%; |
| 3592 | margin-top:-36px; |
| 3593 | z-index:99; |
| 3594 | right:0px; |
| 3595 | } |
| 3596 | |
| 3597 | .slideshow-container .pagination { |
| 3598 | position:absolute; |
| 3599 | bottom:20px; |
| 3600 | width:100%; |
| 3601 | text-align:center; |
| 3602 | z-index:99; |
| 3603 | } |
| 3604 | .slideshow-container .pagination ul { |
| 3605 | margin:0; |
| 3606 | } |
| 3607 | .slideshow-container .pagination ul li{ |
| 3608 | display: inline-block; |
| 3609 | width:12px; |
| 3610 | height:12px; |
| 3611 | text-indent:-8000px; |
| 3612 | list-style:none; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3613 | margin: 0 3px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3614 | border-radius:6px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3615 | background-color:#ddd; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3616 | cursor:pointer; |
| 3617 | -webkit-transition:color .5s ease-in; |
| 3618 | -moz-transition:color .5s ease-in; |
| 3619 | -o-transition:color .5s ease-in; |
| 3620 | transition:color .5s ease-in; |
| 3621 | } |
| 3622 | .slideshow-container .pagination ul li:hover { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3623 | background-color:#bbb; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3624 | } |
| 3625 | .slideshow-container .pagination ul li.active { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3626 | background-color:#6ab344; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3627 | } |
| 3628 | .slideshow-container .pagination ul li.active:hover { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3629 | background-color:#6ab344; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3630 | } |
| 3631 | .slideshow-container ul li { |
| 3632 | display:inline; |
| 3633 | list-style:none; |
| 3634 | } |
| 3635 | |
| 3636 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3637 | #landing h1 { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3638 | padding:17px 0 20px 0 !important; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3639 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3640 | |
| 3641 | a.download-sdk { |
| 3642 | float:right; |
| 3643 | margin:-10px 0; |
| 3644 | height:30px; |
| 3645 | padding-top:4px; |
| 3646 | padding-bottom:0px; |
| 3647 | } |
| 3648 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3649 | #searchResults.wrap { |
| 3650 | max-width:940px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3651 | border-bottom:1px solid #e5e5e5; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3652 | } |
| 3653 | |
| 3654 | #searchResults.wrap #leftSearchControl { |
| 3655 | min-height:700px |
| 3656 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3657 | |
| 3658 | |
| 3659 | |
| 3660 | |
| 3661 | |
| 3662 | |
| 3663 | |
| 3664 | |
| 3665 | |
| 3666 | |
| 3667 | /* |
| 3668 | * CSS Styles that are needed by jScrollPane for it to operate correctly. |
| 3669 | */ |
| 3670 | |
| 3671 | .jspContainer { |
| 3672 | overflow: hidden; |
| 3673 | position: relative; |
| 3674 | } |
| 3675 | |
| 3676 | .jspPane { |
| 3677 | position: absolute; |
| 3678 | width:100% !important; /* to avoid cut-off api names in reference in horiz scroll */ |
| 3679 | } |
| 3680 | |
| 3681 | .jspVerticalBar { |
| 3682 | position: absolute; |
| 3683 | top: 0; |
| 3684 | right: 0; |
| 3685 | width: 4px; |
| 3686 | height: 100%; |
| 3687 | background: #f5f5f5; |
| 3688 | } |
| 3689 | |
| 3690 | .jspHorizontalBar { |
| 3691 | position: absolute; |
| 3692 | bottom: 0; |
| 3693 | left: 0; |
| 3694 | width: 100%; |
| 3695 | height: 4px; |
| 3696 | background: #f5f5f5; |
| 3697 | } |
| 3698 | |
| 3699 | .jspVerticalBar *, |
| 3700 | .jspHorizontalBar * { |
| 3701 | margin: 0; |
| 3702 | padding: 0; |
| 3703 | } |
| 3704 | .jspCap { |
| 3705 | display: block; |
| 3706 | } |
| 3707 | |
| 3708 | .jspVerticalBar .jspCap { |
| 3709 | height: 4px; |
| 3710 | } |
| 3711 | |
| 3712 | .jspHorizontalBar .jspCap { |
| 3713 | width: 0; |
| 3714 | height: 100%; |
| 3715 | } |
| 3716 | |
| 3717 | .jspHorizontalBar .jspCap { |
| 3718 | float: left; |
| 3719 | } |
| 3720 | |
| 3721 | .jspTrack { |
| 3722 | position: relative; |
| 3723 | } |
| 3724 | |
| 3725 | .jspDrag { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3726 | background: #ccc; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3727 | position: relative; |
| 3728 | top: 0; |
| 3729 | left: 0; |
| 3730 | cursor: pointer; |
| 3731 | } |
| 3732 | |
| 3733 | .jspDrag:hover, |
| 3734 | .jspDrag:active { |
| 3735 | border-color: #09c; |
| 3736 | background-color: #4cadcb; |
| 3737 | background-image: -webkit-gradient(linear, left top, right top, from(#5dbcd9), to(#4cadcb)); |
| 3738 | background-image: -webkit-linear-gradient(left, #5dbcd9, #4cadcb); |
| 3739 | background-image: -moz-linear-gradient(left, #5dbcd9, #4cadcb); |
| 3740 | background-image: -ms-linear-gradient(left, #5dbcd9, #4cadcb); |
| 3741 | background-image: -o-linear-gradient(left, #5dbcd9, #4cadcb); |
| 3742 | background-image: linear-gradient(left, #5dbcd9, #4cadcb); |
| 3743 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5dbcd9', EndColorStr='#4cadcb'); |
| 3744 | } |
| 3745 | |
| 3746 | .jspHorizontalBar .jspTrack, |
| 3747 | .jspHorizontalBar .jspDrag { |
| 3748 | float: left; |
| 3749 | height: 100%; |
| 3750 | } |
| 3751 | |
| 3752 | .jspArrow { |
| 3753 | background: #999; |
| 3754 | text-indent: -20000px; |
| 3755 | display: block; |
| 3756 | cursor: pointer; |
| 3757 | } |
| 3758 | |
| 3759 | .jspArrow.jspDisabled { |
| 3760 | cursor: default; |
| 3761 | background: #ccc; |
| 3762 | } |
| 3763 | |
| 3764 | .jspVerticalBar .jspArrow { |
| 3765 | height: 16px; |
| 3766 | } |
| 3767 | |
| 3768 | .jspHorizontalBar .jspArrow { |
| 3769 | width: 16px; |
| 3770 | float: left; |
| 3771 | height: 100%; |
| 3772 | } |
| 3773 | |
| 3774 | .jspVerticalBar .jspArrow:focus { |
| 3775 | outline: none; |
| 3776 | } |
| 3777 | |
| 3778 | .jspCorner { |
| 3779 | float: left; |
| 3780 | height: 100%; |
| 3781 | } |
| 3782 | |
| 3783 | /* Yuk! CSS Hack for IE6 3 pixel bug :( */ |
| 3784 | * html .jspCorner { |
| 3785 | margin: 0 -3px 0 0; |
| 3786 | } |
| 3787 | /******* end of jscrollpane *********/ |
| 3788 | |
| 3789 | |
| 3790 | |
| 3791 | |
| 3792 | |
| 3793 | /************ DEVELOP HOMEPAGE ******************/ |
| 3794 | |
| 3795 | /* Slideshow */ |
| 3796 | .slideshow-develop { |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3797 | height: 316px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3798 | width: 940px; |
| 3799 | position: relative; |
| 3800 | overflow:hidden; |
| 3801 | } |
| 3802 | .slideshow-develop .frame { |
| 3803 | width: 940px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3804 | height: 316px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3805 | } |
| 3806 | .slideshow-develop img.play { |
| 3807 | max-width:350px; |
| 3808 | max-height:240px; |
| 3809 | margin:20px 0 0 90px; |
| 3810 | -webkit-transform: perspective(800px ) rotateY( 35deg ); |
| 3811 | box-shadow: -16px 20px 40px rgba(0, 0, 0, 0.3); |
| 3812 | -moz-box-shadow: -16px 20px 40px rgba(0, 0, 0, 0.3); |
| 3813 | -webkit-box-shadow: -16px 20px 40px rgba(0, 0, 0, 0.3); |
| 3814 | } |
| 3815 | .slideshow-develop img.play.no-shadow { |
| 3816 | box-shadow: none; |
| 3817 | -moz-box-shadow: none; |
| 3818 | -webkit-box-shadow: none; |
| 3819 | } |
| 3820 | .slideshow-develop img.play.no-transform { |
| 3821 | -webkit-transform: none; |
| 3822 | } |
| 3823 | .slideshow-develop a.slideshow-next { |
| 3824 | background: url(../images/arrow-right-develop.png); |
| 3825 | } |
| 3826 | .slideshow-develop a.slideshow-prev { |
| 3827 | background: url(../images/arrow-left-develop.png); |
| 3828 | } |
| 3829 | .slideshow-develop .content-right { |
| 3830 | float: left; |
| 3831 | } |
| 3832 | .slideshow-develop .content-right h2 { |
| 3833 | padding:0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3834 | padding-bottom:10px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3835 | border:none; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 3836 | font-size:24px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3837 | } |
| 3838 | .slideshow-develop .item { |
| 3839 | height: 300px; |
| 3840 | width: 940px; |
| 3841 | } |
| 3842 | .slideshow-develop .pagination ul li.active { |
| 3843 | background-color: #F80; |
| 3844 | } |
| 3845 | .slideshow-develop .pagination ul li.active:hover { |
| 3846 | background-color: #F80; |
| 3847 | } |
| 3848 | .slideshow-develop .item hr { |
| 3849 | margin:5px 0 10px; |
| 3850 | } |
| 3851 | .slideshow-develop .item p { |
| 3852 | margin:10px 0; |
| 3853 | } |
| 3854 | .slideshow-develop .item p.title-intro { |
| 3855 | position:absolute; |
| 3856 | margin:0; |
| 3857 | } |
| 3858 | |
| 3859 | /* Feeds */ |
| 3860 | .feed ul { |
| 3861 | margin: 0; |
| 3862 | } |
| 3863 | .feed .feed-nav { |
| 3864 | height: 25px; |
| 3865 | border-bottom: 1px solid #CCC; |
| 3866 | } |
| 3867 | .feed .feed-nav li { |
| 3868 | list-style: none; |
| 3869 | float: left; |
| 3870 | height: 21px; /* +4px bottom border = 25px; same as .feed-nav */ |
| 3871 | margin-right: 25px; |
| 3872 | cursor: pointer; |
| 3873 | } |
| 3874 | .feed .feed-nav li.active { |
| 3875 | color: #000; |
| 3876 | border-bottom: 4px solid #F80; |
| 3877 | } |
| 3878 | .feed .feed-container { |
| 3879 | overflow: hidden; |
| 3880 | width: 460px; |
| 3881 | } |
| 3882 | .feed .feed-container .feed-frame { |
| 3883 | width: 1000px; |
| 3884 | } |
| 3885 | .feed .feed-container .feed-frame ul { |
| 3886 | float: left; |
| 3887 | width:460px; |
| 3888 | } |
| 3889 | .feed .feed-container .feed-frame ul ul { |
| 3890 | float: none; |
| 3891 | margin:10px 0 0 30px; |
| 3892 | } |
| 3893 | .feed .feed-container .feed-frame li { |
| 3894 | list-style: none; |
| 3895 | margin: 20px 0 20px 0; |
| 3896 | width: 460px; |
| 3897 | height:93px; |
| 3898 | } |
| 3899 | .feed .feed-container .feed-frame li.playlist { |
| 3900 | height:auto; |
| 3901 | } |
| 3902 | .feed .feed-container .feed-frame li.playlist a { |
| 3903 | height:93px; |
| 3904 | display:block; |
| 3905 | } |
| 3906 | .feed .feed-container .feed-frame li.more { |
| 3907 | height:20px; |
| 3908 | margin:10px 0 5px 5px; |
| 3909 | } |
| 3910 | .feed .feed-container .feed-frame li.more a { |
| 3911 | height:inherit; |
| 3912 | } |
| 3913 | .feed .feed-container .feed-frame li.playlist-video { |
| 3914 | list-style: none; |
| 3915 | margin: 0; |
| 3916 | width: 460px; |
| 3917 | height:55px; |
| 3918 | font-size:12px; |
| 3919 | } |
| 3920 | .feed .feed-container .feed-frame li.playlist-video a { |
| 3921 | height:45px; |
| 3922 | padding:5px; |
| 3923 | } |
| 3924 | .feed .feed-container .feed-frame li.playlist-video h5 { |
| 3925 | font-size:12px; |
| 3926 | line-height:13px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 3927 | padding:0; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3928 | } |
| 3929 | .feed .feed-container .feed-frame li.playlist-video p { |
| 3930 | margin:5px 0 0; |
| 3931 | line-height:15px; |
| 3932 | } |
| 3933 | .feed-container .feed-frame div.feed-image { |
| 3934 | float: left; |
| 3935 | border: 1px solid #999; |
| 3936 | margin:0 20px 0 0; |
| 3937 | width:122px; |
| 3938 | height:92px; |
| 3939 | background:url('../images/blog-default.png') no-repeat 0 0; |
| 3940 | background-size:180px; |
| 3941 | } |
| 3942 | #jd-content .feed .feed-container .feed-frame li img { |
| 3943 | float: left; |
| 3944 | border: 1px solid #999; |
| 3945 | margin:0 20px 0 0; |
| 3946 | width:122px; |
| 3947 | height:92px; |
| 3948 | } |
| 3949 | #jd-content .feed .feed-container .feed-frame li.playlist-video img { |
| 3950 | width:inherit; |
| 3951 | height:inherit; |
| 3952 | } |
| 3953 | |
| 3954 | .feed .feed-container .feed-frame li a, |
| 3955 | .feed .feed-container .feed-frame li a:active { |
| 3956 | color:#555 !important; |
| 3957 | } |
| 3958 | |
| 3959 | .feed .feed-container .feed-frame li a:hover, |
| 3960 | .feed .feed-container .feed-frame li a:hover * { |
| 3961 | color:#7AA1B0 !important; |
| 3962 | } |
| 3963 | |
| 3964 | /* Video player */ |
| 3965 | #player-wrapper { |
| 3966 | display:none; |
| 3967 | margin: -1px auto 0; |
| 3968 | position: relative; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3969 | max-width: 940px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3970 | height: 0px; |
| 3971 | } |
| 3972 | #player-frame { |
| 3973 | background: #EFEFEF; |
| 3974 | border: 1px solid #CCC; |
| 3975 | padding: 0px 207px; |
| 3976 | z-index: 10; /* stay above marque, but below search suggestions */ |
| 3977 | width: 525px; |
| 3978 | height: 330px; |
| 3979 | position: relative; |
| 3980 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 3981 | #player-frame .close { |
| 3982 | position: absolute; |
| 3983 | right: 8px; |
| 3984 | bottom: 4px; |
| 3985 | width: 16px; |
| 3986 | height: 16px; |
| 3987 | margin: 0; |
| 3988 | text-indent: -1000em; |
| 3989 | top: 6px; |
| 3990 | background: url(../images/close.png) no-repeat 0 0; |
| 3991 | z-index:9999; |
| 3992 | } |
| 3993 | #player-frame .close:hover, #player-frame .close:focus { |
| 3994 | background-position: -16px 0; |
| 3995 | cursor:pointer; |
| 3996 | } |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 3997 | |
| 3998 | |
| 3999 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4000 | /************ DEVELOP TOPIC CONTAINERS ************/ |
| 4001 | |
| 4002 | .landing-banner, |
| 4003 | .landing-docs { |
| 4004 | margin:20px 0; |
| 4005 | } |
| 4006 | .landing-banner > div:first-child, |
| 4007 | .landing-docs > div:first-child, |
| 4008 | .landing-docs > .col-12 { |
| 4009 | margin-left:0; |
| 4010 | min-height:280px; |
| 4011 | } |
| 4012 | .landing-banner.short > div { |
| 4013 | min-height:50px; |
| 4014 | } |
| 4015 | .landing-banner > div:last-child, |
| 4016 | .landing-docs > div:last-child, |
| 4017 | .landing-docs > .col-12 { |
| 4018 | margin-right:0; |
| 4019 | } |
| 4020 | |
| 4021 | .landing-banner > div > *:last-child { |
| 4022 | margin-bottom:0; |
| 4023 | } |
| 4024 | .landing-banner h1 { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 4025 | padding-top:16px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4026 | padding-bottom:24px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4027 | } |
| 4028 | .landing-docs, |
| 4029 | .landing-banner { |
| 4030 | clear:both; |
| 4031 | overflow:hidden; |
| 4032 | } |
| 4033 | .landing-docs h3 { |
| 4034 | font-size:14px; |
| 4035 | line-height:21px; |
| 4036 | color:#555; |
| 4037 | text-transform:uppercase; |
| 4038 | border-bottom:1px solid #CCC; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 4039 | padding:0 0 20px; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4040 | } |
| 4041 | .landing-docs a { |
| 4042 | color:#333 !important; |
| 4043 | } |
Dirk Dougherty | e21bed2 | 2014-05-02 15:14:04 -0700 | [diff] [blame] | 4044 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4045 | .landing-docs a:hover, |
| 4046 | .landing-docs a:hover * { |
| 4047 | color:#7AA1B0 !important |
| 4048 | } |
Dirk Dougherty | e21bed2 | 2014-05-02 15:14:04 -0700 | [diff] [blame] | 4049 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4050 | .landing-docs .normal-links a { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4051 | color:#039BE5 !important; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4052 | } |
Dirk Dougherty | e21bed2 | 2014-05-02 15:14:04 -0700 | [diff] [blame] | 4053 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4054 | .plusone { |
| 4055 | float:right; |
| 4056 | } |
Dirk Dougherty | e21bed2 | 2014-05-02 15:14:04 -0700 | [diff] [blame] | 4057 | |
| 4058 | |
| 4059 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4060 | .next-docs { |
| 4061 | border-top:1px solid #ccc; |
| 4062 | margin:40px 0 0; |
| 4063 | padding:5px 0 0; |
| 4064 | clear:left; |
| 4065 | overflow:hidden; |
| 4066 | } |
| 4067 | .next-docs div:first-child { |
| 4068 | margin-left:0; |
| 4069 | } |
| 4070 | .next-docs div:last-child { |
| 4071 | margin-right:0; |
| 4072 | } |
Dirk Dougherty | e21bed2 | 2014-05-02 15:14:04 -0700 | [diff] [blame] | 4073 | |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4074 | .next-docs h2 { |
| 4075 | font-size:14px; |
| 4076 | line-height:21px; |
| 4077 | color:#555; |
| 4078 | text-transform:uppercase; |
| 4079 | border-bottom:none; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 4080 | padding:5px 0 1em; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4081 | } |
| 4082 | |
| 4083 | |
| 4084 | |
| 4085 | /************* HOME/LANDING PAGE *****************/ |
| 4086 | |
| 4087 | .slideshow-home { |
| 4088 | height: 500px; |
| 4089 | width: 940px; |
| 4090 | border-bottom: 1px solid #CCC; |
| 4091 | position: relative; |
| 4092 | margin: 0; |
| 4093 | } |
| 4094 | .slideshow-home .frame { |
| 4095 | width: 940px; |
| 4096 | height: 500px; |
| 4097 | } |
| 4098 | .slideshow-home .content-left { |
| 4099 | float: left; |
| 4100 | text-align: center; |
| 4101 | vertical-align: center; |
| 4102 | margin: 0 0 0 35px; |
| 4103 | } |
| 4104 | .slideshow-home .content-right { |
| 4105 | margin: 80px 0 0 0; |
| 4106 | } |
| 4107 | .slideshow-home .content-right p { |
| 4108 | margin-bottom: 10px; |
| 4109 | } |
| 4110 | .slideshow-home .content-right p:last-child { |
| 4111 | margin-top: 15px; |
| 4112 | } |
| 4113 | .slideshow-home .content-right h1 { |
| 4114 | padding:0; |
| 4115 | } |
| 4116 | .slideshow-home .item { |
| 4117 | height: 500px; |
| 4118 | width: 940px; |
| 4119 | } |
| 4120 | .home-sections { |
| 4121 | padding: 30px 20px 20px; |
| 4122 | margin: 20px 0; |
| 4123 | background: -webkit-linear-gradient(top, #F6F6F6,#F9F9F9); |
| 4124 | } |
| 4125 | .home-sections ul { |
| 4126 | margin: 0; |
| 4127 | } |
| 4128 | .home-sections ul li { |
| 4129 | float: left; |
| 4130 | display: block; |
| 4131 | list-style: none; |
| 4132 | width: 170px; |
| 4133 | height: 35px; |
| 4134 | border: 1px solid #ccc; |
| 4135 | background: white; |
| 4136 | margin-right: 10px; |
| 4137 | border-radius: 1px; |
| 4138 | -webkit-border-radius: 1px; |
| 4139 | -moz-border-radius: 1px; |
| 4140 | box-shadow: 1px 1px 5px #EEE; |
| 4141 | -webkit-box-shadow: 1px 1px 5px #EEE; |
| 4142 | -moz-box-shadow: 1px 1px 5px #EEE; |
| 4143 | background: white; |
| 4144 | } |
| 4145 | .home-sections ul li:hover { |
| 4146 | background: #F9F9F9; |
| 4147 | border: 1px solid #CCC; |
| 4148 | } |
| 4149 | .home-sections ul li a, |
| 4150 | .home-sections ul li a:hover { |
| 4151 | font-weight: bold; |
| 4152 | margin-top: 8px; |
| 4153 | line-height: 18px; |
| 4154 | float: left; |
| 4155 | width: 100%; |
| 4156 | text-align: center; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4157 | color: #039BE5 !important; |
Dirk Dougherty | 541b494 | 2014-02-14 18:31:53 -0800 | [diff] [blame] | 4158 | } |
| 4159 | .home-sections ul li a { |
| 4160 | font-weight: bold; |
| 4161 | margin-top: 8px; |
| 4162 | line-height: 18px; |
| 4163 | float: left; |
| 4164 | width:100%; |
| 4165 | text-align:center; |
| 4166 | } |
| 4167 | .home-sections ul li img { |
| 4168 | float: left; |
| 4169 | margin: -8px 0 0 10px; |
| 4170 | } |
| 4171 | .home-sections ul li.last { |
| 4172 | margin-right: 0px; |
| 4173 | } |
Dirk Dougherty | 0803240 | 2014-02-15 10:14:35 -0800 | [diff] [blame] | 4174 | |
| 4175 | /************ DISTRIBUTE PAGES ******************/ |
| 4176 | |
Dirk Dougherty | 0803240 | 2014-02-15 10:14:35 -0800 | [diff] [blame] | 4177 | .article-detail #body-content { |
| 4178 | padding-top: 10px; |
| 4179 | } |
| 4180 | |
| 4181 | /* A container for grid sets with uppercase h3 and rule */ |
| 4182 | .dynamic-grid h3 { |
| 4183 | font-size:14px; |
| 4184 | line-height:21px; |
| 4185 | color:#555; |
| 4186 | text-transform:uppercase; |
| 4187 | border-bottom:1px solid #CCC; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 4188 | padding:8px 0 14px 1px; |
Dirk Dougherty | 0803240 | 2014-02-15 10:14:35 -0800 | [diff] [blame] | 4189 | clear:both; |
| 4190 | } |
| 4191 | |
| 4192 | .top-right-float { |
| 4193 | float: right; |
| 4194 | } |
| 4195 | |
| 4196 | .clearfloat { |
| 4197 | float: none; |
| 4198 | clear: both; |
| 4199 | } |
| 4200 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4201 | |
| 4202 | /** |
| 4203 | * UTILITIES |
| 4204 | */ |
| 4205 | |
| 4206 | |
| 4207 | .border-box { |
| 4208 | box-sizing: border-box; |
| 4209 | } |
| 4210 | |
| 4211 | .vertical-center-outer { |
| 4212 | display: table; |
| 4213 | height: 100%; |
| 4214 | width: 100%; |
| 4215 | } |
| 4216 | |
| 4217 | .vertical-center-inner { |
| 4218 | display: table-cell; |
| 4219 | vertical-align: middle; |
| 4220 | } |
| 4221 | |
| 4222 | /** |
| 4223 | * TYPE STYLES |
| 4224 | */ |
| 4225 | |
| 4226 | .landing-h1 { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4227 | color: #44555d; |
| 4228 | font-weight: 300; |
| 4229 | font-size: 56px; |
| 4230 | line-height: 80px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4231 | text-align: center; |
| 4232 | letter-spacing: -1px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 4233 | padding-bottom: 6px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4234 | } |
| 4235 | |
| 4236 | .landing-pre-h1 { |
| 4237 | font-weight: 400; |
| 4238 | font-size: 28px; |
| 4239 | color: #93B73F; |
| 4240 | line-height: 36px; |
| 4241 | text-align: center; |
| 4242 | letter-spacing: -1px; |
| 4243 | text-transform: uppercase; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4244 | } |
| 4245 | |
| 4246 | .landing-h1.hero { |
| 4247 | text-align: left; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4248 | color: #fff; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4249 | } |
| 4250 | |
| 4251 | .landing-h2 { |
| 4252 | font-weight: 300; |
| 4253 | font-size: 42px; |
| 4254 | line-height: 64px; |
| 4255 | text-align: center; |
| 4256 | } |
| 4257 | |
| 4258 | .landing-subhead { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4259 | color: #78868d; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4260 | font-size: 20px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4261 | font-weight: 300; |
| 4262 | line-height: 32px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4263 | text-align: center; |
| 4264 | } |
| 4265 | .landing-subhead.hero { |
| 4266 | text-align: left; |
| 4267 | color: white; |
| 4268 | } |
| 4269 | |
| 4270 | .landing-hero-description { |
| 4271 | text-align: left; |
| 4272 | margin: 1em 0; |
| 4273 | } |
| 4274 | |
| 4275 | .landing-hero-description p { |
| 4276 | font-weight: 300; |
| 4277 | margin: 0; |
| 4278 | font-size: 18px; |
| 4279 | line-height: 24px; |
| 4280 | } |
| 4281 | |
| 4282 | .landing-body .landing-small { |
| 4283 | font-size: 14px; |
| 4284 | line-height: 19px; |
| 4285 | } |
| 4286 | |
| 4287 | .landing-body.landing-align-center { |
| 4288 | text-align: center; |
| 4289 | } |
| 4290 | |
| 4291 | .landing-align-left { |
| 4292 | text-align: left; |
| 4293 | } |
| 4294 | |
| 4295 | /** |
| 4296 | * LAYOUT |
| 4297 | */ |
| 4298 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4299 | .landing-section { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4300 | background: #eceff1; |
| 4301 | clear: both; |
| 4302 | padding: 80px 20px 80px; |
| 4303 | margin: 0 -20px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4304 | text-rendering: optimizeLegibility; |
| 4305 | } |
| 4306 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4307 | @media (max-width: 719px) { |
| 4308 | .landing-section { |
| 4309 | margin-left: -10px; |
| 4310 | margin-right: -10px; |
| 4311 | padding-left: 10px; |
| 4312 | padding-right: 10px; |
| 4313 | } |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4314 | } |
| 4315 | |
| 4316 | .landing-short-section { |
| 4317 | padding: 40px 10px 28px; |
| 4318 | } |
| 4319 | |
| 4320 | .landing-gray-background { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4321 | background-color: #b0bec5; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4322 | } |
| 4323 | |
| 4324 | .landing-white-background { |
| 4325 | background-color: white; |
| 4326 | } |
| 4327 | |
| 4328 | .landing-red-background { |
| 4329 | color: white; |
| 4330 | background-color: hsl(8, 70%, 54%); |
| 4331 | } |
| 4332 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4333 | .landing-red-background .landing-h1 { |
| 4334 | color: white; |
| 4335 | } |
| 4336 | |
| 4337 | .landing-red-background .landing-subhead { |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4338 | color: hsl(8, 71%, 84%); |
| 4339 | text-align: left; |
| 4340 | } |
| 4341 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4342 | |
| 4343 | .preview-hero { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4344 | height: calc(100vh - 128px); |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4345 | min-height: 504px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4346 | padding-top: 0; |
| 4347 | padding-bottom: 0; |
| 4348 | background-image: url(../../preview/images/hero.jpg); |
| 4349 | background-size: cover; |
| 4350 | background-position: right center; |
| 4351 | color: white; |
| 4352 | position: relative; |
| 4353 | overflow: hidden; |
| 4354 | } |
| 4355 | |
| 4356 | .wear-hero { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4357 | height: calc(100vh - 128px); |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4358 | min-height: 504px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4359 | padding-top: 0; |
| 4360 | padding-bottom: 0; |
| 4361 | background-image: url(../../wear/images/hero.jpg); |
| 4362 | background-size: cover; |
| 4363 | background-position: top center; |
| 4364 | color: white; |
| 4365 | position: relative; |
| 4366 | overflow: hidden; |
| 4367 | } |
| 4368 | |
| 4369 | .tv-hero { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4370 | height: calc(100vh - 128px); |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4371 | min-height: 504px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4372 | padding-top: 0; |
| 4373 | padding-bottom: 0; |
| 4374 | background-image: url(../../tv/images/hero.jpg); |
| 4375 | background-size: cover; |
| 4376 | background-position: right center; |
| 4377 | color: white; |
| 4378 | position: relative; |
| 4379 | overflow: hidden; |
| 4380 | } |
| 4381 | |
| 4382 | .auto-hero { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4383 | height: calc(100vh - 128px); |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4384 | min-height: 504px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4385 | padding-top: 0; |
| 4386 | padding-bottom: 0; |
| 4387 | background-image: url(../../auto/images/hero.jpg); |
| 4388 | background-size: cover; |
| 4389 | background-position: right center; |
| 4390 | color: white; |
| 4391 | position: relative; |
| 4392 | overflow: hidden; |
| 4393 | } |
| 4394 | |
| 4395 | .landing-hero-scrim { |
| 4396 | background: black; |
Dirk Dougherty | 29e9343 | 2015-05-05 18:17:13 -0700 | [diff] [blame] | 4397 | height: 100%; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4398 | left: 0; |
| 4399 | position: absolute; |
| 4400 | opacity: .2; |
| 4401 | width: 100%; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4402 | } |
| 4403 | |
| 4404 | .landing-hero-wrap { |
| 4405 | margin: 0 auto; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4406 | max-width: 940px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4407 | clear: both; |
| 4408 | height: 100%; |
| 4409 | position: relative; |
| 4410 | } |
| 4411 | |
| 4412 | .landing-section-header { |
| 4413 | margin-bottom: 40px; |
| 4414 | } |
| 4415 | |
| 4416 | .landing-hero-wrap .landing-section-header { |
| 4417 | margin-bottom: 16px; |
| 4418 | } |
| 4419 | |
| 4420 | .landing-body { |
| 4421 | font-size: 18px; |
| 4422 | line-height: 24px; |
| 4423 | } |
| 4424 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4425 | .landing-video-link { |
| 4426 | white-space: nowrap; |
| 4427 | display: inline-block; |
| 4428 | padding: 16px 32px 16px 82px; |
| 4429 | font-size: 18px; |
| 4430 | font-weight: 400; |
| 4431 | line-height: 24px; |
| 4432 | cursor: pointer; |
| 4433 | color: hsla(0, 0%, 100%, .8); |
| 4434 | -webkit-user-select: none; |
| 4435 | -moz-user-select: none; |
| 4436 | -o-user-select: none; |
| 4437 | user-select: none; |
| 4438 | -webkit-transition: .2s color ease-in-out; |
| 4439 | -moz-transition: .2s color ease-in-out; |
| 4440 | -o-transition: .2s color ease-in-out; |
| 4441 | transition: .2s color ease-in-out; |
| 4442 | } |
| 4443 | |
| 4444 | .landing-video-link:before { |
| 4445 | height: 64px; |
| 4446 | width: 64px; |
| 4447 | display: inline-block; |
| 4448 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAFuklEQVR42u2dXWgcVRSAV9LWtBBTTZVWUhNqEQtq1QeroDRKFRFsROqTYPuo+JCiIoJKFC0USqlUfCiowRcfrBgVUUElefAPkW5T8aeaGn9aRbFsjP0x2cx8PuRMvFxmdjeb2Z17Z8+B85DsZPbO+eaec3/OPSkABdXsVI2gABSAqgJQAKoKQAGoKgAFoKoAFICqAlAAqgpAAai6DqDRAiwDeoFtwB7gPaAInABKwKToCWAMeB/YDdwJrAWWNLh9+QMAXABsBQ4A3wFTwAxQBmaBAAhjNJDPy3L938BXwAvArUCHAkh+kCXAVcA+YBw4bRg7MngtkgTlDPA98CywHmhTAP8/xCbgVeAvMZZpwDQllN7xB/AysKGlAQAXAvuBkzW85UVgCBgENlfQQbmuWAXELPAnsAvoaikAQBtwh/j3coLhS2LIfqCzzu/plL8fkvvFgZiR4L2lHrfkHQBgpQTFUwmGnwC212v0KjC2y/3jQPwDPA+05xYAcBHwubx1YZzhC02QBBBRbxgBzssdAOBy4JgRZE0ZTPuNr7FHDCbEhqNAd24AAN0yUbID7QSwsZChABut3hANXY8Bq70HIMb/Ocb4w81+66v0hmGrN0QQ1ngLQJYRvpWHMWWo4KDIaMnuCcVKgdlZAGL8t2J8vpPGrwChDLyWBMFlAA8D0z4ZvwKEs8D93gCQEc9Jy/jFgkdizaRDGUSs8wXAu1bQLQE9ngHosWbPAXDQeQAypT9rBd3+gociyxi2K9riLABZUj5iuZ6RgsciM2OzFxw2A7JrAO6VwGtKTwpG+Anoy9AVmb3gDHCPcwCAFcChRox6jPu9CazMeFQUAKNRL3AJwE2yopjq228BQPZ/d2bcCyaBTa4BeNGa8Q6naIA4GQWubiKEYWvBbp8zAGQt5VfL/fQ3GEAkTzXDLVkjokA2k5a7AuA2GaLNj/tTfvhq0pQgbcwLQtlQusYVALtlzSR191MjADNI9zbJDZWBR10BMGr5/4GMADQ0SAMDlht62xUAxy0AmzMEEMnhtIO0ZF2YAH5wITd0hQw/5wE04M1bjDyXZpC2hqMlYGnWAHqBf40APOEYgChI35VSWyasWfGqrAH0WVkOIw4CSC1IG2tDoSy7XJE1gPs8ArDoIG0BmJGk30wBDHgGYFFBOgbAtqwB7GxxAHerC8rOBU0Dt2gQzjYIb8gawDor+6HVhqFdrkzEwhabiAVOTMSkUb+06FLEUVfWgj5q0cW4g64AeNo66ZLlcnTDNmesBN4y8KArAG6QU42ttCEzBVzpCoAO4EfLDeV5SzIEvgHaXdqUP2BlQud1Ux55zj2uZUX02cPRnKalRLmu17qYmPWF5YbymJgVAh8Ay5wCII3ZEZOYm6fURGT2u9X43Mnk3CDHybmfmRVYXExPv9nKEcpLejqSC3SjdY2TBzTesHqB7wc0onTEV2KucxLApXKkJy9HlAI5anuJFwCkYQ/EuCJfD+mdBnYkXOssgHY53un7MdVZ4CVgqVcADAhjMafkfTioHc14P04yvvMApIEXy5F/+7S8y6UKolPyR4BVVf7Wi2IdawwIPhTrmAW+rmZ8bwBIQ7vloXwoVzNWS6UUrwAYy9YfOlqwKZDkgneA5Qu4l3cly84F9sqGhislywLmaozuYoGFXr0DII1ukxP1hxJ6QzR7HqLxRfumZaRzXZ3f4XXZyi7gCeB3kqsnzs+kSb9s5XHgMeD8RTxDLgq3rmeuYuFvNYCoR8wqujNi+L3UWBcu9wAMt3QZ8LiMlk5RuU50teq6kcEDgTolveIRYHUQBOek1O5cFu/ukLz7/ZJgNSm+OirebWpgaPS7slxfAr4EngGuX8jopqUBxGzyrAVuB54EXgc+lV4yLhO8cfn5E+ZqUD8kBu9sQvv0Hzj4rmoEBaAAVBWAAlBVAApAVQEoAFUFoABUFYACUFUACkC1CfofXVRJocowZVYAAAAASUVORK5CYII=); |
| 4449 | background-size: contain; |
| 4450 | position: absolute; |
| 4451 | content: ""; |
| 4452 | opacity: .7; |
| 4453 | margin-top: -19px; |
| 4454 | margin-left: -64px; |
| 4455 | -webkit-transition: .2s opacity ease-in-out; |
| 4456 | -moz-transition: .2s opacity ease-in-out; |
| 4457 | -o-transition: .2s opacity ease-in-out; |
| 4458 | transition: .2s opacity ease-in-out; |
| 4459 | } |
| 4460 | |
| 4461 | .landing-video-link:hover { |
| 4462 | color: hsla(0, 0%, 100%, 1); |
| 4463 | } |
| 4464 | |
| 4465 | .landing-video-link:hover:before { |
| 4466 | opacity: 1; |
| 4467 | } |
| 4468 | |
| 4469 | .landing-social-image { |
| 4470 | float: left; |
| 4471 | margin-right: 14px; |
| 4472 | height: 64px; |
| 4473 | width: 64px; |
| 4474 | } |
| 4475 | |
| 4476 | .landing-social-copy { |
| 4477 | padding-left: 78px; |
| 4478 | } |
| 4479 | |
| 4480 | .landing-scroll-down-affordance { |
| 4481 | position: absolute; |
| 4482 | bottom: 0; |
| 4483 | width: 100%; |
| 4484 | text-align: center; |
| 4485 | z-index: 10; |
| 4486 | } |
| 4487 | |
| 4488 | .landing-down-arrow { |
| 4489 | padding: 24px; |
| 4490 | display: inline-block; |
| 4491 | opacity: .5; |
| 4492 | -webkit-transition: .2s opacity ease-in-out; |
| 4493 | -moz-transition: .2s opacity ease-in-out; |
| 4494 | -o-transition: .2s opacity ease-in-out; |
| 4495 | transition: .2s opacity ease-in-out; |
| 4496 | |
| 4497 | -webkit-animation-name: pulse-opacity; |
| 4498 | -webkit-animation-duration: 4s; |
| 4499 | } |
| 4500 | |
| 4501 | .landing-down-arrow:hover { |
| 4502 | opacity: 1; |
| 4503 | } |
| 4504 | |
| 4505 | .landing-down-arrow img { |
| 4506 | height: 28px; |
| 4507 | width: 28px; |
| 4508 | margin: 0 auto; |
| 4509 | display: block; |
| 4510 | } |
| 4511 | |
| 4512 | .landing-divider { |
| 4513 | display: inline-block; |
| 4514 | height: 2px; |
| 4515 | background-color: white; |
| 4516 | position: relative; |
| 4517 | margin: 10px 0; |
| 4518 | } |
| 4519 | |
| 4520 | /* 3 CLOLUMN LAYOUT */ |
| 4521 | |
| 4522 | .landing-breakout { |
| 4523 | margin-top: 40px; |
| 4524 | margin-bottom: 40px; |
| 4525 | } |
| 4526 | |
| 4527 | .landing-breakout img { |
| 4528 | margin-bottom: 20px; |
| 4529 | } |
| 4530 | |
| 4531 | .landing-partners img { |
| 4532 | margin-bottom: 20px; |
| 4533 | } |
| 4534 | |
| 4535 | .landing-breakout p { |
| 4536 | padding: 0 23px; |
| 4537 | } |
| 4538 | |
| 4539 | .landing-breakout.landing-partners img { |
| 4540 | margin-bottom: 20px; |
| 4541 | } |
| 4542 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4543 | /** |
| 4544 | * ANIMATION |
| 4545 | */ |
| 4546 | |
| 4547 | @-webkit-keyframes pulse-opacity { |
| 4548 | 0% { |
| 4549 | opacity: .5; |
| 4550 | } |
| 4551 | 20% { |
| 4552 | opacity: .5; |
| 4553 | } |
| 4554 | 40% { |
| 4555 | opacity: 1; |
| 4556 | } |
| 4557 | 60% { |
| 4558 | opacity: .5; |
| 4559 | } |
| 4560 | 80% { |
| 4561 | opacity: 1; |
| 4562 | } |
| 4563 | 100% { |
| 4564 | opacity: .5; |
| 4565 | } |
| 4566 | } |
| 4567 | |
| 4568 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4569 | /****************** |
| 4570 | Styles for d.a.c/index: |
| 4571 | *******************/ |
| 4572 | |
| 4573 | |
| 4574 | |
| 4575 | /* Generic full screen carousel styling to be used across pages. */ |
| 4576 | .fullscreen-carousel { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4577 | margin: 0 -20px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4578 | overflow: hidden; |
| 4579 | position: relative; |
| 4580 | } |
| 4581 | |
| 4582 | .fullscreen-carousel-content { |
| 4583 | width: 100%; |
| 4584 | height: 100%; |
| 4585 | position: relative; |
| 4586 | display: table; /* For vertical centering */ |
| 4587 | } |
| 4588 | |
| 4589 | .fullscreen-carousel .vcenter { |
| 4590 | display: table-cell; |
| 4591 | vertical-align: middle; |
| 4592 | position: relative; |
| 4593 | } |
| 4594 | |
| 4595 | .fullscreen-carousel .vcenter > div { |
| 4596 | margin: 10px auto; |
| 4597 | } |
| 4598 | |
| 4599 | /* Styles for the full-bleed hero image type. */ |
| 4600 | .fullscreen-carousel .hero, .fullscreen-carousel .hero h1 { |
| 4601 | color: #fff; |
| 4602 | } |
| 4603 | |
| 4604 | .fullscreen-carousel .hero h1 { |
| 4605 | font-weight: 300; |
| 4606 | font-size: 60px; |
| 4607 | line-height: 68px; |
| 4608 | letter-spacing: -1px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 4609 | padding-top: 0; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4610 | } |
| 4611 | |
| 4612 | .fullscreen-carousel .hero p { |
| 4613 | font-weight: 300; |
| 4614 | font-size: 18px; |
| 4615 | line-height: 24px; |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4616 | } |
| 4617 | |
| 4618 | .fullscreen-carousel .hero .hero-bg { |
| 4619 | background-size: cover; |
| 4620 | width: 100%; |
| 4621 | height: 100%; |
| 4622 | position: absolute; |
| 4623 | left: 0px; |
| 4624 | top: 0px; |
| 4625 | } |
| 4626 | |
| 4627 | |
| 4628 | /* Full screen carousel styling for the resource flow layout type of content */ |
| 4629 | .fullscreen-carousel .resource-flow-layout:after { |
| 4630 | height: 0; /* Dont know why this is set at 10 in default.css */ |
| 4631 | } |
| 4632 | |
| 4633 | .fullscreen-carousel .resource-flow-layout { |
| 4634 | margin-bottom: 20px; |
| 4635 | } |
| 4636 | |
| 4637 | |
| 4638 | |
| 4639 | /* Generic Tab carousel styling to be used across multiple pages. */ |
| 4640 | |
| 4641 | .tab-carousel .tab-nav { |
| 4642 | list-style: none; |
| 4643 | position: relative; |
| 4644 | text-align: center; |
| 4645 | } |
| 4646 | |
| 4647 | .tab-carousel .tab-nav li { |
| 4648 | display: inline-block; |
| 4649 | font-size: 22px; |
| 4650 | font-weight: 400; |
| 4651 | line-height: 50px; |
| 4652 | list-style: none; |
| 4653 | margin: 0; |
| 4654 | padding: 0 25px; |
| 4655 | position: relative; |
| 4656 | } |
| 4657 | |
| 4658 | .tab-carousel .tab-nav li a, |
| 4659 | .tab-carousel .tab-nav li a:hover { |
| 4660 | color: #333 !important; |
| 4661 | padding: 10px 10px 13px 10px; |
| 4662 | position: relative; |
| 4663 | z-index: 1000; |
| 4664 | } |
| 4665 | |
| 4666 | .tab-carousel .tab-nav li:after { |
| 4667 | background: #ddd; |
| 4668 | bottom: 0; |
| 4669 | content: ''; |
| 4670 | height: 4px; |
| 4671 | left: 0; |
| 4672 | position: absolute; |
| 4673 | width: 100%; |
| 4674 | z-index: 0; |
| 4675 | } |
| 4676 | |
| 4677 | .tab-carousel .tab-nav .highlight { |
| 4678 | position: absolute; |
| 4679 | height: 4px; |
| 4680 | width: 100px; |
| 4681 | bottom: 0; |
| 4682 | background: #33b5e5; |
| 4683 | } |
| 4684 | |
| 4685 | .tab-carousel .tab-carousel-content { |
| 4686 | position: relative; |
| 4687 | overflow: hidden; |
| 4688 | white-space: nowrap; |
| 4689 | } |
| 4690 | |
| 4691 | .tab-carousel .tab-carousel-content [data-tab] { |
| 4692 | display: inline-block; |
| 4693 | white-space: normal; |
| 4694 | } |
| 4695 | |
| 4696 | |
| 4697 | |
| 4698 | /* |
| 4699 | Resource styling for the tab carousel. The tab carousel contains either |
| 4700 | a 3 column layout of resources or a single full-width resource. The |
| 4701 | latter has the 18x12 class applied to it and can be styled differently |
| 4702 | that way. |
| 4703 | */ |
| 4704 | |
| 4705 | .tab-carousel .resource .image { |
| 4706 | width: 100%; |
| 4707 | height: 250px; |
| 4708 | background-repeat: no-repeat; |
| 4709 | background-size: contain; |
| 4710 | background-position: 50% 50%; |
| 4711 | } |
| 4712 | |
| 4713 | .tab-carousel .resource .info .title { |
| 4714 | font-size: 18px; |
| 4715 | line-height: 24px; |
| 4716 | } |
| 4717 | |
| 4718 | .tab-carousel .resource .info .summary, |
| 4719 | .tab-carousel .resource .info .cta { |
| 4720 | line-height: 24px; |
| 4721 | font-size: 16px; |
| 4722 | } |
| 4723 | |
| 4724 | .tab-carousel .resource-card-18x12 { |
| 4725 | position: relative; |
| 4726 | padding-left: 450px; |
| 4727 | box-sizing: border-box; |
| 4728 | display: table-cell; |
| 4729 | vertical-align: middle; |
| 4730 | } |
| 4731 | |
| 4732 | .tab-carousel .resource-card-18x12 .image { |
| 4733 | position: absolute; |
| 4734 | width: 420px; |
| 4735 | height: 100%; |
| 4736 | left: 0; |
| 4737 | top: 0; |
| 4738 | } |
| 4739 | |
| 4740 | .tab-carousel .resource-card-18x12 .info { |
| 4741 | display: inline-block; |
| 4742 | } |
| 4743 | |
| 4744 | .tab-carousel .resource-card-18x12 .info .title { |
| 4745 | margin-bottom: 26px; |
| 4746 | } |
| 4747 | |
Dirk Dougherty | ff233cc | 2015-05-04 14:37:05 -0700 | [diff] [blame] | 4748 | /* |
| 4749 | Specific styles for new home page layout of the carousels. |
| 4750 | */ |
| 4751 | |
| 4752 | /* Big blue button */ |
| 4753 | a.home-new-cta-btn, |
| 4754 | .home-new-carousel-1 .resource-card-18x6 .cta { |
| 4755 | white-space: nowrap; |
| 4756 | display: inline-block; |
| 4757 | padding: 14px 32px; |
| 4758 | font-size: 18px; |
| 4759 | font-weight: 500; |
| 4760 | line-height: 24px; |
| 4761 | cursor: pointer; |
| 4762 | background: #33b5e6; |
| 4763 | border-radius: 4px; |
| 4764 | margin-top: 20px; |
| 4765 | color: #fff; |
| 4766 | transition: 0.2s background-color ease-in-out; |
| 4767 | } |
| 4768 | |
| 4769 | .home-new-carousel-1 .resource-card-18x6 .cta:after { |
| 4770 | display: none; /* Hide the entity for this button */ |
| 4771 | } |
| 4772 | |
| 4773 | a.home-new-cta-btn:hover, |
| 4774 | .home-new-carousel-1 .resource-card-18x6 .cta:hover { |
| 4775 | color: #fff !important; |
| 4776 | background: #2d9fca; |
| 4777 | } |
| 4778 | |
| 4779 | .home-new-carousel-1 .resource-card-18x6 .cta { |
| 4780 | position: absolute; |
| 4781 | bottom: 20px; |
| 4782 | left: 16px; |
| 4783 | } |
| 4784 | |
| 4785 | /* Fullscreen carousel. */ |
| 4786 | .home-new-carousel-1 { |
| 4787 | max-height: 700px; /* Set max height so doesn't get too long */ |
| 4788 | } |
| 4789 | |
| 4790 | .home-new-carousel-1 .fullscreen-carousel-content { |
| 4791 | min-height: 450px; /* Set min height for all content */ |
| 4792 | } |
| 4793 | |
| 4794 | .home-new-carousel-1 .hero { |
| 4795 | background: #000; |
| 4796 | } |
| 4797 | |
| 4798 | .home-new-carousel-1 .hero-bg { |
| 4799 | background-image: url(/home-new/images/hero.jpg); |
| 4800 | background-position: right center; |
| 4801 | opacity: 0.85; |
| 4802 | } |
| 4803 | |
| 4804 | /* |
| 4805 | Styling for special top card of full screen layout resource layout. |
| 4806 | We need to specifically style the 18x6 card to adjust its size and layout, |
| 4807 | since it's not a standard card, not sure if this is unique to the home page |
| 4808 | layout or should be namespaced within the fullscreen-carousel container. |
| 4809 | */ |
| 4810 | .home-new-carousel-1 .resource-flow-layout.col-16 .resource-card-18x6 { |
| 4811 | height: 320px; |
| 4812 | background-color:#F9F9F9; |
| 4813 | border-radius: 0px; |
| 4814 | box-shadow: 0px 0px 0px rgba(0, 0, 0, 0); |
| 4815 | |
| 4816 | } |
| 4817 | |
| 4818 | .home-new-carousel-1 .resource-card-18x6 .card-bg { |
| 4819 | width: 636px; |
| 4820 | height: 100%; |
| 4821 | } |
| 4822 | |
| 4823 | .home-new-carousel-1 .resource-card-18x6 .card-info { |
| 4824 | right: 0px; |
| 4825 | left: 636px; |
| 4826 | height: 100%; |
| 4827 | top: 0px; |
| 4828 | padding: 15px 22px; |
| 4829 | } |
| 4830 | |
| 4831 | .home-new-carousel-1 .resource-card-18x6 .card-info .util { |
| 4832 | display: none; |
| 4833 | } |
| 4834 | |
| 4835 | .home-new-carousel-1 .resource-card-18x6 .card-info .title { |
| 4836 | font-size: 20px; |
| 4837 | font-weight: 500; |
| 4838 | margin-top: 15px; |
| 4839 | margin-bottom: 15px; |
| 4840 | } |
| 4841 | |
| 4842 | .home-new-carousel-1 .resource-card-18x6 .card-info .text { |
| 4843 | font-size: 15px; |
| 4844 | line-height: 21px; |
| 4845 | } |
| 4846 | |
| 4847 | |
| 4848 | /* Tabbed carousel. */ |
| 4849 | .home-new-carousel-2 { |
| 4850 | margin: 35px auto 100px auto; |
| 4851 | } |
| 4852 | |
| 4853 | .home-new-carousel-2 h1 { |
| 4854 | font-size: 47px; |
| 4855 | font-weight: 100; |
| 4856 | line-height: 54px; |
| 4857 | text-align: center; |
| 4858 | } |
| 4859 | |
| 4860 | .annotation-message { |
| 4861 | display: block; |
| 4862 | font-style: italic; |
| 4863 | color: #F80; |
| 4864 | } |
| 4865 | |
| 4866 | |
| 4867 | |
| 4868 | /* Helpouts widget */ |
| 4869 | .resource-card-6x2.helpouts-card { |
| 4870 | width: 255px; |
| 4871 | height: 40px; |
| 4872 | position:absolute; |
| 4873 | z-index:999; |
| 4874 | top:-8px; |
| 4875 | right:1px; |
| 4876 | } |
| 4877 | |
| 4878 | .resource-card-6x2.helpouts-card > .card-info { |
| 4879 | left:35px; |
| 4880 | height:35px; |
| 4881 | padding:4px 8px 4px 0; |
| 4882 | } |
| 4883 | |
| 4884 | .resource-card-6x2.helpouts-card > .card-info .helpouts-description { |
| 4885 | display:block; |
| 4886 | overflow:visible; |
| 4887 | font-size:12px; |
| 4888 | line-height:12px; |
| 4889 | text-align:right; |
| 4890 | color:#666; |
| 4891 | } |
| 4892 | |
| 4893 | .helpouts-description .link-color { |
| 4894 | text-transform: uppercase; |
| 4895 | } |
| 4896 | |
| 4897 | .resource-card-6x2 > .card-bg.helpouts-card-bg { |
| 4898 | width:35px; |
| 4899 | height:35px; |
| 4900 | margin:2px 0 0 0; |
| 4901 | background-image: url(../images/styles/helpouts-logo-35_2x.png); |
| 4902 | background-image: -webkit-image-set(url(../images/styles/helpouts-logo-35.png) 1x, url(../images/styles/helpouts-logo-35_2x.png) 2x); |
| 4903 | } |
| 4904 | |
| 4905 | .resource-card-6x2 > .card-bg.helpouts-card-bg:after { |
| 4906 | display:none; |
| 4907 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 4908 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 4909 | #tb li:before, #qv li:before { |
| 4910 | background-position: 0px -196px; |
| 4911 | height: 24px; |
| 4912 | width: 24px; |
| 4913 | content: ''; |
| 4914 | left: -8px; |
| 4915 | opacity: .7; |
| 4916 | position: absolute; |
| 4917 | top: -4px; |
| 4918 | } |
| 4919 | |
| 4920 | /* CHANGE EXISTING SELECTOR FOR ANDROID M HERO ONLY |
| 4921 | REMOVE THE BELOW STYLES WHEN THE ANDROID M CAROUSEL |
| 4922 | GRAPHIC ON THE MAIN LANDING IS TAKEN DOWN */ |
| 4923 | .dac-hero.mprev { |
| 4924 | background-color: #fff; |
| 4925 | background-position: 50% 53%; |
| 4926 | background-size: cover; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 4927 | background-image: url(../images/home/android_m_hero_1200.jpg); |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 4928 | box-sizing: border-box; |
| 4929 | font-size: 16px; |
| 4930 | min-height: 550px; |
| 4931 | padding-top: 88px; |
| 4932 | } |
| 4933 | .dac-hero.dac-darken.mprev::before { |
| 4934 | background: rgba(0, 0, 0, 0.3); |
| 4935 | bottom: 0; |
| 4936 | content: ''; |
| 4937 | display: block; |
| 4938 | left: 0; |
| 4939 | position: absolute; |
| 4940 | right: 0; |
| 4941 | top: 0; |
| 4942 | } |
| 4943 | |
| 4944 | .dac-hero.dac-darken.mprev::before { |
| 4945 | background: -webkit-linear-gradient(top, rgba(0, 0, 0, .05), rgba(0, 0, 0, .05), #000 950px); |
| 4946 | background: linear-gradient(to bottom, rgba(0, 0, 0, .05), rgba(0, 0, 0, 0.05), #000 950px); |
| 4947 | } |
| 4948 | |
| 4949 | @media (max-width: 719px) { |
| 4950 | .dac-hero.dac-darken.mprev { |
| 4951 | background-size: auto 600px; |
| 4952 | background-position: 55% 0; |
| 4953 | background-repeat: no-repeat; |
| 4954 | } |
| 4955 | |
| 4956 | .dac-hero-figure.mprev { |
| 4957 | height: 10px; |
| 4958 | margin: 15px 0; |
| 4959 | } |
| 4960 | } |
| 4961 | |
| 4962 | @media (max-width: 719px) { |
| 4963 | .dac-hero.dac-darken.mprev { |
| 4964 | background-size: auto 600px; |
| 4965 | background-position: 55% 0; |
| 4966 | background-repeat: no-repeat; |
| 4967 | } |
| 4968 | |
| 4969 | .dac-hero-figure.mprev { |
| 4970 | height: 10px; |
| 4971 | margin: 15px 0; |
| 4972 | } |
| 4973 | } |
| 4974 | |
| 4975 | @media (max-width: 1200px) { |
| 4976 | .dac-hero.dac-darken.mprev { |
| 4977 | background-size: auto 700px; |
| 4978 | background-position: 55% 0; |
| 4979 | background-repeat: no-repeat; |
| 4980 | } |
| 4981 | |
| 4982 | .dac-hero-cta.mprev { |
| 4983 | white-space:nowrap; |
| 4984 | } |
| 4985 | } |
| 4986 | |
| 4987 | @charset "UTF-8"; |
| 4988 | /** |
| 4989 | * Fades out an element. |
| 4990 | * Applies visibility hidden when the transition is finished. |
| 4991 | * |
| 4992 | * Use opacity: 1; to show the element. |
| 4993 | */ |
| 4994 | .dac-visible-mobile-block, .dac-mobile-only, |
| 4995 | .dac-visible-mobile-inline, |
| 4996 | .dac-visible-mobile-inline-block, |
| 4997 | .dac-visible-tablet-block, |
| 4998 | .dac-visible-tablet-inline, |
| 4999 | .dac-visible-tablet-inline-block, |
| 5000 | .dac-visible-desktop-block, |
| 5001 | .dac-visible-desktop-inline, |
| 5002 | .dac-visible-desktop-inline-block { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5003 | display: none !important; |
| 5004 | } |
| 5005 | |
| 5006 | @media (max-width: 719px) { |
| 5007 | .dac-hidden-mobile { |
| 5008 | display: none !important; |
| 5009 | } |
| 5010 | |
| 5011 | .dac-visible-mobile-block, .dac-mobile-only { |
| 5012 | display: block !important; |
| 5013 | } |
| 5014 | |
| 5015 | .dac-visible-mobile-inline { |
| 5016 | display: inline !important; |
| 5017 | } |
| 5018 | |
| 5019 | .dac-visible-mobile-inline-block { |
| 5020 | display: inline-block !important; |
| 5021 | } |
| 5022 | } |
| 5023 | |
| 5024 | @media (min-width: 720px) and (max-width: 979px) { |
| 5025 | .dac-hidden-tablet { |
| 5026 | display: none !important; |
| 5027 | } |
| 5028 | |
| 5029 | .dac-visible-tablet-block { |
| 5030 | display: block !important; |
| 5031 | } |
| 5032 | |
| 5033 | .dac-visible-tablet-inline { |
| 5034 | display: inline !important; |
| 5035 | } |
| 5036 | |
| 5037 | .dac-visible-tablet-inline-block { |
| 5038 | display: inline-block !important; |
| 5039 | } |
| 5040 | } |
| 5041 | |
| 5042 | @media (min-width: 980px) { |
| 5043 | .dac-hidden-desktop { |
| 5044 | display: none !important; |
| 5045 | } |
| 5046 | |
| 5047 | .dac-visible-desktop-block { |
| 5048 | display: block !important; |
| 5049 | } |
| 5050 | |
| 5051 | .dac-visible-desktop-inline { |
| 5052 | display: inline !important; |
| 5053 | } |
| 5054 | |
| 5055 | .dac-visible-desktop-inline-block { |
| 5056 | display: inline-block !important; |
| 5057 | } |
| 5058 | } |
| 5059 | |
| 5060 | .dac-offset-parent { |
| 5061 | position: relative !important; |
| 5062 | } |
| 5063 | |
| 5064 | /** |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5065 | * Hide from browsers/screenreaders on all sizes. |
| 5066 | */ |
| 5067 | .dac-hidden { |
| 5068 | display: none !important; |
| 5069 | } |
| 5070 | |
| 5071 | /** |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5072 | * Break strings when their length exceeds the width of their container. |
| 5073 | */ |
| 5074 | .dac-text-break { |
| 5075 | word-wrap: break-word !important; |
| 5076 | } |
| 5077 | |
| 5078 | /** |
| 5079 | * Horizontal text alignment |
| 5080 | */ |
| 5081 | .dac-text-center { |
| 5082 | text-align: center !important; |
| 5083 | } |
| 5084 | |
| 5085 | .dac-text-left { |
| 5086 | text-align: left !important; |
| 5087 | } |
| 5088 | |
| 5089 | .dac-text-right { |
| 5090 | text-align: right !important; |
| 5091 | } |
| 5092 | |
| 5093 | /** |
| 5094 | * Prevent whitespace wrapping |
| 5095 | */ |
| 5096 | .dac-text-no-wrap { |
| 5097 | white-space: nowrap !important; |
| 5098 | } |
| 5099 | |
| 5100 | /** |
| 5101 | * Prevent text from wrapping onto multiple lines, instead truncate with an ellipsis. |
| 5102 | */ |
| 5103 | .dac-text-truncate { |
| 5104 | max-width: 100%; |
| 5105 | overflow: hidden !important; |
| 5106 | text-overflow: ellipsis !important; |
| 5107 | white-space: nowrap !important; |
| 5108 | word-wrap: normal !important; |
| 5109 | } |
| 5110 | |
| 5111 | /** |
| 5112 | * Floats |
| 5113 | */ |
| 5114 | .dac-float-left { |
| 5115 | float: left !important; |
| 5116 | } |
| 5117 | |
| 5118 | .dac-float-right { |
| 5119 | float: right !important; |
| 5120 | } |
| 5121 | |
| 5122 | /** |
| 5123 | * New block formatting context |
| 5124 | * |
| 5125 | * This affords some useful properties to the element. It won't wrap under |
| 5126 | * floats. Will also contain any floated children. |
| 5127 | * N.B. This will clip overflow. Use the alternative method below if this is |
| 5128 | * problematic. |
| 5129 | */ |
| 5130 | .dac-nbfc { |
| 5131 | overflow: hidden !important; } |
| 5132 | |
| 5133 | /** |
| 5134 | * New block formatting context (alternative) |
| 5135 | * |
| 5136 | * Alternative method when overflow must not be clipped. |
| 5137 | * |
| 5138 | * N.B. This breaks down in some browsers when elements within this element |
| 5139 | * exceed its width. |
| 5140 | */ |
| 5141 | .dac-nbfc-alt { |
| 5142 | display: table-cell !important; |
| 5143 | width: 10000px !important; } |
| 5144 | |
| 5145 | /* New CSS */ |
| 5146 | /************ RESOURCE CARDS ******************/ |
| 5147 | /* Basic card-styling with shadow */ |
| 5148 | .resource-card { |
| 5149 | background: #fff; |
| 5150 | box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.21); |
| 5151 | display: block; |
| 5152 | position: relative; } |
| 5153 | |
| 5154 | /* Play button is only visible on 6by6 cards */ |
| 5155 | .play-button { |
| 5156 | background-color: #000; |
| 5157 | border-radius: 50%; |
| 5158 | box-sizing: border-box; |
| 5159 | display: none; |
| 5160 | height: 70px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5161 | line-height: 65px; |
| 5162 | padding-left: 4px; |
| 5163 | position: absolute; |
| 5164 | opacity: .6; |
| 5165 | text-align: center; |
| 5166 | -webkit-transition: opacity .5s; |
| 5167 | transition: opacity .5s; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5168 | width: 70px; |
| 5169 | z-index: 1; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5170 | .resource-card-6x2 .play-button { |
| 5171 | display: block; |
| 5172 | left: 10px; |
| 5173 | top: 15px; |
| 5174 | -webkit-transform: scale(0.73); |
| 5175 | -ms-transform: scale(0.73); |
| 5176 | transform: scale(0.73); } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5177 | .resource-card-6x6 .play-button { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5178 | display: block; |
| 5179 | left: 50%; |
| 5180 | margin-left: -35px; |
| 5181 | top: 50px; } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5182 | |
| 5183 | /* Styling for background image including tinting and section icons in stacks */ |
| 5184 | .card-bg { |
| 5185 | bottom: 131px; |
| 5186 | display: block; |
| 5187 | position: absolute; |
| 5188 | vertical-align: top; |
| 5189 | width: 100%; |
| 5190 | left: 0; |
| 5191 | top: 0; |
| 5192 | background-size: cover; |
| 5193 | background-repeat: no-repeat; |
| 5194 | background-position: center; |
| 5195 | background-image: url(../images/resource-card-default-android.jpg); } |
| 5196 | .card-bg:after { |
| 5197 | content: ""; |
| 5198 | display: block; |
| 5199 | height: 100%; |
| 5200 | width: 100%; |
| 5201 | opacity: 1; |
| 5202 | background: rgba(0, 0, 0, 0.05); |
| 5203 | -webkit-transition: opacity 0.5s; |
| 5204 | transition: opacity 0.5s; } |
| 5205 | .static .card-bg:after { |
| 5206 | display: none; } |
| 5207 | .card-bg .card-section-icon { |
| 5208 | position: absolute; |
| 5209 | top: 50%; |
| 5210 | width: 100%; |
| 5211 | margin-top: -35px; |
| 5212 | text-align: center; |
| 5213 | padding-top: 65px; |
| 5214 | z-index: 100; } |
| 5215 | .card-bg .card-section-icon .icon { |
| 5216 | position: absolute; |
| 5217 | left: 50%; |
| 5218 | margin-left: -28px; |
| 5219 | top: 0px; |
| 5220 | width: 56px; |
| 5221 | height: 56px; |
| 5222 | background-repeat: no-repeat; |
| 5223 | background-position: 50% 50%; |
| 5224 | background-image: url(../images/stack-icon.png); } |
| 5225 | .card-bg .card-section-icon .section { |
| 5226 | text-transform: uppercase; |
| 5227 | color: white; |
| 5228 | font-size: 14px; } |
| 5229 | |
| 5230 | .card-info { |
| 5231 | position: absolute; |
| 5232 | box-sizing: border-box; |
| 5233 | height: 131px; |
| 5234 | right: 0; |
| 5235 | bottom: 0; |
| 5236 | left: 0; |
| 5237 | overflow: hidden; |
| 5238 | background: #fefefe; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 5239 | padding: 6px 12px; |
| 5240 | } |
| 5241 | |
| 5242 | .card-info .section { |
| 5243 | color: #898989; |
| 5244 | font-size: 11px; |
| 5245 | font-weight: 700; |
| 5246 | letter-spacing: .3px; |
| 5247 | line-height: 20px; |
| 5248 | text-transform: uppercase; |
| 5249 | } |
| 5250 | |
| 5251 | .card-info .title { |
| 5252 | color: #333; |
| 5253 | font-size: 18px; |
| 5254 | font-weight: 500; |
| 5255 | line-height: 23px; |
| 5256 | margin-bottom: 7px; |
| 5257 | max-height: 46px; |
| 5258 | overflow: hidden; |
| 5259 | text-overflow: ellipsis; |
| 5260 | white-space: normal; |
| 5261 | } |
| 5262 | |
| 5263 | .card-info .description { |
| 5264 | overflow: hidden; |
| 5265 | } |
| 5266 | |
| 5267 | .card-info .description .text { |
| 5268 | color: #666; |
| 5269 | font-size: 14px; |
| 5270 | height: 60px; |
| 5271 | line-height: 20px; |
| 5272 | overflow: hidden; |
| 5273 | width: 100%; |
| 5274 | } |
| 5275 | |
| 5276 | .card-info .description .util { |
| 5277 | position: absolute; |
| 5278 | right: 5px; |
| 5279 | bottom: 70px; |
| 5280 | opacity: 0; |
| 5281 | -webkit-transition: opacity 0.5s; |
| 5282 | transition: opacity 0.5s; |
| 5283 | } |
| 5284 | |
| 5285 | .card-info.empty-desc .title { |
| 5286 | white-space: normal; |
| 5287 | overflow: visible; |
| 5288 | } |
| 5289 | |
| 5290 | .card-info.empty-desc .description { |
| 5291 | display: none; |
| 5292 | } |
| 5293 | |
| 5294 | /* Resource card with icon instead of bg image */ |
| 5295 | .resource-widget-card-icon { |
| 5296 | text-align: center; |
| 5297 | } |
| 5298 | |
| 5299 | .card-icon { |
| 5300 | margin: 20px 0 0; |
| 5301 | } |
| 5302 | |
| 5303 | .resource-widget-card-icon .card-info { |
| 5304 | height: 210px; |
| 5305 | } |
| 5306 | |
| 5307 | .resource-widget-card-icon .card-info .title { |
| 5308 | color: #333; |
| 5309 | line-height: 24px; |
| 5310 | } |
| 5311 | |
| 5312 | .resource-widget-card-icon .card-bg { |
| 5313 | background: none; |
| 5314 | bottom: 220px; |
| 5315 | opacity: 1; |
| 5316 | top: 30px; |
| 5317 | -webkit-transition: opacity .3s; |
| 5318 | transition: opacity .3s; |
| 5319 | } |
| 5320 | |
| 5321 | .resource-widget-card-icon .resource-card:hover .card-bg { |
| 5322 | opacity: .5; |
| 5323 | } |
| 5324 | |
| 5325 | .resource-widget-card-icon .card-bg img { |
| 5326 | max-height: 100%; |
| 5327 | } |
| 5328 | |
| 5329 | .resource-widget-card-icon .card-bg::after { |
| 5330 | background: transparent; |
| 5331 | } |
| 5332 | |
| 5333 | @media (min-width: 1210px) { |
| 5334 | .resource-widget-card-icon .resource { |
| 5335 | height: 240px; |
| 5336 | } |
| 5337 | .resource-widget-card-icon .card-bg { |
| 5338 | bottom: 160px; |
| 5339 | } |
| 5340 | .resource-widget-card-icon .card-info { |
| 5341 | height: 160px; |
| 5342 | } |
| 5343 | } |
| 5344 | |
| 5345 | @media (max-width: 979px) { |
| 5346 | .resource-widget-card-icon .resource { |
| 5347 | height: 240px; |
| 5348 | } |
| 5349 | .resource-widget-card-icon .card-bg { |
| 5350 | bottom: 160px; |
| 5351 | } |
| 5352 | |
| 5353 | .resource-widget-card-icon .card-info { |
| 5354 | height: 160px; |
| 5355 | } |
| 5356 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5357 | |
| 5358 | /* Truncate card summaries at bounding box and |
| 5359 | * and apply ellipsis at lower right */ |
| 5360 | .ellipsis { |
| 5361 | overflow: hidden; |
| 5362 | float: right; |
| 5363 | line-height: 15px; |
| 5364 | width: 100%; } |
| 5365 | .ellipsis:before { |
| 5366 | content: ""; |
| 5367 | float: left; |
| 5368 | width: 5px; |
| 5369 | height: 100%; } |
| 5370 | .ellipsis > *:first-child.text { |
| 5371 | float: right; |
| 5372 | width: 100% !important; |
| 5373 | margin-left: -5px; } |
| 5374 | .ellipsis:after { |
| 5375 | content: "\02026"; |
| 5376 | height: 17px; |
| 5377 | padding-bottom: 4px; |
| 5378 | box-sizing: content-box; |
| 5379 | float: right; |
| 5380 | position: relative; |
| 5381 | top: -16px; |
| 5382 | left: 100%; |
| 5383 | width: 4em; |
| 5384 | margin-left: -4em; |
| 5385 | padding-right: 5px; |
| 5386 | background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(white), color-stop(65%, white)); |
| 5387 | background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), white 65%, white); |
| 5388 | background: linear-gradient(to right, rgba(255, 255, 255, 0), white 65%, white); } |
| 5389 | .ellipsis:after { |
| 5390 | font-style: normal; |
| 5391 | color: #aaa; |
| 5392 | font-size: 13px; |
| 5393 | text-align: right; } |
| 5394 | |
| 5395 | .resource-card:hover { |
| 5396 | cursor: pointer; } |
| 5397 | .static .resource-card:hover { |
| 5398 | cursor: auto; } |
| 5399 | .resource-card:hover .card-bg:after { |
| 5400 | opacity: 0; } |
| 5401 | .resource-card:hover .play-button { |
| 5402 | opacity: .3; } |
| 5403 | .resource-card:hover .card-info .description .util { |
| 5404 | opacity: 1; } |
| 5405 | |
| 5406 | /* Carousel Layout */ |
| 5407 | /* Carousel styles for landing page */ |
| 5408 | .resource-carousel-layout { |
| 5409 | height: 531px; |
| 5410 | margin: 20px 0 20px 0; |
| 5411 | padding: 0 !important; |
| 5412 | position: relative; |
| 5413 | overflow: hidden; } |
| 5414 | .resource-carousel-layout .slideshow-prev, .resource-carousel-layout .slideshow-next { |
| 5415 | display: none; } |
| 5416 | .resource-carousel-layout .pagination { |
| 5417 | bottom: 97px; |
| 5418 | left: auto; |
| 5419 | padding-right: 10px; |
| 5420 | right: 0; |
| 5421 | text-align: right; |
| 5422 | width: 16.66666667%; } |
| 5423 | .resource-carousel-layout .pagination ul li { |
| 5424 | text-indent: 8000px; } |
| 5425 | .resource-carousel-layout .frame li { |
| 5426 | position: relative; } |
| 5427 | .resource-carousel-layout .frame li .card-bg { |
| 5428 | bottom: 131px; } |
| 5429 | .resource-carousel-layout .frame li .card-info { |
| 5430 | height: 131px; |
| 5431 | padding: 6px 12px; |
| 5432 | top: auto; } |
| 5433 | .resource-carousel-layout .frame li .card-info .title { |
| 5434 | font-size: 28px; |
| 5435 | font-weight: 400; |
| 5436 | line-height: 32px; } |
| 5437 | .resource-carousel-layout .frame li .card-info .description .text { |
| 5438 | height: 40px; } |
| 5439 | .resource-carousel-layout .frame li .card-info .description .util { |
| 5440 | bottom: 97px; |
| 5441 | right: 4px; } |
| 5442 | |
| 5443 | /* Stack Layout */ |
| 5444 | .resource-stack-layout { |
| 5445 | display: inline-block; |
| 5446 | padding: 0; } |
| 5447 | .resource-stack-layout .section-card-menu > .card-info .section, .resource-stack-layout .section-card > .card-info .title { |
| 5448 | /*text-transform: uppercase;*/ |
| 5449 | color: #898989; |
| 5450 | font-size: 17px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5451 | line-height: 23px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5452 | margin-bottom: 6px; } |
| 5453 | .resource-stack-layout .section-card { |
| 5454 | height: 284px; } |
| 5455 | .resource-stack-layout .section-card > .card-bg { |
| 5456 | height: 192px; } |
| 5457 | .resource-stack-layout .section-card > .card-info { |
| 5458 | padding: 4px 12px 6px 12px; |
| 5459 | top: 192px; } |
| 5460 | .resource-stack-layout .section-card > .card-info .section { |
| 5461 | display: none; } |
| 5462 | .resource-stack-layout .section-card > .card-info .title { |
| 5463 | font-size: 17px; |
| 5464 | border-bottom: 1px solid #959595; |
| 5465 | padding-bottom: 0px; } |
| 5466 | .resource-stack-layout .section-card > .card-info .description { |
| 5467 | font-size: 13px; |
| 5468 | line-height: 15px; } |
| 5469 | .resource-stack-layout .section-card > .card-info .description .text { |
| 5470 | height: 30px; } |
| 5471 | .resource-stack-layout .related-card { |
| 5472 | height: 90px; } |
| 5473 | .resource-stack-layout .related-card > .card-bg { |
| 5474 | left: 0; |
| 5475 | top: 0; |
| 5476 | width: 90px; |
| 5477 | height: 100%; |
| 5478 | position: absolute; |
| 5479 | display: block; } |
| 5480 | .resource-stack-layout .related-card > .card-info { |
| 5481 | left: 90px; |
| 5482 | padding: 4px 12px 4px 12px; } |
| 5483 | .resource-stack-layout .related-card > .card-info .section { |
| 5484 | font-size: 12px; |
| 5485 | margin-bottom: 1px; |
| 5486 | display: none; } |
| 5487 | .resource-stack-layout .related-card > .card-info .title { |
| 5488 | font-size: 16px; |
| 5489 | margin-bottom: -2px; |
| 5490 | white-space: normal; |
| 5491 | overflow: visible; |
| 5492 | text-overflow: ellipsis; } |
| 5493 | .resource-stack-layout .related-card > .card-info .title:after { |
| 5494 | content: url(../images/link-out.png); |
| 5495 | display: block; } |
| 5496 | .resource-stack-layout .related-card > .card-info .description { |
| 5497 | display: none; } |
| 5498 | .resource-stack-layout .section-card-menu { |
| 5499 | /* Flexible height */ |
| 5500 | display: block; |
| 5501 | height: auto; |
| 5502 | width: auto; } |
| 5503 | .resource-stack-layout .section-card-menu .card-bg { |
| 5504 | height: 155px; |
| 5505 | /* Flexible height */ |
| 5506 | position: relative; |
| 5507 | display: inline-block; |
| 5508 | vertical-align: top; } |
| 5509 | .resource-stack-layout .section-card-menu .card-info { |
| 5510 | padding: 4px 12px 0px 12px; |
| 5511 | /* Flexible height */ |
| 5512 | position: relative; |
| 5513 | left: auto; |
| 5514 | top: auto; |
| 5515 | right: auto; |
| 5516 | bottom: auto; } |
| 5517 | .resource-stack-layout .section-card-menu .card-info ul { |
| 5518 | list-style: none; |
| 5519 | margin: 0; } |
| 5520 | .resource-stack-layout .section-card-menu .card-info ul li { |
| 5521 | list-style: none; |
| 5522 | margin: 0; |
| 5523 | padding: 15px 0; |
| 5524 | border-top-width: 1px; |
| 5525 | border-top-style: solid; |
| 5526 | border-top-color: #959595; } |
| 5527 | .resource-stack-layout .section-card-menu .card-info ul li a, .resource-stack-layout .section-card-menu .card-info ul li a:focus, .resource-stack-layout .section-card-menu .card-info ul li a:hover { |
| 5528 | color: #333 !important; } |
| 5529 | .resource-stack-layout .section-card-menu .card-info ul li:first-child { |
| 5530 | border-top: none; } |
| 5531 | .resource-stack-layout .section-card-menu .card-info ul li:hover .title:after { |
| 5532 | opacity: 1; |
| 5533 | -webkit-transition: opacity 0.5s; |
| 5534 | transition: opacity 0.5s; } |
| 5535 | .resource-stack-layout .section-card-menu .card-info ul li:hover .description { |
| 5536 | max-height: 30px; |
| 5537 | opacity: 1; |
| 5538 | -webkit-transition: max-height 0.5s, opacity 1s; |
| 5539 | transition: max-height 0.5s, opacity 1s; } |
| 5540 | .resource-stack-layout .section-card-menu .card-info .title { |
| 5541 | font-size: 16px; |
| 5542 | margin-bottom: -2px; |
| 5543 | position: relative; } |
| 5544 | .resource-stack-layout .section-card-menu .card-info .title:after { |
| 5545 | background: url(../images/stack-arrow-right.png); |
| 5546 | content: ''; |
| 5547 | opacity: 0; |
| 5548 | -webkit-transition: opacity 0.25s; |
| 5549 | transition: opacity 0.25s; |
| 5550 | position: absolute; |
| 5551 | right: 0px; |
| 5552 | top: 3px; |
| 5553 | width: 10px; |
| 5554 | height: 15px; } |
| 5555 | .resource-stack-layout .section-card-menu .card-info .title.more { |
| 5556 | text-transform: uppercase; |
| 5557 | color: #898989; |
| 5558 | display: inline-block; } |
| 5559 | .resource-stack-layout .section-card-menu .card-info .title.more:after { |
| 5560 | background: url(../images/stack-arrow-right.png); |
| 5561 | content: ''; |
| 5562 | display: block; |
| 5563 | position: absolute; |
| 5564 | right: -20px; |
| 5565 | top: 3px; |
| 5566 | width: 10px; |
| 5567 | height: 15px; } |
| 5568 | .resource-stack-layout .section-card-menu .card-info .description { |
| 5569 | max-height: 0px; |
| 5570 | opacity: 0; |
| 5571 | overflow: hidden; |
| 5572 | font-size: 13px; |
| 5573 | line-height: 15px; |
| 5574 | /* Hover off */ |
| 5575 | -webkit-transition: max-height 0.5s, opacity 0.5s; |
| 5576 | transition: max-height 0.5s, opacity 0.5s; } |
| 5577 | .resource-stack-layout .section-card-menu .card-info .description .text { |
| 5578 | height: 30px; } |
| 5579 | .resource-stack-layout:after { |
| 5580 | content: "."; |
| 5581 | display: block; |
| 5582 | height: 0; |
| 5583 | clear: both; |
| 5584 | visibility: hidden; } |
| 5585 | |
| 5586 | .resource-card, .resource-card-stack { |
| 5587 | margin-bottom: 20px; } |
| 5588 | |
| 5589 | .resource-card-row-stack-last { |
| 5590 | margin-bottom: 0px !important; } |
| 5591 | |
| 5592 | .resource-card-col-stack-last { |
| 5593 | margin-bottom: 0px !important; } |
| 5594 | |
| 5595 | .resource-card-3x6 { |
| 5596 | height: 300px; } |
| 5597 | |
| 5598 | .resource-card-3x12 { |
| 5599 | height: 620px; } |
| 5600 | |
| 5601 | .resource-card-3x18 { |
| 5602 | height: 940px; } |
| 5603 | |
| 5604 | .resource-card-6x6 { |
| 5605 | height: 300px; } |
| 5606 | |
| 5607 | .resource-card-6x12 { |
| 5608 | height: 620px; } |
| 5609 | |
| 5610 | .resource-card-6x18 { |
| 5611 | height: 940px; } |
| 5612 | |
| 5613 | .resource-card-9x6 { |
| 5614 | height: 300px; } |
| 5615 | |
| 5616 | .resource-card-9x12 { |
| 5617 | height: 620px; } |
| 5618 | |
| 5619 | .resource-card-9x18 { |
| 5620 | height: 940px; } |
| 5621 | |
| 5622 | .resource-card-12x6 { |
| 5623 | height: 300px; } |
| 5624 | |
| 5625 | .resource-card-12x12 { |
| 5626 | height: 620px; } |
| 5627 | |
| 5628 | .resource-card-12x18 { |
| 5629 | height: 940px; } |
| 5630 | |
| 5631 | .resource-card-15x6 { |
| 5632 | height: 300px; } |
| 5633 | |
| 5634 | .resource-card-15x12 { |
| 5635 | height: 620px; } |
| 5636 | |
| 5637 | .resource-card-15x18 { |
| 5638 | height: 940px; } |
| 5639 | |
| 5640 | .resource-card-18x6 { |
| 5641 | height: 300px; } |
| 5642 | |
| 5643 | .resource-card-18x12 { |
| 5644 | height: 620px; } |
| 5645 | |
| 5646 | .resource-card-18x18 { |
| 5647 | height: 940px; } |
| 5648 | |
| 5649 | .resource-card-3x2 { |
| 5650 | height: 100px; } |
| 5651 | |
| 5652 | .resource-card-3x2x3 { |
| 5653 | height: 90px; |
| 5654 | margin-bottom: 15px; } |
| 5655 | |
| 5656 | .resource-card-3x3 { |
| 5657 | height: 150px; } |
| 5658 | |
| 5659 | .resource-card-3x3x2 { |
| 5660 | height: 142px; |
| 5661 | margin-bottom: 16px; } |
| 5662 | |
| 5663 | .resource-card-6x2 { |
| 5664 | height: 100px; } |
| 5665 | |
| 5666 | .resource-card-6x2x3 { |
| 5667 | height: 90px; |
| 5668 | margin-bottom: 15px; } |
| 5669 | |
| 5670 | .resource-card-6x3 { |
| 5671 | height: 150px; } |
| 5672 | |
| 5673 | .resource-card-6x3x2 { |
| 5674 | height: 142px; |
| 5675 | margin-bottom: 16px; } |
| 5676 | |
| 5677 | .resource-card-9x2 { |
| 5678 | height: 100px; } |
| 5679 | |
| 5680 | .resource-card-9x2x3 { |
| 5681 | height: 90px; |
| 5682 | margin-bottom: 15px; } |
| 5683 | |
| 5684 | .resource-card-9x3 { |
| 5685 | height: 150px; } |
| 5686 | |
| 5687 | .resource-card-9x3x2 { |
| 5688 | height: 142px; |
| 5689 | margin-bottom: 16px; } |
| 5690 | |
| 5691 | .resource-card-12x2 { |
| 5692 | height: 100px; } |
| 5693 | |
| 5694 | .resource-card-12x2x3 { |
| 5695 | height: 90px; |
| 5696 | margin-bottom: 15px; } |
| 5697 | |
| 5698 | .resource-card-12x3 { |
| 5699 | height: 150px; } |
| 5700 | |
| 5701 | .resource-card-12x3x2 { |
| 5702 | height: 142px; |
| 5703 | margin-bottom: 16px; } |
| 5704 | |
| 5705 | .resource-card-15x2 { |
| 5706 | height: 100px; } |
| 5707 | |
| 5708 | .resource-card-15x2x3 { |
| 5709 | height: 90px; |
| 5710 | margin-bottom: 15px; } |
| 5711 | |
| 5712 | .resource-card-15x3 { |
| 5713 | height: 150px; } |
| 5714 | |
| 5715 | .resource-card-15x3x2 { |
| 5716 | height: 142px; |
| 5717 | margin-bottom: 16px; } |
| 5718 | |
| 5719 | .resource-card-18x2 { |
| 5720 | height: 100px; } |
| 5721 | |
| 5722 | .resource-card-18x2x3 { |
| 5723 | height: 90px; |
| 5724 | margin-bottom: 15px; } |
| 5725 | |
| 5726 | .resource-card-18x3 { |
| 5727 | height: 150px; } |
| 5728 | |
| 5729 | .resource-card-18x3x2 { |
| 5730 | height: 142px; |
| 5731 | margin-bottom: 16px; } |
| 5732 | |
| 5733 | /* |
| 5734 | The following are styles for cards in the flowlayout above, styled by the number of rows they span |
| 5735 | */ |
| 5736 | /* Single row, 2 column items. */ |
| 5737 | .resource-card-9x6 { |
| 5738 | height: 390px; } |
| 5739 | |
| 5740 | /* Double row, 1 column items. Eg full width video thumbnails. */ |
| 5741 | .resource-card-18x12 { |
| 5742 | height: 558px; } |
| 5743 | |
| 5744 | /* 1/3 row items */ |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 5745 | .resource-card-3x2 > .card-bg, |
| 5746 | .resource-card-6x2 > .card-bg, |
| 5747 | .resource-card-9x2 > .card-bg, |
| 5748 | .resource-card-12x2 > .card-bg, |
| 5749 | .resource-card-15x2 > .card-bg, |
| 5750 | .resource-card-18x2 > .card-bg { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5751 | left: 0; |
| 5752 | top: 0; |
| 5753 | width: 90px; |
| 5754 | height: 100%; |
| 5755 | position: absolute; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 5756 | display: block; |
| 5757 | } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5758 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5759 | .resource-card-3x2 > .card-info, .resource-card-6x2 > .card-info, .resource-card-9x2 > .card-info, .resource-card-12x2 > .card-info, .resource-card-15x2 > .card-info, .resource-card-18x2 > .card-info { |
| 5760 | height: 100%; |
| 5761 | left: 90px; |
| 5762 | padding: 6px 12px; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 5763 | overflow: hidden; |
| 5764 | } |
| 5765 | |
| 5766 | .resource-card-3x2 > .card-info .title, |
| 5767 | .resource-card-6x2 > .card-info .title, |
| 5768 | .resource-card-9x2 > .card-info .title, |
| 5769 | .resource-card-12x2 > .card-info .title, |
| 5770 | .resource-card-15x2 > .card-info .title, |
| 5771 | .resource-card-18x2 > .card-info .title { |
| 5772 | max-height: 69px; |
| 5773 | white-space: normal; |
| 5774 | } |
| 5775 | |
| 5776 | .resource-card-3x2 > .card-info .description, |
| 5777 | .resource-card-6x2 > .card-info .description, |
| 5778 | .resource-card-9x2 > .card-info .description, |
| 5779 | .resource-card-12x2 > .card-info .description, |
| 5780 | .resource-card-15x2 > .card-info .description, |
| 5781 | .resource-card-18x2 > .card-info .description { |
| 5782 | display: none; |
| 5783 | } |
| 5784 | |
| 5785 | .resource-card-3x2 > .card-info .text, |
| 5786 | .resource-card-6x2 > .card-info .text, |
| 5787 | .resource-card-9x2 > .card-info .text, |
| 5788 | .resource-card-12x2 > .card-info .text, |
| 5789 | .resource-card-15x2 > .card-info .text, |
| 5790 | .resource-card-18x2 > .card-info .text { |
| 5791 | height: auto; |
| 5792 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5793 | |
| 5794 | /* Override to show the description instead of the content section */ |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5795 | .no-section .resource-card-3x2 > .card-info .section, |
| 5796 | .no-section .resource-card-6x2 > .card-info .section { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5797 | display: none; } |
| 5798 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5799 | .no-section .resource-card-3x2 > .card-info .description, |
| 5800 | .no-section .resource-card-6x2 > .card-info .description { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5801 | display: block; } |
| 5802 | |
| 5803 | /* 1/2 row items */ |
| 5804 | .resource-card-3x3, .resource-card-6x3, .resource-card-9x3, .resource-card-12x3, .resource-card-15x3, .resource-card-18x3 { |
| 5805 | height: 160px; } |
| 5806 | .resource-card-3x3 > .card-bg, .resource-card-6x3 > .card-bg, .resource-card-9x3 > .card-bg, .resource-card-12x3 > .card-bg, .resource-card-15x3 > .card-bg, .resource-card-18x3 > .card-bg { |
| 5807 | left: 0; |
| 5808 | top: 0; |
| 5809 | width: 90px; |
| 5810 | height: 100%; |
| 5811 | position: absolute; |
| 5812 | display: block; } |
| 5813 | .resource-card-3x3 > .card-info, .resource-card-6x3 > .card-info, .resource-card-9x3 > .card-info, .resource-card-12x3 > .card-info, .resource-card-15x3 > .card-info, .resource-card-18x3 > .card-info { |
| 5814 | height: 100%; |
| 5815 | left: 90px; |
| 5816 | padding: 6px 12px; } |
| 5817 | .resource-card-3x3 > .card-info .section, .resource-card-6x3 > .card-info .section, .resource-card-9x3 > .card-info .section, .resource-card-12x3 > .card-info .section, .resource-card-15x3 > .card-info .section, .resource-card-18x3 > .card-info .section { |
| 5818 | display: none; } |
| 5819 | .resource-card-3x3 > .card-info .title, .resource-card-6x3 > .card-info .title, .resource-card-9x3 > .card-info .title, .resource-card-12x3 > .card-info .title, .resource-card-15x3 > .card-info .title, .resource-card-18x3 > .card-info .title { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5820 | max-height: 92px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5821 | white-space: normal; } |
| 5822 | .resource-card-3x3 > .card-info .text, .resource-card-6x3 > .card-info .text, .resource-card-9x3 > .card-info .text, .resource-card-12x3 > .card-info .text, .resource-card-15x3 > .card-info .text, .resource-card-18x3 > .card-info .text { |
| 5823 | height: auto; } |
| 5824 | .resource-card-3x3 > .card-info .util, .resource-card-6x3 > .card-info .util, .resource-card-9x3 > .card-info .util, .resource-card-12x3 > .card-info .util, .resource-card-15x3 > .card-info .util, .resource-card-18x3 > .card-info .util { |
| 5825 | display: none; } |
| 5826 | |
| 5827 | /* placement of plusone */ |
| 5828 | .resource-card-6x12 > .card-info .description .util, .resource-card-9x12 > .card-info .description .util, .resource-card-12x12 > .card-info .description .util, .resource-card-15x12 > .card-info .description .util { |
| 5829 | bottom: 2px; } |
| 5830 | |
| 5831 | .resource-card-18x12 > .card-info .description .util { |
| 5832 | bottom: 2px; } |
| 5833 | |
| 5834 | /* Overrides for col-16 6x6 cards linking to local content on landing pages. |
| 5835 | Suppresses "section". */ |
| 5836 | .landing .card-info .section { |
| 5837 | display: none; } |
| 5838 | |
| 5839 | /* |
| 5840 | Generate a resource stack layout for a 3 column widget spanning 16 grid cols |
| 5841 | */ |
| 5842 | .resource-stack-layout.col-16 { |
| 5843 | margin: 0 -14px 0 0; |
| 5844 | width: 954px; } |
| 5845 | .resource-stack-layout.col-16 .resource-card-stack { |
| 5846 | margin: 0 14px 0 0; |
| 5847 | width: 304px; } |
| 5848 | |
| 5849 | /* Example of card menu tinting */ |
| 5850 | .resource-widget[data-section=distribute\/tools] .section-card-menu .card-bg:after { |
| 5851 | background: rgba(126, 55, 148, 0.4) !important; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5852 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5853 | .resource-widget[data-section=distribute\/tools] .section-card-menu .card-section-icon .icon { |
| 5854 | background-color: #7e3794 !important; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5855 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5856 | .resource-widget[data-section=distribute\/tools] .section-card-menu .card-info ul li { |
| 5857 | border-top-color: #7e3794 !important; } |
| 5858 | |
| 5859 | /* tinting for stacks */ |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5860 | div.jd-descr > .resource-widget[data-section=distribute\/tools] |
| 5861 | .section-card-menu .card-info ul li { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5862 | border-top-color: #7e3794 !important; } |
| 5863 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5864 | /* Show more/less */ |
| 5865 | .dac-show-more, |
| 5866 | .dac-show-less { |
| 5867 | display: none !important; } |
| 5868 | |
| 5869 | .dac-has-more .dac-show-more { |
| 5870 | display: inline-block !important; } |
| 5871 | |
| 5872 | .dac-has-less .dac-show-less { |
| 5873 | display: inline-block !important; } |
| 5874 | |
| 5875 | .dac-fab, .dac-button-social, .button, .landing-button, |
| 5876 | .dac-button { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5877 | background: transparent; |
| 5878 | border: 0; |
| 5879 | border-radius: 3px; |
| 5880 | box-sizing: border-box; |
| 5881 | color: currentColor; |
| 5882 | cursor: pointer; |
| 5883 | display: inline-block; |
| 5884 | font-weight: 500; |
| 5885 | font-size: 14px; |
| 5886 | font-style: inherit; |
| 5887 | font-variant: inherit; |
| 5888 | font-family: inherit; |
| 5889 | letter-spacing: .5px; |
| 5890 | line-height: 24px; |
| 5891 | margin: 6px 16px 6px 0; |
| 5892 | min-width: 88px; |
| 5893 | outline: 0; |
| 5894 | padding: 6px 12px; |
| 5895 | position: relative; |
| 5896 | text-align: center; |
| 5897 | text-decoration: none; |
| 5898 | text-transform: uppercase; |
| 5899 | -webkit-transition: box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); |
| 5900 | transition: box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); |
| 5901 | -webkit-user-select: none; |
| 5902 | -moz-user-select: none; |
| 5903 | -ms-user-select: none; |
| 5904 | user-select: none; |
| 5905 | white-space: nowrap; } |
| 5906 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5907 | .button, .landing-button, |
| 5908 | .dac-button.dac-raised { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5909 | background-color: #FAFAFA; |
| 5910 | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26); } |
| 5911 | |
| 5912 | .dac-button.dac-raised.dac-primary, .landing-secondary, .button { |
| 5913 | background-color: #039bef; } |
| 5914 | .dac-button.dac-raised.dac-primary:hover, .landing-secondary:hover, .button:hover { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5915 | background-color: #0288d1; } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5916 | .dac-button.dac-raised.dac-primary:active, .landing-secondary:active, .button:active { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5917 | background-color: #0277bd; } |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 5918 | .dac-button.dac-raised.dac-primary.disabled, .button.disabled { |
| 5919 | background-color: #bbb; } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5920 | |
| 5921 | .dac-button.dac-raised.dac-red, .landing-primary { |
| 5922 | background-color: #bf3722; } |
| 5923 | .dac-button.dac-raised.dac-red:hover, .landing-primary:hover { |
| 5924 | background-color: #9c2d1c; } |
| 5925 | .dac-button.dac-raised.dac-red:active, .landing-primary:active { |
| 5926 | background-color: #822517; } |
| 5927 | |
| 5928 | .dac-button.dac-raised.dac-green, .landing-button.green { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5929 | background-color: #90c653; } |
| 5930 | .dac-button.dac-raised.dac-green:hover, .landing-button.green:hover { |
| 5931 | background-color: #79b03b; } |
| 5932 | .dac-button.dac-raised.dac-green:active, .landing-button.green:active { |
| 5933 | background-color: #699933; } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5934 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5935 | .dac-button.dac-raised.dac-primary, .landing-secondary, .button, |
| 5936 | .dac-button.dac-raised.dac-red, |
| 5937 | .landing-primary, |
| 5938 | .dac-button.dac-raised.dac-green, |
| 5939 | .landing-button.green { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5940 | color: #fff; } |
| 5941 | |
| 5942 | .dac-button.dac-large, .landing-button { |
| 5943 | padding: 12px 24px; } |
| 5944 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 5945 | .landing-button-wrap { |
| 5946 | float: left; |
| 5947 | margin-right: 40px; |
| 5948 | width: auto; |
| 5949 | } |
| 5950 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5951 | .dac-fab, .dac-button-social { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5952 | background: #fff; |
| 5953 | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26); |
| 5954 | border-radius: 50%; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5955 | height: 36px; |
| 5956 | line-height: 36px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5957 | margin: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5958 | min-width: 0; |
| 5959 | overflow: hidden; |
| 5960 | padding: 0; |
| 5961 | vertical-align: middle; |
| 5962 | width: 36px; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5963 | .dac-fab:hover, .dac-button-social:hover, |
| 5964 | a:hover > .dac-fab, |
| 5965 | a:hover > .dac-button-social { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5966 | box-shadow: 0 3px 8px rgba(0, 0, 0, 0.26); } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5967 | .dac-fab > .dac-sprite, .dac-button-social > .dac-sprite, .dac-fab > .dac-modal-header-close:before, .dac-button-social > .dac-modal-header-close:before, .paging-links .dac-fab > .prev-page-link:before, .paging-links .dac-button-social > .prev-page-link:before, .paging-links .dac-fab > .next-page-link:before, .paging-links .dac-button-social > .next-page-link:before, .paging-links .dac-fab > .next-class-link:before, .paging-links .dac-button-social > .next-class-link:before, .paging-links .dac-fab > .start-class-link:after, .paging-links .dac-button-social > .start-class-link:after { |
| 5968 | margin-top: -2px; } |
| 5969 | .dac-fab.dac-primary, .dac-primary.dac-button-social { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5970 | background: #00c7a0; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5971 | .dac-fab.dac-large, .dac-large.dac-button-social { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 5972 | height: 54px; |
| 5973 | line-height: 54px; |
| 5974 | width: 54px; } |
| 5975 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 5976 | .dac-button-social { |
| 5977 | background: #ccc; |
| 5978 | box-shadow: none; |
| 5979 | position: relative; |
| 5980 | overflow: hidden; } |
| 5981 | .dac-button-social::after { |
| 5982 | background: rgba(0, 0, 0, 0.2); |
| 5983 | border-radius: 50%; |
| 5984 | bottom: 0; |
| 5985 | content: ''; |
| 5986 | display: block; |
| 5987 | left: 0; |
| 5988 | opacity: 0; |
| 5989 | position: absolute; |
| 5990 | right: 0; |
| 5991 | top: 0; |
| 5992 | -webkit-transition: opacity .3s; |
| 5993 | transition: opacity .3s; } |
| 5994 | .dac-button-social:hover { |
| 5995 | box-shadow: none; } |
| 5996 | .dac-button-social:active::after { |
| 5997 | opacity: 1; } |
| 5998 | .dac-button-social:focus.dac-rss, .dac-button-social:hover.dac-rss { |
| 5999 | background: #ff9800; } |
| 6000 | .dac-button-social:focus.dac-youtube, .dac-button-social:hover.dac-youtube { |
| 6001 | background: #f44336; } |
| 6002 | .dac-button-social:focus.dac-gplus, .dac-button-social:hover.dac-gplus { |
| 6003 | background: #f44336; } |
| 6004 | .dac-button-social:focus.dac-twitter, .dac-button-social:hover.dac-twitter { |
| 6005 | background: #55acee; } |
| 6006 | |
| 6007 | .dac-action { |
| 6008 | display: inline-block; |
| 6009 | margin: 0 16px; } |
| 6010 | .dac-action-link { |
| 6011 | color: inherit; |
| 6012 | font-size: 24px; |
| 6013 | font-weight: 300; |
| 6014 | line-height: 50px; |
| 6015 | -webkit-transition: opacity .3s; |
| 6016 | transition: opacity .3s; } |
| 6017 | .dac-action-link:hover { |
| 6018 | color: inherit; |
| 6019 | opacity: .54; } |
| 6020 | .dac-action-sprite { |
| 6021 | margin-left: -12px; |
| 6022 | margin-right: -8px; } |
| 6023 | .dac-actions { |
| 6024 | list-style-type: none; |
| 6025 | margin: 0; |
| 6026 | padding-bottom: 24px; |
| 6027 | padding-top: 24px; |
| 6028 | text-align: center; } |
| 6029 | @media (max-width: 719px) { |
| 6030 | .dac-actions { |
| 6031 | text-align: left; } } |
| 6032 | @media (max-width: 719px) { |
| 6033 | .dac-action { |
| 6034 | display: block; |
| 6035 | margin: 0; } } |
| 6036 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6037 | .dac-scroll-button { |
| 6038 | height: 54px; |
| 6039 | line-height: 54px; |
| 6040 | margin: 0; |
| 6041 | position: absolute; |
| 6042 | right: 0; |
| 6043 | top: -27px; |
| 6044 | width: 54px; |
| 6045 | z-index: 1; } |
| 6046 | @media (max-width: 719px) { |
| 6047 | .dac-scroll-button { |
| 6048 | display: none; } } |
| 6049 | |
| 6050 | /* Footer component */ |
| 6051 | .dac-footer { |
| 6052 | background-color: #fff; |
| 6053 | border-top: 1px solid #f0f0f0; |
| 6054 | clear: both; |
| 6055 | color: #999; |
| 6056 | font-size: 12px; |
| 6057 | margin-top: 96px; |
| 6058 | padding-bottom: 20px; |
| 6059 | position: relative; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6060 | } |
| 6061 | |
| 6062 | .dac-footer a { |
| 6063 | color: #999; |
| 6064 | } |
| 6065 | |
| 6066 | .dac-footer p { |
| 6067 | margin: 7px 0 0; |
| 6068 | } |
| 6069 | |
| 6070 | .dac-footer-main { |
| 6071 | padding: 30px 0; |
| 6072 | } |
| 6073 | |
| 6074 | .dac-footer-reachout { |
| 6075 | text-align: right; |
| 6076 | } |
| 6077 | |
| 6078 | .dac-footer-contact, |
| 6079 | .dac-footer-social { |
| 6080 | display: inline-block; |
| 6081 | } |
| 6082 | |
| 6083 | .dac-footer .dac-footer-getnews, |
| 6084 | .dac-footer .dac-footer-contact-link { |
| 6085 | color: #000; |
| 6086 | cursor: pointer; |
| 6087 | font-size: 20px; |
| 6088 | font-weight: 300; |
| 6089 | margin: 8px 0; |
| 6090 | vertical-align: middle; |
| 6091 | } |
| 6092 | |
| 6093 | .dac-footer .dac-footer-contact-link, |
| 6094 | .dac-footer .dac-footer-social-link { |
| 6095 | margin-left: 16px; |
| 6096 | margin-right: 0; |
| 6097 | } |
| 6098 | |
| 6099 | .dac-footer-getnews > .dac-fab, .dac-footer-getnews > .dac-button-social { |
| 6100 | margin-left: 4px; |
| 6101 | } |
| 6102 | |
| 6103 | .dac-footer-separator { |
| 6104 | background: #f0f0f0; |
| 6105 | margin: 0 0 12px; |
| 6106 | } |
| 6107 | |
| 6108 | .dac-footer-links { |
| 6109 | float: left; |
| 6110 | margin: 10px 0 60px; |
| 6111 | width: 50%; |
| 6112 | } |
| 6113 | |
| 6114 | .dac-footer-links a + a:before { |
| 6115 | content: '|'; |
| 6116 | cursor: default; |
| 6117 | margin: 0 10px 0 8px; |
| 6118 | } |
| 6119 | |
| 6120 | .devsite-utility-footer-language { |
| 6121 | float: right; |
| 6122 | margin: 10px 0 60px; |
| 6123 | width: 50%; |
| 6124 | } |
| 6125 | |
| 6126 | .dac-footer .locales { |
| 6127 | float: right; |
| 6128 | margin: 0; |
| 6129 | } |
| 6130 | |
| 6131 | .dac-footer .locales select { |
| 6132 | background-color: #f0f0f0; |
| 6133 | border-radius: 3px; |
| 6134 | font-size: 12px; |
| 6135 | height: auto; |
| 6136 | margin-top: -2px; |
| 6137 | padding: 8px 12px; |
| 6138 | width: 146px; |
| 6139 | } |
| 6140 | |
| 6141 | .dac-footer.dac-landing { |
| 6142 | margin-top: 0; |
| 6143 | border-top: 0; |
| 6144 | } |
| 6145 | |
| 6146 | @media (max-width: 719px) { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6147 | .dac-footer-reachout { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6148 | text-align: left; |
| 6149 | } |
| 6150 | |
| 6151 | .dac-footer-social { |
| 6152 | display: block; |
| 6153 | } |
| 6154 | |
| 6155 | .dac-footer-social-link, |
| 6156 | .dac-footer-contact-link { |
| 6157 | display: inline-block; |
| 6158 | } |
| 6159 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6160 | .dac-footer .dac-footer-contact-link, |
| 6161 | .dac-footer .dac-footer-social-link { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6162 | margin-left: 0; |
| 6163 | margin-right: 16px; |
| 6164 | } |
| 6165 | |
| 6166 | .dac-footer-links { |
| 6167 | display: block; |
| 6168 | float: none; |
| 6169 | width: 100%; |
| 6170 | } |
| 6171 | |
| 6172 | .devsite-utility-footer-language { |
| 6173 | float: none; |
| 6174 | margin: 0 0 20px; |
| 6175 | width: 100%; |
| 6176 | } |
| 6177 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6178 | .dac-footer .locales { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6179 | display: block; |
| 6180 | float: none; |
| 6181 | margin-top: 15px; |
| 6182 | } |
| 6183 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6184 | |
| 6185 | /* ============================================================================= |
| 6186 | Columns |
| 6187 | ========================================================================== */ |
| 6188 | .wrap { |
| 6189 | margin: 0 auto; |
| 6190 | max-width: 940px; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6191 | clear: both; |
| 6192 | } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6193 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6194 | .dac-fullscreen-mode .wrap { |
| 6195 | max-width: none; |
| 6196 | } |
| 6197 | |
| 6198 | .dac-fullscreen-mode .dac-search-open .wrap { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6199 | max-width: 940px; |
| 6200 | } |
Amanda Kassay | ef8d0d2 | 2016-02-03 15:53:04 -0500 | [diff] [blame] | 6201 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6202 | .cols { |
| 6203 | margin-left: -10px; |
| 6204 | margin-right: -10px; |
| 6205 | /** |
| 6206 | * For modern browsers |
| 6207 | * 1. The space content is one way to avoid an Opera bug when the |
| 6208 | * contenteditable attribute is included anywhere else in the document. |
| 6209 | * Otherwise it causes space to appear at the top and bottom of elements |
| 6210 | * that are clearfixed. |
| 6211 | * 2. The use of `table` rather than `block` is only necessary if using |
| 6212 | * `:before` to contain the top-margins of child elements. |
| 6213 | */ } |
| 6214 | .cols:before, .cols:after { |
| 6215 | content: ' '; |
| 6216 | /* 1 */ |
| 6217 | display: table; |
| 6218 | /* 2 */ } |
| 6219 | .cols:after { |
| 6220 | clear: both; } |
| 6221 | |
| 6222 | [class*=col-] { |
| 6223 | box-sizing: border-box; |
| 6224 | float: left; |
| 6225 | min-height: 1px; |
| 6226 | padding-left: 10px; |
| 6227 | padding-right: 10px; |
| 6228 | position: relative; } |
| 6229 | |
| 6230 | .col-1 { |
| 6231 | width: 6.25%; } |
| 6232 | |
| 6233 | .col-2 { |
| 6234 | width: 12.5%; } |
| 6235 | |
| 6236 | .col-3 { |
| 6237 | width: 18.75%; } |
| 6238 | |
| 6239 | .col-4 { |
| 6240 | width: 25%; } |
| 6241 | |
| 6242 | .col-5 { |
| 6243 | width: 31.25%; } |
| 6244 | |
| 6245 | .col-6 { |
| 6246 | width: 37.5%; } |
| 6247 | |
| 6248 | .col-7 { |
| 6249 | width: 43.75%; } |
| 6250 | |
| 6251 | .col-8 { |
| 6252 | width: 50%; } |
| 6253 | |
| 6254 | .col-9 { |
| 6255 | width: 56.25%; } |
| 6256 | |
| 6257 | .col-10 { |
| 6258 | width: 62.5%; } |
| 6259 | |
| 6260 | .col-11 { |
| 6261 | width: 68.75%; } |
| 6262 | |
| 6263 | .col-12 { |
| 6264 | width: 75%; } |
| 6265 | |
| 6266 | .col-13 { |
| 6267 | width: 81.25%; } |
| 6268 | |
| 6269 | .col-14 { |
| 6270 | width: 87.5%; } |
| 6271 | |
| 6272 | .col-15 { |
| 6273 | width: 93.75%; } |
| 6274 | |
| 6275 | .col-16 { |
| 6276 | width: 100%; } |
| 6277 | |
| 6278 | .col-13 .col-1 { |
| 6279 | width: 7.69230769%; } |
| 6280 | |
| 6281 | .col-13 .col-2 { |
| 6282 | width: 15.38461538%; } |
| 6283 | |
| 6284 | .col-13 .col-3 { |
| 6285 | width: 23.07692308%; } |
| 6286 | |
| 6287 | .col-13 .col-4 { |
| 6288 | width: 30.76923077%; } |
| 6289 | |
| 6290 | .col-13 .col-5 { |
| 6291 | width: 38.46153846%; } |
| 6292 | |
| 6293 | .col-13 .col-6 { |
| 6294 | width: 46.15384615%; } |
| 6295 | |
| 6296 | .col-13 .col-7 { |
| 6297 | width: 53.84615385%; } |
| 6298 | |
| 6299 | .col-13 .col-8 { |
| 6300 | width: 61.53846154%; } |
| 6301 | |
| 6302 | .col-13 .col-9 { |
| 6303 | width: 69.23076923%; } |
| 6304 | |
| 6305 | .col-13 .col-10 { |
| 6306 | width: 76.92307692%; } |
| 6307 | |
| 6308 | .col-13 .col-11 { |
| 6309 | width: 84.61538462%; } |
| 6310 | |
| 6311 | .col-13 .col-12 { |
| 6312 | width: 92.30769231%; } |
| 6313 | |
| 6314 | .col-13 .col-13 { |
| 6315 | width: 100%; } |
| 6316 | |
| 6317 | .col-12 .col-1 { |
| 6318 | width: 8.33333333%; } |
| 6319 | |
| 6320 | .col-12 .col-2 { |
| 6321 | width: 16.66666667%; } |
| 6322 | |
| 6323 | .col-12 .col-3 { |
| 6324 | width: 25%; } |
| 6325 | |
| 6326 | .col-12 .col-4 { |
| 6327 | width: 33.33333333%; } |
| 6328 | |
| 6329 | .col-12 .col-5 { |
| 6330 | width: 41.66666667%; } |
| 6331 | |
| 6332 | .col-12 .col-6 { |
| 6333 | width: 50%; } |
| 6334 | |
| 6335 | .col-12 .col-7 { |
| 6336 | width: 58.33333333%; } |
| 6337 | |
| 6338 | .col-12 .col-8 { |
| 6339 | width: 66.66666667%; } |
| 6340 | |
| 6341 | .col-12 .col-9 { |
| 6342 | width: 75%; } |
| 6343 | |
| 6344 | .col-12 .col-10 { |
| 6345 | width: 83.33333333%; } |
| 6346 | |
| 6347 | .col-12 .col-11 { |
| 6348 | width: 91.66666667%; } |
| 6349 | |
| 6350 | .col-12 .col-12 { |
| 6351 | width: 100%; } |
| 6352 | |
| 6353 | .col-1of1, .col-2of2, .col-3of3, .col-4of4, .col-5of5, .col-6of6, .col-8of8, .col-10of10, .col-12of12, .col-16of16 { |
| 6354 | width: 100%; } |
| 6355 | |
| 6356 | .col-1of2, .col-2of4, .col-3of6, .col-4of8, .col-5of10, .col-6of12, .col-8of16 { |
| 6357 | width: 50%; } |
| 6358 | |
| 6359 | .col-1of3, .col-2of6, .col-4of12 { |
| 6360 | width: 33.33333333%; } |
| 6361 | |
| 6362 | .col-2of3, .col-4of6, .col-8of12 { |
| 6363 | width: 66.66666667%; } |
| 6364 | |
| 6365 | .col-1of4, .col-2of8, .col-3of12, .col-4of16 { |
| 6366 | width: 25%; } |
| 6367 | |
| 6368 | .col-3of4, .col-6of8, .col-9of12, .col-12of16 { |
| 6369 | width: 75%; } |
| 6370 | |
| 6371 | .col-1of5, .col-2of10 { |
| 6372 | width: 20%; } |
| 6373 | |
| 6374 | .col-2of5, .col-4of10 { |
| 6375 | width: 40%; } |
| 6376 | |
| 6377 | .col-3of5, .col-6of10 { |
| 6378 | width: 60%; } |
| 6379 | |
| 6380 | .col-4of5, .col-8of10 { |
| 6381 | width: 80%; } |
| 6382 | |
| 6383 | .col-1of6, .col-2of12 { |
| 6384 | width: 16.66666667%; } |
| 6385 | |
| 6386 | .col-5of6, .col-10of12 { |
| 6387 | width: 83.33333333%; } |
| 6388 | |
| 6389 | .col-1of8, .col-2of16 { |
| 6390 | width: 12.5%; } |
| 6391 | |
| 6392 | .col-3of8, .col-6of16 { |
| 6393 | width: 37.5%; } |
| 6394 | |
| 6395 | .col-5of8, .col-10of16 { |
| 6396 | width: 62.5%; } |
| 6397 | |
| 6398 | .col-7of8, .col-14of16 { |
| 6399 | width: 87.5%; } |
| 6400 | |
| 6401 | .col-1of10 { |
| 6402 | width: 10%; } |
| 6403 | |
| 6404 | .col-3of10 { |
| 6405 | width: 30%; } |
| 6406 | |
| 6407 | .col-7of10 { |
| 6408 | width: 70%; } |
| 6409 | |
| 6410 | .col-9of10 { |
| 6411 | width: 90%; } |
| 6412 | |
| 6413 | .col-1of12 { |
| 6414 | width: 8.33333333%; } |
| 6415 | |
| 6416 | .col-5of12 { |
| 6417 | width: 41.66666667%; } |
| 6418 | |
| 6419 | .col-7of12 { |
| 6420 | width: 58.33333333%; } |
| 6421 | |
| 6422 | .col-11of12 { |
| 6423 | width: 91.66666667%; } |
| 6424 | |
| 6425 | .col-1of16 { |
| 6426 | width: 6.25%; } |
| 6427 | |
| 6428 | .col-3of16 { |
| 6429 | width: 18.75%; } |
| 6430 | |
| 6431 | .col-5of16 { |
| 6432 | width: 31.25%; } |
| 6433 | |
| 6434 | .col-7of16 { |
| 6435 | width: 43.75%; } |
| 6436 | |
| 6437 | .col-9of16 { |
| 6438 | width: 56.25%; } |
| 6439 | |
| 6440 | .col-11of16 { |
| 6441 | width: 68.75%; } |
| 6442 | |
| 6443 | .col-13of16 { |
| 6444 | width: 81.25%; } |
| 6445 | |
| 6446 | .col-15of16 { |
| 6447 | width: 93.75%; } |
| 6448 | |
| 6449 | .col-pull-1of1, .col-pull-2of2, .col-pull-3of3, .col-pull-4of4, .col-pull-5of5, .col-pull-6of6, .col-pull-8of8, .col-pull-10of10, .col-pull-12of12, .col-pull-16of16 { |
| 6450 | left: -100%; } |
| 6451 | |
| 6452 | .col-pull-1of2, .col-pull-2of4, .col-pull-3of6, .col-pull-4of8, .col-pull-5of10, .col-pull-6of12, .col-pull-8of16 { |
| 6453 | left: -50%; } |
| 6454 | |
| 6455 | .col-pull-1of3, .col-pull-2of6, .col-pull-4of12 { |
| 6456 | left: -33.33333333%; } |
| 6457 | |
| 6458 | .col-pull-2of3, .col-pull-4of6, .col-pull-8of12 { |
| 6459 | left: -66.66666667%; } |
| 6460 | |
| 6461 | .col-pull-1of4, .col-pull-2of8, .col-pull-3of12, .col-pull-4of16 { |
| 6462 | left: -25%; } |
| 6463 | |
| 6464 | .col-pull-3of4, .col-pull-6of8, .col-pull-9of12, .col-pull-12of16 { |
| 6465 | left: -75%; } |
| 6466 | |
| 6467 | .col-pull-1of5, .col-pull-2of10 { |
| 6468 | left: -20%; } |
| 6469 | |
| 6470 | .col-pull-2of5, .col-pull-4of10 { |
| 6471 | left: -40%; } |
| 6472 | |
| 6473 | .col-pull-3of5, .col-pull-6of10 { |
| 6474 | left: -60%; } |
| 6475 | |
| 6476 | .col-pull-4of5, .col-pull-8of10 { |
| 6477 | left: -80%; } |
| 6478 | |
| 6479 | .col-pull-1of6, .col-pull-2of12 { |
| 6480 | left: -16.66666667%; } |
| 6481 | |
| 6482 | .col-pull-5of6, .col-pull-10of12 { |
| 6483 | left: -83.33333333%; } |
| 6484 | |
| 6485 | .col-pull-1of8, .col-pull-2of16 { |
| 6486 | left: -12.5%; } |
| 6487 | |
| 6488 | .col-pull-3of8, .col-pull-6of16 { |
| 6489 | left: -37.5%; } |
| 6490 | |
| 6491 | .col-pull-5of8, .col-pull-10of16 { |
| 6492 | left: -62.5%; } |
| 6493 | |
| 6494 | .col-pull-7of8, .col-pull-14of16 { |
| 6495 | left: -87.5%; } |
| 6496 | |
| 6497 | .col-pull-1of10 { |
| 6498 | left: -10%; } |
| 6499 | |
| 6500 | .col-pull-3of10 { |
| 6501 | left: -30%; } |
| 6502 | |
| 6503 | .col-pull-7of10 { |
| 6504 | left: -70%; } |
| 6505 | |
| 6506 | .col-pull-9of10 { |
| 6507 | left: -90%; } |
| 6508 | |
| 6509 | .col-pull-1of12 { |
| 6510 | left: -8.33333333%; } |
| 6511 | |
| 6512 | .col-pull-5of12 { |
| 6513 | left: -41.66666667%; } |
| 6514 | |
| 6515 | .col-pull-7of12 { |
| 6516 | left: -58.33333333%; } |
| 6517 | |
| 6518 | .col-pull-11of12 { |
| 6519 | left: -91.66666667%; } |
| 6520 | |
| 6521 | .col-pull-1of16 { |
| 6522 | left: -6.25%; } |
| 6523 | |
| 6524 | .col-pull-3of16 { |
| 6525 | left: -18.75%; } |
| 6526 | |
| 6527 | .col-pull-5of16 { |
| 6528 | left: -31.25%; } |
| 6529 | |
| 6530 | .col-pull-7of16 { |
| 6531 | left: -43.75%; } |
| 6532 | |
| 6533 | .col-pull-9of16 { |
| 6534 | left: -56.25%; } |
| 6535 | |
| 6536 | .col-pull-11of16 { |
| 6537 | left: -68.75%; } |
| 6538 | |
| 6539 | .col-pull-13of16 { |
| 6540 | left: -81.25%; } |
| 6541 | |
| 6542 | .col-pull-15of16 { |
| 6543 | left: -93.75%; } |
| 6544 | |
| 6545 | .col-push-1of1, .col-push-2of2, .col-push-3of3, .col-push-4of4, .col-push-5of5, .col-push-6of6, .col-push-8of8, .col-push-10of10, .col-push-12of12, .col-push-16of16 { |
| 6546 | left: 100%; } |
| 6547 | |
| 6548 | .col-push-1of2, .col-push-2of4, .col-push-3of6, .col-push-4of8, .col-push-5of10, .col-push-6of12, .col-push-8of16 { |
| 6549 | left: 50%; } |
| 6550 | |
| 6551 | .col-push-1of3, .col-push-2of6, .col-push-4of12 { |
| 6552 | left: 33.33333333%; } |
| 6553 | |
| 6554 | .col-push-2of3, .col-push-4of6, .col-push-8of12 { |
| 6555 | left: 66.66666667%; } |
| 6556 | |
| 6557 | .col-push-1of4, .col-push-2of8, .col-push-3of12, .col-push-4of16 { |
| 6558 | left: 25%; } |
| 6559 | |
| 6560 | .col-push-3of4, .col-push-6of8, .col-push-9of12, .col-push-12of16 { |
| 6561 | left: 75%; } |
| 6562 | |
| 6563 | .col-push-1of5, .col-push-2of10 { |
| 6564 | left: 20%; } |
| 6565 | |
| 6566 | .col-push-2of5, .col-push-4of10 { |
| 6567 | left: 40%; } |
| 6568 | |
| 6569 | .col-push-3of5, .col-push-6of10 { |
| 6570 | left: 60%; } |
| 6571 | |
| 6572 | .col-push-4of5, .col-push-8of10 { |
| 6573 | left: 80%; } |
| 6574 | |
| 6575 | .col-push-1of6, .col-push-2of12 { |
| 6576 | left: 16.66666667%; } |
| 6577 | |
| 6578 | .col-push-5of6, .col-push-10of12 { |
| 6579 | left: 83.33333333%; } |
| 6580 | |
| 6581 | .col-push-1of8, .col-push-2of16 { |
| 6582 | left: 12.5%; } |
| 6583 | |
| 6584 | .col-push-3of8, .col-push-6of16 { |
| 6585 | left: 37.5%; } |
| 6586 | |
| 6587 | .col-push-5of8, .col-push-10of16 { |
| 6588 | left: 62.5%; } |
| 6589 | |
| 6590 | .col-push-7of8, .col-push-14of16 { |
| 6591 | left: 87.5%; } |
| 6592 | |
| 6593 | .col-push-1of10 { |
| 6594 | left: 10%; } |
| 6595 | |
| 6596 | .col-push-3of10 { |
| 6597 | left: 30%; } |
| 6598 | |
| 6599 | .col-push-7of10 { |
| 6600 | left: 70%; } |
| 6601 | |
| 6602 | .col-push-9of10 { |
| 6603 | left: 90%; } |
| 6604 | |
| 6605 | .col-push-1of12 { |
| 6606 | left: 8.33333333%; } |
| 6607 | |
| 6608 | .col-push-5of12 { |
| 6609 | left: 41.66666667%; } |
| 6610 | |
| 6611 | .col-push-7of12 { |
| 6612 | left: 58.33333333%; } |
| 6613 | |
| 6614 | .col-push-11of12 { |
| 6615 | left: 91.66666667%; } |
| 6616 | |
| 6617 | .col-push-1of16 { |
| 6618 | left: 6.25%; } |
| 6619 | |
| 6620 | .col-push-3of16 { |
| 6621 | left: 18.75%; } |
| 6622 | |
| 6623 | .col-push-5of16 { |
| 6624 | left: 31.25%; } |
| 6625 | |
| 6626 | .col-push-7of16 { |
| 6627 | left: 43.75%; } |
| 6628 | |
| 6629 | .col-push-9of16 { |
| 6630 | left: 56.25%; } |
| 6631 | |
| 6632 | .col-push-11of16 { |
| 6633 | left: 68.75%; } |
| 6634 | |
| 6635 | .col-push-13of16 { |
| 6636 | left: 81.25%; } |
| 6637 | |
| 6638 | .col-push-15of16 { |
| 6639 | left: 93.75%; } |
| 6640 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6641 | @media (max-width: 959px) and (min-width: 720px) { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6642 | .col-tablet-1of1, .col-tablet-2of2, .col-tablet-3of3, .col-tablet-4of4, .col-tablet-5of5, .col-tablet-6of6, .col-tablet-8of8, .col-tablet-10of10, .col-tablet-12of12, .col-tablet-16of16 { |
| 6643 | width: 100%; } |
| 6644 | .col-tablet-1of2, .col-tablet-2of4, .col-tablet-3of6, .col-tablet-4of8, .col-tablet-5of10, .col-tablet-6of12, .col-tablet-8of16 { |
| 6645 | width: 50%; } |
| 6646 | .col-tablet-1of3, .col-tablet-2of6, .col-tablet-4of12 { |
| 6647 | width: 33.33333333%; } |
| 6648 | .col-tablet-2of3, .col-tablet-4of6, .col-tablet-8of12 { |
| 6649 | width: 66.66666667%; } |
| 6650 | .col-tablet-1of4, .col-tablet-2of8, .col-tablet-3of12, .col-tablet-4of16 { |
| 6651 | width: 25%; } |
| 6652 | .col-tablet-3of4, .col-tablet-6of8, .col-tablet-9of12, .col-tablet-12of16 { |
| 6653 | width: 75%; } |
| 6654 | .col-tablet-1of5, .col-tablet-2of10 { |
| 6655 | width: 20%; } |
| 6656 | .col-tablet-2of5, .col-tablet-4of10 { |
| 6657 | width: 40%; } |
| 6658 | .col-tablet-3of5, .col-tablet-6of10 { |
| 6659 | width: 60%; } |
| 6660 | .col-tablet-4of5, .col-tablet-8of10 { |
| 6661 | width: 80%; } |
| 6662 | .col-tablet-1of6, .col-tablet-2of12 { |
| 6663 | width: 16.66666667%; } |
| 6664 | .col-tablet-5of6, .col-tablet-10of12 { |
| 6665 | width: 83.33333333%; } |
| 6666 | .col-tablet-1of8, .col-tablet-2of16 { |
| 6667 | width: 12.5%; } |
| 6668 | .col-tablet-3of8, .col-tablet-6of16 { |
| 6669 | width: 37.5%; } |
| 6670 | .col-tablet-5of8, .col-tablet-10of16 { |
| 6671 | width: 62.5%; } |
| 6672 | .col-tablet-7of8, .col-tablet-14of16 { |
| 6673 | width: 87.5%; } |
| 6674 | .col-tablet-1of10 { |
| 6675 | width: 10%; } |
| 6676 | .col-tablet-3of10 { |
| 6677 | width: 30%; } |
| 6678 | .col-tablet-7of10 { |
| 6679 | width: 70%; } |
| 6680 | .col-tablet-9of10 { |
| 6681 | width: 90%; } |
| 6682 | .col-tablet-1of12 { |
| 6683 | width: 8.33333333%; } |
| 6684 | .col-tablet-5of12 { |
| 6685 | width: 41.66666667%; } |
| 6686 | .col-tablet-7of12 { |
| 6687 | width: 58.33333333%; } |
| 6688 | .col-tablet-11of12 { |
| 6689 | width: 91.66666667%; } |
| 6690 | .col-tablet-1of16 { |
| 6691 | width: 6.25%; } |
| 6692 | .col-tablet-3of16 { |
| 6693 | width: 18.75%; } |
| 6694 | .col-tablet-5of16 { |
| 6695 | width: 31.25%; } |
| 6696 | .col-tablet-7of16 { |
| 6697 | width: 43.75%; } |
| 6698 | .col-tablet-9of16 { |
| 6699 | width: 56.25%; } |
| 6700 | .col-tablet-11of16 { |
| 6701 | width: 68.75%; } |
| 6702 | .col-tablet-13of16 { |
| 6703 | width: 81.25%; } |
| 6704 | .col-tablet-15of16 { |
| 6705 | width: 93.75%; } |
| 6706 | .col-tablet-pull-1of1, .col-tablet-pull-2of2, .col-tablet-pull-3of3, .col-tablet-pull-4of4, .col-tablet-pull-5of5, .col-tablet-pull-6of6, .col-tablet-pull-8of8, .col-tablet-pull-10of10, .col-tablet-pull-12of12, .col-tablet-pull-16of16 { |
| 6707 | left: -100%; } |
| 6708 | .col-tablet-pull-1of2, .col-tablet-pull-2of4, .col-tablet-pull-3of6, .col-tablet-pull-4of8, .col-tablet-pull-5of10, .col-tablet-pull-6of12, .col-tablet-pull-8of16 { |
| 6709 | left: -50%; } |
| 6710 | .col-tablet-pull-1of3, .col-tablet-pull-2of6, .col-tablet-pull-4of12 { |
| 6711 | left: -33.33333333%; } |
| 6712 | .col-tablet-pull-2of3, .col-tablet-pull-4of6, .col-tablet-pull-8of12 { |
| 6713 | left: -66.66666667%; } |
| 6714 | .col-tablet-pull-1of4, .col-tablet-pull-2of8, .col-tablet-pull-3of12, .col-tablet-pull-4of16 { |
| 6715 | left: -25%; } |
| 6716 | .col-tablet-pull-3of4, .col-tablet-pull-6of8, .col-tablet-pull-9of12, .col-tablet-pull-12of16 { |
| 6717 | left: -75%; } |
| 6718 | .col-tablet-pull-1of5, .col-tablet-pull-2of10 { |
| 6719 | left: -20%; } |
| 6720 | .col-tablet-pull-2of5, .col-tablet-pull-4of10 { |
| 6721 | left: -40%; } |
| 6722 | .col-tablet-pull-3of5, .col-tablet-pull-6of10 { |
| 6723 | left: -60%; } |
| 6724 | .col-tablet-pull-4of5, .col-tablet-pull-8of10 { |
| 6725 | left: -80%; } |
| 6726 | .col-tablet-pull-1of6, .col-tablet-pull-2of12 { |
| 6727 | left: -16.66666667%; } |
| 6728 | .col-tablet-pull-5of6, .col-tablet-pull-10of12 { |
| 6729 | left: -83.33333333%; } |
| 6730 | .col-tablet-pull-1of8, .col-tablet-pull-2of16 { |
| 6731 | left: -12.5%; } |
| 6732 | .col-tablet-pull-3of8, .col-tablet-pull-6of16 { |
| 6733 | left: -37.5%; } |
| 6734 | .col-tablet-pull-5of8, .col-tablet-pull-10of16 { |
| 6735 | left: -62.5%; } |
| 6736 | .col-tablet-pull-7of8, .col-tablet-pull-14of16 { |
| 6737 | left: -87.5%; } |
| 6738 | .col-tablet-pull-1of10 { |
| 6739 | left: -10%; } |
| 6740 | .col-tablet-pull-3of10 { |
| 6741 | left: -30%; } |
| 6742 | .col-tablet-pull-7of10 { |
| 6743 | left: -70%; } |
| 6744 | .col-tablet-pull-9of10 { |
| 6745 | left: -90%; } |
| 6746 | .col-tablet-pull-1of12 { |
| 6747 | left: -8.33333333%; } |
| 6748 | .col-tablet-pull-5of12 { |
| 6749 | left: -41.66666667%; } |
| 6750 | .col-tablet-pull-7of12 { |
| 6751 | left: -58.33333333%; } |
| 6752 | .col-tablet-pull-11of12 { |
| 6753 | left: -91.66666667%; } |
| 6754 | .col-tablet-pull-1of16 { |
| 6755 | left: -6.25%; } |
| 6756 | .col-tablet-pull-3of16 { |
| 6757 | left: -18.75%; } |
| 6758 | .col-tablet-pull-5of16 { |
| 6759 | left: -31.25%; } |
| 6760 | .col-tablet-pull-7of16 { |
| 6761 | left: -43.75%; } |
| 6762 | .col-tablet-pull-9of16 { |
| 6763 | left: -56.25%; } |
| 6764 | .col-tablet-pull-11of16 { |
| 6765 | left: -68.75%; } |
| 6766 | .col-tablet-pull-13of16 { |
| 6767 | left: -81.25%; } |
| 6768 | .col-tablet-pull-15of16 { |
| 6769 | left: -93.75%; } |
| 6770 | .col-tablet-push-1of1, .col-tablet-push-2of2, .col-tablet-push-3of3, .col-tablet-push-4of4, .col-tablet-push-5of5, .col-tablet-push-6of6, .col-tablet-push-8of8, .col-tablet-push-10of10, .col-tablet-push-12of12, .col-tablet-push-16of16 { |
| 6771 | left: 100%; } |
| 6772 | .col-tablet-push-1of2, .col-tablet-push-2of4, .col-tablet-push-3of6, .col-tablet-push-4of8, .col-tablet-push-5of10, .col-tablet-push-6of12, .col-tablet-push-8of16 { |
| 6773 | left: 50%; } |
| 6774 | .col-tablet-push-1of3, .col-tablet-push-2of6, .col-tablet-push-4of12 { |
| 6775 | left: 33.33333333%; } |
| 6776 | .col-tablet-push-2of3, .col-tablet-push-4of6, .col-tablet-push-8of12 { |
| 6777 | left: 66.66666667%; } |
| 6778 | .col-tablet-push-1of4, .col-tablet-push-2of8, .col-tablet-push-3of12, .col-tablet-push-4of16 { |
| 6779 | left: 25%; } |
| 6780 | .col-tablet-push-3of4, .col-tablet-push-6of8, .col-tablet-push-9of12, .col-tablet-push-12of16 { |
| 6781 | left: 75%; } |
| 6782 | .col-tablet-push-1of5, .col-tablet-push-2of10 { |
| 6783 | left: 20%; } |
| 6784 | .col-tablet-push-2of5, .col-tablet-push-4of10 { |
| 6785 | left: 40%; } |
| 6786 | .col-tablet-push-3of5, .col-tablet-push-6of10 { |
| 6787 | left: 60%; } |
| 6788 | .col-tablet-push-4of5, .col-tablet-push-8of10 { |
| 6789 | left: 80%; } |
| 6790 | .col-tablet-push-1of6, .col-tablet-push-2of12 { |
| 6791 | left: 16.66666667%; } |
| 6792 | .col-tablet-push-5of6, .col-tablet-push-10of12 { |
| 6793 | left: 83.33333333%; } |
| 6794 | .col-tablet-push-1of8, .col-tablet-push-2of16 { |
| 6795 | left: 12.5%; } |
| 6796 | .col-tablet-push-3of8, .col-tablet-push-6of16 { |
| 6797 | left: 37.5%; } |
| 6798 | .col-tablet-push-5of8, .col-tablet-push-10of16 { |
| 6799 | left: 62.5%; } |
| 6800 | .col-tablet-push-7of8, .col-tablet-push-14of16 { |
| 6801 | left: 87.5%; } |
| 6802 | .col-tablet-push-1of10 { |
| 6803 | left: 10%; } |
| 6804 | .col-tablet-push-3of10 { |
| 6805 | left: 30%; } |
| 6806 | .col-tablet-push-7of10 { |
| 6807 | left: 70%; } |
| 6808 | .col-tablet-push-9of10 { |
| 6809 | left: 90%; } |
| 6810 | .col-tablet-push-1of12 { |
| 6811 | left: 8.33333333%; } |
| 6812 | .col-tablet-push-5of12 { |
| 6813 | left: 41.66666667%; } |
| 6814 | .col-tablet-push-7of12 { |
| 6815 | left: 58.33333333%; } |
| 6816 | .col-tablet-push-11of12 { |
| 6817 | left: 91.66666667%; } |
| 6818 | .col-tablet-push-1of16 { |
| 6819 | left: 6.25%; } |
| 6820 | .col-tablet-push-3of16 { |
| 6821 | left: 18.75%; } |
| 6822 | .col-tablet-push-5of16 { |
| 6823 | left: 31.25%; } |
| 6824 | .col-tablet-push-7of16 { |
| 6825 | left: 43.75%; } |
| 6826 | .col-tablet-push-9of16 { |
| 6827 | left: 56.25%; } |
| 6828 | .col-tablet-push-11of16 { |
| 6829 | left: 68.75%; } |
| 6830 | .col-tablet-push-13of16 { |
| 6831 | left: 81.25%; } |
| 6832 | .col-tablet-push-15of16 { |
| 6833 | left: 93.75%; } } |
| 6834 | |
| 6835 | .col-3-wide { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6836 | width: 33.3333333333%; } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6837 | |
| 6838 | @media (max-width: 719px) { |
| 6839 | /* Remove .col-12 and .col-13 backward compatibility support as soon as it's been removed. */ |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6840 | [class*=col-], |
| 6841 | .col-12 [class*=col-], |
| 6842 | .col-13 [class*=col-] { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6843 | float: none; |
| 6844 | left: 0; |
| 6845 | width: auto; |
| 6846 | } } |
| 6847 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6848 | /** |
| 6849 | * Fades out an element. |
| 6850 | * Applies visibility hidden when the transition is finished. |
| 6851 | * |
| 6852 | * Use opacity: 1; to show the element. |
| 6853 | */ |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6854 | /* Header component */ |
| 6855 | .dac-header { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6856 | box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.07); |
| 6857 | box-sizing: border-box; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6858 | background: #6ab344; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6859 | height: 64px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6860 | margin: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6861 | left: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6862 | position: fixed; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6863 | right: 0; |
| 6864 | top: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6865 | -webkit-transition: background 200ms; |
| 6866 | transition: background 200ms; |
| 6867 | z-index: 61; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6868 | } |
| 6869 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6870 | .dac-ndk .dac-header { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6871 | background: #00bcd4; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6872 | } |
| 6873 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6874 | .dac-studio .dac-header { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6875 | background: #424242; |
| 6876 | } |
| 6877 | |
| 6878 | .dac-search-mode .dac-header { |
| 6879 | background: #b0bec5; |
| 6880 | -webkit-transition: background 200ms; |
| 6881 | transition: background 200ms; |
| 6882 | } |
| 6883 | |
| 6884 | .dac-search-mode .dac-header-logo, |
| 6885 | .dac-search-mode .dac-header-console-btn { |
| 6886 | opacity: 0; |
| 6887 | visibility: hidden; |
| 6888 | -webkit-transition: visibility 0s linear 200ms, opacity 200ms linear; |
| 6889 | transition: visibility 0s linear 200ms, opacity 200ms linear; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6890 | } |
| 6891 | |
| 6892 | .dac-header-logo { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6893 | display: block; |
| 6894 | font-size: 20px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6895 | font-weight: 400; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6896 | float: left; |
| 6897 | letter-spacing: .3px; |
| 6898 | line-height: 36px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6899 | opacity: 1; |
| 6900 | padding: 13px 48px 15px 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6901 | } |
| 6902 | |
| 6903 | .dac-header-logo, .dac-header-logo:hover, .dac-header-logo:focus { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6904 | color: #fff; |
| 6905 | } |
| 6906 | |
| 6907 | @media (min-width: 980px) { |
| 6908 | .dac-header-logo { |
| 6909 | border-right: 1px solid rgba(0, 0, 0, 0.1); |
| 6910 | } |
| 6911 | } |
| 6912 | |
| 6913 | @media (min-width: 720px) and (max-width: 979px) { |
| 6914 | .dac-header-logo { |
| 6915 | padding-right: 10px; |
| 6916 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 6917 | } |
| 6918 | |
| 6919 | .dac-header-logo-image { |
| 6920 | margin-right: 5px; |
| 6921 | vertical-align: top; |
| 6922 | } |
| 6923 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6924 | .dac-header-tabs { |
| 6925 | list-style: none; |
| 6926 | margin: 0 10px; |
| 6927 | display: none; |
| 6928 | opacity: 1; |
| 6929 | -webkit-transition: opacity 200ms linear 200ms; |
| 6930 | transition: opacity 200ms linear 200ms; |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 6931 | } |
| 6932 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6933 | @media (min-width: 720px) { |
| 6934 | .dac-header-tabs { |
| 6935 | display: inline-block; |
| 6936 | } |
| 6937 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6938 | /* Do not show nav toggle and up-nav button for left nav, |
| 6939 | when header tabs are visible (when no sub navigation) */ |
| 6940 | body.no-subnav .dac-nav-back-button { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6941 | display:none; |
| 6942 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6943 | body.no-subnav .dac-nav-sub { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6944 | top: 0 !important; |
| 6945 | } |
| 6946 | } |
| 6947 | |
| 6948 | .dac-header-tabs li { |
| 6949 | display: inline-block; |
| 6950 | } |
| 6951 | |
| 6952 | .dac-header-tab { |
| 6953 | display: inline-block; |
| 6954 | line-height: 64px; |
| 6955 | height: 64px; |
| 6956 | padding: 0 9px; |
| 6957 | color: #fff; |
| 6958 | color: rgba(255, 255, 255, 0.7); |
| 6959 | font-size: 14px; |
| 6960 | text-transform: uppercase; |
| 6961 | font-weight: 500; |
| 6962 | } |
| 6963 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 6964 | .dac-header-tab:hover, |
| 6965 | .dac-header-tab:focus { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 6966 | color: #fff; |
| 6967 | } |
| 6968 | |
| 6969 | .dac-header-tab.selected { |
| 6970 | border-bottom: 4px solid #fff; |
| 6971 | height: 60px; |
| 6972 | color: #fff; |
| 6973 | } |
| 6974 | |
| 6975 | .dac-search-mode .dac-header-tabs { |
| 6976 | opacity: 0; |
| 6977 | -webkit-transition: opacity 0ms linear 0ms; |
| 6978 | transition: opacity 0ms linear 0ms; |
| 6979 | } |
| 6980 | |
| 6981 | .dac-header-console-btn { |
| 6982 | border-radius: 3px; |
| 6983 | box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); |
| 6984 | float: right; |
| 6985 | font-size: 14px; |
| 6986 | font-weight: 500; |
| 6987 | line-height: 28px; |
| 6988 | margin: 13px 13px 12px 24px; |
| 6989 | opacity: 1; |
| 6990 | padding: 4px 10px; |
| 6991 | position: relative; |
| 6992 | text-transform: uppercase; |
| 6993 | -webkit-transition: box-shadow .2s; |
| 6994 | transition: box-shadow .2s; |
| 6995 | z-index: 60; |
| 6996 | } |
| 6997 | |
| 6998 | @media (min-width: 720px) and (max-width: 979px) { |
| 6999 | .dac-header-console-btn { |
| 7000 | display: none; |
| 7001 | } |
| 7002 | } |
| 7003 | |
| 7004 | .dac-header-console-btn > .dac-sprite, .dac-header-console-btn > .dac-modal-header-close:before, .paging-links .dac-header-console-btn > .prev-page-link:before, .paging-links .dac-header-console-btn > .next-page-link:before, .paging-links .dac-header-console-btn > .next-class-link:before, .paging-links .dac-header-console-btn > .start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7005 | margin-right: 5px; |
| 7006 | } |
| 7007 | |
| 7008 | .dac-header-console-btn, .dac-header-console-btn:hover, .dac-header-console-btn:focus { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7009 | color: #fff; |
| 7010 | } |
| 7011 | |
| 7012 | .dac-header-console-btn:hover { |
| 7013 | box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3); |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7014 | } |
| 7015 | |
| 7016 | .dac-header-console-btn:focus { |
| 7017 | background: rgba(63, 81, 181, 0.1); |
| 7018 | outline: 0; |
| 7019 | } |
| 7020 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7021 | .dac-studio .dac-header-console-btn { |
| 7022 | color:#fff; |
| 7023 | background:rgba(255, 255, 255, 0.3); |
| 7024 | } |
| 7025 | .dac-studio .dac-header-console-btn:hover { |
| 7026 | background:rgba(255, 255, 255, 0.5); |
| 7027 | } |
| 7028 | .dac-studio .dac-header-console-btn:focus { |
| 7029 | background:rgba(255, 255, 255, 0.7); |
| 7030 | color:#000; |
| 7031 | } |
| 7032 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7033 | @media (max-width: 719px) { |
| 7034 | .dac-header { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7035 | text-align: center; |
| 7036 | } |
| 7037 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7038 | .dac-header-logo { |
| 7039 | border-right: 0; |
| 7040 | display: inline-block; |
| 7041 | margin-right: 0; |
| 7042 | float: none; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7043 | padding-left: 0; |
| 7044 | padding-right: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7045 | } |
| 7046 | |
| 7047 | .dac-header-console-btn { |
| 7048 | display: none; |
| 7049 | } |
| 7050 | } |
| 7051 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7052 | /* Header Breadcrumbs component */ |
| 7053 | .dac-header-crumbs { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7054 | list-style-type: none; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7055 | margin: 23px 0 -13px 0; |
| 7056 | display: inline-block; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7057 | } |
| 7058 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7059 | body.no-crumbs .dac-header-crumbs { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7060 | display:none; |
| 7061 | } |
| 7062 | |
| 7063 | .dac-header-crumbs.dac-has-content { |
| 7064 | opacity: 1; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7065 | } |
| 7066 | |
| 7067 | .dac-header-crumbs-item { |
| 7068 | float: left; |
| 7069 | position: relative; |
| 7070 | margin: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7071 | padding: 0; |
| 7072 | } |
| 7073 | |
| 7074 | .dac-header-crumbs-item i, .dac-header-crumbs-item .dac-nav-link-forward { |
| 7075 | display: none; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7076 | } |
| 7077 | |
| 7078 | .dac-header-crumbs-item:before { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7079 | content: ''; |
| 7080 | background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%; |
| 7081 | width: 10px; |
| 7082 | height: 10px; |
| 7083 | display: inline-block; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7084 | position: absolute; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7085 | top: 12px; |
| 7086 | left: -15px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7087 | } |
| 7088 | |
| 7089 | .dac-header-crumbs-item:first-child:before { |
| 7090 | content: none; |
| 7091 | } |
| 7092 | |
| 7093 | .dac-header-crumbs-link { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7094 | display: block; |
| 7095 | font-size: 16px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7096 | line-height: 32px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7097 | padding: 0 20px 0 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7098 | } |
| 7099 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7100 | .dac-header-crumbs-link, .dac-header-crumbs-link:hover, .dac-header-crumbs-link:focus { |
| 7101 | color: #666; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7102 | } |
| 7103 | |
| 7104 | .dac-header-crumbs-link:focus { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7105 | outline: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7106 | text-decoration: underline; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7107 | } |
| 7108 | |
| 7109 | .dac-header-crumbs-link.current { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7110 | font-weight: 400; |
| 7111 | } |
| 7112 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7113 | /* Header site search component */ |
| 7114 | .dac-header-search { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7115 | bottom: 64px; |
| 7116 | position: absolute; |
| 7117 | right: 220px; |
| 7118 | top: 0; |
| 7119 | width: 238px; |
| 7120 | -webkit-transition: width 300ms, right 100ms, margin 100ms; |
| 7121 | transition: width 300ms, right 100ms, margin 100ms; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7122 | } |
| 7123 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7124 | .dac-studio .dac-header-search { |
| 7125 | right: 20px; /* move searchbar farther right, because there's no button */ |
| 7126 | } |
| 7127 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7128 | .dac-header-search-inner { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7129 | margin: 0 auto; |
| 7130 | max-width: 940px; |
| 7131 | position: relative; |
| 7132 | width: 100%; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7133 | } |
| 7134 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7135 | @media (min-width: 980px) { |
| 7136 | .dac-header-search-inner::after { |
| 7137 | background: -webkit-linear-gradient(right, #6ab344, rgba(106, 179, 68, 0)); |
| 7138 | background: linear-gradient(to left, #6ab344, rgba(106, 179, 68, 0)); |
| 7139 | content: ''; |
| 7140 | display: block; |
| 7141 | height: 64px; |
| 7142 | position: absolute; |
| 7143 | right: 100%; |
| 7144 | top: 0; |
| 7145 | -webkit-transition: opacity 200ms, -webkit-transform 300ms; |
| 7146 | transition: opacity 200ms, transform 300ms; |
| 7147 | -webkit-transform-origin: right center; |
| 7148 | -ms-transform-origin: right center; |
| 7149 | transform-origin: right center; |
| 7150 | width: 64px; |
| 7151 | } |
| 7152 | .dac-studio .dac-header-search-inner::after { |
| 7153 | background: -webkit-linear-gradient(right, #424242, rgba(66, 66, 66, 0)); |
| 7154 | background: linear-gradient(to left, #424242, rgba(66, 66, 66, 0)); |
| 7155 | } |
| 7156 | |
| 7157 | .dac-search-mode .dac-header-search-inner::after { |
| 7158 | opacity: 0; |
| 7159 | -webkit-transform: scaleX(0); |
| 7160 | -ms-transform: scaleX(0); |
| 7161 | transform: scaleX(0); |
| 7162 | } |
| 7163 | } |
| 7164 | |
| 7165 | .dac-header-search-icon { |
| 7166 | left: 8px; |
| 7167 | pointer-events: none; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7168 | position: absolute; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7169 | top: 18px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7170 | } |
| 7171 | |
| 7172 | .dac-header-search-input { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7173 | background: #77be53; |
| 7174 | border-radius: 3px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7175 | border: none; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7176 | box-sizing: border-box; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7177 | color: #fff; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7178 | font-size: 14px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7179 | font-weight: 600; |
| 7180 | margin: 13px 0; |
| 7181 | padding: 9px 36px 10px; |
| 7182 | -webkit-transition: background 200ms, color 200ms; |
| 7183 | transition: background 200ms, color 200ms; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7184 | width: 100%; |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 7185 | } |
| 7186 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7187 | .dac-studio .dac-header-search-input { |
| 7188 | background: rgba(255, 255, 255, 0.3); |
| 7189 | } |
| 7190 | |
| 7191 | .dac-header-search-close, .dac-header-search-clear { |
| 7192 | background: none; |
| 7193 | border: none; |
| 7194 | cursor: pointer; |
| 7195 | font-size: 0; |
| 7196 | outline: none; |
| 7197 | position: absolute; |
| 7198 | margin: 0; |
| 7199 | } |
| 7200 | |
| 7201 | .dac-header-search-clear { |
| 7202 | display: inline-block; |
| 7203 | opacity: .4; |
| 7204 | padding: 8px; |
| 7205 | top: 15px; |
| 7206 | right: 0; |
| 7207 | } |
| 7208 | |
| 7209 | .dac-header-search-clear:hover, .dac-header-search-clear:focus { |
| 7210 | opacity: .8; |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 7211 | } |
| 7212 | |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7213 | .dac-header-search-close { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7214 | left: -45px; |
| 7215 | top: 20px; |
| 7216 | -webkit-transform: translateX(45px); |
| 7217 | -ms-transform: translateX(45px); |
| 7218 | transform: translateX(45px); |
| 7219 | visibility: hidden; |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 7220 | } |
| 7221 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7222 | .dac-header-search ::-webkit-input-placeholder { |
| 7223 | color: #fff; |
| 7224 | font-weight: 300; |
| 7225 | -webkit-transition: color 200ms; |
| 7226 | transition: color 200ms; |
| 7227 | } |
| 7228 | |
| 7229 | .dac-header-search :-moz-placeholder { |
| 7230 | color: #fff; |
| 7231 | font-weight: 300; |
| 7232 | transition: color 200ms; |
| 7233 | } |
| 7234 | |
| 7235 | .dac-header-search ::-moz-placeholder { |
| 7236 | color: #fff; |
| 7237 | font-weight: 300; |
| 7238 | transition: color 200ms; |
| 7239 | } |
| 7240 | |
| 7241 | .dac-header-search :-ms-input-placeholder { |
| 7242 | color: #fff; |
| 7243 | font-weight: 300; |
| 7244 | transition: color 200ms; |
| 7245 | } |
| 7246 | |
| 7247 | .dac-header-search-input:focus { |
| 7248 | outline: 0; |
| 7249 | } |
| 7250 | |
| 7251 | .dac-search-mode .dac-header-search { |
| 7252 | width: 940px; |
| 7253 | right: 50%; |
| 7254 | margin-right: -470px; |
| 7255 | } |
| 7256 | |
| 7257 | .dac-search-mode .dac-header-search .dac-header-search-input::after { |
| 7258 | background: -webkit-linear-gradient(right, #b0bec5, rgba(176, 190, 197, 0)); |
| 7259 | background: linear-gradient(to left, #b0bec5, rgba(176, 190, 197, 0)); |
| 7260 | } |
| 7261 | |
| 7262 | .dac-search-mode .dac-header-search .dac-header-search-close { |
| 7263 | -webkit-transition: -webkit-transform 200ms ease-out 300ms; |
| 7264 | transition: transform 200ms ease-out 300ms; |
| 7265 | -webkit-transform: translateX(0); |
| 7266 | -ms-transform: translateX(0); |
| 7267 | transform: translateX(0); |
| 7268 | visibility: visible; |
| 7269 | } |
| 7270 | |
| 7271 | .dac-search-mode .dac-header-search .dac-header-search-icon { |
| 7272 | left: 23px; |
| 7273 | } |
| 7274 | |
| 7275 | .dac-search-mode .dac-header-search .dac-header-search-input { |
| 7276 | background: #fff; |
| 7277 | border-radius: 0; |
| 7278 | font-size: 18px; |
| 7279 | color: #666; |
| 7280 | padding-left: 55px; |
| 7281 | margin-top: 11px; |
| 7282 | } |
| 7283 | |
| 7284 | .dac-search-mode .dac-header-search ::-webkit-input-placeholder { |
| 7285 | color: #505050; |
| 7286 | } |
| 7287 | |
| 7288 | .dac-search-mode .dac-header-search :-moz-placeholder { |
| 7289 | color: #505050; |
| 7290 | } |
| 7291 | |
| 7292 | .dac-search-mode .dac-header-search ::-moz-placeholder { |
| 7293 | color: #505050; |
| 7294 | } |
| 7295 | |
| 7296 | .dac-search-mode .dac-header-search :-ms-input-placeholder { |
| 7297 | color: #505050; |
| 7298 | } |
| 7299 | |
| 7300 | @media (min-width: 720px) and (max-width: 979px) { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7301 | .dac-studio .dac-header-search, |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7302 | .dac-header-search { |
| 7303 | right: 20px; |
| 7304 | width: 200px; |
| 7305 | -webkit-transition: left 200ms, right 200ms, width 200ms; |
| 7306 | transition: left 200ms, right 200ms, width 200ms; |
| 7307 | } |
| 7308 | |
| 7309 | .dac-search-mode .dac-header-search { |
| 7310 | left: 60px; |
| 7311 | right: 0; |
| 7312 | width: 100%; |
| 7313 | } |
| 7314 | |
| 7315 | .dac-search-mode .dac-header-search .dac-header-search-inner { |
| 7316 | margin: 0; |
| 7317 | width: calc(100% - 60px - 10px); |
| 7318 | } |
| 7319 | |
| 7320 | .dac-header-search-close { |
| 7321 | left: -42px; |
| 7322 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7323 | } |
| 7324 | |
| 7325 | @media (max-width: 719px) { |
| 7326 | .dac-header-search { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7327 | bottom: 0; |
| 7328 | border-radius: 0; |
| 7329 | border-left: 1px solid rgba(0, 0, 0, 0.1); |
| 7330 | cursor: pointer; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7331 | left: calc(100% - 64px); |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7332 | margin: 0; |
| 7333 | overflow: hidden; |
| 7334 | padding-left: 10px; |
| 7335 | padding-right: 10px; |
| 7336 | position: absolute; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7337 | right: 0; |
| 7338 | top: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7339 | } |
| 7340 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7341 | .dac-header-search-input { |
| 7342 | background: none; |
| 7343 | cursor: pointer; |
| 7344 | opacity: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7345 | } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7346 | |
| 7347 | .dac-search-mode .dac-header-search { |
| 7348 | background: #b0bec5; |
| 7349 | cursor: default; |
| 7350 | overflow: visible; |
| 7351 | left: 60px; |
| 7352 | right: 0; |
| 7353 | width: 100%; |
| 7354 | -webkit-transition: left 200ms, right 200ms, width 200ms; |
| 7355 | transition: left 200ms, right 200ms, width 200ms; |
| 7356 | padding: 0; |
| 7357 | border: none; |
| 7358 | } |
| 7359 | |
| 7360 | .dac-search-mode .dac-header-search .dac-header-search-inner { |
| 7361 | margin: 0; |
| 7362 | width: calc(100% - 60px - 10px); |
| 7363 | } |
| 7364 | |
| 7365 | .dac-search-mode .dac-header-search .dac-header-search-input { |
| 7366 | opacity: 1; |
| 7367 | } |
| 7368 | } |
| 7369 | |
| 7370 | .highlighted em { |
| 7371 | color: #333; |
| 7372 | font-style: normal; |
| 7373 | font-weight: 700; |
| 7374 | } |
| 7375 | |
| 7376 | .card-info .title.highlighted { |
| 7377 | color: #666; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7378 | } |
| 7379 | |
| 7380 | /* Main navigation component */ |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7381 | .dac-nav-sidebar { |
| 7382 | background: #f5f8fa; |
| 7383 | border-right: 1px solid rgba(0, 0, 0, 0.1); |
| 7384 | bottom: 0; |
| 7385 | left: 0; |
| 7386 | overflow: hidden; |
| 7387 | padding: 0; |
| 7388 | position: fixed; |
| 7389 | top: 64px; |
| 7390 | -webkit-transform: translate(-100%, 0); |
| 7391 | -ms-transform: translate(-100%, 0); |
| 7392 | transform: translate(-100%, 0); |
| 7393 | width: 250px; |
| 7394 | z-index: 60; |
| 7395 | } |
| 7396 | |
| 7397 | .dac-nav-animating .dac-nav-sidebar { |
| 7398 | -webkit-transition: -webkit-transform .3s; |
| 7399 | transition: transform .3s; |
| 7400 | } |
| 7401 | |
| 7402 | .dac-nav-open .dac-nav-sidebar { |
| 7403 | -webkit-transform: translate(0, 0); |
| 7404 | -ms-transform: translate(0, 0); |
| 7405 | transform: translate(0, 0); |
| 7406 | } |
| 7407 | |
| 7408 | .dac-search-mode .dac-nav-sidebar { |
| 7409 | -webkit-transition: -webkit-transform .3s; |
| 7410 | transition: transform .3s; |
| 7411 | -webkit-transform: translate(-100%, 0); |
| 7412 | -ms-transform: translate(-100%, 0); |
| 7413 | transform: translate(-100%, 0); |
| 7414 | } |
| 7415 | |
| 7416 | .dac-nav .dac-swap-section { |
| 7417 | -webkit-transition-duration: .3s; |
| 7418 | transition-duration: .3s; |
| 7419 | } |
| 7420 | |
| 7421 | .dac-nav-back { |
| 7422 | margin-top: -3px; |
| 7423 | margin-right: 10px; |
| 7424 | } |
| 7425 | |
| 7426 | .dac-nav-fullscreen { |
| 7427 | background: transparent; |
| 7428 | border: none; |
| 7429 | bottom: 100%; |
| 7430 | cursor: pointer; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7431 | display: none; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7432 | opacity: .8; |
| 7433 | outline: none; |
| 7434 | padding: 20px 15px; |
| 7435 | position: absolute; |
| 7436 | right: 0; |
| 7437 | } |
| 7438 | |
| 7439 | @media (min-width: 980px) { |
| 7440 | .dac-nav-fullscreen { |
| 7441 | display: inline-block; |
| 7442 | } |
| 7443 | } |
| 7444 | |
| 7445 | .dac-nav-fullscreen:hover { |
| 7446 | opacity: 1; |
| 7447 | } |
| 7448 | |
| 7449 | .dac-nav-sub-slider { |
| 7450 | cursor: pointer; |
| 7451 | opacity: .5; |
| 7452 | position: absolute; |
| 7453 | right: 7px; |
| 7454 | top: 5px; |
| 7455 | } |
| 7456 | |
| 7457 | .dac-nav-back-button { |
| 7458 | background: #546e7a; |
| 7459 | border-bottom: 1px solid rgba(0, 0, 0, 0.1); |
| 7460 | display: block; |
| 7461 | font-weight: 500; |
| 7462 | font-size: 18px; |
| 7463 | left: 0; |
| 7464 | margin: 0; |
| 7465 | padding: 20px; |
| 7466 | position: absolute !important; |
| 7467 | right: 0; |
| 7468 | top: 0; |
| 7469 | z-index: 1; |
| 7470 | } |
| 7471 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7472 | .dac-nav-back-button, |
| 7473 | .dac-nav-back-button:hover, |
| 7474 | .dac-nav-back-button:active, |
| 7475 | .dac-nav-back-button:focus { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7476 | color: rgba(255, 255, 255, 0.7); |
| 7477 | } |
| 7478 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7479 | /* The back button in Studio and NDK left nav */ |
| 7480 | .dac-nav-back-button.back-to-dev { |
| 7481 | background: none; |
| 7482 | color: #444; |
| 7483 | position: relative !important; |
| 7484 | top: -16px; |
| 7485 | } |
| 7486 | |
| 7487 | .dac-nav-back-button.back-to-dev:hover, |
| 7488 | .dac-nav-back-button.back-to-dev:active, |
| 7489 | .dac-nav-back-button.back-to-dev:focus { |
| 7490 | color: rgba(68, 68, 68, .7); |
| 7491 | } |
| 7492 | |
| 7493 | .dac-nav-back-button:focus .dac-nav-back { |
| 7494 | outline-color: rgb(77, 144, 254); |
| 7495 | outline-offset: 15px; |
| 7496 | outline-style: auto; |
| 7497 | } |
| 7498 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7499 | .dac-nav-back-button > .dac-sprite, .dac-nav-back-button > .dac-modal-header-close:before, .paging-links .dac-nav-back-button > .prev-page-link:before, .paging-links .dac-nav-back-button > .next-page-link:before, .paging-links .dac-nav-back-button > .next-class-link:before, .paging-links .dac-nav-back-button > .start-class-link:after { |
| 7500 | opacity: .7; |
| 7501 | } |
| 7502 | |
| 7503 | .dac-nav-logo { |
| 7504 | font-size: 20px; |
| 7505 | font-weight: 300; |
| 7506 | letter-spacing: .3px; |
| 7507 | line-height: 36px; |
| 7508 | margin: 0; |
| 7509 | padding: 14px 24px; |
| 7510 | } |
| 7511 | |
| 7512 | .dac-nav-logo, .dac-nav-logo:hover, .dac-nav-logo:focus { |
| 7513 | color: #444; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7514 | } |
| 7515 | |
| 7516 | .dac-nav-list { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7517 | bottom: 0; |
| 7518 | left: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7519 | list-style-type: none; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7520 | margin: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7521 | -webkit-overflow-scrolling: touch; |
| 7522 | overflow-y: scroll; |
| 7523 | padding: 16px 0; |
| 7524 | position: absolute !important; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7525 | right: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7526 | top: 0 !important; |
| 7527 | scrollbar-face-color: #b7baba; |
| 7528 | scrollbar-track-color: #e5e8e9; |
| 7529 | } |
| 7530 | |
| 7531 | .dac-nav-list::-webkit-scrollbar { |
| 7532 | width: 4px; |
| 7533 | height: 4px; |
| 7534 | } |
| 7535 | |
| 7536 | .dac-nav-list::-webkit-scrollbar-thumb { |
| 7537 | background: #b7baba; |
| 7538 | } |
| 7539 | |
| 7540 | .dac-nav-list::-webkit-scrollbar-track { |
| 7541 | background: #e5e8e9; |
| 7542 | } |
| 7543 | |
| 7544 | .dac-nav-secondary { |
| 7545 | margin: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7546 | } |
| 7547 | |
| 7548 | .dac-nav-item { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7549 | list-style-type: none; |
| 7550 | margin: 0 0 10px; |
| 7551 | position: relative; |
| 7552 | } |
| 7553 | |
| 7554 | .dac-nav-secondary .dac-nav-item { |
| 7555 | margin-bottom: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7556 | } |
| 7557 | |
| 7558 | .dac-nav-head { |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 7559 | display: block; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7560 | font-size: 16px; |
| 7561 | font-weight: 300; |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 7562 | letter-spacing: .24px; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7563 | line-height: 32px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7564 | margin-bottom: 20px; |
| 7565 | margin-top: 0; |
| 7566 | } |
| 7567 | |
| 7568 | .dac-nav-dimmer { |
| 7569 | background: #000; |
| 7570 | display: block; |
| 7571 | height: 100%; |
| 7572 | left: 0; |
| 7573 | opacity: 0; |
| 7574 | position: fixed; |
| 7575 | top: 0; |
| 7576 | -webkit-transform: translateZ(0); |
| 7577 | transform: translateZ(0); |
| 7578 | visibility: hidden; |
| 7579 | width: 100%; |
| 7580 | z-index: 60; |
| 7581 | } |
| 7582 | |
| 7583 | .dac-nav-animating .dac-nav-dimmer { |
| 7584 | -webkit-transition: visibility 0s linear .3s, opacity .3s linear; |
| 7585 | transition: visibility 0s linear .3s, opacity .3s linear; |
| 7586 | } |
| 7587 | |
| 7588 | .dac-nav-open .dac-nav-dimmer { |
| 7589 | opacity: .8; |
| 7590 | -webkit-transition-delay: 0s; |
| 7591 | transition-delay: 0s; |
| 7592 | visibility: visible; |
| 7593 | } |
| 7594 | |
| 7595 | @media (min-width: 980px) { |
| 7596 | .dac-nav-dimmer { |
| 7597 | display: none; |
| 7598 | } |
| 7599 | } |
| 7600 | |
| 7601 | .dac-nav-hamburger { |
| 7602 | display: inline-block; |
| 7603 | float: left; |
| 7604 | height: 15px; |
| 7605 | padding: 22px 20px; |
| 7606 | width: 18px; |
| 7607 | } |
| 7608 | |
| 7609 | @media (max-width: 719px) { |
| 7610 | .dac-nav-hamburger { |
| 7611 | border-right: 1px solid rgba(0, 0, 0, 0.1); |
| 7612 | left: 0; |
| 7613 | padding-bottom: 27px; |
| 7614 | position: absolute; |
| 7615 | top: 0; |
| 7616 | } |
| 7617 | } |
| 7618 | |
| 7619 | .dac-nav-hamburger-top, .dac-nav-hamburger-mid, .dac-nav-hamburger-bot { |
| 7620 | background: rgba(0, 0, 0, 0.4); |
| 7621 | display: block; |
| 7622 | height: 2px; |
| 7623 | margin: 3px 0 0; |
| 7624 | opacity: .5; |
| 7625 | width: 100%; |
| 7626 | } |
| 7627 | |
| 7628 | .dac-studio .dac-nav-hamburger-top, |
| 7629 | .dac-studio .dac-nav-hamburger-mid, |
| 7630 | .dac-studio .dac-nav-hamburger-bot { |
| 7631 | background: rgba(256, 256, 256, 0.4); |
| 7632 | } |
| 7633 | |
| 7634 | .dac-nav-animating .dac-nav-hamburger-top, .dac-nav-animating .dac-nav-hamburger-mid, .dac-nav-animating .dac-nav-hamburger-bot { |
| 7635 | -webkit-transition: opacity .3s; |
| 7636 | transition: opacity .3s; |
| 7637 | } |
| 7638 | |
| 7639 | @media (max-width: 719px) { |
| 7640 | .dac-nav-hamburger-top, .dac-nav-hamburger-mid, .dac-nav-hamburger-bot { |
| 7641 | background: #fff; |
| 7642 | opacity: 1; |
| 7643 | } |
| 7644 | } |
| 7645 | |
| 7646 | .dac-nav-open .dac-nav-hamburger-top, |
| 7647 | .dac-nav-open .dac-nav-hamburger-mid, |
| 7648 | .dac-nav-open .dac-nav-hamburger-bot { |
| 7649 | opacity: 1; |
| 7650 | } |
| 7651 | |
| 7652 | .dac-search-mode .dac-nav-hamburger { |
| 7653 | opacity: 0; |
| 7654 | visibility: hidden; |
| 7655 | -webkit-transition: visibility 0s linear 200ms, opacity 200ms linear; |
| 7656 | transition: visibility 0s linear 200ms, opacity 200ms linear; |
| 7657 | } |
| 7658 | |
| 7659 | .dac-nav-link { |
| 7660 | color: #444; |
| 7661 | display: block; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7662 | font-size: 14px; |
| 7663 | text-transform: uppercase; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7664 | font-weight: 500; |
| 7665 | letter-spacing: .24px; |
| 7666 | padding: 5px 20px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 7667 | -webkit-transition: background-color 0.35s cubic-bezier(0.35, 0, 0.25, 1); |
| 7668 | transition: background-color 0.35s cubic-bezier(0.35, 0, 0.25, 1); |
| 7669 | } |
| 7670 | |
| 7671 | .dac-nav-link:hover, .dac-nav-link:focus { |
| 7672 | color: rgba(68, 68, 68, 0.7); |
| 7673 | } |
| 7674 | |
| 7675 | .dac-nav-link:focus { |
| 7676 | background: rgba(63, 81, 181, 0.1); |
| 7677 | outline: 0; |
| 7678 | } |
| 7679 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7680 | .dac-nav-secondary .dac-nav-link { |
| 7681 | font-size: 12px; |
| 7682 | font-weight: 400; |
| 7683 | padding-left: 40px; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7684 | text-transform: none; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7685 | } |
| 7686 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7687 | .dac-nav-link.selected { |
| 7688 | background: rgba(63, 81, 181, 0.1); |
| 7689 | color: #039bef; |
| 7690 | position: relative; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7691 | } |
| 7692 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7693 | .dac-nav-link-forward { |
| 7694 | background: #546E7A; |
| 7695 | color: #fff; |
| 7696 | cursor: pointer; |
| 7697 | display: inline-block; |
| 7698 | line-height: 34px; |
| 7699 | padding: 0; |
| 7700 | position: absolute; |
| 7701 | right: 0; |
| 7702 | top: 0; |
| 7703 | text-align: center; |
| 7704 | width: 34px; |
| 7705 | } |
| 7706 | |
| 7707 | .dac-nav-link-forward > .dac-nav-forward { |
| 7708 | opacity: .7; |
| 7709 | vertical-align: -3px; |
| 7710 | } |
| 7711 | |
| 7712 | .dac-nav-sub { |
| 7713 | bottom: 0; |
| 7714 | left: 0; |
| 7715 | position: absolute !important; |
| 7716 | top: 65px !important; |
| 7717 | right: 0; |
| 7718 | z-index: 1; |
| 7719 | } |
| 7720 | |
| 7721 | #body-content { |
| 7722 | padding-top: 64px; |
| 7723 | } |
| 7724 | |
| 7725 | .dac-nav-animating #body-content { |
| 7726 | -webkit-transition: padding .3s; |
| 7727 | transition: padding .3s; |
| 7728 | } |
| 7729 | |
| 7730 | @media (min-width: 980px) { |
| 7731 | .dac-nav-open #body-content { |
| 7732 | padding-left: 250px; |
| 7733 | } |
| 7734 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7735 | /* Do not show nav toggle on large screens (when no subnav) */ |
| 7736 | body.no-subnav .dac-nav-toggle { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7737 | display:none; |
| 7738 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7739 | body.no-subnav .dac-header-logo { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7740 | padding-left:20px; |
| 7741 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7742 | /* ...If the page is also full-width, then don't show left nav at all */ |
| 7743 | body.no-subnav.full-width .dac-nav { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7744 | display: none; |
| 7745 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7746 | body.no-subnav.full-width #body-content { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7747 | padding-left:0; |
| 7748 | } |
| 7749 | } |
| 7750 | |
| 7751 | .dac-nav-open { |
| 7752 | overflow: hidden; |
| 7753 | } |
| 7754 | |
| 7755 | @media (min-width: 980px) { |
| 7756 | .dac-nav-open { |
| 7757 | overflow: visible; |
| 7758 | } |
| 7759 | } |
| 7760 | |
| 7761 | #devdoc-nav { |
| 7762 | height: 100%; |
| 7763 | } |
| 7764 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7765 | .data-reference-resources-wrapper { |
| 7766 | display: none; |
| 7767 | } |
| 7768 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7769 | .dac-reference-nav { |
| 7770 | height: calc(100% - 36px); |
| 7771 | overflow: hidden; |
| 7772 | position: relative; |
| 7773 | } |
| 7774 | |
| 7775 | .dac-reference-nav ul, |
| 7776 | .dac-reference-nav li { |
| 7777 | margin: 0; |
| 7778 | list-style-type: none; |
| 7779 | } |
| 7780 | |
| 7781 | .dac-reference-nav-list { |
| 7782 | bottom: 0; |
| 7783 | overflow: hidden; |
| 7784 | overflow-y: scroll; |
| 7785 | left: 0; |
| 7786 | padding: 10px; |
| 7787 | padding-left: 20px; |
| 7788 | position: absolute; |
| 7789 | right: 0; |
| 7790 | top: 0; |
| 7791 | scrollbar-face-color: #9da4a7; |
| 7792 | scrollbar-track-color: #c4cdd1; |
| 7793 | } |
| 7794 | |
| 7795 | .dac-reference-nav-list::-webkit-scrollbar { |
| 7796 | width: 4px; |
| 7797 | height: 4px; |
| 7798 | } |
| 7799 | |
| 7800 | .dac-reference-nav-list::-webkit-scrollbar-thumb { |
| 7801 | background: #9da4a7; |
| 7802 | } |
| 7803 | |
| 7804 | .dac-reference-nav-list::-webkit-scrollbar-track { |
| 7805 | background: #c4cdd1; |
| 7806 | } |
| 7807 | |
| 7808 | .dac-reference-nav-resources { |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7809 | display: none; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7810 | padding: 0 0 0 13px; |
| 7811 | } |
| 7812 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7813 | .dac-reference-nav-resource, |
| 7814 | .dac-reference-nav-toggle { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7815 | color: #505050; |
| 7816 | cursor: pointer; |
| 7817 | display: block; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7818 | font-size: 12px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7819 | line-height: 1; |
| 7820 | overflow: hidden; |
| 7821 | margin: 0; |
| 7822 | padding: 3px 0; |
| 7823 | position: relative; |
| 7824 | text-overflow: ellipsis; |
| 7825 | white-space: nowrap; |
| 7826 | } |
| 7827 | |
| 7828 | .dac-reference-nav-toggle { |
| 7829 | margin-left: -12px; |
| 7830 | padding-left: 12px; |
| 7831 | } |
| 7832 | |
| 7833 | .selected > .dac-reference-nav-resource { |
| 7834 | color: #039bef; |
| 7835 | font-weight: 600; |
| 7836 | } |
| 7837 | |
| 7838 | .dac-reference-nav-toggle::before { |
| 7839 | background: transparent url(../images/styles/disclosure_up.png) no-repeat center center; |
| 7840 | content: ''; |
| 7841 | display: block; |
| 7842 | height: 19px; |
| 7843 | left: 0; |
| 7844 | position: absolute; |
| 7845 | top: 0; |
| 7846 | width: 8px; |
| 7847 | } |
| 7848 | |
| 7849 | .dac-reference-nav-toggle.dac-closed::before { |
| 7850 | -webkit-transform: scaleY(-1); |
| 7851 | -ms-transform: scaleY(-1); |
| 7852 | transform: scaleY(-1); |
| 7853 | } |
| 7854 | |
| 7855 | /* nav */ |
| 7856 | #nav { |
| 7857 | background: #cfd8dc; |
| 7858 | bottom: 0; |
| 7859 | left: 0; |
| 7860 | margin: 0; |
| 7861 | -webkit-overflow-scrolling: touch; |
| 7862 | overflow-y: scroll; |
| 7863 | position: absolute !important; |
| 7864 | right: 0; |
| 7865 | top: 0 !important; |
| 7866 | padding: 10px; |
| 7867 | scrollbar-face-color: #9da4a7; |
| 7868 | scrollbar-track-color: #c4cdd1; |
| 7869 | /* section header links */ |
| 7870 | /* nested nav headers */ |
| 7871 | } |
| 7872 | |
| 7873 | #nav::-webkit-scrollbar { |
| 7874 | width: 4px; |
| 7875 | height: 4px; |
| 7876 | } |
| 7877 | |
| 7878 | #nav::-webkit-scrollbar-thumb { |
| 7879 | background: #9da4a7; |
| 7880 | } |
| 7881 | |
| 7882 | #nav::-webkit-scrollbar-track { |
| 7883 | background: #c4cdd1; |
| 7884 | } |
| 7885 | |
| 7886 | #nav li { |
| 7887 | font-size: 12px; |
| 7888 | line-height: 18px; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7889 | list-style-type: none; |
| 7890 | margin: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7891 | padding: 0; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 7892 | } |
| 7893 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7894 | #nav a { |
| 7895 | color: #505050; |
| 7896 | text-decoration: none; |
| 7897 | word-wrap: break-word; |
| 7898 | } |
| 7899 | |
| 7900 | #nav .nav-section-header { |
| 7901 | padding: 0 30px 0 0; |
| 7902 | position: relative; |
| 7903 | -webkit-transition: background-color .1s; |
| 7904 | transition: background-color .1s; |
| 7905 | } |
| 7906 | |
| 7907 | #nav .nav-section-header.empty { |
| 7908 | padding: 0; |
| 7909 | } |
| 7910 | |
| 7911 | #nav .nav-section-header.empty::after { |
| 7912 | display: none; |
| 7913 | } |
| 7914 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7915 | #nav .nav-section-header .toggle-icon { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7916 | background: transparent url(../images/styles/disclosure_down.png) no-repeat scroll 50% 50%; |
| 7917 | content: ''; |
| 7918 | height: 34px; |
| 7919 | display: block; |
| 7920 | position: absolute; |
| 7921 | right: 0; |
| 7922 | top: 1px; |
| 7923 | width: 34px; |
| 7924 | } |
| 7925 | |
| 7926 | #nav li.selected a { |
| 7927 | color: #0288D1; |
| 7928 | } |
| 7929 | |
| 7930 | #nav li.selected ul li a { |
| 7931 | color: #505050; |
| 7932 | } |
| 7933 | |
| 7934 | #nav li.expanded .nav-section-header { |
| 7935 | background: #bac2c6; |
| 7936 | } |
| 7937 | |
| 7938 | #nav li.expanded .nav-section-header.empty { |
| 7939 | background: none; |
| 7940 | } |
| 7941 | |
| 7942 | #nav li.expanded li .nav-section-header { |
| 7943 | background: none; |
| 7944 | } |
| 7945 | |
| 7946 | #nav li.expanded li ul { |
| 7947 | padding: 0 10px; |
| 7948 | } |
| 7949 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 7950 | #nav li.expanded > .nav-section-header .toggle-icon { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 7951 | content: ''; |
| 7952 | background: transparent url(../images/styles/disclosure_up.png) no-repeat scroll 50% 50%; |
| 7953 | width: 34px; |
| 7954 | height: 34px; |
| 7955 | } |
| 7956 | |
| 7957 | #nav li.expanded li ul.tree-list-children { |
| 7958 | padding: 0; |
| 7959 | } |
| 7960 | |
| 7961 | #nav li.expanded li ul.tree-list-children .tree-list-children { |
| 7962 | padding: 0 0 0 10px; |
| 7963 | } |
| 7964 | |
| 7965 | #nav .nav-section .nav-section .nav-section-header { |
| 7966 | /* no white line between second level sections */ |
| 7967 | margin-bottom: 0; |
| 7968 | } |
| 7969 | |
| 7970 | #nav > li > div > a { |
| 7971 | display: block; |
| 7972 | font-weight: 700; |
| 7973 | padding: 10px; |
| 7974 | } |
| 7975 | |
| 7976 | #nav .nav-section .nav-section { |
| 7977 | position: relative; |
| 7978 | padding: 0; |
| 7979 | margin: 0; |
| 7980 | } |
| 7981 | |
| 7982 | #nav .nav-section li a { |
| 7983 | /* first gen child (2nd level li) */ |
| 7984 | display: block; |
| 7985 | font-weight: 700; |
| 7986 | text-transform: none; |
| 7987 | padding: 10px; |
| 7988 | } |
| 7989 | |
| 7990 | #nav .nav-section li li a { |
| 7991 | /* second gen child (3rd level li) */ |
| 7992 | font-weight: 400; |
| 7993 | padding: 6px 6px 6px 10px; |
| 7994 | } |
| 7995 | |
| 7996 | #nav li span.tree-list-subtitle { |
| 7997 | display: inline-block; |
| 7998 | color: #555; |
| 7999 | font-size: 12px; |
| 8000 | padding: 10px; |
| 8001 | text-transform: uppercase; |
| 8002 | } |
| 8003 | |
| 8004 | #nav li span.tree-list-subtitle:before { |
| 8005 | content: '—'; |
| 8006 | } |
| 8007 | |
| 8008 | #nav li span.tree-list-subtitle:after { |
| 8009 | content: '—'; |
| 8010 | } |
| 8011 | |
| 8012 | #nav li span.tree-list-subtitle.package { |
| 8013 | padding-top: 15px; |
| 8014 | cursor: default; |
| 8015 | } |
| 8016 | |
| 8017 | #nav li span.tree-list-subtitle.package:before { |
| 8018 | content: ''; |
| 8019 | } |
| 8020 | |
| 8021 | #nav li span.tree-list-subtitle.package:after { |
| 8022 | content: ''; |
| 8023 | } |
| 8024 | |
| 8025 | #nav li ul.tree-list-children.classes { |
| 8026 | padding-left: 10px; |
| 8027 | } |
| 8028 | |
| 8029 | #nav li ul { |
| 8030 | display: none; |
| 8031 | overflow: hidden; |
| 8032 | margin: 0; |
| 8033 | } |
| 8034 | |
| 8035 | #nav li ul.animate-height-in { |
| 8036 | -webkit-transition: height 0.25s ease-in; |
| 8037 | transition: height 0.25s ease-in; |
| 8038 | } |
| 8039 | |
| 8040 | #nav li ul.animate-height-out { |
| 8041 | -webkit-transition: height 0.25s ease-out; |
| 8042 | transition: height 0.25s ease-out; |
| 8043 | } |
| 8044 | |
| 8045 | #nav li ul li { |
| 8046 | padding: 0; |
| 8047 | } |
| 8048 | |
| 8049 | #nav li li li { |
| 8050 | padding: 0; |
| 8051 | } |
| 8052 | |
| 8053 | #nav li ul > li { |
| 8054 | padding: 0; |
| 8055 | } |
| 8056 | |
| 8057 | #nav li ul > li:last-child { |
| 8058 | padding-bottom: 5px; |
| 8059 | } |
| 8060 | |
| 8061 | #nav li ul.tree-list-children > li:last-child { |
| 8062 | padding-bottom: 0; |
| 8063 | } |
| 8064 | |
| 8065 | #nav li.expanded ul > li { |
| 8066 | background: #c4cdd1; |
| 8067 | } |
| 8068 | |
| 8069 | #nav li.expanded ul > li li { |
| 8070 | background: inherit; |
| 8071 | } |
| 8072 | |
| 8073 | #nav li ul.tree-list-children ul { |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 8074 | display: block; |
| 8075 | } |
| 8076 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8077 | #nav.samples-nav li li li a { |
| 8078 | padding-top: 3px; |
| 8079 | padding-bottom: 3px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8080 | } |
| 8081 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8082 | #nav.samples-nav li li ul > li:last-child { |
| 8083 | padding-bottom: 3px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8084 | } |
| 8085 | |
| 8086 | /* Hero carousel */ |
| 8087 | .dac-hero { |
| 8088 | background-color: #fff; |
| 8089 | background-position: 50% 30%; |
| 8090 | background-size: cover; |
| 8091 | box-sizing: border-box; |
| 8092 | font-size: 16px; |
| 8093 | min-height: 550px; |
| 8094 | padding-top: 88px; |
| 8095 | } |
| 8096 | |
| 8097 | .dac-hero.dac-darken::before { |
| 8098 | background: rgba(0, 0, 0, 0.3); |
| 8099 | bottom: 0; |
| 8100 | content: ''; |
| 8101 | display: block; |
| 8102 | left: 0; |
| 8103 | position: absolute; |
| 8104 | right: 0; |
| 8105 | top: 0; |
| 8106 | } |
| 8107 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8108 | .dac-hero { |
| 8109 | background-size: cover; |
| 8110 | position: relative; |
| 8111 | } |
| 8112 | |
| 8113 | .dac-hero-headline { |
| 8114 | background-color: #fff; |
| 8115 | bottom: 25px; |
| 8116 | float: none !important; |
| 8117 | padding: 0 10px 10px; |
| 8118 | position: absolute; |
| 8119 | right: 0; |
| 8120 | z-index: 2; |
| 8121 | } |
| 8122 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8123 | @media (max-width: 719px) { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8124 | .dac-hero-headline { |
| 8125 | bottom: 0; |
| 8126 | } |
| 8127 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8128 | .dac-hero.dac-darken::before { |
| 8129 | background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9) 80%); |
| 8130 | background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9) 80%); |
| 8131 | } |
| 8132 | } |
| 8133 | |
| 8134 | .dac-hero.dac-darken .dac-hero-content { |
| 8135 | position: relative; |
| 8136 | } |
| 8137 | |
| 8138 | @media (max-width: 719px) { |
| 8139 | .dac-hero { |
| 8140 | padding-bottom: 20px; |
| 8141 | padding-top: 20px; |
| 8142 | } |
| 8143 | } |
| 8144 | |
| 8145 | .dac-hero-tag { |
| 8146 | font-size: 11px; |
| 8147 | font-weight: 700; |
| 8148 | letter-spacing: .07em; |
| 8149 | margin-bottom: 2px; |
| 8150 | text-transform: uppercase; |
| 8151 | } |
| 8152 | |
| 8153 | .dac-hero-title { |
| 8154 | margin: 0 0 14px; |
| 8155 | } |
| 8156 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8157 | .dac-studio .dac-hero-title { |
| 8158 | padding-top:0; |
| 8159 | } |
| 8160 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8161 | @media (max-width: 719px) { |
| 8162 | .dac-hero-title { |
| 8163 | font-size: 28px; |
| 8164 | line-height: 35px; |
| 8165 | } |
| 8166 | } |
| 8167 | |
| 8168 | .dac-hero-description { |
| 8169 | margin-bottom: 16px; |
| 8170 | } |
| 8171 | |
| 8172 | @media (max-width: 719px) { |
| 8173 | .dac-hero-description { |
| 8174 | font-size: 14px; |
| 8175 | } |
| 8176 | } |
| 8177 | |
| 8178 | .dac-hero-cta { |
| 8179 | display: inline-block; |
| 8180 | line-height: 40px; |
| 8181 | margin-right: 20px; |
| 8182 | -webkit-transition: opacity .3s; |
| 8183 | transition: opacity .3s; |
| 8184 | } |
| 8185 | |
| 8186 | .dac-hero-cta:hover { |
| 8187 | color: currentColor; |
| 8188 | opacity: .54; |
| 8189 | } |
| 8190 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8191 | .dac-hero-cta .dac-sprite, .dac-hero-cta .dac-modal-header-close:before, .dac-hero-cta .paging-links .prev-page-link:before, .paging-links .dac-hero-cta .prev-page-link:before, .dac-hero-cta .paging-links .next-page-link:before, .paging-links .dac-hero-cta .next-page-link:before, .dac-hero-cta .paging-links .next-class-link:before, .paging-links .dac-hero-cta .next-class-link:before, .dac-hero-cta .paging-links .start-class-link:after, .paging-links .dac-hero-cta .start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8192 | margin-left: -8px; |
| 8193 | } |
| 8194 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8195 | .dac-hero-cta.col-16 { |
| 8196 | line-height: 1.4em; |
| 8197 | margin-top: 20px; |
| 8198 | padding-left: 0; |
| 8199 | position: relative; |
| 8200 | } |
| 8201 | |
| 8202 | .dac-hero-cta.col-16 .dac-sprite { |
| 8203 | position: absolute; |
| 8204 | left: 0; |
| 8205 | top: -3px; |
| 8206 | } |
| 8207 | |
| 8208 | .dac-hero-cta.col-16 .dac-sprite-text { |
| 8209 | position: relative; |
| 8210 | left: 12px; |
| 8211 | } |
| 8212 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8213 | @media (max-width: 719px) { |
| 8214 | .dac-hero-cta { |
| 8215 | line-height: 28px; |
| 8216 | } |
| 8217 | } |
| 8218 | |
| 8219 | .dac-hero-figure { |
| 8220 | text-align: center; |
| 8221 | } |
| 8222 | |
Dirk Dougherty | c607a4d | 2016-01-28 08:32:47 -0800 | [diff] [blame] | 8223 | /* Android Studio download page */ |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8224 | .dac-studio section#features { |
Dirk Dougherty | c607a4d | 2016-01-28 08:32:47 -0800 | [diff] [blame] | 8225 | padding-top:0; |
| 8226 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8227 | .dac-studio .wrap.feature { |
Dirk Dougherty | c607a4d | 2016-01-28 08:32:47 -0800 | [diff] [blame] | 8228 | margin:80px auto; |
| 8229 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8230 | .dac-studio .dac-section-links.feature-more { |
Dirk Dougherty | c607a4d | 2016-01-28 08:32:47 -0800 | [diff] [blame] | 8231 | margin-top:-20px; |
| 8232 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8233 | .dac-studio .dac-toggle-content .wrap.feature { |
Dirk Dougherty | c607a4d | 2016-01-28 08:32:47 -0800 | [diff] [blame] | 8234 | margin-top:0; |
| 8235 | } |
| 8236 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8237 | @media (max-width: 719px) { |
| 8238 | .dac-hero-figure { |
| 8239 | height: 150px; |
| 8240 | margin: 15px 0; |
| 8241 | } |
| 8242 | |
| 8243 | .dac-hero-figure img { |
| 8244 | max-height: 150px; |
| 8245 | } |
Dirk Dougherty | c607a4d | 2016-01-28 08:32:47 -0800 | [diff] [blame] | 8246 | |
| 8247 | /* Android Studio download page */ |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8248 | .dac-studio .feature .dac-hero-figure, |
| 8249 | .dac-studio .feature .dac-hero-figure img { |
Dirk Dougherty | c607a4d | 2016-01-28 08:32:47 -0800 | [diff] [blame] | 8250 | height:auto; |
| 8251 | max-height:none; |
| 8252 | } |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 8253 | .dac-studio .feature .dac-hero-figure img { |
Dirk Dougherty | c607a4d | 2016-01-28 08:32:47 -0800 | [diff] [blame] | 8254 | width:90%; |
| 8255 | margin:0 auto; |
| 8256 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8257 | } |
| 8258 | |
| 8259 | .dac-hero-carousel { |
| 8260 | height: 550px; |
| 8261 | position: relative; |
| 8262 | } |
| 8263 | |
| 8264 | .dac-hero-carousel > .dac-hero { |
| 8265 | bottom: 0; |
| 8266 | left: 0; |
| 8267 | position: absolute; |
| 8268 | right: 0; |
| 8269 | top: 0; |
| 8270 | will-change: opacity; |
| 8271 | } |
| 8272 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8273 | .dac-hero-carousel > .dac-hero, |
| 8274 | .dac-hero-carousel > .dac-hero .wrap { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8275 | opacity: 0; |
| 8276 | } |
| 8277 | |
| 8278 | .dac-hero-carousel > .dac-hero.active { |
| 8279 | opacity: 1; |
| 8280 | -webkit-transition: opacity .5s; |
| 8281 | transition: opacity .5s; |
| 8282 | z-index: 1; |
| 8283 | } |
| 8284 | |
| 8285 | .dac-hero-carousel > .dac-hero.active .wrap { |
| 8286 | opacity: 1; |
| 8287 | -webkit-transition: opacity .5s .5s; |
| 8288 | transition: opacity .5s .5s; |
| 8289 | } |
| 8290 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8291 | .dac-hero-carousel > .dac-hero.out, |
| 8292 | .dac-hero-carousel > .dac-hero.out .wrap { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8293 | -webkit-transition: opacity 0s .5s; |
| 8294 | transition: opacity 0s .5s; |
| 8295 | opacity: 0; |
| 8296 | } |
| 8297 | |
| 8298 | .dac-hero-carousel-action { |
| 8299 | bottom: 0; |
| 8300 | display: block; |
| 8301 | left: 0; |
| 8302 | position: absolute; |
| 8303 | right: 0; |
| 8304 | top: 0; |
| 8305 | z-index: 1; |
| 8306 | } |
| 8307 | |
| 8308 | .dac-hero-carousel .dac-hero-cta { |
| 8309 | position: relative; |
| 8310 | z-index: 1; |
| 8311 | } |
| 8312 | |
| 8313 | .dac-hero-carousel-pagination { |
| 8314 | bottom: 33px; |
| 8315 | left: 0; |
| 8316 | position: absolute; |
| 8317 | right: 0; |
| 8318 | } |
| 8319 | |
| 8320 | @media (max-width: 719px) { |
| 8321 | .dac-hero-carousel-pagination { |
| 8322 | text-align: center; |
| 8323 | bottom: 20px; |
| 8324 | } |
| 8325 | } |
| 8326 | |
| 8327 | .dac-hero-carousel-pagination .dac-pagination-item { |
| 8328 | position: relative; |
| 8329 | z-index: 1; |
| 8330 | } |
| 8331 | |
| 8332 | .dac-pagination { |
| 8333 | list-style: none; |
| 8334 | margin: 0 -6px; |
| 8335 | } |
| 8336 | |
| 8337 | .dac-pagination-item { |
| 8338 | background-clip: content-box; |
| 8339 | background-color: rgba(153, 153, 153, 0.4); |
| 8340 | border-radius: 50%; |
| 8341 | cursor: pointer; |
| 8342 | display: inline-block; |
| 8343 | height: 14px; |
| 8344 | overflow: hidden; |
| 8345 | padding: 6px; |
| 8346 | pointer-events: all; |
| 8347 | text-indent: 100%; |
| 8348 | -webkit-transition: background-color .1s ease-in; |
| 8349 | transition: background-color .1s ease-in; |
| 8350 | white-space: nowrap; |
| 8351 | width: 14px; |
| 8352 | will-change: background-color; |
| 8353 | } |
| 8354 | |
| 8355 | .dac-pagination-item:hover { |
| 8356 | background-color: rgba(153, 153, 153, 0.6); |
| 8357 | } |
| 8358 | |
| 8359 | .dac-pagination-item.active, .dac-pagination-item.active:hover { |
| 8360 | background-color: #6ab344; |
| 8361 | } |
| 8362 | |
| 8363 | .dac-invert .dac-pagination-item { |
| 8364 | background-color: rgba(204, 204, 204, 0.2); |
| 8365 | } |
| 8366 | |
| 8367 | .dac-invert .dac-pagination-item:hover { |
| 8368 | background-color: rgba(153, 153, 153, 0.4); |
| 8369 | } |
| 8370 | |
| 8371 | @media (max-width: 719px) { |
| 8372 | .dac-pagination-item { |
| 8373 | height: 12px; |
| 8374 | width: 12px; |
| 8375 | } |
| 8376 | } |
| 8377 | |
| 8378 | /* Form component */ |
| 8379 | .dac-form { |
| 8380 | color: #505050; |
| 8381 | font-size: 16px; |
| 8382 | /* Modal Responsive */ |
| 8383 | } |
| 8384 | |
| 8385 | .dac-form a { |
| 8386 | color: #000; |
| 8387 | } |
| 8388 | |
| 8389 | .dac-form-aside { |
| 8390 | display: inline-block; |
| 8391 | font-size: 12px; |
| 8392 | margin-top: 0; |
| 8393 | } |
| 8394 | |
| 8395 | .dac-form-required { |
| 8396 | color: #ef4300; |
| 8397 | } |
| 8398 | |
| 8399 | .dac-form-fieldset { |
| 8400 | padding: 0; |
| 8401 | } |
| 8402 | |
| 8403 | .dac-form-legend { |
| 8404 | display: block; |
| 8405 | color: #333; |
| 8406 | font-weight: 500; |
| 8407 | margin: 20px 0 12px; |
| 8408 | padding: 0; |
| 8409 | width: 100%; |
| 8410 | } |
| 8411 | |
| 8412 | .dac-form-legend > .dac-form-required { |
| 8413 | float: right; |
| 8414 | margin-top: 3px; |
| 8415 | } |
| 8416 | |
| 8417 | .dac-form-input { |
| 8418 | border: 0 solid #e3e3e3; |
| 8419 | border-bottom-width: 1px; |
| 8420 | display: block; |
| 8421 | outline: 0; |
| 8422 | padding: 1px 0 8px; |
| 8423 | -webkit-transition: border-color .2s; |
| 8424 | transition: border-color .2s; |
| 8425 | width: 100%; |
| 8426 | } |
| 8427 | |
| 8428 | .dac-form-input-group { |
| 8429 | position: relative; |
| 8430 | } |
| 8431 | |
| 8432 | .dac-form-input-group > .dac-form-required { |
| 8433 | display: block; |
| 8434 | bottom: 3px; |
| 8435 | position: absolute; |
| 8436 | right: 0; |
| 8437 | } |
| 8438 | |
| 8439 | .dac-form-input:focus { |
| 8440 | border-bottom-color: #09f; |
| 8441 | } |
| 8442 | |
| 8443 | .dac-form-floatlabel { |
| 8444 | display: block; |
| 8445 | cursor: text; |
| 8446 | margin-top: 5px; |
| 8447 | pointer-events: none; |
| 8448 | -webkit-transform-origin: 0 100%; |
| 8449 | -ms-transform-origin: 0 100%; |
| 8450 | transform-origin: 0 100%; |
| 8451 | -webkit-transform: translate3d(0, 22px, 0) scale(1); |
| 8452 | transform: translate3d(0, 22px, 0) scale(1); |
| 8453 | -webkit-transition: -webkit-transform .2s; |
| 8454 | transition: transform .2s; |
| 8455 | } |
| 8456 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8457 | .dac-focused > .dac-form-floatlabel, |
| 8458 | .dac-has-value > .dac-form-floatlabel { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8459 | cursor: default; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8460 | -webkit-transform: translate3d(0, 0, 0) scale(0.75); |
| 8461 | transform: translate3d(0, 0, 0) scale(0.75); |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8462 | } |
| 8463 | |
| 8464 | .dac-form-radio, .dac-form-checkbox { |
| 8465 | opacity: 0; |
| 8466 | position: absolute; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8467 | visibility: hidden; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8468 | } |
| 8469 | |
| 8470 | .dac-form-radio-group, .dac-form-checkbox-group { |
| 8471 | display: table; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8472 | } |
| 8473 | |
| 8474 | .dac-form-radio-group + .dac-form-radio-group, .dac-form-checkbox-group + .dac-form-radio-group, .dac-form-radio-group + .dac-form-checkbox-group, .dac-form-checkbox-group + .dac-form-checkbox-group { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8475 | margin-top: 10px; |
| 8476 | } |
| 8477 | |
| 8478 | .dac-form-radio-button, .dac-form-checkbox-button { |
| 8479 | box-sizing: border-box; |
| 8480 | cursor: pointer; |
| 8481 | display: table-cell; |
| 8482 | float: left; |
| 8483 | height: 18px; |
| 8484 | margin: 2px 10px 0 0; |
| 8485 | position: relative; |
| 8486 | width: 18px; |
| 8487 | } |
| 8488 | |
| 8489 | .dac-form-radio-button::after, .dac-form-radio-button::before, .dac-form-checkbox-button::after, .dac-form-checkbox-button::before { |
| 8490 | box-sizing: border-box; |
| 8491 | content: ''; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 8492 | display: block; |
Amanda Kassay | 4d5bcbf | 2016-05-13 12:24:39 -0400 | [diff] [blame] | 8493 | position: absolute; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8494 | } |
| 8495 | |
| 8496 | .dac-form-radio-button::after, .dac-form-radio-button::before { |
| 8497 | border-radius: 50%; |
| 8498 | height: 100%; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8499 | width: 100%; |
| 8500 | } |
| 8501 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8502 | .dac-form-radio-button::before { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8503 | background: rgba(0, 0, 0, 0.7); |
| 8504 | -webkit-transform: translateZ(0) scale(0); |
| 8505 | transform: translateZ(0) scale(0); |
| 8506 | -webkit-transition: -webkit-transform .3s; |
| 8507 | transition: transform .3s; |
| 8508 | } |
| 8509 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8510 | .dac-form-radio-button::after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8511 | border: 2px solid rgba(0, 0, 0, 0.7); |
| 8512 | } |
| 8513 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8514 | .dac-form-radio:checked + .dac-form-radio-button::before { |
| 8515 | -webkit-transform: translateZ(0) scale(0.5); |
| 8516 | transform: translateZ(0) scale(0.5); |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8517 | } |
| 8518 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8519 | .dac-form-radio:focus + .dac-form-radio-button::after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8520 | border: 2px solid #09f; |
| 8521 | } |
| 8522 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8523 | .dac-form-checkbox-button::before { |
| 8524 | border: 1px solid #6c6e6f; |
| 8525 | border-radius: 3px; |
| 8526 | height: 100%; |
| 8527 | -webkit-transition: background .1s ease-out, box-shadow .3s ease-out; |
| 8528 | transition: background .1s ease-out, box-shadow .3s ease-out; |
| 8529 | width: 100%; |
| 8530 | } |
| 8531 | |
| 8532 | .dac-form-checkbox-button::after { |
| 8533 | border-bottom: 2px solid #fff; |
| 8534 | border-left: 2px solid #fff; |
| 8535 | bottom: 7px; |
| 8536 | height: 7px; |
| 8537 | left: 3px; |
| 8538 | -webkit-transform: rotate(-45deg); |
| 8539 | -ms-transform: rotate(-45deg); |
| 8540 | transform: rotate(-45deg); |
| 8541 | width: 12px; |
| 8542 | } |
| 8543 | |
| 8544 | .dac-form-checkbox:checked + .dac-form-checkbox-button::before { |
| 8545 | background: #6c6e6f; |
| 8546 | -webkit-transition-timing-function: ease-in; |
| 8547 | transition-timing-function: ease-in; |
| 8548 | } |
| 8549 | |
| 8550 | .dac-form-checkbox:focus + .dac-form-checkbox-button::before, |
| 8551 | .dac-form-checkbox:active + .dac-form-checkbox-button::before { |
| 8552 | box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05); |
| 8553 | } |
| 8554 | |
| 8555 | .dac-form-label { |
| 8556 | cursor: pointer; |
| 8557 | -webkit-user-select: none; |
| 8558 | -moz-user-select: none; |
| 8559 | -ms-user-select: none; |
| 8560 | user-select: none; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8561 | } |
| 8562 | |
| 8563 | @media (max-width: 719px) { |
| 8564 | .dac-form-legend { |
| 8565 | margin-bottom: 0; |
| 8566 | } |
| 8567 | } |
| 8568 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8569 | /* Filter Resources Component*/ |
| 8570 | .dac-filter { |
| 8571 | color: #505050; |
| 8572 | margin-bottom: 20px; |
| 8573 | position: relative; |
| 8574 | } |
| 8575 | |
| 8576 | .dac-filter.dac-filter-section { |
| 8577 | margin-top: -45px; |
| 8578 | text-align: right; |
| 8579 | } |
| 8580 | |
| 8581 | @media (max-width: 719px) { |
| 8582 | .dac-filter.dac-filter-section { |
| 8583 | margin-top: 0; |
| 8584 | text-align: left; |
| 8585 | } |
| 8586 | } |
| 8587 | |
| 8588 | .dac-filter-title { |
| 8589 | color: #666; |
| 8590 | cursor: default; |
| 8591 | display: inline-block; |
| 8592 | font-size: 12px; |
| 8593 | font-weight: 500; |
| 8594 | line-height: 24px; |
| 8595 | margin: 0; |
| 8596 | text-transform: uppercase; |
| 8597 | } |
| 8598 | |
| 8599 | @media (max-width: 719px) { |
| 8600 | .dac-filter-title { |
| 8601 | margin-bottom: 20px; |
| 8602 | } |
| 8603 | } |
| 8604 | |
| 8605 | .dac-filter-message { |
| 8606 | color: #78868d; |
| 8607 | font-size: 18px; |
| 8608 | margin: 0 10px 10px; |
| 8609 | } |
| 8610 | |
| 8611 | .dac-filter-count { |
| 8612 | background: #6ab344; |
| 8613 | border-radius: 50%; |
| 8614 | color: #fff; |
| 8615 | display: inline-block; |
| 8616 | font-size: 12px; |
| 8617 | font-weight: 600; |
| 8618 | height: 24px; |
| 8619 | text-align: center; |
| 8620 | width: 24px; |
| 8621 | } |
| 8622 | |
| 8623 | .dac-filter-count.dac-disabled { |
| 8624 | visibility: hidden; |
| 8625 | } |
| 8626 | |
| 8627 | .dac-filter-chip { |
| 8628 | background: #bfc7cb; |
| 8629 | border-radius: 15px; |
| 8630 | color: #333; |
| 8631 | cursor: default; |
| 8632 | display: inline-block; |
| 8633 | line-height: 21px; |
| 8634 | margin: 0 10px 10px 0; |
| 8635 | padding: 4px 26px 4px 10px; |
| 8636 | position: relative; |
| 8637 | } |
| 8638 | |
| 8639 | .dac-filter-chip-close { |
| 8640 | background-color: transparent; |
| 8641 | border: none; |
| 8642 | cursor: pointer; |
| 8643 | outline: 0; |
| 8644 | padding: 3px; |
| 8645 | position: absolute; |
| 8646 | right: 5px; |
| 8647 | top: 5px; |
| 8648 | } |
| 8649 | |
| 8650 | .dac-filter-chip-close-icon { |
| 8651 | opacity: .7; |
| 8652 | margin-top: -2px; |
| 8653 | -webkit-transform: scale(0.57142857); |
| 8654 | -ms-transform: scale(0.57142857); |
| 8655 | transform: scale(0.57142857); |
| 8656 | } |
| 8657 | |
| 8658 | .dac-filter-chip-close:hover > .dac-filter-chip-close-icon { |
| 8659 | opacity: 1; |
| 8660 | } |
| 8661 | |
| 8662 | .dac-filter-chips { |
| 8663 | border-top: 1px solid rgba(0, 0, 0, 0.1); |
| 8664 | margin: 0; |
| 8665 | list-style-type: none; |
| 8666 | padding: 10px 0 0; |
| 8667 | position: relative; |
| 8668 | text-align: left; |
| 8669 | } |
| 8670 | |
| 8671 | .dac-filter-item { |
| 8672 | box-sizing: border-box; |
| 8673 | float: left; |
| 8674 | margin-bottom: 20px; |
| 8675 | padding: 0 10px; |
| 8676 | width: 33.33333333%; |
| 8677 | } |
| 8678 | |
| 8679 | @media (min-width: 720px) and (max-width: 979px) { |
| 8680 | .dac-filter-item { |
| 8681 | width: 50%; |
| 8682 | } |
| 8683 | } |
| 8684 | |
| 8685 | @media (max-width: 719px) { |
| 8686 | .dac-filter-item { |
| 8687 | width: 100%; |
| 8688 | } |
| 8689 | } |
| 8690 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8691 | /* Media component */ |
| 8692 | .dac-media { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8693 | display: table; |
| 8694 | width: 100%; |
| 8695 | } |
| 8696 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8697 | .dac-media-body, .dac-media-figure { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8698 | display: table-cell; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8699 | vertical-align: top; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8700 | } |
| 8701 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8702 | .dac-media-figure { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8703 | padding: 0; |
| 8704 | } |
| 8705 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8706 | .dac-media-body { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8707 | width: 100%; |
| 8708 | } |
| 8709 | |
| 8710 | .dac-swap { |
| 8711 | overflow: hidden; |
| 8712 | position: relative; |
| 8713 | } |
| 8714 | |
| 8715 | .dac-swap-section { |
| 8716 | left: 0; |
| 8717 | opacity: 0; |
| 8718 | position: absolute; |
| 8719 | top: 0; |
| 8720 | width: 100%; |
| 8721 | -webkit-transition: opacity 1s, -webkit-transform .5s; |
| 8722 | transition: opacity 1s, transform .5s; |
| 8723 | } |
| 8724 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8725 | .dac-swap-section.dac-no-anim { |
| 8726 | -webkit-transition: none; |
| 8727 | transition: none; |
| 8728 | } |
| 8729 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8730 | .dac-swap-section.dac-up { |
| 8731 | -webkit-transform: translateY(-100%); |
| 8732 | -ms-transform: translateY(-100%); |
| 8733 | transform: translateY(-100%); |
| 8734 | } |
| 8735 | |
| 8736 | .dac-swap-section.dac-down { |
| 8737 | -webkit-transform: translateY(100%); |
| 8738 | -ms-transform: translateY(100%); |
| 8739 | transform: translateY(100%); |
| 8740 | } |
| 8741 | |
| 8742 | .dac-swap-section.dac-left { |
| 8743 | -webkit-transform: translateX(-100%); |
| 8744 | -ms-transform: translateX(-100%); |
| 8745 | transform: translateX(-100%); |
| 8746 | } |
| 8747 | |
| 8748 | .dac-swap-section.dac-right { |
| 8749 | -webkit-transform: translateX(100%); |
| 8750 | -ms-transform: translateX(100%); |
| 8751 | transform: translateX(100%); |
| 8752 | } |
| 8753 | |
| 8754 | .dac-swap-section.dac-active { |
| 8755 | opacity: 1; |
| 8756 | position: relative; |
| 8757 | -webkit-transform: translate(0, 0); |
| 8758 | -ms-transform: translate(0, 0); |
| 8759 | transform: translate(0, 0); |
| 8760 | width: auto; |
| 8761 | } |
| 8762 | |
| 8763 | /* Modal component */ |
| 8764 | .dac-modal { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8765 | opacity: 0; |
| 8766 | visibility: hidden; |
| 8767 | -webkit-transition: visibility 0s linear 300ms, opacity 300ms linear; |
| 8768 | transition: visibility 0s linear 300ms, opacity 300ms linear; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8769 | background: rgba(0, 0, 0, 0.8); |
| 8770 | bottom: 0; |
| 8771 | left: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8772 | overflow-x: hidden; |
| 8773 | overflow-y: auto; |
| 8774 | position: fixed; |
| 8775 | right: 0; |
| 8776 | top: 0; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8777 | z-index: 70; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8778 | } |
| 8779 | |
| 8780 | .dac-modal.dac-active { |
| 8781 | opacity: 1; |
| 8782 | -webkit-transition-delay: 0s; |
| 8783 | transition-delay: 0s; |
| 8784 | visibility: visible; |
| 8785 | } |
| 8786 | |
| 8787 | .dac-modal-open { |
| 8788 | overflow: hidden; |
| 8789 | } |
| 8790 | |
| 8791 | .dac-modal-container { |
| 8792 | -webkit-box-align: center; |
| 8793 | -webkit-align-items: center; |
| 8794 | -ms-flex-align: center; |
| 8795 | align-items: center; |
| 8796 | display: -webkit-box; |
| 8797 | display: -webkit-flex; |
| 8798 | display: -ms-flexbox; |
| 8799 | display: flex; |
| 8800 | -webkit-filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4)); |
| 8801 | filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4)); |
| 8802 | -webkit-box-pack: center; |
| 8803 | -webkit-justify-content: center; |
| 8804 | -ms-flex-pack: center; |
| 8805 | justify-content: center; |
| 8806 | min-height: 100%; |
| 8807 | width: 100%; |
| 8808 | } |
| 8809 | |
| 8810 | .dac-modal-window { |
| 8811 | background: #fff; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8812 | box-sizing: border-box; |
| 8813 | margin: 20px auto; |
| 8814 | -webkit-transition: -webkit-transform .3s; |
| 8815 | transition: transform .3s; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8816 | -webkit-transform: translate3d(0, -30px, 0); |
| 8817 | transform: translate3d(0, -30px, 0); |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8818 | width: 960px; |
| 8819 | } |
| 8820 | |
| 8821 | .dac-modal.dac-active .dac-modal-window { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8822 | -webkit-transform: translate3d(0, 0, 0); |
| 8823 | transform: translate3d(0, 0, 0); |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8824 | } |
| 8825 | |
| 8826 | .dac-modal-header { |
| 8827 | background: #00695c; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8828 | padding: 35px 35px 30px; |
| 8829 | position: relative; |
| 8830 | } |
| 8831 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8832 | .dac-has-small-header .dac-modal-header { |
| 8833 | padding: 10px 20px; |
| 8834 | } |
| 8835 | |
| 8836 | .dac-modal-header-actions { |
| 8837 | padding: 8px; |
| 8838 | position: absolute; |
| 8839 | right: 5px; |
| 8840 | top: 5px; |
| 8841 | } |
| 8842 | |
| 8843 | .dac-modal-header-open, .dac-modal-header-close { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8844 | background: none; |
| 8845 | border: none; |
| 8846 | cursor: pointer; |
| 8847 | line-height: 0; |
| 8848 | outline: 0; |
| 8849 | opacity: .7; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8850 | -webkit-transition: background-color .3s; |
| 8851 | transition: background-color .3s; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8852 | } |
| 8853 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8854 | .dac-modal-header-open:active, .dac-modal-header-close:active { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8855 | background: rgba(255, 255, 255, 0.2); |
| 8856 | } |
| 8857 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8858 | .dac-modal-header-close:before { |
| 8859 | content: ''; |
| 8860 | top: -1px; |
| 8861 | position: relative; |
| 8862 | } |
| 8863 | |
| 8864 | .dac-modal-header-open { |
| 8865 | margin: 10px; |
| 8866 | } |
| 8867 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8868 | .dac-modal-header-title { |
| 8869 | color: #fff; |
| 8870 | font-size: 24px; |
| 8871 | font-weight: 300; |
| 8872 | line-height: 32px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8873 | padding: 0 150px 0 0; |
| 8874 | } |
| 8875 | |
| 8876 | .dac-has-small-header .dac-modal-header-title { |
| 8877 | font-size: 16px; |
| 8878 | font-weight: 500; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8879 | } |
| 8880 | |
| 8881 | .dac-modal-header-subtitle { |
| 8882 | bottom: 0; |
| 8883 | color: #fff; |
| 8884 | display: inline-block; |
| 8885 | font: inherit; |
| 8886 | font-size: 14px; |
| 8887 | margin: 0; |
| 8888 | opacity: .8; |
| 8889 | position: absolute; |
| 8890 | right: 0; |
| 8891 | } |
| 8892 | |
| 8893 | .dac-modal-content { |
| 8894 | padding: 12px 35px; |
| 8895 | } |
| 8896 | |
| 8897 | .dac-modal-action { |
| 8898 | margin: 0; |
| 8899 | } |
| 8900 | |
| 8901 | .dac-modal-footer { |
| 8902 | padding: 24px 35px; |
| 8903 | } |
| 8904 | |
| 8905 | @media (max-width: 1000px) { |
| 8906 | .dac-modal-window { |
| 8907 | margin: 20px; |
| 8908 | width: auto; |
| 8909 | } |
| 8910 | |
| 8911 | .dac-modal-container { |
| 8912 | z-index: auto; |
| 8913 | } |
| 8914 | } |
| 8915 | |
| 8916 | @media (max-width: 719px) { |
| 8917 | .dac-modal-window { |
| 8918 | margin: 10px; |
| 8919 | } |
| 8920 | |
| 8921 | .dac-modal-header { |
| 8922 | padding: 35px 10px 10px; |
| 8923 | } |
| 8924 | |
| 8925 | .dac-modal-header-title { |
| 8926 | font-size: 16px; |
| 8927 | line-height: 24px; |
| 8928 | padding: 0; |
| 8929 | } |
| 8930 | |
| 8931 | .dac-modal-header-subtitle { |
| 8932 | display: block; |
| 8933 | margin: 0; |
| 8934 | position: static; |
| 8935 | text-align: right; |
| 8936 | } |
| 8937 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8938 | .dac-modal-header-actions { |
| 8939 | top: 1px; |
| 8940 | } |
| 8941 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 8942 | .dac-modal-content { |
| 8943 | padding: 10px; |
| 8944 | } |
| 8945 | |
| 8946 | .dac-modal-footer { |
| 8947 | border-top: 1px solid #e3e3e3; |
| 8948 | padding: 35px 10px; |
| 8949 | } |
| 8950 | } |
| 8951 | |
| 8952 | .newsletter .dac-modal-footer { |
| 8953 | padding-top: 0; |
| 8954 | text-align: right; |
| 8955 | } |
| 8956 | |
| 8957 | .newsletter-checkboxes { |
| 8958 | padding-top: 20px; |
| 8959 | } |
| 8960 | |
| 8961 | .newsletter-success-message { |
| 8962 | font-size: 32px; |
| 8963 | line-height: 1.4; |
| 8964 | padding: 40px 30px; |
| 8965 | text-align: center; |
| 8966 | } |
| 8967 | |
| 8968 | @media (max-width: 719px) { |
| 8969 | .newsletter-success-message { |
| 8970 | font-size: 16px; |
| 8971 | padding: 12px 0 0; |
| 8972 | } |
| 8973 | } |
| 8974 | |
| 8975 | @media (min-width: 720px) { |
| 8976 | .newsletter-checkboxes { |
| 8977 | padding-top: 46px; |
| 8978 | } |
| 8979 | |
| 8980 | .newsletter-leftCol { |
| 8981 | padding-right: 40px; |
| 8982 | } |
| 8983 | |
| 8984 | .newsletter-rightCol { |
| 8985 | padding-left: 40px; |
| 8986 | } |
| 8987 | } |
| 8988 | |
| 8989 | @media (max-width: 719px) { |
| 8990 | .newsletter .dac-modal-footer { |
| 8991 | margin-top: 30px; |
| 8992 | padding: 30px 10px; |
| 8993 | text-align: center; |
| 8994 | } |
| 8995 | } |
| 8996 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 8997 | .dac-blog-reader { |
| 8998 | padding: 50px 90px; |
| 8999 | } |
| 9000 | |
| 9001 | .dac-blog-reader-title { |
| 9002 | color: #333; |
| 9003 | font-size: 45px; |
| 9004 | font-weight: 300; |
| 9005 | line-height: 1.2; |
| 9006 | padding: 10px 0; |
| 9007 | } |
| 9008 | |
| 9009 | .dac-blog-reader-date { |
| 9010 | color: #b8b8b8; |
| 9011 | font-size: 12px; |
| 9012 | font-weight: 600; |
| 9013 | line-height: 1; |
| 9014 | text-transform: uppercase; |
| 9015 | } |
| 9016 | |
| 9017 | .dac-blog-reader-text > p:first-child i { |
| 9018 | display: inline-block; |
| 9019 | margin-bottom: 40px; |
| 9020 | } |
| 9021 | |
| 9022 | .dac-blog-reader-text li { |
| 9023 | margin-bottom: 0; |
| 9024 | } |
| 9025 | |
| 9026 | .dac-blog-reader-text iframe { |
| 9027 | margin-left: auto !important; |
| 9028 | margin-right: auto !important; |
| 9029 | max-width: 100%; |
| 9030 | } |
| 9031 | |
| 9032 | @media (max-width: 719px) { |
| 9033 | .dac-blog-reader { |
| 9034 | padding: 30px 20px; |
| 9035 | } |
| 9036 | } |
| 9037 | |
| 9038 | .dac-custom-search { |
| 9039 | background: #fff; |
| 9040 | margin: 0 -10px; |
| 9041 | padding: 20px 10px; |
| 9042 | z-index: 1; |
| 9043 | } |
| 9044 | |
| 9045 | .dac-custom-search .dac-fab, .dac-custom-search .dac-button-social { |
| 9046 | top: -48px; |
| 9047 | } |
| 9048 | |
| 9049 | .dac-custom-search-section-title { |
| 9050 | color: #505050; |
| 9051 | } |
| 9052 | |
| 9053 | .dac-custom-search-entry { |
| 9054 | margin-bottom: 36px; |
| 9055 | margin-top: 24px; |
| 9056 | margin-left:10px; |
| 9057 | } |
| 9058 | |
| 9059 | .dac-custom-search-entry.cols:after { |
| 9060 | clear: none; } |
| 9061 | |
| 9062 | .dac-custom-search-image-wrapper { |
| 9063 | float: left; |
| 9064 | position: relative; |
| 9065 | } |
| 9066 | |
| 9067 | .dac-custom-search-image { |
| 9068 | background-size: cover; |
| 9069 | height: 112px; |
| 9070 | width:150px; |
| 9071 | margin-right:15px; |
| 9072 | } |
| 9073 | |
| 9074 | .dac-custom-search-text-wrapper { |
| 9075 | position: relative; |
| 9076 | } |
| 9077 | |
| 9078 | .dac-custom-search-title { |
| 9079 | color: #333; |
| 9080 | font-size: 14px; |
| 9081 | font-weight: 700; |
| 9082 | line-height: 24px; |
| 9083 | padding: 0; |
| 9084 | clear:none; |
| 9085 | } |
| 9086 | |
| 9087 | .dac-custom-search-title a { |
| 9088 | color: inherit; |
| 9089 | } |
| 9090 | |
| 9091 | .dac-custom-search-section { |
| 9092 | color: #999; |
| 9093 | font-size: 16px; |
| 9094 | font-variant: small-caps; |
| 9095 | font-weight: 700; |
| 9096 | margin: -5px 0 0 0; |
| 9097 | } |
| 9098 | |
| 9099 | .dac-custom-search-snippet { |
| 9100 | color: #666; |
| 9101 | margin: 0; |
| 9102 | } |
| 9103 | |
| 9104 | .dac-custom-search-link { |
| 9105 | font-weight: 500; |
| 9106 | word-wrap: break-word; |
| 9107 | width: 100%; |
| 9108 | } |
| 9109 | |
| 9110 | .dac-custom-search-load-more { |
| 9111 | background: none; |
| 9112 | border: none; |
| 9113 | color: #333; |
| 9114 | cursor: pointer; |
| 9115 | display: block; |
| 9116 | font-size: 14px; |
| 9117 | font-weight: 700; |
| 9118 | margin: 75px auto; |
| 9119 | outline: none; |
| 9120 | padding: 10px; |
| 9121 | } |
| 9122 | |
| 9123 | .dac-custom-search-load-more:hover { |
| 9124 | opacity: 0.7; |
| 9125 | } |
| 9126 | |
| 9127 | .dac-custom-search-no-results { |
| 9128 | color: #999; |
| 9129 | } |
| 9130 | |
| 9131 | .dac-search-hero { |
| 9132 | font-size: 16px; |
| 9133 | padding: 50px 0 14px 0; |
| 9134 | } |
| 9135 | |
| 9136 | .dac-search-results { |
| 9137 | opacity: 0; |
| 9138 | visibility: hidden; |
| 9139 | -webkit-transition: visibility 0s linear 300ms, opacity 300ms linear; |
| 9140 | transition: visibility 0s linear 300ms, opacity 300ms linear; |
| 9141 | background-color: #fff; |
| 9142 | bottom: 0; |
| 9143 | left: 0; |
| 9144 | overflow-y: auto; |
| 9145 | padding: 0 10px; |
| 9146 | position: fixed; |
| 9147 | right: 0; |
| 9148 | -webkit-transition: opacity 100ms; |
| 9149 | transition: opacity 100ms; |
| 9150 | top: 64px; |
| 9151 | z-index: 50; |
| 9152 | } |
| 9153 | |
| 9154 | .dac-nav-animating .dac-search-results { |
| 9155 | -webkit-transition: opacity 100ms, padding .3s; |
| 9156 | transition: opacity 100ms, padding .3s; |
| 9157 | } |
| 9158 | |
| 9159 | .dac-search-results * { |
| 9160 | box-sizing: border-box; |
| 9161 | } |
| 9162 | |
| 9163 | .dac-search-open .dac-search-results { |
| 9164 | opacity: 1; |
| 9165 | visibility: visible; |
| 9166 | } |
| 9167 | |
| 9168 | .dac-search-results-content { |
| 9169 | background: #eceff1; |
| 9170 | margin: 0 -10px; |
| 9171 | padding: 0 10px; |
| 9172 | } |
| 9173 | |
| 9174 | .dac-search-results-for { |
| 9175 | margin-bottom: -5px; |
| 9176 | overflow: hidden; |
| 9177 | padding-top: 5px; |
| 9178 | } |
| 9179 | |
| 9180 | .dac-search-results-for span { |
| 9181 | color: #039bef; |
| 9182 | } |
| 9183 | |
| 9184 | .dac-search-mode .dac-search-results-for { |
| 9185 | display: none; |
| 9186 | } |
| 9187 | |
| 9188 | .dac-search-results-history { |
| 9189 | background: #eceff1; |
| 9190 | min-height: 100%; |
| 9191 | margin: 0 -10px; |
| 9192 | padding: 0 10px; |
| 9193 | } |
| 9194 | |
| 9195 | .dac-search-results-hero { |
| 9196 | padding-top: 20px; |
| 9197 | } |
| 9198 | |
| 9199 | .dac-search-results-metadata { |
| 9200 | padding-bottom: 40px; |
| 9201 | } |
| 9202 | |
| 9203 | #dac-search-results-reference { |
| 9204 | float:right; |
| 9205 | z-index:999; |
| 9206 | } |
| 9207 | |
| 9208 | @media (max-width: 719px) { |
| 9209 | #dac-search-results-reference { |
| 9210 | float:none; |
| 9211 | } |
| 9212 | } |
| 9213 | |
| 9214 | .dac-search-results-reference { |
| 9215 | background: white; |
| 9216 | box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.21); |
| 9217 | margin: 0 0 20px 0; |
| 9218 | overflow: hidden; |
| 9219 | padding: 6px 0 4px; |
| 9220 | } |
| 9221 | |
| 9222 | .dac-search-results-reference .namespace { |
| 9223 | color: #666; |
| 9224 | } |
| 9225 | |
| 9226 | .dac-search-results-reference.is-expanded { |
| 9227 | height: auto; |
| 9228 | } |
| 9229 | |
| 9230 | .dac-search-results-reference-header { |
| 9231 | color: #999; |
| 9232 | font-size: 16px; |
| 9233 | font-variant: small-caps; |
| 9234 | font-weight: 700; |
| 9235 | margin: 0; |
| 9236 | padding: 18px 12px 0; |
| 9237 | text-transform: lowercase; |
| 9238 | } |
| 9239 | |
| 9240 | .dac-search-results-reference-header:first-child { |
| 9241 | padding-top: 0; |
| 9242 | } |
| 9243 | |
| 9244 | .dac-search-results-reference-entry { |
| 9245 | margin: 0; |
| 9246 | } |
| 9247 | |
| 9248 | .dac-search-results-reference-entry a { |
| 9249 | color: #333; |
| 9250 | display: block; |
| 9251 | font-size: 0.81em; |
| 9252 | line-height: 1.5em; |
| 9253 | padding: 0 12px 5px 12px; |
| 9254 | width: 100%; |
| 9255 | white-space: nowrap; |
| 9256 | } |
| 9257 | |
| 9258 | ul.dac-search-results-reference { |
| 9259 | list-style: none; |
| 9260 | } |
| 9261 | |
| 9262 | ul.dac-search-results-reference li[data-toggle="show-more"] { |
| 9263 | cursor:pointer; |
| 9264 | } |
| 9265 | |
| 9266 | ul.dac-search-results-reference.is-expanded li[data-toggle="show-more"] { |
| 9267 | display:none; |
| 9268 | } |
| 9269 | |
| 9270 | .dac-search-results-reference-entry a:hover { |
| 9271 | background-color: #eceff1; |
| 9272 | } |
| 9273 | |
| 9274 | .dac-search-results-reference-entry em { |
| 9275 | font-style: normal; |
| 9276 | font-weight: 700; |
| 9277 | } |
| 9278 | |
| 9279 | .dac-search-results-reference-entry-empty { |
| 9280 | color: #999; |
| 9281 | font-size: 0.81em; |
| 9282 | margin: 0; |
| 9283 | padding: 2px 12px 14px; |
| 9284 | } |
| 9285 | |
| 9286 | .dac-search-results-resources { |
| 9287 | margin: 0; |
| 9288 | } |
| 9289 | |
| 9290 | .dac-search-results-resources .resource-card { |
| 9291 | border-right: 2px solid #999; |
| 9292 | } |
| 9293 | |
| 9294 | .dac-search-results-resources .resource-card-about { |
| 9295 | border-right: 2px solid #6ab344; |
| 9296 | } |
| 9297 | |
| 9298 | .dac-search-results-resources .resource-card-about .section { |
| 9299 | color: #6ab344; |
| 9300 | } |
| 9301 | |
| 9302 | .dac-search-results-resources .resource-card-develop { |
| 9303 | border-right: 2px solid #ff7043; |
| 9304 | } |
| 9305 | |
| 9306 | .dac-search-results-resources .resource-card-develop .section { |
| 9307 | color: #ff7043; |
| 9308 | } |
| 9309 | |
| 9310 | .dac-search-results-resources .resource-card-design { |
| 9311 | border-right: 2px solid #00bcd4; |
| 9312 | } |
| 9313 | |
| 9314 | .dac-search-results-resources .resource-card-design .section { |
| 9315 | color: #00bcd4; |
| 9316 | } |
| 9317 | |
| 9318 | .dac-search-results-resources .resource-card-distribute { |
| 9319 | border-right: 2px solid #afb42b; |
| 9320 | } |
| 9321 | |
| 9322 | .dac-search-results-resources .resource-card-distribute .section { |
| 9323 | color: #afb42b; |
| 9324 | } |
| 9325 | |
| 9326 | @media (max-width: 719px) { |
| 9327 | .dac-search-results-reference.no-results { |
| 9328 | display: none; |
| 9329 | } |
| 9330 | } |
| 9331 | |
| 9332 | @media (min-width: 980px) { |
| 9333 | .dac-nav-open.dac-search-open .dac-search-results { |
| 9334 | padding-left: 260px; |
| 9335 | } |
| 9336 | |
| 9337 | .dac-search-mode.dac-search-open .dac-search-results { |
| 9338 | padding-left: 10px; |
| 9339 | } |
| 9340 | } |
| 9341 | |
| 9342 | .dac-selected { |
| 9343 | color: #039bef !important; |
| 9344 | } |
| 9345 | |
| 9346 | .dac-selected em { |
| 9347 | color: #039bef; |
| 9348 | } |
| 9349 | |
| 9350 | .resource-card.dac-selected { |
| 9351 | box-shadow: 0px 1px 10px 0px rgba(3, 155, 239, 0.7); |
| 9352 | } |
| 9353 | |
| 9354 | .resource-card.dac-selected em { |
| 9355 | color: #333; |
| 9356 | } |
| 9357 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9358 | .dac-expand, .dac-section { |
| 9359 | margin-left: -20px; |
| 9360 | margin-right: -20px; |
| 9361 | padding-left: 20px; |
| 9362 | padding-right: 20px; |
| 9363 | } |
| 9364 | |
| 9365 | @media (max-width: 719px) { |
| 9366 | .dac-expand, .dac-section { |
| 9367 | margin-left: -10px; |
| 9368 | margin-right: -10px; |
| 9369 | padding-left: 10px; |
| 9370 | padding-right: 10px; |
| 9371 | } |
| 9372 | } |
| 9373 | |
| 9374 | .dac-invert { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9375 | color: #b3b3b3; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9376 | color: rgba(255, 255, 255, 0.7); |
| 9377 | } |
| 9378 | |
| 9379 | .dac-invert h1, .dac-invert h2, .dac-invert h3 { |
| 9380 | color: #fff; |
| 9381 | } |
| 9382 | |
| 9383 | .dac-light.dac-hero, .dac-light.dac-section { |
| 9384 | background-color: #eceff1; |
| 9385 | } |
| 9386 | |
| 9387 | .dac-gray.dac-hero, .dac-gray.dac-section { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9388 | background-color: #d8dfe2; |
| 9389 | } |
| 9390 | |
| 9391 | .dac-gray-dark.dac-hero, .dac-gray-dark.dac-section { |
| 9392 | background-color: #b0bec5; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9393 | } |
| 9394 | |
| 9395 | .dac-dark.dac-hero, .dac-dark.dac-section { |
| 9396 | background-color: #37474f; |
| 9397 | } |
| 9398 | |
| 9399 | .dac-red.dac-hero, .dac-red.dac-section { |
| 9400 | background-color: #dc4d38; |
| 9401 | } |
| 9402 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9403 | .dac-blue.dac-hero, |
| 9404 | .dac-blue.dac-section { |
| 9405 | background-color: #0277bd; |
| 9406 | } |
| 9407 | |
| 9408 | .dac-blue.dac-invert .dac-hero-description, |
| 9409 | .dac-blue.dac-invert .dac-section-subtitle { |
| 9410 | color: #fff; |
| 9411 | } |
| 9412 | |
| 9413 | .dac-dark-gray.dac-hero, |
| 9414 | .dac-dark-gray.dac-section { |
| 9415 | background-color: #455a64; |
| 9416 | } |
| 9417 | |
| 9418 | .dac-bg-opacity::after { |
| 9419 | background-color: rgba(0, 0, 0, .3); |
| 9420 | content : ""; |
| 9421 | display: block; |
| 9422 | position: absolute; |
| 9423 | top: 0; |
| 9424 | left: 0; |
| 9425 | width: 100%; |
| 9426 | height: 100%; |
| 9427 | z-index: 1; |
| 9428 | } |
| 9429 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9430 | .dac-hero-cta, .dac-section-title, .dac-section-links { |
| 9431 | color: #212121; |
| 9432 | color: rgba(0, 0, 0, 0.87); |
| 9433 | } |
| 9434 | |
| 9435 | .dac-invert .dac-hero-cta, .dac-invert .dac-section-title, .dac-invert .dac-section-links { |
| 9436 | color: white; |
| 9437 | } |
| 9438 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9439 | .dac-hero-cta .dac-sprite, .dac-section-title .dac-sprite, .dac-section-links .dac-sprite, .dac-hero-cta .dac-modal-header-close:before, .dac-section-title .dac-modal-header-close:before, .dac-section-links .dac-modal-header-close:before, .dac-hero-cta .paging-links .prev-page-link:before, .paging-links .dac-hero-cta .prev-page-link:before, .dac-section-title .paging-links .prev-page-link:before, .paging-links .dac-section-title .prev-page-link:before, .dac-section-links .paging-links .prev-page-link:before, .paging-links .dac-section-links .prev-page-link:before, .dac-hero-cta .paging-links .next-page-link:before, .paging-links .dac-hero-cta .next-page-link:before, .dac-section-title .paging-links .next-page-link:before, .paging-links .dac-section-title .next-page-link:before, .dac-section-links .paging-links .next-page-link:before, .paging-links .dac-section-links .next-page-link:before, .dac-hero-cta .paging-links .next-class-link:before, .paging-links .dac-hero-cta .next-class-link:before, .dac-section-title .paging-links .next-class-link:before, .paging-links .dac-section-title .next-class-link:before, .dac-section-links .paging-links .next-class-link:before, .paging-links .dac-section-links .next-class-link:before, .dac-hero-cta .paging-links .start-class-link:after, .paging-links .dac-hero-cta .start-class-link:after, .dac-section-title .paging-links .start-class-link:after, .paging-links .dac-section-title .start-class-link:after, .dac-section-links .paging-links .start-class-link:after, .paging-links .dac-section-links .start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9440 | opacity: .87; |
| 9441 | } |
| 9442 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9443 | .dac-invert .dac-hero-cta .dac-sprite, .dac-invert .dac-section-title .dac-sprite, .dac-invert .dac-section-links .dac-sprite, .dac-invert .dac-hero-cta .dac-modal-header-close:before, .dac-invert .dac-section-title .dac-modal-header-close:before, .dac-invert .dac-section-links .dac-modal-header-close:before, .dac-invert .dac-hero-cta .paging-links .prev-page-link:before, .paging-links .dac-invert .dac-hero-cta .prev-page-link:before, .dac-invert .dac-section-title .paging-links .prev-page-link:before, .paging-links .dac-invert .dac-section-title .prev-page-link:before, .dac-invert .dac-section-links .paging-links .prev-page-link:before, .paging-links .dac-invert .dac-section-links .prev-page-link:before, .dac-invert .dac-hero-cta .paging-links .next-page-link:before, .paging-links .dac-invert .dac-hero-cta .next-page-link:before, .dac-invert .dac-section-title .paging-links .next-page-link:before, .paging-links .dac-invert .dac-section-title .next-page-link:before, .dac-invert .dac-section-links .paging-links .next-page-link:before, .paging-links .dac-invert .dac-section-links .next-page-link:before, .dac-invert .dac-hero-cta .paging-links .next-class-link:before, .paging-links .dac-invert .dac-hero-cta .next-class-link:before, .dac-invert .dac-section-title .paging-links .next-class-link:before, .paging-links .dac-invert .dac-section-title .next-class-link:before, .dac-invert .dac-section-links .paging-links .next-class-link:before, .paging-links .dac-invert .dac-section-links .next-class-link:before, .dac-invert .dac-hero-cta .paging-links .start-class-link:after, .paging-links .dac-invert .dac-hero-cta .start-class-link:after, .dac-invert .dac-section-title .paging-links .start-class-link:after, .paging-links .dac-invert .dac-section-title .start-class-link:after, .dac-invert .dac-section-links .paging-links .start-class-link:after, .paging-links .dac-invert .dac-section-links .start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9444 | opacity: 1; |
| 9445 | } |
| 9446 | |
| 9447 | .dac-hero-tag, .dac-hero-description, .dac-section-subtitle { |
| 9448 | color: #757575; |
| 9449 | color: rgba(0, 0, 0, 0.54); |
| 9450 | } |
| 9451 | |
| 9452 | .dac-invert .dac-hero-tag, .dac-invert .dac-hero-description, .dac-invert .dac-section-subtitle { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9453 | color: #b3b3b3; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9454 | color: rgba(255, 255, 255, 0.7); |
| 9455 | } |
| 9456 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9457 | .dac-hero.dac-no-min-height { |
| 9458 | min-height: 0; |
| 9459 | } |
| 9460 | |
| 9461 | .dac-hero-half-bg { |
| 9462 | background-size: cover; |
| 9463 | background-repeat: no-repeat; |
| 9464 | float: right; |
| 9465 | height: 440px; |
| 9466 | } |
| 9467 | |
| 9468 | .dac-hero-half-bg-centered { |
| 9469 | background-position: center; |
| 9470 | background-repeat: no-repeat; |
| 9471 | background-size: cover; |
| 9472 | float: right; |
| 9473 | height: 440px; |
| 9474 | } |
| 9475 | |
| 9476 | @media only screen and (-webkit-min-device-pixel-ratio: 2), |
| 9477 | only screen and (-moz-min-device-pixel-ratio: 2), |
| 9478 | only screen and (min-device-pixel-ratio: 2), |
| 9479 | only screen and (min-resolution: 192dpi), |
| 9480 | only screen and (min-resolution: 2dppx) { |
| 9481 | .dac-hero-half-bg, |
| 9482 | .dac-hero-half-bg-centered { |
| 9483 | background-size: "" ""; |
| 9484 | } |
| 9485 | } |
| 9486 | |
| 9487 | @media (max-width: 719px) { |
| 9488 | .dac-hero-half-bg, |
| 9489 | .dac-hero-half-bg-centered { |
| 9490 | background-position: center; |
| 9491 | background-size: auto 100%; |
| 9492 | float: none; |
| 9493 | height: 200px; |
| 9494 | margin-top: 32px; |
| 9495 | } |
| 9496 | } |
| 9497 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9498 | .dac-section { |
| 9499 | background-position: 50% 50%; |
| 9500 | background-size: cover; |
| 9501 | padding-bottom: 84px; |
| 9502 | padding-top: 84px; |
| 9503 | position: relative; |
| 9504 | } |
| 9505 | |
| 9506 | @media (max-width: 719px) { |
| 9507 | .dac-section { |
| 9508 | padding-bottom: 52px; |
| 9509 | padding-top: 52px; |
| 9510 | } |
| 9511 | } |
| 9512 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9513 | .dac-section.dac-small, |
| 9514 | .dac-hero.dac-small { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9515 | padding-bottom: 32px; |
| 9516 | padding-top: 32px; |
| 9517 | } |
| 9518 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9519 | .dac-section.dac-slim { |
| 9520 | padding-bottom: 0; |
| 9521 | padding-top: 0; |
| 9522 | } |
| 9523 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9524 | .dac-section-title { |
| 9525 | text-align: center; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9526 | padding-bottom: 40px; |
| 9527 | padding-top: 0; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9528 | } |
| 9529 | |
| 9530 | .dac-section-subtitle { |
| 9531 | font-size: 16px; |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9532 | padding-bottom: 40px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9533 | margin-top: -24px; |
| 9534 | text-align: center; |
| 9535 | } |
| 9536 | |
| 9537 | .dac-section-links { |
| 9538 | font-size: 16px; |
| 9539 | list-style: none; |
| 9540 | line-height: 40px; |
| 9541 | margin: 16px 0 0; |
| 9542 | text-align: center; |
| 9543 | } |
| 9544 | |
| 9545 | @media (max-width: 719px) { |
| 9546 | .dac-section-links { |
| 9547 | margin-left: -8px; |
| 9548 | text-align: left; |
| 9549 | } |
| 9550 | } |
| 9551 | |
| 9552 | .dac-section-link { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9553 | cursor: pointer; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9554 | display: inline-block; |
| 9555 | margin: 0 32px; |
| 9556 | -webkit-transition: opacity .3s; |
| 9557 | transition: opacity .3s; |
| 9558 | } |
| 9559 | |
| 9560 | .dac-section-link:hover { |
| 9561 | opacity: .54; |
| 9562 | } |
| 9563 | |
| 9564 | @media (max-width: 719px) { |
| 9565 | .dac-section-link { |
| 9566 | display: block; |
| 9567 | margin: 0; |
| 9568 | } |
| 9569 | } |
| 9570 | |
| 9571 | .dac-section-link a { |
| 9572 | color: inherit; |
| 9573 | } |
| 9574 | |
| 9575 | /* |
| 9576 | SCSS variables are information about icon's compiled state, stored under its original file name |
| 9577 | |
| 9578 | .icon-home { |
| 9579 | width: $icon-home-width; |
| 9580 | } |
| 9581 | |
| 9582 | The large array-like variables contain all information about a single icon |
| 9583 | $icon-home: x y offset_x offset_y width height total_width total_height image_path; |
| 9584 | |
| 9585 | At the bottom of this section, we provide information about the spritesheet itself |
| 9586 | $spritesheet: width height image $spritesheet-sprites; |
| 9587 | */ |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9588 | .dac-sprite, .dac-modal-header-close:before, .paging-links .prev-page-link:before, .paging-links .next-page-link:before, .paging-links .next-class-link:before, .paging-links .start-class-link:after, .Video-button--picture-in-picture, .Video-button--close, a.video-shadowbox-button.white::after, #tb li:before, |
| 9589 | #qv li:before { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9590 | background-image: url(../images/sprite.png); |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9591 | display: inline-block; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9592 | vertical-align: middle; |
| 9593 | } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9594 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9595 | @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx), (min-resolution: 144px) { |
| 9596 | |
| 9597 | .dac-sprite, |
| 9598 | .dac-modal-header-close:before, |
| 9599 | .paging-links .prev-page-link:before, |
| 9600 | .paging-links .next-page-link:before, |
| 9601 | .paging-links .next-class-link:before, |
| 9602 | .paging-links .start-class-link:after, |
| 9603 | .Video-button--picture-in-picture, |
| 9604 | .Video-button--close, |
| 9605 | a.video-shadowbox-button.white::after, |
| 9606 | #tb li:before, |
| 9607 | #qv li:before { |
| 9608 | background-image: url(../images/sprite_2x.png); |
| 9609 | background-size: 36px 900px; |
| 9610 | } |
| 9611 | } |
| 9612 | |
| 9613 | .dac-chevron { |
| 9614 | background-size: 9px 39px; |
| 9615 | display: inline-block; |
| 9616 | height: 13px; |
| 9617 | text-indent: -9999px; |
| 9618 | width: 9px; |
| 9619 | } |
| 9620 | |
| 9621 | .dac-sprite.dac-auto-chevron, |
| 9622 | .dac-auto-chevron.dac-modal-header-close:before, |
| 9623 | .paging-links .dac-auto-chevron.prev-page-link:before, |
| 9624 | .paging-links .dac-auto-chevron.next-page-link:before, |
| 9625 | .paging-links .dac-auto-chevron.next-class-link:before, |
| 9626 | .paging-links .dac-auto-chevron.start-class-link:after { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9627 | background-position: 0px -669px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9628 | height: 24px; |
| 9629 | width: 24px; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9630 | vertical-align: -6px; |
| 9631 | } |
| 9632 | |
| 9633 | .dac-invert .dac-sprite.dac-auto-chevron, .dac-invert .dac-auto-chevron.dac-modal-header-close:before, .dac-invert .paging-links .dac-auto-chevron.prev-page-link:before, .paging-links .dac-invert .dac-auto-chevron.prev-page-link:before, .dac-invert .paging-links .dac-auto-chevron.next-page-link:before, .paging-links .dac-invert .dac-auto-chevron.next-page-link:before, .dac-invert .paging-links .dac-auto-chevron.next-class-link:before, .paging-links .dac-invert .dac-auto-chevron.next-class-link:before, .dac-invert .paging-links .dac-auto-chevron.start-class-link:after, .paging-links .dac-invert .dac-auto-chevron.start-class-link:after { |
| 9634 | background-position: 0px -513px; |
| 9635 | height: 24px; |
| 9636 | width: 24px; |
| 9637 | } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9638 | |
| 9639 | .dac-sprite.dac-auto-chevron-large, .dac-auto-chevron-large.dac-modal-header-close:before, .paging-links .dac-auto-chevron-large.prev-page-link:before, .paging-links .dac-auto-chevron-large.next-page-link:before, .paging-links .dac-auto-chevron-large.next-class-link:before, .paging-links .dac-auto-chevron-large.start-class-link:after { |
| 9640 | background-position: 0px -695px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9641 | height: 36px; |
| 9642 | width: 36px; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9643 | vertical-align: -10px; |
| 9644 | } |
| 9645 | |
| 9646 | .dac-invert .dac-sprite.dac-auto-chevron-large, |
| 9647 | .dac-invert .dac-auto-chevron-large.dac-modal-header-close:before, |
| 9648 | .dac-invert .paging-links .dac-auto-chevron-large.prev-page-link:before, |
| 9649 | .paging-links .dac-invert .dac-auto-chevron-large.prev-page-link:before, |
| 9650 | .dac-invert .paging-links .dac-auto-chevron-large.next-page-link:before, |
| 9651 | .paging-links .dac-invert .dac-auto-chevron-large.next-page-link:before, |
| 9652 | .dac-invert .paging-links .dac-auto-chevron-large.next-class-link:before, |
| 9653 | .paging-links .dac-invert .dac-auto-chevron-large.next-class-link:before, |
| 9654 | .dac-invert .paging-links .dac-auto-chevron-large.start-class-link:after, |
| 9655 | .paging-links .dac-invert .dac-auto-chevron-large.start-class-link:after { |
| 9656 | background-position: 0px -771px; |
| 9657 | height: 36px; |
| 9658 | width: 36px; |
| 9659 | } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9660 | |
| 9661 | .dac-sprite.dac-auto-unfold-less, .dac-auto-unfold-less.dac-modal-header-close:before, .paging-links .dac-auto-unfold-less.prev-page-link:before, .paging-links .dac-auto-unfold-less.next-page-link:before, .paging-links .dac-auto-unfold-less.next-class-link:before, .paging-links .dac-auto-unfold-less.start-class-link:after { |
| 9662 | background-position: 0px -487px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9663 | height: 24px; |
| 9664 | width: 24px; |
| 9665 | vertical-align: -6px; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9666 | .dac-invert .dac-sprite.dac-auto-unfold-less, .dac-invert .dac-auto-unfold-less.dac-modal-header-close:before, .dac-invert .paging-links .dac-auto-unfold-less.prev-page-link:before, .paging-links .dac-invert .dac-auto-unfold-less.prev-page-link:before, .dac-invert .paging-links .dac-auto-unfold-less.next-page-link:before, .paging-links .dac-invert .dac-auto-unfold-less.next-page-link:before, .dac-invert .paging-links .dac-auto-unfold-less.next-class-link:before, .paging-links .dac-invert .dac-auto-unfold-less.next-class-link:before, .dac-invert .paging-links .dac-auto-unfold-less.start-class-link:after, .paging-links .dac-invert .dac-auto-unfold-less.start-class-link:after { |
| 9667 | background-position: 0px -565px; |
Dirk Dougherty | 6f10d4d | 2015-11-07 11:34:59 -0800 | [diff] [blame] | 9668 | height: 24px; |
| 9669 | width: 24px; } |
| 9670 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9671 | .dac-sprite.dac-auto-unfold-more, .dac-auto-unfold-more.dac-modal-header-close:before, .paging-links .dac-auto-unfold-more.prev-page-link:before, .paging-links .dac-auto-unfold-more.next-page-link:before, .paging-links .dac-auto-unfold-more.next-class-link:before, .paging-links .dac-auto-unfold-more.start-class-link:after { |
| 9672 | background-position: 0px -539px; |
| 9673 | height: 24px; |
| 9674 | width: 24px; |
| 9675 | vertical-align: -6px; } |
| 9676 | .dac-invert .dac-sprite.dac-auto-unfold-more, .dac-invert .dac-auto-unfold-more.dac-modal-header-close:before, .dac-invert .paging-links .dac-auto-unfold-more.prev-page-link:before, .paging-links .dac-invert .dac-auto-unfold-more.prev-page-link:before, .dac-invert .paging-links .dac-auto-unfold-more.next-page-link:before, .paging-links .dac-invert .dac-auto-unfold-more.next-page-link:before, .dac-invert .paging-links .dac-auto-unfold-more.next-class-link:before, .paging-links .dac-invert .dac-auto-unfold-more.next-class-link:before, .dac-invert .paging-links .dac-auto-unfold-more.start-class-link:after, .paging-links .dac-invert .dac-auto-unfold-more.start-class-link:after { |
| 9677 | background-position: 0px -305px; |
| 9678 | height: 24px; |
| 9679 | width: 24px; } |
| 9680 | |
| 9681 | .dac-sprite.dac-arrow-down-gray, .dac-arrow-down-gray.dac-modal-header-close:before, .paging-links .dac-arrow-down-gray.prev-page-link:before, .paging-links .dac-arrow-down-gray.next-page-link:before, .paging-links .dac-arrow-down-gray.next-class-link:before, .paging-links .dac-arrow-down-gray.start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9682 | background-position: 0px 0px; |
| 9683 | height: 11px; |
| 9684 | width: 19px; } |
| 9685 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9686 | .dac-sprite.dac-arrow-right, .dac-arrow-right.dac-modal-header-close:before, .paging-links .dac-arrow-right.prev-page-link:before, .paging-links .dac-arrow-right.next-page-link:before, .paging-links .dac-arrow-right.next-class-link:before, .paging-links .dac-arrow-right.start-class-link:after { |
| 9687 | background-position: 0px -215px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9688 | height: 18px; |
| 9689 | width: 11px; } |
| 9690 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9691 | .dac-sprite.dac-back-arrow, .dac-back-arrow.dac-modal-header-close:before, .paging-links .dac-back-arrow.prev-page-link:before, .paging-links .dac-back-arrow.next-page-link:before, .paging-links .dac-back-arrow.next-class-link:before, .paging-links .dac-back-arrow.start-class-link:after { |
| 9692 | background-position: 0px -123px; |
| 9693 | height: 16px; |
| 9694 | width: 16px; } |
| 9695 | |
| 9696 | .dac-sprite.dac-chevron-large-right-black, .dac-chevron-large-right-black.dac-modal-header-close:before, .paging-links .dac-chevron-large-right-black.prev-page-link:before, .paging-links .dac-chevron-large-right-black.next-page-link:before, .paging-links .dac-chevron-large-right-black.next-class-link:before, .paging-links .dac-chevron-large-right-black.start-class-link:after { |
| 9697 | background-position: 0px -695px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9698 | height: 36px; |
| 9699 | width: 36px; } |
| 9700 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9701 | .dac-sprite.dac-chevron-large-right-white, .dac-chevron-large-right-white.dac-modal-header-close:before, .paging-links .dac-chevron-large-right-white.prev-page-link:before, .paging-links .dac-chevron-large-right-white.next-page-link:before, .paging-links .dac-chevron-large-right-white.next-class-link:before, .paging-links .dac-chevron-large-right-white.start-class-link:after { |
| 9702 | background-position: 0px -771px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9703 | height: 36px; |
| 9704 | width: 36px; } |
| 9705 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9706 | .dac-sprite.dac-chevron-right-black, .dac-chevron-right-black.dac-modal-header-close:before, .paging-links .dac-chevron-right-black.prev-page-link:before, .paging-links .dac-chevron-right-black.next-page-link:before, .paging-links .dac-chevron-right-black.next-class-link:before, .paging-links .dac-chevron-right-black.start-class-link:after { |
| 9707 | background-position: 0px -669px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9708 | height: 24px; |
| 9709 | width: 24px; } |
| 9710 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9711 | .dac-sprite.dac-chevron-right-white, .dac-chevron-right-white.dac-modal-header-close:before, .paging-links .dac-chevron-right-white.prev-page-link:before, .paging-links .dac-chevron-right-white.next-page-link:before, .paging-links .dac-chevron-right-white.next-class-link:before, .paging-links .dac-chevron-right-white.start-class-link:after { |
| 9712 | background-position: 0px -513px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9713 | height: 24px; |
| 9714 | width: 24px; } |
| 9715 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9716 | .dac-sprite.dac-close-black, .dac-close-black.dac-modal-header-close:before, .paging-links .dac-close-black.prev-page-link:before, .paging-links .dac-close-black.next-page-link:before, .paging-links .dac-close-black.next-class-link:before, .paging-links .dac-close-black.start-class-link:after { |
| 9717 | background-position: 0px -89px; |
| 9718 | height: 14px; |
| 9719 | width: 14px; } |
| 9720 | |
| 9721 | .dac-sprite.dac-close-video-white, .dac-modal-header-close:before, .paging-links .dac-close-video-white.prev-page-link:before, .paging-links .prev-page-link.dac-modal-header-close:before, .paging-links .dac-close-video-white.next-page-link:before, .paging-links .next-page-link.dac-modal-header-close:before, .paging-links .dac-close-video-white.next-class-link:before, .paging-links .next-class-link.dac-modal-header-close:before, .paging-links .dac-close-video-white.start-class-link:after { |
| 9722 | background-position: 0px -435px; |
| 9723 | height: 24px; |
| 9724 | width: 24px; } |
| 9725 | |
| 9726 | .dac-sprite.dac-close, .dac-close.dac-modal-header-close:before, .paging-links .dac-close.prev-page-link:before, .paging-links .dac-close.next-page-link:before, .paging-links .dac-close.next-class-link:before, .paging-links .dac-close.start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9727 | background-position: 0px -27px; |
| 9728 | height: 12px; |
| 9729 | width: 12px; } |
| 9730 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9731 | .dac-sprite.dac-enlarge-video-white, .dac-enlarge-video-white.dac-modal-header-close:before, .paging-links .dac-enlarge-video-white.prev-page-link:before, .paging-links .dac-enlarge-video-white.next-page-link:before, .paging-links .dac-enlarge-video-white.next-class-link:before, .paging-links .dac-enlarge-video-white.start-class-link:after { |
| 9732 | background-position: 0px -409px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9733 | height: 24px; |
| 9734 | width: 24px; } |
| 9735 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9736 | .dac-sprite.dac-expand-less-black, .dac-expand-less-black.dac-modal-header-close:before, .paging-links .dac-expand-less-black.prev-page-link:before, .paging-links .dac-expand-less-black.next-page-link:before, .paging-links .dac-expand-less-black.next-class-link:before, .paging-links .dac-expand-less-black.start-class-link:after { |
| 9737 | background-position: 0px -383px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9738 | height: 24px; |
| 9739 | width: 24px; } |
| 9740 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9741 | .dac-sprite.dac-expand-more-black, .dac-expand-more-black.dac-modal-header-close:before, .paging-links .dac-expand-more-black.prev-page-link:before, .paging-links .dac-expand-more-black.next-page-link:before, .paging-links .dac-expand-more-black.next-class-link:before, .paging-links .dac-expand-more-black.start-class-link:after { |
| 9742 | background-position: 0px -357px; |
| 9743 | height: 24px; |
| 9744 | width: 24px; } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9745 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9746 | .dac-sprite.dac-fullscreen-exit, .dac-fullscreen-exit.dac-modal-header-close:before, .paging-links .dac-fullscreen-exit.prev-page-link:before, .paging-links .dac-fullscreen-exit.next-page-link:before, .paging-links .dac-fullscreen-exit.next-class-link:before, .paging-links .dac-fullscreen-exit.start-class-link:after { |
| 9747 | background-position: 0px -331px; |
| 9748 | height: 24px; |
| 9749 | width: 24px; } |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9750 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9751 | .dac-sprite.dac-fullscreen, .dac-fullscreen.dac-modal-header-close:before, .paging-links .dac-fullscreen.prev-page-link:before, .paging-links .dac-fullscreen.next-page-link:before, .paging-links .dac-fullscreen.next-class-link:before, .paging-links .dac-fullscreen.start-class-link:after { |
| 9752 | background-position: 0px -279px; |
| 9753 | height: 24px; |
| 9754 | width: 24px; } |
| 9755 | |
| 9756 | .dac-sprite.dac-google-play, .dac-google-play.dac-modal-header-close:before, .paging-links .dac-google-play.prev-page-link:before, .paging-links .dac-google-play.next-page-link:before, .paging-links .dac-google-play.next-class-link:before, .paging-links .dac-google-play.start-class-link:after { |
| 9757 | background-position: 0px -235px; |
| 9758 | height: 20px; |
| 9759 | width: 17px; } |
| 9760 | |
| 9761 | .dac-sprite.dac-gplus, .dac-gplus.dac-modal-header-close:before, .paging-links .dac-gplus.prev-page-link:before, .paging-links .dac-gplus.next-page-link:before, .paging-links .dac-gplus.next-class-link:before, .paging-links .dac-gplus.start-class-link:after { |
| 9762 | background-position: 0px -809px; |
| 9763 | height: 36px; |
| 9764 | width: 36px; } |
| 9765 | |
| 9766 | .dac-sprite.dac-mail, .dac-mail.dac-modal-header-close:before, .paging-links .dac-mail.prev-page-link:before, .paging-links .dac-mail.next-page-link:before, .paging-links .dac-mail.next-class-link:before, .paging-links .dac-mail.start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9767 | background-position: 0px -13px; |
| 9768 | height: 12px; |
| 9769 | width: 16px; } |
| 9770 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9771 | .dac-sprite.dac-nav-back-blue, .dac-nav-back-blue.dac-modal-header-close:before, .paging-links .prev-page-link:before, .paging-links .dac-nav-back-blue.next-page-link:before, .paging-links .dac-nav-back-blue.next-class-link:before, .paging-links .dac-nav-back-blue.start-class-link:after { |
| 9772 | background-position: 0px -105px; |
| 9773 | height: 16px; |
| 9774 | width: 16px; } |
| 9775 | |
| 9776 | .dac-sprite.dac-nav-back, .dac-nav-back.dac-modal-header-close:before, .paging-links .dac-nav-back.prev-page-link:before, .paging-links .dac-nav-back.next-page-link:before, .paging-links .dac-nav-back.next-class-link:before, .paging-links .dac-nav-back.start-class-link:after { |
| 9777 | background-position: 0px -177px; |
| 9778 | height: 16px; |
| 9779 | width: 16px; } |
| 9780 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9781 | /* The back button in Studio and NDK left nav */ |
| 9782 | .dac-nav-back-button.back-to-dev .dac-sprite.dac-nav-back { |
| 9783 | background-position: 0px -884px; |
| 9784 | height: 16px; |
| 9785 | width: 16px; |
| 9786 | } |
| 9787 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9788 | .dac-sprite.dac-nav-forward-blue, .dac-nav-forward-blue.dac-modal-header-close:before, .paging-links .dac-nav-forward-blue.prev-page-link:before, .paging-links .next-page-link:before, .paging-links .next-class-link:before, .paging-links .start-class-link:after { |
| 9789 | background-position: 0px -159px; |
| 9790 | height: 16px; |
| 9791 | width: 16px; } |
| 9792 | |
| 9793 | .dac-sprite.dac-nav-forward, .dac-nav-forward.dac-modal-header-close:before, .paging-links .dac-nav-forward.prev-page-link:before, .paging-links .dac-nav-forward.next-page-link:before, .paging-links .dac-nav-forward.next-class-link:before, .paging-links .dac-nav-forward.start-class-link:after { |
| 9794 | background-position: 0px -141px; |
| 9795 | height: 16px; |
| 9796 | width: 16px; } |
| 9797 | |
| 9798 | .dac-sprite.dac-open-in-new, .dac-open-in-new.dac-modal-header-close:before, .paging-links .dac-open-in-new.prev-page-link:before, .paging-links .dac-open-in-new.next-page-link:before, .paging-links .dac-open-in-new.next-class-link:before, .paging-links .dac-open-in-new.start-class-link:after { |
| 9799 | background-position: 0px -195px; |
| 9800 | height: 18px; |
| 9801 | width: 18px; } |
| 9802 | |
| 9803 | .dac-sprite.dac-picture-in-picture-white, .dac-picture-in-picture-white.dac-modal-header-close:before, .paging-links .dac-picture-in-picture-white.prev-page-link:before, .paging-links .dac-picture-in-picture-white.next-page-link:before, .paging-links .dac-picture-in-picture-white.next-class-link:before, .paging-links .dac-picture-in-picture-white.start-class-link:after { |
| 9804 | background-position: 0px -461px; |
| 9805 | height: 24px; |
| 9806 | width: 24px; } |
| 9807 | |
| 9808 | .dac-sprite.dac-play-circle-grey, .dac-play-circle-grey.dac-modal-header-close:before, .paging-links .dac-play-circle-grey.prev-page-link:before, .paging-links .dac-play-circle-grey.next-page-link:before, .paging-links .dac-play-circle-grey.next-class-link:before, .paging-links .dac-play-circle-grey.start-class-link:after { |
| 9809 | background-position: 0px -733px; |
| 9810 | height: 36px; |
| 9811 | width: 36px; } |
| 9812 | |
| 9813 | .dac-sprite.dac-play-circle-white, .dac-play-circle-white.dac-modal-header-close:before, .paging-links .dac-play-circle-white.prev-page-link:before, .paging-links .dac-play-circle-white.next-page-link:before, .paging-links .dac-play-circle-white.next-class-link:before, .paging-links .dac-play-circle-white.start-class-link:after { |
| 9814 | background-position: 0px -847px; |
| 9815 | height: 36px; |
| 9816 | width: 36px; } |
| 9817 | |
| 9818 | .dac-sprite.dac-play-white, .dac-play-white.dac-modal-header-close:before, .paging-links .dac-play-white.prev-page-link:before, .paging-links .dac-play-white.next-page-link:before, .paging-links .dac-play-white.next-class-link:before, .paging-links .dac-play-white.start-class-link:after { |
| 9819 | background-position: 0px -257px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9820 | height: 20px; |
| 9821 | width: 16px; } |
| 9822 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9823 | .dac-sprite.dac-rss, .dac-rss.dac-modal-header-close:before, .paging-links .dac-rss.prev-page-link:before, .paging-links .dac-rss.next-page-link:before, .paging-links .dac-rss.next-class-link:before, .paging-links .dac-rss.start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9824 | background-position: 0px -41px; |
| 9825 | height: 14px; |
| 9826 | width: 14px; } |
| 9827 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9828 | .dac-sprite.dac-search-white, .dac-search-white.dac-modal-header-close:before, .paging-links .dac-search-white.prev-page-link:before, .paging-links .dac-search-white.next-page-link:before, .paging-links .dac-search-white.next-class-link:before, .paging-links .dac-search-white.start-class-link:after { |
| 9829 | background-position: 0px -591px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9830 | height: 24px; |
| 9831 | width: 24px; } |
| 9832 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9833 | .dac-sprite.dac-search, .dac-search.dac-modal-header-close:before, .paging-links .dac-search.prev-page-link:before, .paging-links .dac-search.next-page-link:before, .paging-links .dac-search.next-class-link:before, .paging-links .dac-search.start-class-link:after { |
| 9834 | background-position: 0px -617px; |
| 9835 | height: 24px; |
| 9836 | width: 24px; } |
| 9837 | |
| 9838 | .dac-sprite.dac-star-outline, .dac-star-outline.dac-modal-header-close:before, .paging-links .dac-star-outline.prev-page-link:before, .paging-links .dac-star-outline.next-page-link:before, .paging-links .dac-star-outline.next-class-link:before, .paging-links .dac-star-outline.start-class-link:after { |
| 9839 | background-position: 0px -643px; |
| 9840 | height: 24px; |
| 9841 | width: 24px; } |
| 9842 | |
| 9843 | .dac-sprite.dac-twitter, .dac-twitter.dac-modal-header-close:before, .paging-links .dac-twitter.prev-page-link:before, .paging-links .dac-twitter.next-page-link:before, .paging-links .dac-twitter.next-class-link:before, .paging-links .dac-twitter.start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9844 | background-position: 0px -73px; |
| 9845 | height: 14px; |
| 9846 | width: 16px; } |
| 9847 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9848 | .dac-sprite.dac-unfold-less-white, .dac-unfold-less-white.dac-modal-header-close:before, .paging-links .dac-unfold-less-white.prev-page-link:before, .paging-links .dac-unfold-less-white.next-page-link:before, .paging-links .dac-unfold-less-white.next-class-link:before, .paging-links .dac-unfold-less-white.start-class-link:after { |
| 9849 | background-position: 0px -565px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9850 | height: 24px; |
| 9851 | width: 24px; } |
| 9852 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9853 | .dac-sprite.dac-unfold-less, .dac-unfold-less.dac-modal-header-close:before, .paging-links .dac-unfold-less.prev-page-link:before, .paging-links .dac-unfold-less.next-page-link:before, .paging-links .dac-unfold-less.next-class-link:before, .paging-links .dac-unfold-less.start-class-link:after { |
| 9854 | background-position: 0px -487px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9855 | height: 24px; |
| 9856 | width: 24px; } |
| 9857 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9858 | .dac-sprite.dac-unfold-more-white, .dac-unfold-more-white.dac-modal-header-close:before, .paging-links .dac-unfold-more-white.prev-page-link:before, .paging-links .dac-unfold-more-white.next-page-link:before, .paging-links .dac-unfold-more-white.next-class-link:before, .paging-links .dac-unfold-more-white.start-class-link:after { |
| 9859 | background-position: 0px -305px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9860 | height: 24px; |
| 9861 | width: 24px; } |
| 9862 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9863 | .dac-sprite.dac-unfold-more, .dac-unfold-more.dac-modal-header-close:before, .paging-links .dac-unfold-more.prev-page-link:before, .paging-links .dac-unfold-more.next-page-link:before, .paging-links .dac-unfold-more.next-class-link:before, .paging-links .dac-unfold-more.start-class-link:after { |
| 9864 | background-position: 0px -539px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9865 | height: 24px; |
| 9866 | width: 24px; } |
| 9867 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9868 | .dac-sprite.dac-youtube, .dac-youtube.dac-modal-header-close:before, .paging-links .dac-youtube.prev-page-link:before, .paging-links .dac-youtube.next-page-link:before, .paging-links .dac-youtube.next-class-link:before, .paging-links .dac-youtube.start-class-link:after { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 9869 | background-position: 0px -57px; |
| 9870 | height: 14px; |
| 9871 | width: 18px; } |
| 9872 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9873 | /* Toast Component */ |
| 9874 | .dac-toast { |
| 9875 | background: #ffebc3; |
| 9876 | border-top: 1px solid #e5d4a1; |
| 9877 | display: none; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9878 | color: rgba(0, 0, 0, .87); |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9879 | line-height: 1.4; |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9880 | padding: 10px; |
| 9881 | } |
| 9882 | |
| 9883 | .dac-toast.dac-visible { |
| 9884 | display: block; |
| 9885 | } |
| 9886 | |
| 9887 | .dac-toast-wrap { |
| 9888 | box-sizing: border-box; |
| 9889 | margin: 0 auto; |
| 9890 | max-width: 940px; |
| 9891 | padding-right: 20px; |
| 9892 | position: relative; |
| 9893 | } |
| 9894 | |
| 9895 | .dac-toast-close-btn { |
| 9896 | background-color: transparent; |
| 9897 | border: none; |
| 9898 | border-radius: 0; |
| 9899 | cursor: pointer; |
| 9900 | opacity: .4; |
| 9901 | padding: 0; |
| 9902 | position: absolute; |
| 9903 | right: 0; |
| 9904 | top: -2px; |
| 9905 | } |
| 9906 | |
| 9907 | .dac-toast-close-btn:hover, |
| 9908 | .dac-toast-close-btn:focus, |
| 9909 | .dac-toast-close-btn:active { |
| 9910 | opacity: 1; |
| 9911 | outline: none; |
| 9912 | } |
| 9913 | |
| 9914 | .dac-toast-close-btn .dac-button.dac-raised.dac-primary{ |
| 9915 | margin: 0; |
| 9916 | padding: 0; |
| 9917 | } |
| 9918 | |
| 9919 | .dac-toast-group { |
| 9920 | bottom: 0; |
| 9921 | left: 0; |
| 9922 | position: fixed; |
| 9923 | right: 0; |
| 9924 | z-index: 60; |
| 9925 | } |
| 9926 | |
| 9927 | .dac-toast.dac-danger { |
| 9928 | background-color: #ffccbc; |
| 9929 | border-top-color: #e5b7a9; |
| 9930 | } |
| 9931 | |
| 9932 | .dac-toast.dac-success { |
| 9933 | background-color: #cdedc8; |
| 9934 | border-top-color: #c6d5b4; |
| 9935 | } |
| 9936 | |
| 9937 | @media (max-width: 719px) { |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9938 | .dac-toast-close-btn { |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 9939 | position: relative; |
| 9940 | top: 0; |
| 9941 | margin: 10px 0 0; |
| 9942 | display: block; |
| 9943 | } |
| 9944 | } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 9945 | |
| 9946 | .dac-tab-item { |
| 9947 | box-sizing: border-box; |
| 9948 | cursor: pointer; |
| 9949 | display: table-cell; |
| 9950 | margin: 0; |
| 9951 | padding: 8px 12px; |
| 9952 | position: relative; |
| 9953 | text-align: left; } |
| 9954 | @media (max-width: 719px) { |
| 9955 | .dac-tab-item { |
| 9956 | padding-right: 12px; |
| 9957 | text-align: center; |
| 9958 | width: 33.33333333%; } } |
| 9959 | |
| 9960 | .dac-tab-title { |
| 9961 | color: #333; |
| 9962 | display: inline-block; |
| 9963 | font-size: 16px; |
| 9964 | font-weight: 500; |
| 9965 | margin: 0; } |
| 9966 | |
| 9967 | .dac-tab-arrow { |
| 9968 | margin-top: -2px; } |
| 9969 | @media (max-width: 719px) { |
| 9970 | .dac-tab-arrow { |
| 9971 | position: absolute; |
| 9972 | visibility: hidden; } } |
| 9973 | |
| 9974 | .dac-tab-bar { |
| 9975 | display: inline-block; |
| 9976 | list-style-type: none; |
| 9977 | margin: 0 0 0 12px; |
| 9978 | vertical-align: middle; |
| 9979 | overflow: hidden; } |
| 9980 | @media (max-width: 719px) { |
| 9981 | .dac-tab-bar { |
| 9982 | display: table; |
| 9983 | margin-left: 0; |
| 9984 | width: 100%; } } |
| 9985 | |
| 9986 | .dac-tab-views { |
| 9987 | list-style-type: none; |
| 9988 | margin: 0; } |
| 9989 | |
| 9990 | .dac-tab-view { |
| 9991 | background: #fff; |
| 9992 | display: none; |
| 9993 | overflow: hidden; |
| 9994 | margin: 0 0 10px; |
| 9995 | padding: 20px 10px 0; |
| 9996 | text-align: left; } |
| 9997 | |
| 9998 | .dac-tab-item.dac-active { |
| 9999 | background: #fff; } |
| 10000 | |
| 10001 | .dac-tab-item.dac-active .dac-tab-arrow { |
| 10002 | -webkit-transform: scaleY(-1); |
| 10003 | -ms-transform: scaleY(-1); |
| 10004 | transform: scaleY(-1); } |
| 10005 | |
| 10006 | .dac-tab-view.dac-active { |
| 10007 | display: block; } |
| 10008 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10009 | .dac-toggle-expand { |
| 10010 | cursor: pointer; |
| 10011 | display: inline-block; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10012 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10013 | .dac-toggle-collapse { |
| 10014 | cursor: pointer; |
| 10015 | display: none; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10016 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10017 | .dac-toggle.is-expanded .dac-toggle-expand { |
| 10018 | display: none; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10019 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10020 | .dac-toggle.is-expanded .dac-toggle-collapse { |
| 10021 | display: inline-block; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10022 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10023 | .dac-toggle-content { |
| 10024 | clear: left; |
| 10025 | overflow: hidden; |
| 10026 | max-height: 0; |
| 10027 | -webkit-transition: .3s max-height; |
| 10028 | transition: .3s max-height; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10029 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10030 | .dac-toggle.is-expanded .dac-toggle-content { |
| 10031 | max-height: none; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10032 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10033 | .dac-toggle.dac-mobile .dac-toggle-content { |
| 10034 | max-height: none; } |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10035 | |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10036 | @media (max-width: 719px) { |
| 10037 | .dac-toggle.dac-mobile .dac-toggle-content { |
| 10038 | max-height: 0; } |
| 10039 | .dac-toggle.is-expanded .dac-toggle-content { |
| 10040 | max-height: none; } } |
| 10041 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10042 | /** |
| 10043 | * Fades out an element. |
| 10044 | * Applies visibility hidden when the transition is finished. |
| 10045 | * |
| 10046 | * Use opacity: 1; to show the element. |
| 10047 | */ |
| 10048 | .dac-visible-mobile-block, .dac-mobile-only, |
| 10049 | .dac-visible-mobile-inline, |
| 10050 | .dac-visible-mobile-inline-block, |
| 10051 | .dac-visible-tablet-block, |
| 10052 | .dac-visible-tablet-inline, |
| 10053 | .dac-visible-tablet-inline-block, |
| 10054 | .dac-visible-desktop-block, |
| 10055 | .dac-visible-desktop-inline, |
| 10056 | .dac-visible-desktop-inline-block { |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10057 | display: none !important; } |
| 10058 | |
| 10059 | @media (max-width: 719px) { |
| 10060 | .dac-hidden-mobile { |
| 10061 | display: none !important; } |
| 10062 | .dac-visible-mobile-block, .dac-mobile-only { |
| 10063 | display: block !important; } |
| 10064 | .dac-visible-mobile-inline { |
| 10065 | display: inline !important; } |
| 10066 | .dac-visible-mobile-inline-block { |
| 10067 | display: inline-block !important; } } |
| 10068 | |
| 10069 | @media (min-width: 720px) and (max-width: 979px) { |
| 10070 | .dac-hidden-tablet { |
| 10071 | display: none !important; } |
| 10072 | .dac-visible-tablet-block { |
| 10073 | display: block !important; } |
| 10074 | .dac-visible-tablet-inline { |
| 10075 | display: inline !important; } |
| 10076 | .dac-visible-tablet-inline-block { |
| 10077 | display: inline-block !important; } } |
| 10078 | |
| 10079 | @media (min-width: 980px) { |
| 10080 | .dac-hidden-desktop { |
| 10081 | display: none !important; } |
| 10082 | .dac-visible-desktop-block { |
| 10083 | display: block !important; } |
| 10084 | .dac-visible-desktop-inline { |
| 10085 | display: inline !important; } |
| 10086 | .dac-visible-desktop-inline-block { |
| 10087 | display: inline-block !important; } } |
| 10088 | |
| 10089 | .dac-offset-parent { |
| 10090 | position: relative !important; } |
| 10091 | |
| 10092 | /** |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10093 | * Hide from browsers/screenreaders on all sizes. |
| 10094 | */ |
| 10095 | .dac-hidden { |
| 10096 | display: none !important; } |
| 10097 | |
| 10098 | /** |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10099 | * Break strings when their length exceeds the width of their container. |
| 10100 | */ |
| 10101 | .dac-text-break { |
| 10102 | word-wrap: break-word !important; } |
| 10103 | |
| 10104 | /** |
| 10105 | * Horizontal text alignment |
| 10106 | */ |
| 10107 | .dac-text-center { |
| 10108 | text-align: center !important; } |
| 10109 | |
| 10110 | .dac-text-left { |
| 10111 | text-align: left !important; } |
| 10112 | |
| 10113 | .dac-text-right { |
| 10114 | text-align: right !important; } |
| 10115 | |
| 10116 | /** |
| 10117 | * Prevent whitespace wrapping |
| 10118 | */ |
| 10119 | .dac-text-no-wrap { |
| 10120 | white-space: nowrap !important; } |
| 10121 | |
| 10122 | /** |
| 10123 | * Prevent text from wrapping onto multiple lines, instead truncate with an ellipsis. |
| 10124 | */ |
| 10125 | .dac-text-truncate { |
| 10126 | max-width: 100%; |
| 10127 | overflow: hidden !important; |
| 10128 | text-overflow: ellipsis !important; |
| 10129 | white-space: nowrap !important; |
| 10130 | word-wrap: normal !important; } |
| 10131 | |
| 10132 | /** |
| 10133 | * Floats |
| 10134 | */ |
| 10135 | .dac-float-left { |
| 10136 | float: left !important; } |
| 10137 | |
| 10138 | .dac-float-right { |
| 10139 | float: right !important; } |
| 10140 | |
| 10141 | /** |
| 10142 | * New block formatting context |
| 10143 | * |
| 10144 | * This affords some useful properties to the element. It won't wrap under |
| 10145 | * floats. Will also contain any floated children. |
| 10146 | * N.B. This will clip overflow. Use the alternative method below if this is |
| 10147 | * problematic. |
| 10148 | */ |
| 10149 | .dac-nbfc { |
| 10150 | overflow: hidden !important; |
| 10151 | } |
| 10152 | |
| 10153 | /** |
| 10154 | * New block formatting context (alternative) |
| 10155 | * |
| 10156 | * Alternative method when overflow must not be clipped. |
| 10157 | * |
| 10158 | * N.B. This breaks down in some browsers when elements within this element |
| 10159 | * exceed its width. |
| 10160 | */ |
| 10161 | .dac-nbfc-alt { |
| 10162 | display: table-cell !important; |
| 10163 | width: 10000px !important; |
| 10164 | } |
| 10165 | |
Amanda Kassay | 8bac6eb | 2016-05-26 17:58:23 +0000 | [diff] [blame] | 10166 | .Video { |
| 10167 | display: none; |
| 10168 | } |
| 10169 | |
| 10170 | .Video-overlay { |
| 10171 | background-color: rgba(0, 0, 0, 0.8); |
| 10172 | width: 100%; |
| 10173 | height: 100%; |
| 10174 | position: fixed; |
| 10175 | top: 0; |
| 10176 | left: 0; |
| 10177 | z-index: 9999; |
| 10178 | } |
| 10179 | |
| 10180 | .Video-container { |
| 10181 | width: 90vw; |
| 10182 | height: 50.625vw; |
| 10183 | max-height: calc(90vh - 29.25px); |
| 10184 | max-width: calc(160vh - 52px); |
| 10185 | margin: auto; |
| 10186 | position: fixed; |
| 10187 | top: -52px; |
| 10188 | right: 0; |
| 10189 | bottom: 0; |
| 10190 | left: 0; |
| 10191 | z-index: 9999; |
| 10192 | } |
| 10193 | |
| 10194 | @media (min-width: 1422.22222222px) and (min-height: 800px) { |
| 10195 | .Video-container { |
| 10196 | width: 1280px; |
| 10197 | height: 720px; |
| 10198 | } |
| 10199 | } |
| 10200 | |
| 10201 | .Video-controls { |
| 10202 | background: #28655F; |
| 10203 | height: 52px; |
| 10204 | margin: 0 auto; |
| 10205 | position: relative; |
| 10206 | box-shadow: 2px 3px 12px 0px rgba(0, 0, 0, 0.4); |
| 10207 | } |
| 10208 | |
| 10209 | .Video-frame { |
| 10210 | position: relative; |
| 10211 | height: 100%; |
| 10212 | background: black; |
| 10213 | box-shadow: 2px 3px 12px 0px rgba(0, 0, 0, 0.4); |
| 10214 | } |
| 10215 | |
| 10216 | .Video-loading { |
| 10217 | color: rgba(255, 255, 255, 0.35); |
| 10218 | font-size: 16px; |
| 10219 | position: absolute; |
| 10220 | top: 50%; |
| 10221 | left: 50%; |
| 10222 | -webkit-transform: translate(-50%, -50%); |
| 10223 | -ms-transform: translate(-50%, -50%); |
| 10224 | transform: translate(-50%, -50%); |
| 10225 | } |
| 10226 | |
| 10227 | #youTubePlayer { |
| 10228 | max-height: 720px; |
| 10229 | position: absolute; |
| 10230 | top: 0; |
| 10231 | right: 0; |
| 10232 | bottom: 0; |
| 10233 | left: 0; |
| 10234 | width: 100%; |
| 10235 | height: 100%; |
| 10236 | } |
| 10237 | |
| 10238 | .Video-button { |
| 10239 | background-color: transparent; |
| 10240 | border: none; |
| 10241 | display: inline-block; |
| 10242 | height: 100%; |
| 10243 | width: 52px; |
| 10244 | outline: none; |
| 10245 | cursor: pointer; |
| 10246 | -webkit-transition: opacity 200ms; |
| 10247 | transition: opacity 200ms; |
| 10248 | } |
| 10249 | |
| 10250 | .Video-button:hover { |
| 10251 | opacity: 0.8; |
| 10252 | } |
| 10253 | |
| 10254 | .Video-button--picture-in-picture { |
| 10255 | background-position: 0px -461px; |
| 10256 | height: 24px; |
| 10257 | width: 24px; |
| 10258 | display: none; |
| 10259 | position: absolute; |
| 10260 | right: 64px; |
| 10261 | top: 14px; |
| 10262 | } |
| 10263 | |
| 10264 | .Video-button--close { |
| 10265 | background-position: 0px -435px; |
| 10266 | height: 24px; |
| 10267 | width: 24px; |
| 10268 | position: absolute; |
| 10269 | right: 14px; |
| 10270 | top: 14px; |
| 10271 | } |
| 10272 | |
| 10273 | @media (min-width: 720px) { |
| 10274 | .Video--picture-in-picture .Video-overlay { |
| 10275 | display: none; |
| 10276 | } |
| 10277 | |
| 10278 | .Video--picture-in-picture .Video-container { |
| 10279 | top: auto; |
| 10280 | left: auto; |
| 10281 | bottom: 20px; |
| 10282 | right: 20px; |
| 10283 | width: 40%; |
| 10284 | max-width: 420px; |
| 10285 | height: auto; |
| 10286 | } |
| 10287 | |
| 10288 | .Video--picture-in-picture .Video-button--picture-in-picture { |
| 10289 | background-position: 0px -409px; |
| 10290 | height: 24px; |
| 10291 | width: 24px; |
| 10292 | } |
| 10293 | |
| 10294 | .Video--picture-in-picture .Video-frame { |
| 10295 | padding-bottom: 56.25%; |
| 10296 | } |
| 10297 | |
| 10298 | .Video-button--picture-in-picture { |
| 10299 | display: inline-block; |
| 10300 | } |
| 10301 | } |
| 10302 | |
| 10303 | a.video-shadowbox-button.white { |
| 10304 | padding: 16px 42px 16px 8px; |
| 10305 | font-size: 18px; |
| 10306 | font-weight: 500; |
| 10307 | line-height: 24px; |
| 10308 | color: #fff; |
| 10309 | text-decoration: none; |
| 10310 | } |
| 10311 | |
| 10312 | a.video-shadowbox-button.white::after { |
| 10313 | content: ''; |
| 10314 | background-position: 0px -847px; |
| 10315 | height: 36px; |
| 10316 | width: 36px; |
| 10317 | } |
| 10318 | |
| 10319 | a.video-shadowbox-button.white:hover { |
| 10320 | color: #bababa !important; |
| 10321 | } |
| 10322 | |
| 10323 | a.video-shadowbox-button.white:hover::after { |
| 10324 | background-position: 0px -733px; |
| 10325 | height: 36px; |
| 10326 | width: 36px; |
| 10327 | } |
| 10328 | |
| 10329 | #video-frame, #video-container { |
| 10330 | display: none; |
| 10331 | } |
| 10332 | |
| 10333 | @media (max-width: 720px) { |
| 10334 | .wide-table { |
| 10335 | overflow-x: auto; |
| 10336 | } |
| 10337 | |
| 10338 | .wide-table table { |
| 10339 | display: inline-table; |
| 10340 | margin-right: 0; |
| 10341 | } |
| 10342 | } |
| 10343 | |
| 10344 | /* New CSS that isn't part of a component */ |
| 10345 | .paging-links { |
| 10346 | box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.2); |
| 10347 | margin: 30px 0; |
| 10348 | padding: 0 40px; |
| 10349 | /* Start class link doesn't have a caption */ } |
| 10350 | |
| 10351 | .paging-links .start-class-link, .paging-links .next-class-link, .paging-links .prev-page-link, .paging-links .next-page-link { |
| 10352 | font-size: 20px; |
| 10353 | font-weight: 500; |
| 10354 | display: inline-block; |
| 10355 | width: calc(50% - 2px); |
| 10356 | position: relative; |
| 10357 | padding: 46px 0 36px 0; |
| 10358 | } |
| 10359 | |
| 10360 | @media (max-width: 719px) { |
| 10361 | .paging-links .start-class-link, .paging-links .next-class-link, .paging-links .prev-page-link, .paging-links .next-page-link { |
| 10362 | width: 100%; |
| 10363 | } |
| 10364 | } |
| 10365 | |
| 10366 | .paging-links .start-class-link { |
| 10367 | padding: 36px 0; |
| 10368 | } |
| 10369 | |
| 10370 | .paging-links .start-class-link, .paging-links .next-class-link { |
| 10371 | text-align: center; |
| 10372 | width: 100%; |
| 10373 | } |
| 10374 | |
| 10375 | .paging-links .prev-page-link .page-link-caption { |
| 10376 | left: 0; |
| 10377 | } |
| 10378 | |
| 10379 | .paging-links .prev-page-link:before { |
| 10380 | content: ''; |
| 10381 | left: -24px; |
| 10382 | position: absolute; |
| 10383 | bottom: 41px; |
| 10384 | } |
| 10385 | |
| 10386 | @media (max-width: 719px) { |
| 10387 | .paging-links .prev-page-link { |
| 10388 | display: none; |
| 10389 | } |
| 10390 | } |
| 10391 | |
| 10392 | .paging-links .next-page-link, .paging-links .next-class-link { |
| 10393 | text-align: right; |
| 10394 | } |
| 10395 | |
| 10396 | .paging-links .next-page-link .page-link-caption, .paging-links .next-class-link .page-link-caption { |
| 10397 | right: 0; |
| 10398 | } |
| 10399 | |
| 10400 | .paging-links .next-page-link:before, .paging-links .next-class-link:before { |
| 10401 | content: ''; |
| 10402 | right: -24px; |
| 10403 | position: absolute; |
| 10404 | bottom: 41px; |
| 10405 | } |
| 10406 | |
| 10407 | .paging-links .start-class-link:after { |
| 10408 | content: ''; |
| 10409 | right: -12px; |
| 10410 | position: relative; |
| 10411 | bottom: 3px; |
| 10412 | } |
| 10413 | |
| 10414 | .paging-links .page-link-caption { |
| 10415 | position: absolute; |
| 10416 | top: 26px; |
| 10417 | font-size: 14px; |
| 10418 | font-weight: 700; |
| 10419 | opacity: 0.54; |
| 10420 | } |
| 10421 | |
| 10422 | #tb li:before, |
| 10423 | #qv li:before { |
| 10424 | background-position: 0px -669px; |
Dirk Dougherty | 0dc81b9 | 2015-12-08 14:49:52 -0800 | [diff] [blame] | 10425 | height: 24px; |
| 10426 | width: 24px; |
| 10427 | content: ''; |
| 10428 | left: -8px; |
| 10429 | opacity: .7; |
| 10430 | position: absolute; |
| 10431 | top: -4px; |
| 10432 | } |
Amanda Kassay | ebcf397 | 2016-03-31 10:03:57 -0400 | [diff] [blame] | 10433 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 10434 | #skip-to-main { |
| 10435 | border: 0; |
| 10436 | clip: rect(0 0 0 0); |
| 10437 | height: 1px; |
| 10438 | margin: -1px; |
| 10439 | overflow: hidden; |
| 10440 | padding: 0; |
| 10441 | position: absolute; |
| 10442 | width: 1px; |
Amanda Kassay | ebcf397 | 2016-03-31 10:03:57 -0400 | [diff] [blame] | 10443 | } |
| 10444 | |
smain@google.com | eeeb9b8 | 2016-08-29 18:12:27 -0700 | [diff] [blame] | 10445 | #skip-to-main:focus { |
| 10446 | background: #fff; |
| 10447 | clip: auto; |
| 10448 | height: auto; |
| 10449 | padding: 10px; |
| 10450 | width: auto; |
| 10451 | z-index: 10000; |
Amanda Kassay | ebcf397 | 2016-03-31 10:03:57 -0400 | [diff] [blame] | 10452 | } |