momenaca commited on
Commit
7dec42c
·
1 Parent(s): 5634da6

fix frontend bug

Browse files
Files changed (1) hide show
  1. assets/style.css +53 -234
assets/style.css CHANGED
@@ -1,66 +1,7 @@
1
- /* :root {
2
- --user-image: url('https://ih1.redbubble.net/image.4776899543.6215/st,small,507x507-pad,600x600,f8f8f8.jpg');
3
- } */
4
-
5
- .warning-box {
6
- background-color: #fff3cd;
7
- border: 1px solid #ffeeba;
8
- border-radius: 4px;
9
- padding: 15px 20px;
10
- font-size: 14px;
11
- color: #856404;
12
- display: inline-block;
13
- margin-bottom: 15px;
14
- }
15
-
16
-
17
- .tip-box {
18
- background-color: #f0f9ff;
19
- border: 1px solid #80d4fa;
20
- border-radius: 4px;
21
- margin-top: 20px;
22
- padding: 15px 20px;
23
- font-size: 14px;
24
- display: inline-block;
25
- margin-bottom: 15px;
26
- width: auto;
27
- color: black !important;
28
- }
29
-
30
- body.dark .warning-box * {
31
- color: black !important;
32
- }
33
-
34
-
35
- body.dark .tip-box * {
36
- color: black !important;
37
- }
38
-
39
-
40
- .tip-box-title {
41
- font-weight: bold;
42
- font-size: 14px;
43
- margin-bottom: 5px;
44
- }
45
-
46
- .light-bulb {
47
- display: inline;
48
- margin-right: 5px;
49
- }
50
-
51
- .gr-box {
52
- border-color: #d6c37c
53
- }
54
-
55
- #hidden-message {
56
- display: none;
57
- }
58
-
59
  .message {
60
  font-size: 14px !important;
61
  }
62
 
