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

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

Issue 1530353003: DevTools: jump from computed style to styles sidebar pane. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaseline Created 4 years, 11 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/computedStyleSidebarPane.css
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/computedStyleSidebarPane.css b/third_party/WebKit/Source/devtools/front_end/elements/computedStyleSidebarPane.css
index becf8327ee748262f63e3b931a28be27a80f4f43..84a06ad2bb3ddb5c93c4944221a13910304637e0 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/computedStyleSidebarPane.css
+++ b/third_party/WebKit/Source/devtools/front_end/elements/computedStyleSidebarPane.css
@@ -21,6 +21,28 @@
.computed-style-property .property-value {
min-width: 5em;
+ position: relative;
+}
+
+.tree-outline li:hover .goto-source-icon {
+ display: block;
+}
+
+.goto-source-icon {
+ -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
+ -webkit-mask-position: 0 -120px;
+ background-color: #5a5a5a;
+ width: 28px;
+ height: 24px;
+ display: none;
+ position: absolute;
+ top: -6px;
+ left: -27px;
+ transform: scale(0.8);
+}
+
+.goto-source-icon:hover {
+ background-color: #333;
}
.computed-style-property-inherited {
@@ -53,6 +75,7 @@
.property-trace-value {
position: relative;
display: inline-block;
+ margin-left: 2em;
}
.property-trace-inactive .property-trace-value::before {

Powered by Google App Engine
This is Rietveld 408576698