circle.scss
2.3 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
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
/*完整度环*/
.progress_wrap {
position: relative;
margin: 0 0 0 .14rem;
width: .92rem;
height: .92rem;
&.little {
.under {
.rightcircle, .leftcircle {
border-top: $ progress_border_under_little;
}
.rightcircle {
border-right: $ progress_border_under_little;
}
.leftcircle {
border-left: $ progress_border_under_little;
}
}
.up {
.rightcircle, .leftcircle {
border-top: $ progress_border_up_little;
}
.rightcircle {
border-right: $ progress_border_up_little;
}
.leftcircle {
border-left: $ progress_border_up_little;
}
}
.up_left_cover {
width: .47rem;
height: .92rem;
.leftcircle {
top: -.02rem;
width: .74rem;
height: .74rem;
border: .11rem solid transparent;
border-top: $ progress_border_up_left_cover_little;
border-left: $ progress_border_up_left_cover_little;
-webkit-transform: rotate(-191deg);
}
}
}
&
.more {
.under {
.rightcircle, .leftcircle {
border-top: $ progress_border_under;
}
.rightcircle {
border-right: $ progress_border_under;
}
.leftcircle {
border-left: $ progress_border_under;
}
}
.up {
.rightcircle, .leftcircle {
border-top: $ progress_border_up;
}
.rightcircle {
border-right: $ progress_border_up;
}
.leftcircle {
border-left: $ progress_border_up;
}
}
}
.right, .left {
position: absolute;
top: 0;
overflow: hidden;
width: .46rem;
height: .92rem;
.circleProgress {
position: absolute;
top: 0;
width: .78rem;
height: .78rem;
border: .07rem solid transparent;
border-radius: 50%;
}
.rightcircle {
right: 0;
-webkit-transform: rotate(15deg);
}
.leftcircle {
left: 0;
-webkit-transform: rotate(-15deg);
}
}
.right {
right: 0;
}
.left {
left: 0;
}
.num {
position: absolute;
left: 50%;
top: 50%;
width: .5rem;
transform: translate(-50%, -50%);
font-size: .12rem;
color: $ public_auxiliary_col;
text-align: center;
line-height: .26rem;
}
}