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

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: Fix padding Created 5 years, 7 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..592beb2efb0b88e93a5a51a60a0ab98699e00a55 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,25 @@
white-space: nowrap;
}
+:host-context(.material) .crumb {
+ padding: 0px 4px;
+ cursor: pointer;
+ border-radius: 2px;
+ line-height: 18px;
+ margin: 5px 0px 5px 7px;
+ position: relative;
+ color: hsl(0, 0%, 39%);
+}
+
+:host-context(.material) .crumb:not(.collapsed):not(:first-child):before {
+ content: '⟩';
+ position: absolute;
+ left: -7px;
+ color: hsl(0, 0%, 39%);
+ width: 7px;
+ text-align: center;
+}
+
.crumbs .crumb.collapsed > * {
display: none;
}
@@ -38,6 +58,14 @@
text-shadow: rgba(255, 255, 255, 0.5) 0 0 0;
}
+:host-context(.material) .crumb.selected {
+ background-color: hsl(216, 68%, 53%) !important;
+}
+
.crumbs .crumb:hover {
background-color: rgb(216, 216, 216);
}
+
+:host-context(.material) .crumb:hover {
+ background-color: hsla(216, 68%, 53%, 0.2);
+}

Powered by Google App Engine
This is Rietveld 408576698