63
-
64
  a {
65
  text-decoration: none;
66
  color: inherit;
@@ -109,16 +50,6 @@ a {
109
  color: #999 !important;
110
  }
111
 
112
- .pdf-link {
113
- display: inline-flex;
114
- align-items: center;
115
- margin-left: auto;
116
- text-decoration: none !important;
117
- font-size: 14px;
118
- }
119
-
120
-
121
-
122
  .message.user {
123
  /* background-color:#7494b0 !important; */
124
  border: none;
@@ -130,60 +61,18 @@ a {
130
  border: none;
131
  }
132
 
133
- /* .gallery-item > div:hover{
134
- background-color:#7494b0 !important;
135
- color:white!important;
136
- }
137
- .gallery-item:hover{
138
- border:#7494b0 !important;
139
- }
140
- .gallery-item > div{
141
- background-color:white !important;
142
- color:#577b9b!important;
143
- }
144
- .label{
145
- color:#577b9b!important;
146
- } */
147
-
148
- /* .paginate{
149
- color:#577b9b!important;
150
- } */
151
-
152
-
153
-
154
- /* span[data-testid="block-info"]{
155
- background:none !important;
156
- color:#577b9b;
157
- } */
158
-
159
- /* Pseudo-element for the circularly cropped picture */
160
- /* .message.bot::before {
161
- content: '';
162
- position: absolute;
163
- top: -10px;
164
- left: -10px;
165
- width: 30px;
166
- height: 30px;
167
- background-image: var(--user-image);
168
- background-size: cover;
169
- background-position: center;
170
- border-radius: 50%;
171
- z-index: 10;
172
- }
173
- */
174
-
175
- label.selected {
176
- background: none !important;
177
  }
178
 
179
- #submit-button {
180
- padding: 0px !important;
 
181
  }
182
 
183
-
184
- @media screen and (min-width: 1024px) {
185
  div#sources-textbox {
186
- height: calc(100vh - 190px) !important;
187
  overflow-y: auto !important;
188
  scrollbar-width: none;
189
  -ms-overflow-style: none;
@@ -196,6 +85,8 @@ label.selected {
196
 
197
  div.svelte-iyf88w {
198
  scrollbar-width: none;
 
 
199
  }
200
 
201
  div.svelte-iyf88w::-webkit-scrollbar {
@@ -204,26 +95,27 @@ label.selected {
204
  }
205
 
206
  div#chatbot-row {
207
- height: calc(100vh - 90px) !important;
208
- }
209
-
210
- .max-height {
211
- height: calc(100vh - 90px) !important;
212
- overflow-y: auto;
213
  }
214
 
215
- div.svelte-iyf88w {
216
- height: calc(100vh - 160px) !important;
217
- overflow-y: auto;
218
  }
219
 
220
- #accordion-spinoza {
221
- height: calc(100vh - 160px) !important;
 
 
222
  }
223
 
224
- .form {
225
- position: relative;
226
- top: 10px;
 
 
 
 
227
  }
228
 
229
  #accordion-spinoza>open>span:nth-child(1) {
@@ -265,75 +157,47 @@ label.selected {
265
 
266
  }
267
 
268
- /* footer {
269
  visibility: hidden;
270
  display: none !important;
271
- } */
272
 
273
  .footer-ekimetrics {
274
  display: flex;
275
  align-items: center;
276
  margin-left: var(--size-2);
 
277
  }
278
 
279
- /* @media screen and (max-width: 767px) {
280
  /* Your mobile-specific styles go here */
 
 
 
281
 
282
- div#chatbot {
283
- height: 500px !important;
284
- }
285
-
286
- #submit-button {
287
- padding: 0px !important;
288
- min-width: 80px;
289
- }
290
-
291
- /* This will hide all list items */
292
- div.tab-nav button {
293
- display: none !important;
294
- }
295
-
296
- /* This will show only the first list item */
297
- div.tab-nav button:first-child {
298
- display: block !important;
299
- }
300
-
301
- /* This will show only the first list item */
302
- div.tab-nav button:nth-child(2) {
303
- display: block !important;
304
- }
305
-
306
- /* This will show only the first list item */
307
- div.tab-nav button:nth-child(3) {
308
- display: block !important;
309
- }
310
-
311
- #right-panel button {
312
- display: block !important;
313
- }
314
-
315
- /* ... add other mobile-specific styles ... */
316
-
317
- */ body.dark .card {
318
- background-color: #374151;
319
- }
320
-
321
- body.dark .card-content h2 {
322
- color: #f4dbd3 !important;
323
- }
324
-
325
- body.dark .card-footer {
326
- background-color: #404652;
327
- }
328
-
329
- body.dark .card-footer span {
330
- color: white !important;
331
- }
332
 
 
 
 
 
333
 
334
- .doc-ref {
335
- color: #dc2626 !important;
336
- margin-right: 1px;
 
 
 
 
 
 
 
 
 
 
337
  }
338
 
339
  .tabitem {
@@ -346,41 +210,6 @@ body.dark .card-footer span {
346
  padding-top: 10px;
347
  }
348
 
349
- .gallery-item>div {
350
- white-space: normal !important;
351
- /* Allow the text to wrap */
352
- word-break: break-word !important;
353
- /* Break words to prevent overflow */
354
- overflow-wrap: break-word !important;
355
- /* Break long words if necessary */
356
- }
357
-
358
- span.chatbot>p>img {
359
- margin-top: 40px !important;
360
- max-height: none !important;
361
- max-width: 80% !important;
362
- border-radius: 0px !important;
363
- }
364
-
365
-
366
- .chatbot-caption {
367
- font-size: 11px;
368
- font-style: italic;
369
- color: #508094;
370
- }
371
-
372
- .ai-generated {
373
- font-size: 11px !important;
374
- font-style: italic;
375
- color: #73b8d4 !important;
376
- }
377
-
378
- .card-image>.card-content {
379
- background-color: #f1f7fa !important;
380
- }
381
-
382
-
383
-
384
  .tab-nav>button.selected {
385
  color: #4b8ec3;
386
  font-weight: bold;
@@ -401,20 +230,10 @@ span.chatbot>p>img {
401
  border: none;
402
  }
403
 
404
- #dropdown-samples {
405
- /*! border:none !important; */
406
- /*! border-width:0px !important; */
407
- background: none !important;
408
-
409
- }
410
-
411
- #dropdown-samples>.container>.wrap {
412
- background-color: white;
413
- }
414
-
415
  .loader {
416
  animation: blink 2s linear infinite;
417
  }
 
