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

Unified Diff: third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css

Issue 2472213005: DevTools: introduce "Track CSS Usage" experiment (Closed)
Patch Set: Unused CSS highlight in sources panel Created 4 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
Index: third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css
diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css b/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css
index 4f7d1fcd436e6499fc05745867c05b77bbde5c5e..23b534345929b98f90b3fd392f69471988d55d4e 100644
--- a/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css
+++ b/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css
@@ -14,6 +14,12 @@
margin-left: 3px;
}
+.gutter-cssTracking {
+ width: 20px;
+ background-color: white;
+ margin-left: 3px;
+}
+
.CodeMirror .source-frame-eval-expression {
outline: 0;
border: 1px solid rgb(163, 41, 34);
@@ -268,6 +274,16 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
padding-right: 3px;
}
+.CodeMirror .text-editor-line-marker-cssTracking {
+ text-align: right;
+ padding-right: 3px;
+ background-color: red;
+}
+
+.CodeMirror .text-editor-line-marker-cssTracking::after{
alph 2016/11/08 17:10:25 nit: space before {
+ content: " ";
+}
+
.CodeMirror .text-editor-line-decoration {
position: absolute;
}

Powered by Google App Engine
This is Rietveld 408576698