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

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: 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
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 01a16a63e934fa91af62badeb8a91d39a956a671..245c0d46a5cb5b50693390b92009eb219bce8926 100644
--- a/Source/devtools/front_end/elements/elementsTreeOutline.css
+++ b/Source/devtools/front_end/elements/elementsTreeOutline.css
@@ -216,6 +216,7 @@ button, input, select {
border-radius: 5px;
border: 1px solid orange;
background-color: orange;
+ cursor: pointer;
}
.elements-gutter-decoration.elements-has-decorated-children {
@@ -318,3 +319,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;
+}

Powered by Google App Engine
This is Rietveld 408576698