_breadcrumb.css
2.23 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.cart-bc {
width: 100%;
position: relative;
background: #999;
top: -2px;
.breadcrumb {
list-style: none;
overflow: hidden;
margin: 0;
padding: 0;
height: 32px;
li.current {
background: #1b1b1b;
color: #fff;
&:after,
&:before {
content: "";
position: absolute;
width: 0;
height: 0;
top: 0;
height: 32px;
overflow: hidden;
}
&:after {
right: 0;
border: 16px solid #fff;
border-left-color: #1b1b1b;
border-right: 0;
}
&:before {
left: 0;
border: 16px solid #1b1b1b;
border-left-color: #fff;
}
}
li {
float: left;
width: 365px;
text-align: center;
position: relative;
z-index: 2;
font-weight: bold;
font-size: 14px;
line-height: 35px;
a {
color: #fff;
width: 100%;
display: inline-block;
position: relative;
cursor: default;
}
&:after,
&:before {
content: "";
position: absolute;
width: 0;
height: 0;
top: 0;
height: 32px;
overflow: hidden;
}
&:after {
right: 0;
border: 16px solid #fff;
border-left-color: #999;
border-right: 0;
}
&:before {
left: 0;
border: 16px solid #999;
border-left-color: #fff;
}
&.ie8-last-bug:after {
display: none;
}
&:first-child:before {
display: none;
}
}
.level-1 {
width: 375px;
}
.level-2 {
width: 400px;
}
.level-3 {
width: 375px;
}
}
}