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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css

Issue 2770743004: DevTools: improve $0 selected element hint in elements (Closed)
Patch Set: ac Created 3 years, 9 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/elements/elementsTreeOutline.css
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css b/third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css
index bff1df95a9e3c2261619dfa3f6c136d0ff84b0da..d647f015f13a49007583a8bd01967222fa2cc009 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css
+++ b/third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css
@@ -25,20 +25,12 @@
margin-left: -13px;
}
-.elements-disclosure li.selected:after {
+.elements-disclosure li.selected .selected-hint:before {
font-style: italic;
content: " == $0";
- color: black;
opacity: 0.6;
position: absolute;
-}
-
-.elements-disclosure li.selected.editing-as-html:after {
lushnikov 2017/03/25 09:42:31 these classes served an important role of making '
luoe 2017/03/27 17:26:27 After removing the 'color: black' style, the selec
- display: none;
-}
-
-.elements-disclosure ol li.selected:focus:after {
- color: white;
+ white-space: pre;
}
.elements-disclosure li.parent::before {

Powered by Google App Engine
This is Rietveld 408576698