Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
| 4 | 4 |
| 5 /* Set the global 'box-sizing' state to 'border-box'. | 5 /* Set the global 'box-sizing' state to 'border-box'. |
| 6 * *::after and *::before used to select pseudo-elements not selectable by *. */ | 6 * *::after and *::before used to select pseudo-elements not selectable by *. */ |
| 7 | 7 |
| 8 *, | 8 *, |
| 9 *::after, | 9 *::after, |
| 10 *::before { | 10 *::before { |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 267 pre { | 267 pre { |
| 268 line-height: 1.296rem; | 268 line-height: 1.296rem; |
| 269 overflow-x: scroll; | 269 overflow-x: scroll; |
| 270 padding: .5em; | 270 padding: .5em; |
| 271 } | 271 } |
| 272 | 272 |
| 273 .hidden { | 273 .hidden { |
| 274 display: none; | 274 display: none; |
| 275 } | 275 } |
| 276 | 276 |
| 277 /* Iframe sizing. */ | |
| 278 .youtubeContainer { | |
| 279 height: 0px; | |
| 280 padding-bottom: 60%; | |
|
cjhopman
2015/03/19 03:34:47
this is based on the video aspect ratio, right? co
mdjones
2015/03/19 18:08:39
Done.
| |
| 281 position: relative; | |
| 282 width: 100%; | |
| 283 } | |
| 284 | |
| 285 .youtubeIframe { | |
| 286 height: 100%; | |
| 287 left: 0px; | |
| 288 position: absolute; | |
| 289 top: 0px; | |
| 290 width: 100%; | |
| 291 } | |
|
cjhopman
2015/03/19 03:34:47
Could you add a screenshot to the description so I
mdjones
2015/03/19 18:08:39
Done. See https://code.google.com/p/chromium/issue
| |
| 292 | |
| 277 /* Loading Indicator. */ | 293 /* Loading Indicator. */ |
| 278 #loader { | 294 #loader { |
| 279 height: 22px; | 295 height: 22px; |
| 280 margin-left: auto; | 296 margin-left: auto; |
| 281 margin-right: auto; | 297 margin-right: auto; |
| 282 position: relative; | 298 position: relative; |
| 283 width: 22px; | 299 width: 22px; |
| 284 } | 300 } |
| 285 | 301 |
| 286 #loader * { | 302 #loader * { |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 672 border-color: rgb(250,36,36); | 688 border-color: rgb(250,36,36); |
| 673 } | 689 } |
| 674 | 690 |
| 675 #loader.red .circle.red .mask.first .mover { | 691 #loader.red .circle.red .mask.first .mover { |
| 676 background-color: rgb(33,89,189); | 692 background-color: rgb(33,89,189); |
| 677 } | 693 } |
| 678 | 694 |
| 679 #loader.red .circle.red .mask.second .mover { | 695 #loader.red .circle.red .mask.second .mover { |
| 680 background-color: rgb(250,36,36); | 696 background-color: rgb(250,36,36); |
| 681 } | 697 } |
| OLD | NEW |