Emeritus-21 commited on
Commit
037d920
·
verified ·
1 Parent(s): cad65a4

Update static/browser_detect.css

Browse files
Files changed (1) hide show
  1. static/browser_detect.css +105 -105
static/browser_detect.css CHANGED
@@ -1,3 +1,5 @@
 
 
1
  * {
2
  box-sizing: border-box;
3
  }
@@ -13,6 +15,7 @@ body {
13
  position: relative;
14
  }
15
 
 
16
  #predicted_result {
17
  position: relative;
18
  text-align: left;
@@ -24,6 +27,7 @@ body {
24
  font-weight: bold;
25
  color: #DFDFDF;
26
  overflow: hidden;
 
27
  }
28
 
29
  .mode_switch_modeBtn {
@@ -33,10 +37,12 @@ body {
33
  border-radius: 12.5px;
34
  color: #000000;
35
  font-weight: 600;
 
36
  min-width: 60px;
37
- height: 45px;
38
  line-height: 40px;
39
  text-align: center;
 
40
  }
41
 
42
  .wrapper_result {
@@ -52,63 +58,65 @@ body {
52
 
53
  @keyframes pulse {
54
  0% {
55
- background-color: #F3F3F3;
56
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.25);
57
  }
58
  50% {
59
- background-color: #eeffed;
60
- box-shadow: 0px 0px 30px 10px #6eff6e6c;
61
  }
62
  100% {
63
- background-color: #F3F3F3;
64
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.25);
65
  }
66
  }
67
 
68
  .pulse {
69
- animation: pulse 0.6s ease-in-out 1;
70
  }
71
 
72
- .mode_selector {
73
- position: absolute;
74
- width: 75px;
75
- height: 35px;
76
  background: #ff6e7d75;
77
  border-radius: 15px;
78
- top: 5px;
79
  left: 5px;
80
  transition: all 0.25s ease-out;
81
  z-index: 10;
82
  }
83
 
84
- .mode_switch {
85
  overflow: hidden;
86
  position: relative;
87
  text-align: left;
88
- height: 45px;
89
  background-color: #ffffff2e;
90
  backdrop-filter: blur(30px);
91
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.25);
 
92
  justify-content: space-evenly;
93
  border-radius: 15px;
94
- gap: 10px;
95
  width: 160px;
 
96
  }
97
 
98
- .right {
99
- left: 80px;
100
  }
101
-
102
- .mode_switch_wrapper {
103
  position: absolute;
104
- bottom: 10px;
105
- width: 100%;
106
  }
107
 
108
  #text {
109
  text-align: center;
110
  padding: 10px;
111
  background-color: #d9d9d9;
 
112
  margin: none;
113
  margin-top: 0px;
114
  border-radius: 12.25px;
@@ -118,6 +126,7 @@ body {
118
  width: 100%;
119
  border: none;
120
  font-size: 15px;
 
121
  }
122
 
123
  .wrapper_text {
@@ -141,6 +150,7 @@ body {
141
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
142
  margin: 10px;
143
  margin-bottom: 20px;
 
144
  border-radius: 15px;
145
  overflow: hidden;
146
  }
@@ -157,55 +167,56 @@ body {
157
  padding-top: 10px;
158
  padding-bottom: 10px;
159
  border-radius: 12.25px;
160
- flex: 2;
161
  display: flex;
162
  align-items: center;
163
- gap: 10px;
164
- justify-content: center;
165
- background: rgb(0, 27, 64);
166
  background: linear-gradient(45deg, #a8404b 0%, #ff6e7d 33%, #d6505e 66%, #a8404b 100%);
167
  font-size: large;
168
  border: none;
169
  color: #fcfcfc;
170
  background-size: 200% 200%;
 
171
  }
172
-
173
  #undoButton {
174
  margin-top: 5px;
175
  padding-top: 10px;
176
  padding-bottom: 10px;
177
  border-radius: 12.25px;
178
- flex: 1;
179
  display: flex;
180
  align-items: center;
181
- gap: 10px;
182
- justify-content: center;
183
  background: #5d5d5d;
184
  font-size: large;
185
  border: none;
186
  color: #fcfcfc;
187
  background-size: 200% 200%;
 
188
  }
189
-
190
  #clearButton {
191
  margin-top: 5px;
192
  padding-top: 10px;
193
  padding-bottom: 10px;
194
  border-radius: 12.25px;
195
- flex: 1;
196
  display: flex;
197
  align-items: center;
198
- gap: 10px;
199
- justify-content: center;
200
  background: #5d5d5d;
201
  font-size: large;
202
  border: none;
203
  color: #fcfcfc;
204
  background-size: 200% 200%;
 
205
  }
206
 
