Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: Source/devtools/front_end/elements/animationTimeline.css

Issue 1155773002: Devtools Animations: Add cubic bezier easing editor for animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 } 280 }
276 281
277 .animation-node-row.animation-node-removed { 282 .animation-node-row.animation-node-removed {
278 background-color: #fff0f0; 283 background-color: #fff0f0;
279 } 284 }
280 285
281 svg.animation-ui g:first-child { 286 svg.animation-ui g:first-child {
282 opacity: 1; 287 opacity: 1;
283 } 288 }
284 289
285 .animation-tail-iterations { 290 g {
286 opacity: 0.5; 291 opacity: 0.5;
287 } 292 }
288 293
289 svg.animation-ui.animation-ui-canceled { 294 svg.animation-ui.animation-ui-canceled {
290 -webkit-filter: grayscale(100%); 295 -webkit-filter: grayscale(100%);
291 transition: -webkit-filter 100ms cubic-bezier(0, 0, 0.2, 1); 296 transition: -webkit-filter 100ms cubic-bezier(0, 0, 0.2, 1);
292 } 297 }
293 298
294 .animation-keyframe-step line { 299 .animation-keyframe-step line {
295 stroke-width: 2; 300 stroke-width: 2;
(...skipping 11 matching lines...) Expand all
307 z-index: 1; 312 z-index: 1;
308 overflow-x: hidden; 313 overflow-x: hidden;
309 } 314 }
310 315
311 .toolbar.animation-controls-toolbar { 316 .toolbar.animation-controls-toolbar {
312 float: right; 317 float: right;
313 } 318 }
314 319
315 .animation-node-row.animation-node-selected { 320 .animation-node-row.animation-node-selected {
316 background-color: hsla(218, 78%, 66%, 0.1); 321 background-color: hsla(218, 78%, 66%, 0.1);
317 } 322 }
323
324 .bezier-icon {
325 width: 14px;
326 height: 14px;
327 background-color: #9C27B0;
328 position: absolute;
329 top: 13px;
330 border-radius: 2px;
331 opacity: 0;
332 z-index: 10;
333 padding: 2px;
334 left: -30px;
335 transition: opacity 100ms cubic-bezier(0, 0, 0.2, 1);
336 transition-delay: 500ms;
337 }
338
339 .bezier-icon.shown {
340 opacity: 0.3;
341 transition-delay: 0s;
342 }
343
344 .bezier-icon.bezier-editor-open {
345 opacity: 1.0 !important;
346 }
347
348 .bezier-icon:hover {
349 opacity: 1.0;
350 transition-delay: 0s;
351 }
352
353 .bezier-icon path {
354 stroke: white;
355 stroke-width: 1.5;
356 stroke-linecap: square;
357 fill: none;
358 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/StylesSidebarPane.js ('k') | Source/devtools/front_end/elements/module.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698