-
Notifications
You must be signed in to change notification settings - Fork 202
Expand file tree
/
Copy pathBreadcrumb.css
More file actions
78 lines (67 loc) · 1.81 KB
/
Copy pathBreadcrumb.css
File metadata and controls
78 lines (67 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/* ─── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb {
width: 100%;
overflow: hidden;
}
.breadcrumb__list {
display: flex;
flex-wrap: nowrap;
align-items: center;
gap: 0;
list-style: none;
margin: 0;
padding: 0;
font-size: var(--text-sm, 0.875rem);
min-width: 0;
}
.breadcrumb__item {
display: inline-flex;
align-items: center;
min-width: 0;
overflow: hidden;
}
.breadcrumb__sep {
margin: 0 var(--space-2, 0.5rem);
color: var(--muted, #8b949e);
user-select: none;
flex-shrink: 0;
}
.breadcrumb__link {
color: var(--accent, #58a6ff);
text-decoration: none;
max-width: 260px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: bottom;
padding: var(--space-1, 0.25rem) var(--space-2, 0.5rem);
border-radius: var(--radius-sm, 0.375rem);
transition: background-color 0.15s ease;
}
.breadcrumb__link:hover {
background: var(--accent-tint, rgba(88, 166, 255, 0.12));
text-decoration: underline;
}
.breadcrumb__link:focus-visible {
outline: 2px solid var(--accent, #58a6ff);
outline-offset: 2px;
}
.breadcrumb__label {
color: var(--muted, #8b949e);
max-width: 260px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: var(--space-1, 0.25rem) var(--space-2, 0.5rem);
}
.breadcrumb__label--current {
color: var(--text, #e6edf3);
font-weight: 600;
}
/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
.breadcrumb__link,
.breadcrumb__label {
max-width: 140px;
}
}