Repository navigation
Expand file tree
/
Copy pathstyles2.css
More file actions
399 lines (324 loc) · 7.09 KB
/
Copy pathstyles2.css
File metadata and controls
399 lines (324 loc) · 7.09 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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
/* CSS RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
/* outline: white solid 2px; */
}
/* VARIABLES FOR RING CLOCK SIZE AND COLOR SETTING */
:root {
--hour-ring-size: 300px;
--min-ring-size: 300px;
--sec-ring-size: 300px;
--front-ring-size: 300px;
--text-color: white;
--body-color: #222222;
--controls-color: #222222;
--button-color: #2ed573;
--hour-ring-color: #222222;
--minute-ring-color: #222222;
--second-ring-color: #222222;
--front-ring-color: #222222;
}
/* UNIVERSAL STYLINGS */
body {
text-align: center;
display: grid;
background-color: var(--body-color);
font-family: 'Montserrat', sans-serif;
color: var(--text-color);
height: 100vh;
width: 100vw;
}
/* LABELS FOR CSS GRID */
#header {
grid-area: header;
}
#ringClock {
grid-area: ringClock;
}
#counter {
grid-area: counter;
}
#controls {
grid-area: controls;
}
/* INFO MODAL */
#info-mod {
visibility: hidden;
text-align: center;
position: absolute;
background-color: rgba(0, 0, 0, 0.7);
padding: 15px;
width: 97vw;
color: white;
border: #3742fa solid 5px;
border-radius: 20px;
z-index: 1000;
}
#info {
cursor: pointer;
margin: 0.5vw;
}
#daneWeb {
color: white;
}
/* RINGCLOCK */
/* #hourRing {
display: flex;
align-items: center;
justify-content: center;
width: var(--hour-ring-size);
height: var(--hour-ring-size);
background-color: var(--hour-ring-color);
margin: 0 auto;
border-radius: 50%;
} */
#ringClock {
width: 100%;
}
#minuteRing {
display: flex;
align-items: center;
justify-content: center;
background-color: var(--minute-ring-color);
width: var(--min-ring-size);
height: var(--min-ring-size);
margin: 50px auto;
border-radius: 50%;
}
#secondRing {
display: flex;
align-items: center;
justify-content: center;
background-color: var(--second-ring-color);
width: var(--sec-ring-size);
height: var(--sec-ring-size);
margin: 50px auto;
border-radius: 50%;
}
.front {
position: relative;
background-color: var(--front-ring-color);
width: var(--front-ring-size);
height: var(--front-ring-size);
margin: 50px auto;
border-radius: 50%;
}
#pomo {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 36px;
white-space: nowrap;
}
#bellIcon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #ff4757;
visibility: hidden;
font-size: 200px;
}
/* CONTROL BUTTONS */
#checks {
max-height: 85%;
overflow: scroll;
}
.btn {
background-color: var(--button-color);
border: #3742fa solid 3px;
color: white;
font-size: 4vh;
height: 8vh;
margin: 5px;
}
.btn:active {
background-color: rgb(116, 116, 116);
/* color: black; */
}
.lg {
background-color: seagreen;
width: 40%;
border-radius: 37.5px;
}
.sm {
width: 8vh;
border-radius: 50%;
background-color: #222222;
position: relative;
}
.material-icons.md-36 {
font-size: 15vw;
color: #2ed573;
}
#upDownBtns {
width: 40%;
margin: 0 auto;
display: flex;
justify-content: space-between;
}
#counter {
border-radius: 20px 20px 0px 0px;
border-style: solid solid none solid;
border-color: #3742fa;
border-width: 5px;
}
#controls {
border-radius: 0px 0px 20px 20px;
border-style: none solid solid solid;
border-color: #3742fa;
border-width: 5px;
}
/* SIZE: PHONE IN PORTRAIT MODE */
@media only screen and (orientation:portrait) and (max-width: 600px) {
body {
grid-template-rows: auto auto 20vh auto;
grid-template-areas:
'header'
'ringClock'
'counter'
'controls';
}
#info-mod {
font-size: 20px;
}
#header {
font-size: 24px;
}
}
/* SIZE: PHONE IN LANDSCAPE MODE */
@media only screen and (orientation:landscape) and (max-width: 900px) {
body {
grid-template-rows: repeat(2, 50vh);
grid-template-columns: 10vw 50vw 40vw;
grid-template-areas:
'header ringClock counter'
'header ringClock controls'
;
}
#ringClock {
align-self: center;
}
#counter {
border-radius: 20px 20px 0px 0px;
border-style: solid solid none solid;
font-size: 16px;
}
#controls {
border-radius: 0px 0px 20px 20px;
border-style: none solid solid solid;
}
.btn {
height: 15vh;
font-size: 20px;
}
.lg {
width: 80%;
}
.sm {
width: 15vh;
}
#upDownBtns {
width: 80%;
}
.material-icons.md-36 {
font-size: 30px;
}
}
/* SIZE: TABLET IN PORTRAIT MODE */
@media only screen and (orientation:portrait) and (min-width:600px) and (max-width: 900px) {
body {
grid-template-rows: 5vh 58vh 19vh 18vh;
grid-template-columns: 12.5vw 75vw 12.5vw;
grid-template-areas:
'header header header'
'. ringClock .'
'counter counter counter'
'controls controls controls'
;
}
#header {
font-size: 30px;
}
#info-mod {
border-radius: 10vw;
width: 99%;
}
#pomo {
font-size: 50px;
}
#bellIcon {
font-size: 300px;
}
#counter {
font-size: 24px;
border-radius: 20px 20px 0px 0px;
}
#controls {
border-radius: 0px 0px 20px 20px;
}
.material-icons.md-36 {
font-size: 70px;
}
}
/* SIZE: TABLET IN LANDSCAPE MODE */
@media only screen and (orientation:landscape) and (min-width:900px) and (max-width: 1200px) {
body {
grid-template-rows: 3vh 75vh 22vh;
grid-template-columns: repeat(4, 25vw);
grid-template-areas:
'header header header header'
'. ringClock ringClock .'
'counter counter controls controls'
;
}
#counter {
border-radius: 20px 0 0 20px;
border-style: solid none solid solid;
}
#controls {
border-radius: 0 20px 20px 0;
border-style: solid solid solid none;
}
#info-mod {
width: 100%;
}
.material-icons.md-36 {
font-size: 40px;
}
#bellIcon {
font-size: 300px;
}
}
/* SIZE: DESKTOP AND UP */
@media only screen and (min-width:1201px) {
body {
grid-template-rows: 3vh 75vh 22vh;
grid-template-columns: repeat(4, 25vw);
grid-template-areas:
'header header header header'
'ringClock ringClock counter counter'
'ringClock ringClock controls controls'
;
}
#counter {
border-radius: 20px 20px 0 0;
border-style: solid solid none solid;
}
#controls {
border-radius: 0 0 20px 20px;
border-style: none solid solid solid;
}
#info-mod {
width: 100%;
}
.material-icons.md-36 {
font-size: 80px;
}
#bellIcon {
font-size: 500px;
}
}