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

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

Issue 723533002: DevTools: make the fading curve nicer for DOM update highlight. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2014 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 .outline-disclosure { 7 .outline-disclosure {
8 width: 100%; 8 width: 100%;
9 display: inline-block; 9 display: inline-block;
10 line-height: normal; 10 line-height: normal;
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 .nowrap, .nowrap .li { 267 .nowrap, .nowrap .li {
268 white-space: pre !important; 268 white-space: pre !important;
269 } 269 }
270 270
271 .outline-disclosure .nowrap li { 271 .outline-disclosure .nowrap li {
272 word-wrap: normal; 272 word-wrap: normal;
273 } 273 }
274 274
275 /* DOM update highlight */ 275 /* DOM update highlight */
276
277 @-webkit-keyframes dom-update-highlight-animation { 276 @-webkit-keyframes dom-update-highlight-animation {
278 from { background-color: rgb(255, 242, 114); } 277 from {
279 90% { background-color: rgb(255, 242, 114); } 278 background-color: rgb(158, 54, 153);
280 to { background-color: inherit; } 279 color: white;
280 }
281 80% {
282 background-color: rgb(245, 219, 244);
283 color: inherit;
284 }
285 to {
286 background-color: inherit;
287 }
281 } 288 }
282 289
283 .dom-update-highlight { 290 .dom-update-highlight {
284 -webkit-animation: dom-update-highlight-animation 2s 1; 291 -webkit-animation: dom-update-highlight-animation 1.4s 1 cubic-bezier(0, 0, 0.2, 1);
285 color: red !important; 292 border-radius: 2px;
286 } 293 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698