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

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

Issue 1304173004: Devtools UI: Add node-specific actions into a ghost toolbar in DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase; remove material breadcrumb from experiment Created 5 years, 3 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 | « Source/devtools/front_end/elements/elementsPanel.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/elementsTreeOutline.css
diff --git a/Source/devtools/front_end/elements/elementsTreeOutline.css b/Source/devtools/front_end/elements/elementsTreeOutline.css
index 1def50e1beae4420829c331d937844654dd65a75..6ce620e7239b0fbad1d1ce04f8f8b58a75cc8673 100644
--- a/Source/devtools/front_end/elements/elementsTreeOutline.css
+++ b/Source/devtools/front_end/elements/elementsTreeOutline.css
@@ -218,6 +218,7 @@ button, input, select {
border-radius: 5px;
border: 1px solid orange;
background-color: orange;
+ cursor: pointer;
}
.elements-gutter-decoration.elements-has-decorated-children {
@@ -320,3 +321,52 @@ ol:focus li.selected .webkit-html-resource-link {
ol:focus li.selected .webkit-html-attribute-name {
color: #ccc;
}
+
+.elements-disclosure li.selected .selection > .node-actions-container {
+ visibility: visible;
+}
+
+.node-actions-container {
+ position: absolute;
+ z-index: 10000;
+ left: 0px;
+ height: 13px;
+ background-color: hsla(0,100%,100%,0.3);
+}
+
+.node-actions-toolbar {
+ position: absolute;
+ top: -30px;
+ left: 2px;
+ background: white;
+ border-radius: 3px;
+ border: 1px solid #B1B1B1;
+ visibility: hidden;
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37)
+
+}
+
+.node-actions-toggle {
+ -webkit-mask-position: -201px -26px;
+ width: 16.25px;
+ height: 20px;
+ transform: scale(0.8) rotate(90deg);
+ -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);
+ -webkit-mask-size: 352px 168px;
+ background-color: #FFFFFF;
+ z-index: 1;
+ margin-top: -3px;
+ cursor: pointer;
+}
+
+.gutter-container.has-decorations .node-actions-toggle {
+ opacity: 0;
+}
+
+.node-actions-container.expanded > .node-actions-toolbar {
+ visibility: visible;
+}
+
+.node-actions-toolbar-below {
+ margin-top: 2px;
+}
« no previous file with comments | « Source/devtools/front_end/elements/elementsPanel.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698