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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/elementsTreeOutline.css
diff --git a/Source/devtools/front_end/elements/elementsTreeOutline.css b/Source/devtools/front_end/elements/elementsTreeOutline.css
index 94deac8d1293a6e160a8cb5a4a8a4b6d1ece42dd..ac8fd457c7473f5a0fc56bfe4987e7ec7aac86fb 100644
--- a/Source/devtools/front_end/elements/elementsTreeOutline.css
+++ b/Source/devtools/front_end/elements/elementsTreeOutline.css
@@ -273,14 +273,21 @@ body.inactive button.text-button, .text-button:disabled {
}
/* DOM update highlight */
-
@-webkit-keyframes dom-update-highlight-animation {
- from { background-color: rgb(255, 242, 114); }
- 90% { background-color: rgb(255, 242, 114); }
- to { background-color: inherit; }
+ from {
+ background-color: rgb(158, 54, 153);
+ color: white;
+ }
+ 80% {
+ background-color: rgb(245, 219, 244);
+ color: inherit;
+ }
+ to {
+ background-color: inherit;
+ }
}
.dom-update-highlight {
- -webkit-animation: dom-update-highlight-animation 2s 1;
- color: red !important;
+ -webkit-animation: dom-update-highlight-animation 1.4s 1 cubic-bezier(0, 0, 0.2, 1);
+ border-radius: 2px;
}
« 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