rateit.css
1.6 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
.rateit {
    display: -moz-inline-box;
    display: inline-block;
    position: relative;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
.rateit .rateit-range
{
    position: relative;
    display: -moz-inline-box;
    display: inline-block;
    background: url(star.gif);
    height: 16px;
    outline: none;
}
.rateit .rateit-range * {
    display:block;
}
/* for IE 6 */
* html .rateit, * html .rateit .rateit-range
{
    display: inline;
}
/* for IE 7 */
* + html .rateit, * + html .rateit .rateit-range
{
    display: inline;
}
.rateit .rateit-hover, .rateit .rateit-selected
{
    position: absolute;
    left: 0px;
}
.rateit .rateit-hover-rtl, .rateit .rateit-selected-rtl
{
    left: auto;
    right: 0px;
}
.rateit .rateit-hover
{
    background: url(star.gif) left -32px;
}
.rateit .rateit-hover-rtl
{
    background-position: right -32px;
}
.rateit .rateit-selected
{
    background: url(star.gif) left -16px;
}
.rateit .rateit-selected-rtl
{
    background-position: right -16px;
}
.rateit .rateit-preset
{
    background: url(star.gif) left -48px;
}
.rateit .rateit-preset-rtl
{
    background: url(star.gif) left -48px;
}
.rateit button.rateit-reset
{
    background: url(delete.gif) 0 0;
    width: 16px;
    height: 16px;
    display: -moz-inline-box;
    display: inline-block;
    float: left;
    outline: none;
    border:none;
    padding: 0;
}
.rateit button.rateit-reset:hover, .rateit button.rateit-reset:focus
{
    background-position: 0 -16px;
}