forked from IDuxFE/idux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.less
49 lines (41 loc) 路 1.06 KB
/
index.less
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
@import '../../style/variable/index.less';
.@{breadcrumb-prefix} {
box-sizing: border-box;
margin: 0;
padding: 0;
list-style: none;
font-size: var(--ix-breadcrumb-font-size);
color: var(--ix-breadcrumb-item-color);
white-space: nowrap;
line-height: calc(var(--ix-breadcrumb-font-size) + var(--ix-line-height-gutter));
& ol {
list-style: none;
padding: 0;
margin: 0;
}
& a {
color: var(--ix-breadcrumb-link-color);
transition: color var(--ix-motion-duration-medium) var(--ix-motion-ease-in-out);
text-decoration: none;
&:hover {
color: var(--ix-breadcrumb-link-color-hover);
}
}
&-item {
display: inline-flex;
&-separator {
font-size: var(--ix-breadcrumb-separator-font-size);
margin: var(--ix-breadcrumb-separator-margin);
color: var(--ix-breadcrumb-separator-color);
}
}
&-item:last-child {
color: var(--ix-breadcrumb-last-item-color);
.@{breadcrumb-prefix}-item-separator {
display: none;
}
a {
color: var(--ix-breadcrumb-last-item-color);
}
}
}