File tree Expand file tree Collapse file tree 1 file changed +55
-7
lines changed Expand file tree Collapse file tree 1 file changed +55
-7
lines changed Original file line number Diff line number Diff line change 1
1
@charset " UTF-8" ;
2
2
3
- @import " elements" ;
4
-
5
3
/* theme modifiers
6
4
====================================================*/
7
5
53
51
border-bottom : 0px ;
54
52
55
53
.star {
56
- font-size : 11px ;
57
54
height : 11px ;
58
55
width : 11px ;
59
56
@extend .star.custom-icon ;
60
57
61
58
i {
59
+ font-size : 11px ;
62
60
color : $kununu-color-white ;
63
61
text-align : center ;
64
62
}
85
83
.star {
86
84
87
85
i {
88
- font-size :17px ;
86
+ font-size : 17px ;
89
87
color : $google_places-color-red !important ;
90
88
& .star-empty {
91
89
opacity : 1 !important ;
94
92
content : $default-star-character-filled ;
95
93
}
96
94
}
97
- & .star-half {
98
- width :7px ;
99
- overflow :hidden ;
95
+ & .star-half {
96
+ width : 7px ;
97
+ overflow : hidden ;
100
98
& :before {
101
99
content : $default-star-character-half ;
102
100
}
111
109
112
110
}
113
111
112
+ & .theme-classic {
113
+
114
+ }
115
+
116
+ & .theme-material {
117
+
118
+ }
119
+
120
+ & .theme-rolling-stars {
121
+
122
+ .star-container {
123
+ .star {
124
+ transition : transform 1s ;
125
+ transform : rotate (0deg );
126
+ }
127
+ }
128
+
129
+ @for $i from $minRatingValue through $maxNumOfStars {
130
+ & .value-#{$i } {
131
+ .star-container {
132
+ .star :nth-child (-n +#{$i } ) {
133
+ transition : transform 1s ;
134
+ transform : rotate (360deg );
135
+ }
136
+ }
137
+ }
138
+ }
139
+
140
+ & .value-0.half {
141
+ .star :nth-child (1 ) {
142
+ transition : transform 1s ;
143
+ transform : rotate (360deg );
144
+ }
145
+ }
146
+
147
+ @for $i from $minRatingValue through $maxNumOfStars {
148
+ & .value-#{$i } .half {
149
+ .star-container {
150
+ @if ($i < $maxNumOfStars ) {
151
+ .star :nth-child (#{$i + 1 } ) {
152
+ transition : transform 1s ;
153
+ transform : rotate (360deg );
154
+ }
155
+ }
156
+ }
157
+ }
158
+ }
159
+
160
+ }
161
+
114
162
}
You can’t perform that action at this time.
0 commit comments