207
  @keyframes mystical {
208
- 0% {
209
  background-position: 0% 50%;
210
  }
211
  25% {
@@ -221,7 +232,6 @@ body {
221
  background-position: 0% 50%;
222
  }
223
  }
224
-
225
  #webcamButton {
226
  margin: 0;
227
  position: absolute;
@@ -232,7 +242,9 @@ body {
232
  padding: 10px;
233
  border: none;
234
  border-radius: 12.25px;
235
- background: rgb(0, 27, 64);
 
 
236
  background: linear-gradient(45deg, #a8404b 0%, #ff6e7d 33%, #d6505e 66%, #a8404b 100%);
237
  color: rgb(233, 251, 255);
238
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
@@ -247,151 +259,121 @@ body {
247
  background-color: #fcfcfc;
248
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
249
  width: 100%;
250
- display: flex;
251
  align-items: center;
252
- justify-content: flex-end;
253
  flex-direction: row;
254
  font-family: roboto;
255
- z-index: 10;
256
- left: 0;
257
- gap: 10px;
258
  }
259
-
260
- .bottom-nav-btn {
261
  flex-direction: row;
262
  display: flex;
263
  align-items: center;
264
  justify-content: center;
 
265
  }
266
 
267
- .center-btn {
268
  border-radius: 30px;
269
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
270
  background-size: 400% 400%;
271
- background: linear-gradient(45deg, #a8404b 0%, #ff6e7d 50%, #d6505e 100%);
272
- opacity: 1;
273
  height: 60px;
274
  width: 80px;
275
  background-position: 0% 50%;
276
  transition: all 0.1s ease;
277
  }
278
 
279
- .about-card {
280
- padding: 10px;
281
  border-radius: 10px;
282
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
283
- display: flex;
284
  flex-direction: column;
285
- gap: 5px;
286
- margin-bottom: 10px;
287
  overflow: hidden;
288
  }
289
-
290
- .about-card span:nth-child(1) {
291
  font-size: 20px;
292
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
293
  font-weight: 700;
294
  }
295
-
296
- .about-card label:nth-child(1) {
297
  font-size: 20px;
298
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
299
  font-weight: 700;
300
  }
301
-
302
- .about-card span:nth-child(2) {
303
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
304
  font-size: 12px;
305
  font-weight: 700;
306
  }
307
-
308
- h1 {
309
  font-size: 30px;
310
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
311
  font-weight: 700;
312
  }
313
-
314
- #info-page {
315
  margin-bottom: 200px;
316
  }
317
-
318
- #speechForm {
319
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
320
  font-weight: 700;
321
  padding-left: 10px;
322
  padding-right: 10px;
323
  }
324
-
325
- select {
326
  margin-top: 5px;
327
- width: 100%;
328
  border-radius: 5px;
329
  border: none;
330
- padding: 5px;
331
  background-color: #d9d9d9;
332
  }
333
-
334
- #speechForm button {
335
  margin-top: 5px;
336
- width: 100%;
337
  border-radius: 5px;
338
  border: none;
339
- color: #fcfcfc;
340
- padding: 5px;
341
  background-color: #f96a79;
342
  }
343
-
344
- #testText {
345
  margin-top: 5px;
346
- width: 100%;
347
  border-radius: 5px;
348
  border: none;
349
  resize: none;
350
- padding: 5px;
351
  background-color: #d9d9d9;
352
  }
353
 
354
- #goDigitsBtn {
355
- padding: 10px 20px;
356
- font-size: 16px;
357
- border-radius: 12.25px;
358
- background: linear-gradient(45deg, #a8404b 0%, #ff6e7d 50%, #d6505e 100%);
359
- border: none;
360
- color: #fcfcfc;
361
- cursor: pointer;
362
- font-weight: 600;
363
- box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.25);
364
- transition: all 0.3s ease;
365
- }
366
-
367
- #goDigitsBtn:hover {
368
- transform: scale(1.05);
369
- background: linear-gradient(45deg, #d6505e 0%, #ff6e7d 50%, #a8404b 100%);
370
- }
371
-
372
- #settings-page {
373
  position: relative;
374
- overflow-x: hidden;
375
- margin: -8px;
376
- padding-bottom: 20px;
377
- margin-bottom: 40px;
378
  }
379
-
380
- .settings-btn {
381
  display: inline-flex;
382
  justify-content: space-between;
383
  align-items: center;
384
  }
385
 
386
- .settings-header {
387
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
388
  font-weight: 700;
389
  font-size: 30px;
390
  }
