-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
381 lines (327 loc) · 7.18 KB
/
styles.css
File metadata and controls
381 lines (327 loc) · 7.18 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
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
/* General styling */
body {
font-family: Arial, sans-serif;
background-color: #fafafa;
margin: 0;
padding: 15px;
font-size: 14px;
color: #333;
line-height: 1.4;
width: 500px;
height: 200px;
-ms-overflow-style: none;
/* for Internet Explorer and Edge */
scrollbar-width: none;
/* for Firefox */
height: auto;
}
body::-webkit-scrollbar {
display: none;
/* for Chrome, Safari, and newer versions of Opera */
}
aw h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0 0 10px 0;
}
/* h4 {
color: #007BFF;
margin-top: 20px;
border-bottom: 2px solid #007BFF;
padding-bottom: 5px;
margin-bottom: -5px;
} */
p {
margin: 0 0 10px 0;
}
/* Container for summaries */
/* #content-container {
border: 1px solid #e0e0e0;
padding: 10px;
border-radius: 5px;
} */
/* #summaries-container {
padding: 10px;
} */
/* Individual summary sections */
/* #summaries-container>div {
padding: 10px;
border-bottom: 1px solid #e0e0e0;
margin-bottom: 10px;
}
#summaries-container>div:last-child {
border-bottom: none;
} */
/* Notification styles (if any) */
.notification {
padding: 10px;
background-color: #FFEB3B;
/* Yellow color for notifications */
color: #333;
border-radius: 5px;
margin-bottom: 20px;
}
/* If you have any buttons */
button {
background-color: #007BFF;
color: #fff;
border: none;
padding: 10px 15px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
.remove-icon {
/* position: absolute; */
top: 5px;
right: 5px;
cursor: pointer;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.preloader {
border: 5px solid #f3f3f3;
border-radius: 50%;
border-top: 5px solid #3498db;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
display: inline-block;
}
/* .greyed-out {
pointer-events: none;
opacity: 0.5;
} */
.ai-response-popup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
z-index: 1000;
}
.ai-response-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 20px;
background-color: #fff;
width: 80%;
max-width: 400px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.close-popup-btn {
position: absolute;
top: 5px;
right: 10px;
font-size: 24px;
cursor: pointer;
}
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted grey;
line-height: 14px;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 150px;
background-color: black;
opacity: 0.85;
color: white;
text-align: left;
border-radius: 6px;
padding: 5px 7px;
position: absolute;
z-index: 1;
top: 150%; /* tooltip appears below the text */
left: 50%; /* center the tooltip */
transform: translateX(-50%); /* ensure the tooltip is centered */
border: 1px solid black;
font-family: Arial, Helvetica, sans-serif !important;
}
.tooltip .tooltiptext::after {
content: "";
position: absolute;
bottom: 100%; /* arrow is at the top of the tooltip box */
left: 50%; /* center the arrow */
transform: translateX(-50%); /* ensure the arrow is centered */
border-width: 5px;
border-style: solid;
border-color: transparent transparent black transparent;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}
.btn-primary {
background-color: #2563EB;
color: #fff;
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.btn-primary:hover {
background-color: #1D4ED8;
}
.btn-secondary {
background-color: #E5E7EB;
color: #1F2937;
padding: 8px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.btn-secondary:hover {
background-color: #D1D5DB;
}
.DDLogoAccount {
line-height: 1.4rem;
}
.text-green-500 {
color: rgb(34 197 94);
}
.text-red-500 {
color: rgb(244 63 94);
}
.animated-bg-container {
position: relative; /* Ensure this is set to relative */
background: linear-gradient(-45deg, #FFA63D, #FF3D77, #338AFF, #3CF0C5);
background-size: 600%;
animation: anime 16s linear infinite;
}
/* Create a dark overlay using the ::before pseudo-element */
.animated-bg-container::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.1); /* Adjust the alpha value to control the darkness of the overlay */
pointer-events: none; /* Ensure clicks go through the overlay */
border-radius: 0.5rem;
}
/* Your other styles */
.animated-bg-container-blurred {
position: absolute;
margin-top: -70px;
z-index: -1;
filter: blur(30px);
opacity: 0.8;
}
@keyframes anime {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* List items with bullet points */
#summaries-container ul {
list-style-type: decimal; /* Default bullet points */
padding-left: 1.5em; /* Add some left padding for alignment */
/* margin-bottom: 2rem; */
}
#summaries-container li {
margin-bottom: 1rem;
}
#summaries-container ul > li::marker {
font-weight: bold;
}
/* FAQ Questions */
#summaries-container p[id^="question"] {
font-weight: bold;
margin-top: 0rem; /* Add some margin for separation */
margin-bottom: -0.5rem;
}
/* FAQ Answers */
#summaries-container p[id^="answer"] {
margin-top: 0.5rem;
margin-bottom: 1.5rem; /* Add some margin for separation */
}
/* This will position the container relative to the overlay */
.aiQuestionFormContainer {
position: relative;
}
/* The overlay */
.greyed-out::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
z-index: 10;
cursor: not-allowed;
}
#myForm {
position: relative;
}
#small-modal::-webkit-scrollbar {
display: none;
}
#small-modal {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
li.good, li.bad, li.neutral {
display: flex;
list-style: none;
}
li.good {
color: #33a733;
font-weight: 600;
font-family: arial;
}
li.neutral {
color: #6b6b6b;
font-weight: 600;
font-family: arial;
}
li.bad {
color: #db3838;
font-weight: 600;
font-family: arial;
}
/* all h4 where the class begins with 'implications-' */
h4[id^='implications-'] {
display: none;
}
/* all ul directly after a h4 where the class begins with 'implications-' */
h4[id^='implications-'] + ul {
padding-left: 0px !important;
}
.fixed-column {
/* Set a fixed width */
width: calc(50% - 10px); /* Assuming 10px is the gap between columns */
/* Ensure the column does not expand or contract */
min-width: calc(50% - 10px);
max-width: calc(50% - 10px);
/* Handle overflowing content, if necessary */
overflow: hidden;
border-radius: 10px;
}