makeIcon.css
1.57 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
/* 背景图标样式 */
html .hasicon i,
html .hasicon .eva-stars-click {
display: inline-block;
*display: inline;
*zoom: 1;
background-image: url(../../images/one-icon.png);
background-repeat: no-repeat;
}
html .hasicon i {
width: 28px;
height: 36px;
vertical-align: middle;
}
/* 好评图标 */
html .hasicon i.nice {
background-position: 0 -116px;
}
/* 中评图标 */
html .hasicon i.medium {
background-position: -33px -116px;
}
/* 差评图标 */
html .hasicon i.bad {
background-position: -65px -116px;
}
/* 箭头图标 */
html .hasarrow i {
height: 0;
width: 0;
border-style: solid;
position: absolute;
left: 0;
background-image: none;
}
i.up-arrow {
border-width: 0 10px 12px 10px;
border-color: transparent transparent #000 transparent;
}
i.up-arrow-border {
border-width: 0 10px 12px 10px;
border-color: transparent transparent #fff transparent;
}
i.down-arrow {
border-width: 12px 10px 0 10px;
border-color: #000 transparent transparent transparent;
}
i.down-arrow-border {
border-width: 12px 10px 0 10px;
border-color: #fff transparent transparent transparent;
}
i.left-arrow {
border-width: 10px 12px 10px 0;
border-color: transparent #000 transparent transparent;
}
i.left-arrow-border {
border-width: 10px 12px 10px 0;
border-color: transparent #fff transparent transparent;
}
i.right-arrow {
border-width: 10px 0 10px 12px;
border-color: transparent transparent transparent #000;
}
i.right-arrow-border {
border-width: 10px 0 10px 12px;
border-color: transparent transparent transparent #fff;
}