-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBtn-ChooseTotalTime.css
More file actions
203 lines (201 loc) · 4.39 KB
/
Btn-ChooseTotalTime.css
File metadata and controls
203 lines (201 loc) · 4.39 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
.container.container-btn {
align-items: center;
background: #eeedef;
display: flex;
height: 72px;
justify-content: center;
position: relative;
width: 377px;
border-radius: 44px;
}
.bar,
.bar2 {
align-items: center;
box-sizing: border-box;
display: flex;
height: 32px;
left: 0;
padding: 0 21px;
position: absolute;
width: 100%;
}
.bar-purple,
.bar-yellow {
/*#dc4666; */
background-image: linear-gradient(to right, #fdea03f5 0%, rgb(250 106 51) 51%, #d12f2f 100%);
color: white;
clip-path: polygon(
360px 0,
360px 32px,
43px 32px,
39.775442px 31.67494px,
36.772078px 30.74264px,
34.054248px 29.26745px,
31.686292px 27.31371px,
29.732549px 24.94575px,
28.257359px 22.22792px,
27.325063px 19.22456px,
27px 16px,
27.325063px 12.77544px,
28.257359px 9.77208px,
29.732549px 7.05425px,
31.686292px 4.68629px,
34.054248px 2.73255px,
36.772078px 1.25736px,
39.775442px 0.32506px,
43px 0
);
transition: clip-path 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.bar-yellow{
background-image: linear-gradient(to right, #1f5be2f5 0%, rgb(0 238 172) 51%, #2fd193 100%)!important; /*d12f2f*/
}
.option {
font-weight: 700;
cursor: pointer;
line-height: 142px;
text-align: center;
width: 33.33%;
}
.bar-outer,
.bar2-outer {
clip-path: polygon(0 0, 120px 0, 120px 32px, 0 32px);
clip-path: polygon(
0 0,
0 32px,
104px 32px,
107.22456px 31.67494px,
110.22792px 30.74264px,
112.94575px 29.26745px,
115.31371px 27.31371px,
117.26745px 24.94575px,
118.74264px 22.22792px,
119.67494px 19.22456px,
120px 16px,
119.67494px 12.77544px,
118.74264px 9.77208px,
117.26745px 7.05425px,
115.31371px 4.68629px,
112.94575px 2.73255px,
110.22792px 1.25736px,
107.22456px 0.32506px,
104px 0
);
height: 32px;
pointer-events: none;
transition: clip-path 200ms cubic-bezier(0.4, 0, 0.2, 1);
width: 100%;
}
.bar-outer.pos2 .bar-purple,
.bar2-outer.pos2 .bar-yellow {
clip-path: polygon(
360px 0,
360px 32px,
149px 32px,
145.775442px 31.67494px,
142.772078px 30.74264px,
140.054248px 29.26745px,
137.686292px 27.31371px,
135.732549px 24.94575px,
134.257359px 22.22792px,
133.325063px 19.22456px,
133px 16px,
133.325063px 12.77544px,
134.257359px 9.77208px,
135.732549px 7.05425px,
137.686292px 4.68629px,
140.054248px 2.73255px,
142.772078px 1.25736px,
145.775442px 0.32506px,
149px 0
);
}
.bar-outer.pos2,
.bar2-outer.pos2 {
clip-path: polygon(
0 0,
0 32px,
210px 32px,
213.22456px 31.67494px,
216.22792px 30.74264px,
218.94575px 29.26745px,
221.31371px 27.31371px,
223.26745px 24.94575px,
224.74264px 22.22792px,
225.67494px 19.22456px,
226px 16px,
225.67494px 12.77544px,
224.74264px 9.77208px,
223.26745px 7.05425px,
221.31371px 4.68629px,
218.94575px 2.73255px,
216.22792px 1.25736px,
213.22456px 0.32506px,
210px 0
);
}
.bar-outer.pos3 .bar-purple,
.bar2-outer.pos3 .bar-yellow {
clip-path: polygon(
360px 0,
360px 32px,
256px 32px,
252.775442px 31.67494px,
249.772078px 30.74264px,
247.054248px 29.26745px,
244.686292px 27.31371px,
242.732549px 24.94575px,
241.257359px 22.22792px,
240.325063px 19.22456px,
240px 16px,
240.325063px 12.77544px,
241.257359px 9.77208px,
242.732549px 7.05425px,
244.686292px 4.68629px,
247.054248px 2.73255px,
249.772078px 1.25736px,
252.775442px 0.32506px,
256px 0
);
}
.bar-outer.pos3,
.bar2-outer.pos3 {
clip-path: polygon(0 0, 333px 0, 333px 32px, 0 32px);
clip-path: polygon(
0 0,
0 32px,
317px 32px,
320.22456px 31.67494px,
323.22792px 30.74264px,
325.94575px 29.26745px,
328.31371px 27.31371px,
330.26745px 24.94575px,
331.74264px 22.22792px,
332.67494px 19.22456px,
333px 16px,
332.67494px 12.77544px,
331.74264px 9.77208px,
330.26745px 7.05425px,
328.31371px 4.68629px,
325.94575px 2.73255px,
323.22792px 1.25736px,
320.22456px 0.32506px,
317px 0
);
}
.bar-outer.left .bar-purple,
.bar2-outer.left .bar-yellow {
transition-delay: 0;
}
.bar-outer.left,
.bar2-outer.left {
transition-delay: 80ms;
}
.bar-outer.right .bar-purple,
.bar2-outer.right .bar-yellow {
transition-delay: 80ms;
}
.bar-outer.right,
.bar2-outer.right {
transition-delay: 0;
}