-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbreadcrumbs.css
More file actions
49 lines (41 loc) · 883 Bytes
/
breadcrumbs.css
File metadata and controls
49 lines (41 loc) · 883 Bytes
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
/* Simple Breadcrumbs
licensed under MIT.
by Evan Myller (emyller@7ws.co)
*/
ul.simplebreadcrumb {
font-family: sans-serif;
padding: 0;
}
ul.simplebreadcrumb ul,
ul.simplebreadcrumb li {
display: inline-block;
overflow: hidden;
padding: 0;
white-space: nowrap;
}
ul.simplebreadcrumb a {
color: inherit;
text-decoration: none;
}
/* arrow */
ul.simplebreadcrumb li._has_subitems > :first-child {
padding-right: 1em;
position: relative;
}
ul.simplebreadcrumb li._has_subitems > :first-child:before {
content: '\203A';
display: inline-block;
position: absolute;
right: 0;
width: 1em;
text-align: center;
transform: rotate(90deg);
transition: 250ms;
}
ul.simplebreadcrumb li._has_subitems.selected > :first-child:before {
transform: rotate(0);
}
/* items with ends only */
ul.simplebreadcrumb li._has_no_subitems * {
text-decoration: underline;
}