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

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

Issue 1312033008: Devtools UI: Upgrade breadcrumbs to material design UI (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/breadcrumbs.css
diff --git a/Source/devtools/front_end/elements/breadcrumbs.css b/Source/devtools/front_end/elements/breadcrumbs.css
index 1eb9159e59ba8e51956a4e95632ebabe7b0aa362..2869ec0151f7cc09845b54622d125019b1414b46 100644
--- a/Source/devtools/front_end/elements/breadcrumbs.css
+++ b/Source/devtools/front_end/elements/breadcrumbs.css
@@ -9,37 +9,28 @@
pointer-events: auto;
cursor: default;
font-size: 11px;
- line-height: 17px;
white-space: nowrap;
}
.crumbs .crumb {
display: inline-block;
- padding: 0 7px;
- height: 18px;
white-space: nowrap;
-}
-
-:host-context(.material) .crumb {
- padding: 0px 4px 0px 11px;
+ padding: 0px 4px;
+ border-radius: 2px;
cursor: pointer;
line-height: 18px;
- margin: 4px 0px;
+ margin: 4px;
position: relative;
color: hsl(0, 0%, 35%);
}
-:host-context(.material) .crumb:not(.collapsed):first-child {
- padding-left: 2px;
-}
-
-:host-context(.material) .crumb:not(.collapsed):not(:first-child):before {
- content: "\27E9";
+.crumb:not(.collapsed):not(:first-child):before {
+ content: "\276D";
position: absolute;
- left: 0px;
- color: hsl(0, 0%, 35%);
- width: 7px;
+ left: -7.5px;
+ font-size: 9px;
text-align: center;
+ color: hsl(0, 0%, 60%);
}
.crumbs .crumb.collapsed > * {
@@ -56,25 +47,10 @@
}
.crumbs .crumb.selected, .crumbs .crumb.selected:hover {
- background-color: rgb(56, 121, 217);
color: white;
- 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;
+ background-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;
+ background-color: hsl(211, 100%, 95%);
}

Powered by Google App Engine
This is Rietveld 408576698