-
Notifications
You must be signed in to change notification settings - Fork 0
/
rate.scss
49 lines (42 loc) · 827 Bytes
/
rate.scss
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
@import "mixins/mixins";
@import "common/var";
@include b(rate) {
height: $--rate-height;
line-height: 1;
&:focus, &:active {
outline-width: 0;
}
@include e(item) {
display: inline-block;
position: relative;
font-size: 0;
vertical-align: middle;
}
@include e(icon) {
position: relative;
display: inline-block;
font-size: $--rate-icon-size;
margin-right: $--rate-icon-margin;
color: $--rate-icon-color;
transition: .3s;
&.hover {
transform: scale(1.15);
}
.path2 {
position: absolute;
left: 0;
top: 0;
}
}
@include e(decimal) {
position: absolute;
top: 0;
left: 0;
display: inline-block;
overflow: hidden;
}
@include e(text) {
font-size: $--rate-font-size;
vertical-align: middle;
}
}