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

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

Issue 1158133004: Devtools UX: Add elements toolbar with breadcrumbs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/breadcrumbs.css
diff --git a/Source/devtools/front_end/elements/breadcrumbs.css b/Source/devtools/front_end/elements/breadcrumbs.css
index ad0f668fb6e31da956f8b70bd09ee827fd28cfa4..165208d42e810b6fb9b080426cfca34e73eceb04 100644
--- a/Source/devtools/front_end/elements/breadcrumbs.css
+++ b/Source/devtools/front_end/elements/breadcrumbs.css
@@ -10,6 +10,7 @@
cursor: default;
font-size: 11px;
line-height: 17px;
+ white-space: nowrap;
}
.crumbs .crumb {
@@ -19,6 +20,24 @@
white-space: nowrap;
}
+:host-context(.material) .crumb {
+ padding: 0px 4px 0px 11px;
+ cursor: pointer;
+ line-height: 18px;
+ margin: 5px 0px;
+ position: relative;
+ color: hsl(0, 0%, 35%);
+}
+
+:host-context(.material) .crumb:not(.collapsed):not(:first-child):before {
+ content: "\27E9";
+ position: absolute;
+ left: 0px;
+ color: hsl(0, 0%, 35%);
+ width: 7px;
+ text-align: center;
+}
+
.crumbs .crumb.collapsed > * {
display: none;
}
@@ -38,6 +57,20 @@
text-shadow: rgba(255, 255, 255, 0.5) 0 0 0;
}
+:host-context(.material) .crumb.selected {
+ color: hsl(0, 0%, 35%);
+ background-color: transparent !important;
+}
+
+:host-context(.material) .crumb.selected:before {
+ color: hsl(217, 89%, 61%) !important;
+}
+
.crumbs .crumb:hover {
background-color: rgb(216, 216, 216);
}
+
+:host-context(.material) .crumb:hover {
+ background-color: transparent;
+ color: hsl(0, 0%, 20%) !important;
+}
« no previous file with comments | « Source/devtools/front_end/elements/ElementsPanel.js ('k') | Source/devtools/front_end/elements/elementsPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698