391
-
392
- .textControls {
393
  display: flex;
394
- gap: 8px;
395
  flex-direction: row;
396
  justify-content: space-evenly;
397
  align-items: center;
@@ -404,7 +386,7 @@ select {
404
  height: 34px;
405
  }
406
 
407
- .switch input {
408
  opacity: 0;
409
  width: 0;
410
  height: 0;
@@ -455,4 +437,22 @@ input:checked + .slider:before {
455
 
456
  .slider.round:before {
457
  border-radius: 50%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
458
  }
 
1
+ nooo insde here
2
+
3
  * {
4
  box-sizing: border-box;
5
  }
 
15
  position: relative;
16
  }
17
 
18
+
19
  #predicted_result {
20
  position: relative;
21
  text-align: left;
 
27
  font-weight: bold;
28
  color: #DFDFDF;
29
  overflow: hidden;
30
+
31
  }
32
 
33
  .mode_switch_modeBtn {
 
37
  border-radius: 12.5px;
38
  color: #000000;
39
  font-weight: 600;
40
+
41
  min-width: 60px;
42
+ height:45px;
43
  line-height: 40px;
44
  text-align: center;
45
+
46
  }
47
 
48
  .wrapper_result {
 
58
 
59
  @keyframes pulse {
60
  0% {
61
+ background-color: #F3F3F3; /* Original background color */
62
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.25);
63
  }
64
  50% {
65
+ background-color: #eeffed; /* Green color for pulse */
66
+ box-shadow: 0px 0px 30px 10px #6eff6e6c; /* Optional: stronger shadow */
67
  }
68
  100% {
69
+ background-color: #F3F3F3; /* Return to original color */
70
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.25);
71
  }
72
  }
73
 
74
  .pulse {
75
+ animation: pulse 0.6s ease-in-out 1; /* Duration, timing function, and iteration count */
76
  }
77
 
78
+ .mode_selector{
79
+ position:absolute;
80
+ width:75px;
81
+ height:35px;
82
  background: #ff6e7d75;
83
  border-radius: 15px;
84
+ top:5px;
85
  left: 5px;
86
  transition: all 0.25s ease-out;
87
  z-index: 10;
88
  }
89
 
90
+ .mode_switch{
91
  overflow: hidden;
92
  position: relative;
93
  text-align: left;
94
+ height:45px;
95
  background-color: #ffffff2e;
96
  backdrop-filter: blur(30px);
97
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.25);
98
+
99
  justify-content: space-evenly;
100
  border-radius: 15px;
101
+ gap:10px;
102
  width: 160px;
103
+
104
  }
105
 
106
+ .right{
107
+ left:80px;
108
  }
109
+ .mode_switch_wrapper{
 
110
  position: absolute;
111
+ bottom:10px;
112
+ width:100%;
113
  }
114
 
115
  #text {
116
  text-align: center;
117
  padding: 10px;
118
  background-color: #d9d9d9;
119
+
120
  margin: none;
121
  margin-top: 0px;
122
  border-radius: 12.25px;
 
126
  width: 100%;
127
  border: none;
128
  font-size: 15px;
129
+
130
  }
131
 
132
  .wrapper_text {
 
150
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
151
  margin: 10px;
152
  margin-bottom: 20px;
153
+
154
  border-radius: 15px;
155
  overflow: hidden;
156
  }
 
167
  padding-top: 10px;
168
  padding-bottom: 10px;
169
  border-radius: 12.25px;
170
+ flex:2;
171
  display: flex;
172
  align-items: center;
173
+ gap:10px;
174
+ justify-content:center;
175
+ background: rgb(0,27,64);
176
  background: linear-gradient(45deg, #a8404b 0%, #ff6e7d 33%, #d6505e 66%, #a8404b 100%);
177
  font-size: large;
178
  border: none;
179
  color: #fcfcfc;
180
  background-size: 200% 200%;
181
+ /*animation: mystical 10s ease infinite; /* Animation */
182
  }
 
183
  #undoButton {
184
  margin-top: 5px;
185
  padding-top: 10px;
186
  padding-bottom: 10px;
187
  border-radius: 12.25px;
188
+ flex:1;
189
  display: flex;
190
  align-items: center;
191
+ gap:10px;
192
+ justify-content:center;
193
  background: #5d5d5d;
194
  font-size: large;
195
  border: none;
196
  color: #fcfcfc;
197
  background-size: 200% 200%;
198
+ /*animation: mystical 10s ease infinite; /* Animation */
199
  }
 
200
  #clearButton {
201
  margin-top: 5px;
202
  padding-top: 10px;
203
  padding-bottom: 10px;
204
  border-radius: 12.25px;
205
+ flex:1;
206
  display: flex;
207
  align-items: center;
208
+ gap:10px;
209
+ justify-content:center;
210
  background: #5d5d5d;
211
  font-size: large;
212
  border: none;
213
  color: #fcfcfc;
214
  background-size: 200% 200%;
215
+ /*animation: mystical 10s ease infinite; /* Animation */
216
  }
217
 
218
  @keyframes mystical {
219
+ 0% {
220
  background-position: 0% 50%;
221
  }
222
  25% {
 
232
  background-position: 0% 50%;
233
  }
234
  }
 
