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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/sourcesView.css

Issue 2128093004: DevTools: Add color swatches to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inline color swatches Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/sources/sourcesView.css
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/sourcesView.css b/third_party/WebKit/Source/devtools/front_end/sources/sourcesView.css
index d7996c40a29fd9fe260544f41db7f359382699cb..d3e7065fb6a98ec69a7b59901dd34d91800af483 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/sourcesView.css
+++ b/third_party/WebKit/Source/devtools/front_end/sources/sourcesView.css
@@ -143,6 +143,11 @@
width: 4px;
}
+/* Don't show text associated with color swatch */
+[is="color-swatch"] > span {
lushnikov 2016/07/12 03:48:02 a better way would be adding an API to the ColorSw
flandy 2016/07/12 21:17:15 Done.
+ display: none;
+}
+
.highlight-line-modification {
animation: source-line-modification-background-fadeout 0.4s 0s;
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);

Powered by Google App Engine
This is Rietveld 408576698