418
  @keyframes blink {
419
  0% {
420
  opacity: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  .message {
2
  font-size: 14px !important;
3
  }
4
 
 
5
  a {
6
  text-decoration: none;
7
  color: inherit;
 
50
  color: #999 !important;
51
  }
52
 
 
 
 
 
 
 
 
 
 
 
53
  .message.user {
54
  /* background-color:#7494b0 !important; */
55
  border: none;
 
61
  border: none;
62
  }
63
 
64
+ .message.svelte-x4qvqz .prose {
65
+ font-size: small;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  }
67
 
68
+ .message-row.panel.svelte-x4qvqz.svelte-x4qvqz {
69
+ margin:0;
70
+ padding:calc(var(--spacing-xl) * 2) calc(var(--spacing-xxl) * 1);
71
  }
72
 
73
+ @media screen {
 
74
  div#sources-textbox {
75
+ height: calc(100vh - 160px) !important;
76
  overflow-y: auto !important;
77
  scrollbar-width: none;
78
  -ms-overflow-style: none;
 
85
 
86
  div.svelte-iyf88w {
87
  scrollbar-width: none;
88
+ height: calc(-180px + 100vh) !important;
89
+ overflow-y: auto;
90
  }
91
 
92
  div.svelte-iyf88w::-webkit-scrollbar {
 
95
  }
96
 
97
  div#chatbot-row {
98
+ height: calc(100vh - 100px) !important;
 
 
 
 
 
99
  }
100
 
101
+ .form {
102
+ position: relative;
103
+ top: 10px;
104
  }
105
 
106
+ #center-panel {
107
+ flex-grow: 2;
108
+ min-width: min(320px, 100%);
109
+ height: calc(-100px + 100vh) !important;
110
  }
111
 
112
+ .compact.svelte-vt1mxs,
113
+ .panel.svelte-vt1mxs {
114
+ border:solid var(--panel-border-width) var(--panel-border-color);
115
+ border-radius:var(--container-radius);
116
+ background:var(--panel-background-fill);
117
+ padding:var(--spacing-lg);
118
+ height: calc(-100px + 100vh) !important;
119
  }
120
 
121
  #accordion-spinoza>open>span:nth-child(1) {
 
157
 
158
  }
159
 
160
+ footer {
161
  visibility: hidden;
162
  display: none !important;
163
+ }
164
 
165
  .footer-ekimetrics {
166
  display: flex;
167
  align-items: center;
168
  margin-left: var(--size-2);
169
+ font-size: smaller;
170
  }
171
 
172
+ @media screen and (max-width: 767px) {
173
  /* Your mobile-specific styles go here */
174
+ div#chatbot-row{
175
+ height:500px !important;
176
+ }
177
 
178
+ #submit-button{
179
+ padding:0px !important;
180
+ min-width: 80px;
181
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
 
183
+ /* This will hide all list items */
184
+ div.tab-nav button {
185
+ display: none !important;
186
+ }
187
 
188
+ /* This will show only the first list item */
189
+ div.tab-nav button:first-child {
190
+ display: block !important;
191
+ }
192
+
193
+ /* This will show only the first list item */
194
+ div.tab-nav button:nth-child(2) {
195
+ display: block !important;
196
+ }
197
+
198
+ #right-panel button{
199
+ display: block !important;
200
+ }
201
  }
202
 
203
  .tabitem {
 
210
  padding-top: 10px;
211
  }
212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  .tab-nav>button.selected {
214
  color: #4b8ec3;
215
  font-weight: bold;
 
230
  border: none;
231
  }
232
 
 
 
 
 
 
 
 
 
 
 
 
233
  .loader {
234
  animation: blink 2s linear infinite;
235
  }
236
+
237
  @keyframes blink {
238
  0% {
239
  opacity: 0;