235
  #webcamButton {
236
  margin: 0;
237
  position: absolute;
 
242
  padding: 10px;
243
  border: none;
244
  border-radius: 12.25px;
245
+ background: rgb(0,27,64);
246
+ background-size: 400% 400%;
247
+ background: rgb(0,27,64);
248
  background: linear-gradient(45deg, #a8404b 0%, #ff6e7d 33%, #d6505e 66%, #a8404b 100%);
249
  color: rgb(233, 251, 255);
250
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
 
259
  background-color: #fcfcfc;
260
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
261
  width: 100%;
262
+ display:flex;
263
  align-items: center;
264
+ justify-content: space-evenly;
265
  flex-direction: row;
266
  font-family: roboto;
267
+ z-index:10;
268
+ left:0;
 
269
  }
270
+ .bottom-nav-btn{
 
271
  flex-direction: row;
272
  display: flex;
273
  align-items: center;
274
  justify-content: center;
275
+
276
  }
277
 
278
+ .center-btn{
279
  border-radius: 30px;
280
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
281
  background-size: 400% 400%;
282
+ background: linear-gradient(45deg, #a8404b 0%, #ff6e7d 50%, #d6505e 100%);
283
+ opacity: 1;
284
  height: 60px;
285
  width: 80px;
286
  background-position: 0% 50%;
287
  transition: all 0.1s ease;
288
  }
289
 
290
+ .about-card{
291
+ padding:10px;
292
  border-radius: 10px;
293
  box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.38);
294
+ display:flex;
295
  flex-direction: column;
296
+ gap:5x;
297
+ margin-bottom:10px;
298
  overflow: hidden;
299
  }
300
+ .about-card span:nth-child(1){
 
301
  font-size: 20px;
302
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
303
  font-weight: 700;
304
  }
305
+ .about-card label:nth-child(1){
 
306
  font-size: 20px;
307
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
308
  font-weight: 700;
309
  }
310
+ .about-card span:nth-child(2){
 
311
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
312
  font-size: 12px;
313
  font-weight: 700;
314
  }
315
+ h1{
 
316
  font-size: 30px;
317
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
318
  font-weight: 700;
319
  }
320
+ #info-page{
 
321
  margin-bottom: 200px;
322
  }
323
+ #speechForm{
 
324
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
325
  font-weight: 700;
326
  padding-left: 10px;
327
  padding-right: 10px;
328
  }
329
+ select{
 
330
  margin-top: 5px;
331
+ width:100%;
332
  border-radius: 5px;
333
  border: none;
334
+ padding:5px;
335
  background-color: #d9d9d9;
336
  }
337
+ #speechForm button{
 
338
  margin-top: 5px;
339
+ width:100%;
340
  border-radius: 5px;
341
  border: none;
342
+ color:#fcfcfc;
343
+ padding:5px;
344
  background-color: #f96a79;
345
  }
346
+ #testText{
 
347
  margin-top: 5px;
348
+ width:100%;
349
  border-radius: 5px;
350
  border: none;
351
  resize: none;
352
+ padding:5px;
353
  background-color: #d9d9d9;
354
  }
355
 
356
+ #settings-page{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
357
  position: relative;
358
+ overflow-x: hidden;
359
+ margin: -8px;
360
+ padding-bottom: 20px;
361
+ margin-bottom: 40px;
362
  }
363
+ .settings-btn{
 
364
  display: inline-flex;
365
  justify-content: space-between;
366
  align-items: center;
367
  }
368
 
369
+ .settings-header{
370
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
371
  font-weight: 700;
372
  font-size: 30px;
373
  }
374
+ .textControls{
 
375
  display: flex;
376
+ gap:8px;
377
  flex-direction: row;
378
  justify-content: space-evenly;
379
  align-items: center;
 
386
  height: 34px;
387
  }
388
 
389
+ .switch input {
390
  opacity: 0;
391
  width: 0;
392
  height: 0;
 
437
 
438
  .slider.round:before {
439
  border-radius: 50%;
440
+ }
441
+
442
+ #goDigitsBtn {
443
+ padding: 10px 20px;
444
+ font-size: 16px;
445
+ border-radius: 12.25px;
446
+ background: linear-gradient(45deg, #a8404b 0%, #ff6e7d 50%, #d6505e 100%);
447
+ border: none;
448
+ color: #fcfcfc;
449
+ cursor: pointer;
450
+ font-weight: 600;
451
+ box-shadow: 0px 4px 20px 4px rgba(0, 0, 0, 0.25);
452
+ transition: all 0.3s ease;
453
+ }
454
+
455
+ #goDigitsBtn:hover {
456
+ transform: scale(1.05);
457
+ background: linear-gradient(45deg, #d6505e 0%, #ff6e7d 50%, #a8404b 100%);
458
  }