craft.css
4.86 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/**
* Settings for all stars.
*/
.fivestar-craft div.fivestar-widget-static .star,
.fivestar-craft div.fivestar-widget .star,
.fivestar-craft div.fivestar-widget div.on a {
height: 31px;
}
.fivestar-craft div.fivestar-widget .star,
.fivestar-craft div.fivestar-widget .star a,
.fivestar-craft div.fivestar-widget-static .star,
.fivestar-craft div.fivestar-widget-static .star span.on {
background: no-repeat 0 -62px;
}
/**
* Unique default setting for each star.
*/
.fivestar-craft div.fivestar-widget .star-1,
.fivestar-craft div.fivestar-widget .star-1 a,
.fivestar-craft div.fivestar-widget-static .star-1,
.fivestar-craft div.fivestar-widget-static .star-1 span.on {
width: 8px;
background-image: url(craft-01.png);
}
.fivestar-craft div.fivestar-widget .star-2,
.fivestar-craft div.fivestar-widget .star-2 a,
.fivestar-craft div.fivestar-widget-static .star-2,
.fivestar-craft div.fivestar-widget-static .star-2 span.on {
width: 9px;
background-image: url(craft-02.png);
}
.fivestar-craft div.fivestar-widget .star-3,
.fivestar-craft div.fivestar-widget .star-3 a,
.fivestar-craft div.fivestar-widget-static .star-3,
.fivestar-craft div.fivestar-widget-static .star-3 span.on {
width: 9px;
background-image: url(craft-03.png);
}
.fivestar-craft div.fivestar-widget .star-4,
.fivestar-craft div.fivestar-widget .star-4 a,
.fivestar-craft div.fivestar-widget-static .star-4,
.fivestar-craft div.fivestar-widget-static .star-4 span.on {
width: 10px;
background-image: url(craft-04.png);
}
.fivestar-craft div.fivestar-widget .star-5,
.fivestar-craft div.fivestar-widget .star-5 a,
.fivestar-craft div.fivestar-widget-static .star-5,
.fivestar-craft div.fivestar-widget-static .star-5 span.on {
width: 10px;
background-image: url(craft-05.png);
}
.fivestar-craft div.fivestar-widget .star-6,
.fivestar-craft div.fivestar-widget .star-6 a,
.fivestar-craft div.fivestar-widget-static .star-6,
.fivestar-craft div.fivestar-widget-static .star-6 span.on {
width: 12px;
background-image: url(craft-06.png);
}
.fivestar-craft div.fivestar-widget .star-7,
.fivestar-craft div.fivestar-widget .star-7 a,
.fivestar-craft div.fivestar-widget-static .star-7,
.fivestar-craft div.fivestar-widget-static .star-7 span.on {
width: 15px;
background-image: url(craft-07.png);
}
.fivestar-craft div.fivestar-widget .star-8,
.fivestar-craft div.fivestar-widget .star-8 a,
.fivestar-craft div.fivestar-widget-static .star-8,
.fivestar-craft div.fivestar-widget-static .star-8 span.on {
width: 16px;
background-image: url(craft-08.png);
}
.fivestar-craft div.fivestar-widget .star-9,
.fivestar-craft div.fivestar-widget .star-9 a,
.fivestar-craft div.fivestar-widget-static .star-9,
.fivestar-craft div.fivestar-widget-static .star-9 span.on {
width: 22px;
background-image: url(craft-09.png);
}
.fivestar-craft div.fivestar-widget .star-10,
.fivestar-craft div.fivestar-widget .star-10 a,
.fivestar-craft div.fivestar-widget-static .star-10,
.fivestar-craft div.fivestar-widget-static .star-10 span.on {
width: 27px;
background-image: url(craft-10.png);
}
/**
* Some specific settings for the 5-star count version.
*/
.fivestar-craft div.fivestar-widget-5 .star-2,
.fivestar-craft div.fivestar-widget-5 .star-2 a,
.fivestar-craft div.fivestar-widget-static-5 .star-2,
.fivestar-craft div.fivestar-widget-static-5 .star-2 span.on {
width: 9px;
background-image: url(craft-03.png);
}
.fivestar-craft div.fivestar-widget-5 .star-3,
.fivestar-craft div.fivestar-widget-5 .star-3 a,
.fivestar-craft div.fivestar-widget-static-5 .star-3,
.fivestar-craft div.fivestar-widget-static-5 .star-3 span.on {
width: 15px;
background-image: url(craft-07.png);
}
.fivestar-craft div.fivestar-widget-5 .star-4,
.fivestar-craft div.fivestar-widget-5 .star-4 a,
.fivestar-craft div.fivestar-widget-static-5 .star-4,
.fivestar-craft div.fivestar-widget-static-5 .star-4 span.on {
width: 16px;
background-image: url(craft-08.png);
}
.fivestar-craft div.fivestar-widget-5 .star-5,
.fivestar-craft div.fivestar-widget-5 .star-5 a,
.fivestar-craft div.fivestar-widget-static-5 .star-5,
.fivestar-craft div.fivestar-widget-static-5 .star-5 span.on {
width: 27px;
background-image: url(craft-10.png);
}
/**
* Dynamic rollovers.
*/
.fivestar-craft div.fivestar-widget-static .star span.on,
.fivestar-craft div.fivestar-widget-static .star span.on a,
.fivestar-craft div.fivestar-widget div.on a {
background-position: 0 0;
}
.fivestar-craft div.fivestar-widget div.hover a,
div.rating div a:hover {
background-position: 0 -31px;
}
.fivestar-craft div.fivestar-widget-static .star span.off {
background-position: 0 -62px;
}
/**
* Cancel button.
*/
.fivestar-craft div.fivestar-widget .cancel,
.fivestar-craft div.fivestar-widget .cancel a {
width: 9px;
height: 31px;
background: url(craft-cancel.png) no-repeat 0 0;
}
.fivestar-craft div.fivestar-widget .cancel a:hover {
width: 9px;
height: 31px;
background-position: 0 -31px;
}