OLD | NEW |
1 /* Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 /* Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 * for details. All rights reserved. Use of this source code is governed by a | 2 * for details. All rights reserved. Use of this source code is governed by a |
3 * BSD-style license that can be found in the LICENSE file. */ | 3 * BSD-style license that can be found in the LICENSE file. */ |
4 | 4 |
5 iframe { | 5 iframe { |
6 /* We would use display: none here, but then Firefox fails to properly compute | 6 /* We would use display: none here, but then Firefox fails to properly compute |
7 * styles. See #274 */ | 7 * styles. See #274 */ |
8 visibility: hidden; | 8 visibility: hidden; |
9 } | 9 } |
10 | 10 |
| 11 #play { |
| 12 display: none; |
| 13 cursor: pointer; |
| 14 } |
| 15 |
| 16 #dark { |
| 17 display: none; |
| 18 } |
| 19 |
| 20 .paused #play { |
| 21 display: block; |
| 22 } |
| 23 |
| 24 .paused #dark { |
| 25 display: block; |
| 26 position: absolute; |
| 27 width: 100%; |
| 28 height: 100%; |
| 29 top: 0; |
| 30 right: 0; |
| 31 background-color: rgba(0, 0, 0, 0.5); |
| 32 } |
| 33 |
| 34 .paused #right-flank, .paused #right-ear, .paused #right-paw, |
| 35 .paused #left-flank, .paused #left-ear, .paused #left-paw { |
| 36 -webkit-animation-play-state: paused; |
| 37 animation-play-state: paused; |
| 38 } |
| 39 |
11 /* Compiled output from | 40 /* Compiled output from |
12 * http://codepen.io/mknadler/pen/11b75cb014a3c382f54abf527655af21. */ | 41 * http://codepen.io/mknadler/pen/11b75cb014a3c382f54abf527655af21. */ |
13 | 42 |
14 svg { | 43 svg { |
15 position: absolute; | 44 position: absolute; |
16 margin: auto; | 45 margin: auto; |
17 left: 0; | 46 left: 0; |
18 right: 0; | 47 right: 0; |
19 bottom: 0; | 48 bottom: 0; |
20 top: 0; | 49 top: 0; |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 -webkit-transform: translate(110px, 0px) scale(0.4); | 289 -webkit-transform: translate(110px, 0px) scale(0.4); |
261 transform: translate(110px, 0px) scale(0.4); | 290 transform: translate(110px, 0px) scale(0.4); |
262 fill: #00A6E4; | 291 fill: #00A6E4; |
263 } | 292 } |
264 80% { | 293 80% { |
265 -webkit-transform: translate(0px, 0px) scale(1); | 294 -webkit-transform: translate(0px, 0px) scale(1); |
266 transform: translate(0px, 0px) scale(1); | 295 transform: translate(0px, 0px) scale(1); |
267 fill: #0074C1; | 296 fill: #0074C1; |
268 } | 297 } |
269 } | 298 } |
OLD | NEW |