Emeritus-21 commited on
Commit
cad65a4
·
verified ·
1 Parent(s): 8f4d50d

Update static/browser_detect.css

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