Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 .animation-node-row { | 7 .animation-node-row { |
| 8 width: 100%; | 8 width: 100%; |
| 9 display: flex; | 9 display: flex; |
| 10 border-bottom: 1px dashed #ccc; | 10 border-bottom: 1px dashed #ccc; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 circle.animation-endpoint, circle.animation-keyframe-point { | 52 circle.animation-endpoint, circle.animation-keyframe-point { |
| 53 transition: transform 100ms cubic-bezier(0, 0, 0.2, 1); | 53 transition: transform 100ms cubic-bezier(0, 0, 0.2, 1); |
| 54 transform: scale(1); | 54 transform: scale(1); |
| 55 transform-origin: 50% 50%; | 55 transform-origin: 50% 50%; |
| 56 } | 56 } |
| 57 | 57 |
| 58 circle.animation-endpoint:hover, circle.animation-keyframe-point:hover { | 58 circle.animation-endpoint:hover, circle.animation-keyframe-point:hover { |
| 59 transform: scale(1.2); | 59 transform: scale(1.2); |
| 60 } | 60 } |
| 61 | 61 |
| 62 .animation-tail-iterations circle.animation-endpoint:hover, .animation-tail-iter ations circle.animation-keyframe-point:hover { | |
| 63 transform: scale(1); | |
| 64 } | |
| 65 | |
| 62 circle.animation-endpoint:active, circle.animation-keyframe-point:active { | 66 circle.animation-endpoint:active, circle.animation-keyframe-point:active { |
| 63 transform: scale(1); | 67 transform: scale(1); |
| 64 } | 68 } |
| 65 | 69 |
| 66 circle.animation-keyframe-point { | 70 circle.animation-keyframe-point { |
| 67 fill: white; | 71 fill: white; |
| 68 } | 72 } |
| 69 | 73 |
| 70 .animation-name { | 74 .animation-name { |
| 71 position: absolute; | 75 position: absolute; |
| 72 top: 15px; | 76 top: 15px; |
| 73 color: #333; | 77 color: #333; |
| 74 text-align: center; | 78 text-align: center; |
| 75 margin-left: -8px; | 79 margin-left: -8px; |
| 76 text-overflow: ellipsis; | 80 text-overflow: ellipsis; |
| 77 overflow: hidden; | 81 overflow: hidden; |
| 78 white-space: nowrap; | 82 white-space: nowrap; |
| 83 min-width: 45px; | |
| 79 } | 84 } |
| 80 | 85 |
| 81 .animation-timeline-header { | 86 .animation-timeline-header { |
| 82 height: 44px; | 87 height: 44px; |
| 83 border-bottom: 1px solid #ccc; | 88 border-bottom: 1px solid #ccc; |
| 84 flex-shrink: 0; | 89 flex-shrink: 0; |
| 85 } | 90 } |
| 86 | 91 |
| 87 .animation-controls { | 92 .animation-controls { |
| 88 width: 200px; | 93 width: 200px; |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 279 } | 284 } |
| 280 | 285 |
| 281 .animation-node-row.animation-node-removed { | 286 .animation-node-row.animation-node-removed { |
| 282 background-color: #fff0f0; | 287 background-color: #fff0f0; |
| 283 } | 288 } |
| 284 | 289 |
| 285 svg.animation-ui g:first-child { | 290 svg.animation-ui g:first-child { |
| 286 opacity: 1; | 291 opacity: 1; |
| 287 } | 292 } |
| 288 | 293 |
| 289 .animation-tail-iterations { | 294 g { |
| 290 opacity: 0.5; | 295 opacity: 0.5; |
| 291 } | 296 } |
| 292 | 297 |
| 293 svg.animation-ui.animation-ui-canceled { | 298 svg.animation-ui.animation-ui-canceled { |
| 294 -webkit-filter: grayscale(100%); | 299 -webkit-filter: grayscale(100%); |
| 295 transition: -webkit-filter 100ms cubic-bezier(0, 0, 0.2, 1); | 300 transition: -webkit-filter 100ms cubic-bezier(0, 0, 0.2, 1); |
| 296 } | 301 } |
| 297 | 302 |
| 298 .animation-keyframe-step line { | 303 .animation-keyframe-step line { |
| 299 stroke-width: 2; | 304 stroke-width: 2; |
| 300 stroke-opacity: 0.3; | 305 stroke-opacity: 0.3; |
| 301 } | 306 } |
| 302 | 307 |
| 303 text.animation-timeline-grid-label { | 308 text.animation-timeline-grid-label { |
| 304 font-size: 10px; | 309 font-size: 10px; |
| 305 fill: #999; | 310 fill: #999; |
| 306 } | 311 } |
| 307 | 312 |
| 308 .animation-timeline-rows { | 313 .animation-timeline-rows { |
| 309 flex-grow: 1; | 314 flex-grow: 1; |
| 310 overflow-y: auto; | 315 overflow-y: auto; |
| 311 z-index: 1; | 316 z-index: 1; |
| 312 } | 317 } |
| 313 | 318 |
| 314 .toolbar.animation-controls-toolbar { | 319 .toolbar.animation-controls-toolbar { |
| 315 float: right; | 320 float: right; |
| 316 } | 321 } |
| 322 | |
| 323 .bezier-icon { | |
| 324 width: 14px; | |
| 325 height: 14px; | |
| 326 background-color: #9C27B0; | |
| 327 position: absolute; | |
| 328 top: 13px; | |
| 329 border-radius: 2px; | |
| 330 opacity: 0; | |
| 331 z-index: 10; | |
| 332 padding: 2px; | |
| 333 left: -30px; | |
| 334 transition: opacity 100ms cubic-bezier(0, 0, 0.2, 1); | |
| 335 transition-delay: 500ms; | |
| 336 } | |
| 337 | |
| 338 .bezier-icon.shown { | |
|
dgozman
2015/05/26 12:02:23
We usually use ".hidden" instead of ".shown". Does
samli
2015/05/27 05:21:59
In this case it wouldn't since I want to animate t
| |
| 339 opacity: 0.3; | |
| 340 transition-delay: 0s; | |
| 341 } | |
| 342 | |
| 343 .bezier-icon.bezier-editor-open { | |
| 344 opacity: 1.0 !important; | |
| 345 } | |
| 346 | |
| 347 .bezier-icon:hover { | |
| 348 opacity: 1.0; | |
| 349 transition-delay: 0s; | |
| 350 } | |
| 351 | |
| 352 .bezier-icon path { | |
| 353 stroke: white; | |
| 354 stroke-width: 1.5; | |
| 355 stroke-linecap: square; | |
| 356 fill: none; | |
| 357 } | |
| OLD | NEW |