-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
417 lines (352 loc) · 8.18 KB
/
style.css
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
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #2c3e50; /* Dark Background */
color: #ecf0f1; /* Light Grey Text */
}
footer {
text-align: center;
margin-top: 50px;
padding: 20px;
color: #ecf0f1; /* Light Grey Text */
}
.homepage {
text-align: center;
margin-top: 50px;
margin: 10px;
}
#dummy {
display: none !important;
}
p {
margin: 10px
}
#vocabTable .vocab-row.drag-over td {
border: 1px dashed #1d1c1c !important;
}
button {
padding: 10px;
font-size: 16px;
cursor: pointer;
background-color: #3498db; /* Blue Button */
color: #fff; /* White Text */
border: none;
border-radius: 5px;
margin: 5px;
}
button:hover {
background-color: #2980b9; /* Darker Blue on Hover */
}
.popup {
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}
.popup,
.modal,
.createPopup {
display: none;
position: fixed;
width: 100%;
height: 100%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
z-index: 9999; /* Ensure the popup is on top of other elements */
}
.popup-content,
.modal-content {
flex-direction: column;
align-items: center;
text-align: center;
justify-content: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #201f1f; /* Popup background color */
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
min-width: 350px;
max-width: 800px; /* Adjust the width as needed */
}
.close {
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
cursor: pointer;
color: #555; /* Darker Grey Close Button */
}
.close:hover {
color: #333; /* Dark Grey on Hover */
}
.vocabSetsContainer div {
margin: 10px; /* Added margin to separate rows */
font-size: 18px;
font-weight: 400;
}
textarea {
width: 100%;
padding: 10px;
margin-bottom: 10px;
box-sizing: border-box;
border: 1px solid #ccc; /* Light Grey Border */
border-radius: 5px;
}
textarea:focus {
border: 1px solid #3498db; /* Blue Border on Focus */
}
.options {
display: none;
flex-wrap: wrap;
justify-content: center;
list-style-type: none;
}
.question {
font-size: 30px;
}
.option {
background-color: #3498db;
color: #fff;
padding: 10px 20px;
margin: 10px;
margin-right: 50px;
border: none;
border-radius: 5px;
cursor: pointer;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s;
}
.option:hover {
background-color: #2980b9;
}
.quiz {
display: none;
text-align: center;
margin-top: 50px;
font-size: 20px;
}
#vocabBuilderContainer {
display: flex;
flex-direction: column;
align-items: center;
}
.centered-cell {
text-align: center;
margin-top: 10px; /* Adjust the margin as needed */
}
.vocabTable {
user-select: none; /* Prevent text selection */
}
/* Show plus button only if there is at least one row */
#vocabBuilderContainer .vocab-row + .centered-cell button {
display: inline-block;
}
.vocabbuilder-controls {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
margin-top: 20px;
font-size: 20px;
}
.drag-controls {
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
font-size: 20px;
}
#vocabTable {
border-collapse: separate;
border-spacing: 8px; /* Adjust the spacing between columns as needed */
width: 95%;
}
#vocabTable th,
.vocab-row td {
border: 1px solid #ddd;
padding: 8px;
}
.vocab-row:hover {
background-color: #f5f5f5;
}
/* Add these styles for modern text inputs */
.vocab-input,
.translation-input {
width: 100%;
padding: 10px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 5px;
margin-bottom: 10px;
font-size: 16px;
}
/* Define a class for the action column cells */
.action-cell {
width: 10%; /* Adjust the width as needed */
}
/* Optional: Center the button in the cell */
.action-cell button {
width: 80%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
margin: auto;
}
.centered-cell {
text-align: center;
}
.diagramCanvas-container {
display: flex;
justify-content: center;
margin-top: 20px;
}
.diagramCanvas {
width: 200px; /* Set the desired width */
height: 200px; /* Set the desired height */
}
/* New styles for settings button */
.homepage-buttons {
position: fixed;
top: 0px;
right: 0px;
font-size: 24px;
color: #fff;
border: none;
border-radius: 50%;
cursor: pointer;
padding: 8px;
}
#menu-icon {
position: fixed;
top: 20px;
left: 20px;
cursor: pointer;
}
#turbotermslogo {
margin-top: 50px;
}
.answer {
/*display: none;*/
visibility: hidden;
margin-top: 20px;
font-size: 20px;
}
/* Add this to your CSS file */
.disabled {
pointer-events: none;
opacity: 1.0; /* You can adjust the opacity to visually indicate the disabled state */
}
#endbtn {
background-color: #f44336; /* Red Button */
}
#nextbtn {
background-color: #4CAF50; /* Green Button */
}
.hidden {
display: none;
}
/* Popup styles */
.broadcast-popup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
z-index: 9999; /* Ensure the popup is on top of other elements */
}
.broadcast-content {
flex-direction: column;
align-items: center;
text-align: center;
justify-content: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff; /* Popup background color */
border-radius: 8px;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
min-width: 350px;
max-width: 800px; /* Adjust the width as needed */
}
.broadcast-text {
font-size: 18px;
margin: 10px 0;
color: black;
}
.broadcast-button {
background-color: #1da1f2;
color: #ffffff;
border: none;
padding: 10px 20px;
margin: 5px;
border-radius: 5px;
cursor: pointer;
}
.broadcast-button:hover {
background-color: #1582d0;
}
#progressBarContainer {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 8px; /* Adjust the height as needed */
background-color: #f0f0f0; /* Background color of the progress bar container */
z-index: 9999; /* Ensure it's on top of other elements */
display: flex;
align-items: center; /* Center the progress bar vertically */
}
#progressBar {
width: 100%;
height: 100%;
appearance: none;
background-color: transparent;
}
#progressBar::-webkit-progress-bar {
background-color: transparent;
}
#progressBar::-webkit-progress-value {
background-color: #3498db; /* Color of the progress bar */
}
#progressIndicator {
position: absolute;
top: 0;
right: 0;
margin-top: 15px;
margin-right: 10px; /* Adjust the margin as needed */
color: #3498db; /* Match the color of your progress bar */
}
.answerInput {
width: 70%;
padding: 10px;
margin-top: 40px;
margin-bottom: 10px;
box-sizing: border-box;
border: 1px solid #ccc; /* Light Grey Border */
border-radius: 5px;
}
#importFileBtn {
position: absolute;
top: 0;
left: 0;
opacity: 0;
}
.custom-file-input {
display: inline-block;
padding: 8px 12px;
cursor: pointer;
background-color: #4CAF50;
color: #fff;
border: none;
border-radius: 4px;
}
.custom-file-input:hover {
background-color: #45a049;
}