-
Notifications
You must be signed in to change notification settings - Fork 44
/
star-ratings.css
61 lines (49 loc) · 781 Bytes
/
star-ratings.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
.star-ratings {
position: relative;
display: inline-flex;
}
.star-svg {
width: 50px;
height: 50px;
}
.default .star-svg {
width: 14px;
height: 14px;
}
.some-modal .star-svg {
width: 18px;
height: 18px;
}
.star-container {
position: relative;
}
.default .star-container {
margin-right: 7px;
}
.star-svg .star {
fill: #cbd3e3;
}
.star-svg.star-level .star {
fill: #6d7a82;
}
.star-svg.star-selected .star {
fill: #ff9700;
}
/* Recommend to do this inline*/
.star-svg.star-level.star-multi-level .star {
/*fill: url('/#starGrad');*/
}
.star-grad {
position: absolute;
z-index: 0;
width: 10px;
height: 10px;
}
.stop-color-first {
stop-color: #6d7a82;
stop-opacity: 1;
}
.stop-color-final {
stop-color: #cbd3e3;
stop-opacity: 1;
}