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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 .crumbs { 7 .crumbs {
8 display: inline-block; 8 display: inline-block;
9 pointer-events: auto; 9 pointer-events: auto;
10 cursor: default; 10 cursor: default;
11 font-size: 11px; 11 font-size: 11px;
12 line-height: 17px; 12 line-height: 17px;
13 white-space: nowrap;
13 } 14 }
14 15
15 .crumbs .crumb { 16 .crumbs .crumb {
16 display: inline-block; 17 display: inline-block;
17 padding: 0 7px; 18 padding: 0 7px;
18 height: 18px; 19 height: 18px;
19 white-space: nowrap; 20 white-space: nowrap;
20 } 21 }
21 22
23 :host-context(.material) .crumb {
24 padding: 0px 4px;
25 cursor: pointer;
26 border-radius: 2px;
27 line-height: 18px;
28 margin: 5px 0px 5px 7px;
29 position: relative;
30 color: hsl(0, 0%, 39%);
31 }
32
33 :host-context(.material) .crumb:not(.collapsed):not(:first-child):before {
34 content: '⟩';
35 position: absolute;
36 left: -7px;
37 color: hsl(0, 0%, 39%);
38 width: 7px;
39 text-align: center;
40 }
41
22 .crumbs .crumb.collapsed > * { 42 .crumbs .crumb.collapsed > * {
23 display: none; 43 display: none;
24 } 44 }
25 45
26 .crumbs .crumb.collapsed::before { 46 .crumbs .crumb.collapsed::before {
27 content: "\2026"; 47 content: "\2026";
28 font-weight: bold; 48 font-weight: bold;
29 } 49 }
30 50
31 .crumbs .crumb.compact .extra { 51 .crumbs .crumb.compact .extra {
32 display: none; 52 display: none;
33 } 53 }
34 54
35 .crumbs .crumb.selected, .crumbs .crumb.selected:hover { 55 .crumbs .crumb.selected, .crumbs .crumb.selected:hover {
36 background-color: rgb(56, 121, 217); 56 background-color: rgb(56, 121, 217);
37 color: white; 57 color: white;
38 text-shadow: rgba(255, 255, 255, 0.5) 0 0 0; 58 text-shadow: rgba(255, 255, 255, 0.5) 0 0 0;
39 } 59 }
40 60
61 :host-context(.material) .crumb.selected {
62 background-color: hsl(216, 68%, 53%) !important;
63 }
64
41 .crumbs .crumb:hover { 65 .crumbs .crumb:hover {
42 background-color: rgb(216, 216, 216); 66 background-color: rgb(216, 216, 216);
43 } 67 }
68
69 :host-context(.material) .crumb:hover {
70 background-color: hsla(216, 68%, 53%, 0.2);
71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698