-
Notifications
You must be signed in to change notification settings - Fork 0
/
star-rating.css
144 lines (109 loc) · 3.44 KB
/
star-rating.css
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
body {
text-align:center;
}
#rating {
font-size: 3em;
margin-top: 100px;
margin-bottom: 50px;
color: gold;
}
.test {
color: yellow;
}
.rating_type_btn {
width: 2.0em;
cursor: pointer;
}
/*------------------------------------------- STARS*/
.rating_type_btn.star:hover i:before,
#rating.star i[full='yes']:before
{ content: "\f005"; }
.rating_type_btn.star i:before,
#rating.star i[full='no']:before
{ content: "\f006"; }
/*------------------------------------------- HEARTS*/
.rating_type_btn.heart:hover i:before,
#rating.heart i[full='yes']:before
{ content: "\f004"; }
.rating_type_btn.heart i:before,
#rating.heart i[full='no']:before { content: "\f08a"; }
/*------------------------------------------- CIRCLE*/
.rating_type_btn.circle:hover i:before,
#rating.circle i[full='yes']:before
{ content: "\f111"; }
.rating_type_btn.circle i:before,
#rating.circle i[full='no']:before
{ content: "\f10c"; }
/*------------------------------------------- SQUARE*/
.rating_type_btn.square:hover i:before,
#rating.square i[full='yes']:before
{ content: "\f0c8"; }
.rating_type_btn.square i:before,
#rating.square i[full='no']:before
{ content: "\f096"; }
/*------------------------------------------- ENVELOPE*/
.rating_type_btn.envelope:hover i:before,
#rating.envelope i[full='yes']:before
{ content: "\f0e0"; }
.rating_type_btn.envelope i:before,
#rating.envelope i[full='no']:before
{ content: "\f003"; }
/*------------------------------------------- TRASH*/
.rating_type_btn.trash:hover i:before,
#rating.trash i[full='yes']:before
{ content: "\f1f8"; }
.rating_type_btn.trash i:before,
#rating.trash i[full='no']:before
{ content: "\f014"; }
/*------------------------------------------- THUMBS-UP*/
.rating_type_btn.thumbs-up:hover i:before,
#rating.thumbs-up i[full='yes']:before
{ content: "\f164"; }
.rating_type_btn.thumbs-up i:before,
#rating.thumbs-up i[full='no']:before
{ content: "\f087"; }
/*------------------------------------------- THUMBS-DOWN*/
.rating_type_btn.thumbs-down:hover i:before,
#rating.thumbs-down i[full='yes']:before
{ content: "\f165"; }
.rating_type_btn.thumbs-down i:before,
#rating.thumbs-down i[full='no']:before
{ content: "\f088"; }
/*------------------------------------------- FOLDER*/
.rating_type_btn.folder:hover i:before,
#rating.folder i[full='yes']:before
{ content: "\f07b"; }
.rating_type_btn.folder i:before,
#rating.folder i[full='no']:before
{ content: "\f114"; }
/*------------------------------------------- FLAG*/
.rating_type_btn.flag:hover i:before,
#rating.flag i[full='yes']:before
{ content: "\f024"; }
.rating_type_btn.flag i:before,
#rating.flag i[full='no']:before
{ content: "\f11d"; }
/*------------------------------------------- BOOKMARK*/
.rating_type_btn.bookmark:hover i:before,
#rating.bookmark i[full='yes']:before
{ content: "\f02e"; }
.rating_type_btn.bookmark i:before,
#rating.bookmark i[full='no']:before
{ content: "\f097"; }
/*------------------------------------------- COMMENT*/
.rating_type_btn.comment:hover i:before,
#rating.comment i[full='yes']:before
{ content: "\f075"; }
.rating_type_btn.comment i:before,
#rating.comment i[full='no']:before
{ content: "\f0e5"; }
/*------------------------------------------- COMMENTS*/
.rating_type_btn.comments:hover i:before,
#rating.comments i[full='yes']:before
{ content: "\f086"; }
.rating_type_btn.comments i:before,
#rating.comments i[full='no']:before
{ content: "\f0e6"; }
.credit {
margin: 100px;
}