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

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

Issue 2404533002: DevTools: render element tree hover as a block. (Closed)
Patch Set: Created 4 years, 2 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
« 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: 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 17b34dd159fe9e34987caaf0deb722f68ed76fab..c236b1ab948bfd9b4e1df4e037c5c977926df7ec 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css
+++ b/third_party/WebKit/Source/devtools/front_end/elements/elementsTreeOutline.css
@@ -354,7 +354,18 @@ li.selected {
z-index: 0;
}
-li.hovered:not(.always-parent) + ol.children, .elements-tree-outline ol.shadow-root, li.selected:not(.always-parent) + ol.children {
+
+li.hovered:not(.always-parent) + ol.children::before {
+ background-color: rgba(56, 121, 217, 0.1);
+ content: "a";
+ position: absolute;
+ top: -1px;
+ bottom: 0;
+ left: -10000px;
+ right: 0;
+}
+
+.elements-tree-outline ol.shadow-root, li.selected:not(.always-parent) + ol.children {
margin-left: 5px;
-webkit-padding-start: 6px;
border-width: 1px;
« 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