10
10
}
11
11
12
12
: root {
13
+ --font-family : 'Space Mono' , monospace;
13
14
font-size : 10px ;
15
+ --background-color-body : # 000000 ;
16
+ --text-color-body : # ffffff ;
17
+ --mix-blend-mode-body : difference;
18
+ --transition-duration : 1s ;
19
+
20
+ --background-image-main : url ('../assets/bg-overlay.png' );
21
+ --background-size-main : cover;
22
+ --background-repeat-main : no-repeat;
23
+ --background-position-main : center;
24
+
25
+ --box-shadow-light : # ffffff26 0 1px 0 inset, # 2e365013 0 1px 1px ;
26
+ --box-shadow-hover : 1px solid # ffffff99 ;
14
27
}
15
28
16
29
html {
@@ -68,7 +81,7 @@ header {
68
81
69
82
# settingsGear_B {
70
83
cursor : pointer;
71
- z-index : 2 ;
84
+ font-size : 28 px ;
72
85
}
73
86
# clock {
74
87
cursor : pointer;
@@ -80,11 +93,12 @@ header {
80
93
81
94
.settings {
82
95
background-color : rgba (5 , 0 , 0 , 0.355 );
83
- backdrop-filter : blur ( 4 px );
96
+ backdrop-filter : brightness ( 0.4 );
84
97
display : flex;
85
98
flex-direction : column;
86
99
justify-content : center;
87
- align-items : center;
100
+ align-items : end;
101
+ padding : 0 8% ;
88
102
position : absolute;
89
103
left : 0 ;
90
104
right : 0 ;
@@ -95,33 +109,48 @@ header {
95
109
pointer-events : none;
96
110
transition : opacity 0.2s ease;
97
111
98
- .top-but-cont {
99
- outline : 2px solid rgba ( 255 , 255 , 255 , 0.619 ) ;
112
+ .settings-container {
113
+ border : 2px solid # ffffff9e ;
100
114
backdrop-filter : blur (4px );
101
115
width : 450px ;
102
- padding : 18px 32px 22px 32px ;
116
+ max-height : 500px ;
117
+ overflow-y : scroll;
118
+ padding : 16px ;
103
119
border-radius : 12px ;
104
120
display : flex;
105
121
flex-direction : column;
106
122
justify-content : space-between;
107
123
align-items : start;
108
124
gap : 16px ;
109
125
background-color : # 1a1a1ac8 ;
110
-
126
+
111
127
.settings-label {
112
128
font-size : 3rem ;
113
- color : # b5b5b5 ;
129
+ color : # ffffff ;
114
130
115
131
display : flex;
116
132
gap : 12px ;
117
- }
133
+ & i {
134
+ transition : 200ms ease;
135
+ font-size : 3.1rem ;
136
+ cursor : pointer;
137
+ & : hover {
138
+ transition : 200ms ease;
139
+ transform : translateX (-2px );
140
+ }
141
+ }
142
+ }
118
143
119
144
& h3 {
120
- font-size : 2.2 rem ;
145
+ font-size : 2.7 rem ;
121
146
font-weight : 400 ;
122
147
margin-bottom : 8px ;
123
- }
124
148
149
+ border-bottom : 1px solid # ffffff39 ;
150
+ }
151
+ & h4 {
152
+ font-size : 1.3rem ;
153
+ }
125
154
.settings-duration {
126
155
width : 100% ;
127
156
@@ -131,40 +160,51 @@ header {
131
160
132
161
.container_I {
133
162
display : flex;
134
- flex-direction : column;
135
- align-items : start;
163
+ flex-wrap : wrap;
164
+ justify-content : space-between;
165
+ align-items : center;
166
+ margin-bottom : 16px ;
136
167
gap : 8px ;
137
168
font-size : 2rem ;
138
169
139
- input [ type = range ] {
170
+ . range {
140
171
-webkit-appearance : none;
141
172
-o-appearance : none;
142
173
appearance : none;
143
174
-moz-appearance : none;
144
175
-ms-appearance : none;
145
- background-color : rgba ( 255 , 255 , 255 , 0 ) !important ;
146
- border : 2 px solid # fff !important ;
176
+ background-color : # ffffff1e ;
177
+ box-shadow : # ffffff26 0 1 px 0 inset , # 2e365013 0 1 px 1 px ;
147
178
148
- border-radius : 42px ;
149
179
150
- width : 75% !important ;
180
+ border-radius : 8px ;
181
+ width : 100% !important ;
182
+ transition : 200ms ease;
183
+ & : hover {
184
+ border : 1px solid # ffffff99 ;
185
+ transition : 200ms ease;
186
+ }
187
+ & : hover > & .range ::-webkit-slider-thumb {
188
+ background-color : # c5141499 ;
189
+ transition : 200ms ease;
190
+ }
151
191
}
152
- input [ type = ' range' ] ::-webkit-slider-thumb {
192
+ . range ::-webkit-slider-thumb {
153
193
-webkit-appearance : none;
154
- background-color : # 231dc5 ;
194
+ background-color : # ffffff51 ;
155
195
width : 60px ;
156
- height : 20 px ;
157
- border-radius : 12 px ;
196
+ height : 28 px ;
197
+ border-radius : 6 px ;
158
198
cursor : pointer;
159
199
160
- box-shadow : 0 0 px 0 px 2 px # ffffff ;
200
+
161
201
}
162
202
163
203
& h1 {
164
204
font-size : 4.8rem ;
165
205
font-weight : 600 ;
166
206
}
167
-
207
+
168
208
& label {
169
209
font-size : 1.8rem ;
170
210
font-weight : 400 ;
@@ -173,40 +213,66 @@ header {
173
213
& input {
174
214
font-size : 1.8rem ;
175
215
font-weight : 400 ;
176
- background-color : # ffffff1e ;
177
- border-radius : 12px ;
216
+ background-color : rgba (255 , 255 , 255 , 0.118 );
217
+ box-shadow : # ffffff26 0 1px 0 inset, # 2e365013 0 1px 1px ;
218
+ border : 1px solid transparent;
219
+ border-radius : 8px ;
178
220
padding : 4px 16px ;
221
+ transition : 200ms ease;
222
+ & : hover {
223
+ border : 1px solid # ffffff99 ;
224
+ transition : 200ms ease;
225
+ }
179
226
}
180
227
}
181
228
182
229
}
230
+ .settings-notifications {
231
+
232
+
233
+ & h4 {
234
+ font-size : 1.3rem ;
235
+ margin-top : 16px ;
236
+ }
237
+ .container_S {
238
+ display : flex;
239
+ justify-content : space-between;
240
+ align-items : center;
241
+ margin-bottom : 8px ;
242
+ gap : 8px ;
243
+ & label {
244
+ font-size : 1.8rem ;
245
+ font-weight : 400 ;
246
+ }
247
+
248
+ }
249
+ }
183
250
}
184
251
185
252
}
186
253
187
254
# updateDuration {
188
- max-height : 54px ;
255
+ min-height : 60px ;
256
+ min-width : 100% ;
189
257
font-size : 2.8rem ;
190
258
padding : 8px 22px ;
191
259
color : # fff ;
192
260
background-color : rgba (255 , 255 , 255 , 0 );
193
- outline : solid 2 px # fff ;
261
+ box-shadow : # ffffff26 0 1 px 0 inset , # 2e365013 0 1 px 1 px ;
194
262
border-radius : 8px ;
195
- transition : all 0.15s ease-in-out;
196
- display : flex;
197
- justify-content : start;
198
- align-items : center;
199
- gap : 8px ;
263
+ transition : 0.15s ease-in-out;
264
+ border : none;
265
+ overflow : hidden;
266
+
200
267
cursor : pointer;
201
- background : rgb (57 , 120 , 207 );
202
268
background : linear-gradient (90deg , rgba (57 , 120 , 207 , 1 ) 0% , rgba (139 , 61 , 192 , 1 ) 67% , rgba (180 , 32 , 184 , 1 ) 100% );
203
269
204
270
& : hover {
205
271
transition : all 0.2s ease-in-out;
206
272
}
207
273
208
274
& : active {
209
- transform : scale (0.8 );
275
+ transform : scale (0.95 );
210
276
transition : all 0.1s ease-in-out;
211
277
}
212
278
}
@@ -217,41 +283,41 @@ header {
217
283
height : 54px ;
218
284
overflow : visible;
219
285
220
- }
221
-
222
- & button {
223
- line-height : 1 ;
224
- font-size : 2.8rem ;
225
- padding : 8px 22px ;
226
- background-color : rgba (240 , 248 , 255 , 0 );
227
- border-radius : 8px ;
228
- transition : all 0.15s ease-in-out;
229
- outline : solid 2px rgba (240 , 248 , 255 , 0.2 );
230
- display : flex;
231
- justify-content : start;
232
- align-items : center;
233
- gap : 8px ;
234
- cursor : pointer;
235
-
236
- & : hover {
237
- background-color : rgba (240 , 248 , 255 , 0.2 );
238
- transform : translateY (-4px );
239
- transition : all 0.2s ease-in-out;
240
- }
241
-
242
- & : active {
243
- transform : scale (0.8 );
244
- transition : all 0.1s ease-in-out;
245
- outline : solid 4px rgba (255 , 255 , 255 , 0.4 );
246
- }
247
-
248
- & : disabled {
249
- opacity : 0.6 ;
250
- pointer-events : none;
251
- transform : scale (0.9 );
252
- transition : all 0.2s ease-in-out;
286
+ & button {
287
+ line-height : 1 ;
288
+ font-size : 2.8rem ;
289
+ padding : 8px 22px ;
290
+ background-color : rgba (240 , 248 , 255 , 0 );
291
+ border-radius : 8px ;
292
+ transition : all 0.15s ease-in-out;
293
+ border : solid 2px # f0f8ff33 ;
294
+ display : flex;
295
+ justify-content : start;
296
+ align-items : center;
297
+ gap : 8px ;
298
+ cursor : pointer;
299
+
300
+ & : hover {
301
+ background-color : # f0f8ff33 ;
302
+ transform : translateY (-4px );
303
+ transition : all 0.2s ease-in-out;
304
+ }
305
+
306
+ & : active {
307
+ transform : scale (0.8 );
308
+ transition : all 0.1s ease-in-out;
309
+ outline : solid 4px rgba (255 , 255 , 255 , 0.4 );
310
+ }
311
+
312
+ & : disabled {
313
+ opacity : 0.6 ;
314
+ pointer-events : none;
315
+ transform : scale (0.9 );
316
+ transition : all 0.2s ease-in-out;
317
+ }
253
318
}
254
319
}
320
+
255
321
# timerDisplay {
256
322
mix-blend-mode : hard-light;
257
323
text-align : center;
0 commit comments