AxL95 commited on
Commit
5397cc4
·
verified ·
1 Parent(s): fb65623

Update frontend/src/App.css

Browse files
Files changed (1) hide show
  1. frontend/src/App.css +102 -3
frontend/src/App.css CHANGED
@@ -339,21 +339,120 @@
339
  line-height: 1.5;
340
  border-bottom-left-radius: 4px;
341
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
342
 
343
  /* ----- Animation pour l'apparition ----- */
344
  @keyframes fade-in {
345
  from { opacity: 0; transform: translateY(5px); }
346
  to { opacity: 1; transform: translateY(0); }
347
  }
348
-
 
 
 
349
  /* ----- Indicateur de chargement ----- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  .loading span {
351
- display: inline-block;
352
  animation: loading-dots 1.4s infinite ease-in-out;
353
  font-size: 1.2rem;
354
- margin-right: 2px;
 
 
 
 
 
 
 
 
 
 
 
 
 
355
  }
356
 
 
 
 
 
 
 
357
  @keyframes loading-dots {
358
  0%, 80%, 100% { transform: scale(0); }
359
  40% { transform: scale(1); }
 
339
  line-height: 1.5;
340
  border-bottom-left-radius: 4px;
341
  }
342
+ /* token limit */
343
+
344
+
345
+ .token-limit-warning {
346
+ display: flex;
347
+ justify-content: center;
348
+ margin: 15px 0;
349
+ padding: 10px;
350
+ background-color: rgba(255, 193, 7, 0.1);
351
+ border-radius: 8px;
352
+ }
353
+
354
+ .new-conversation-button {
355
+ background-color: #4D59FB;
356
+ color: white;
357
+ border: none;
358
+ border-radius: 20px;
359
+ padding: 10px 20px;
360
+ font-size: 14px;
361
+ font-weight: 500;
362
+ cursor: pointer;
363
+ transition: background-color 0.2s;
364
+ display: flex;
365
+ align-items: center;
366
+ gap: 8px;
367
+ }
368
+
369
+ .new-conversation-button:hover {
370
+ background-color: #3A46E8;
371
+ }
372
+
373
+ .new-conversation-button::before {
374
+ content: "+";
375
+ font-size: 18px;
376
+ font-weight: bold;
377
+ }
378
 
379
  /* ----- Animation pour l'apparition ----- */
380
  @keyframes fade-in {
381
  from { opacity: 0; transform: translateY(5px); }
382
  to { opacity: 1; transform: translateY(0); }
383
  }
384
+ .message.bot .message-content.loading * {
385
+ display: inline-block !important;
386
+ width: auto !important;
387
+ }
388
  /* ----- Indicateur de chargement ----- */
389
+ .loading {
390
+ display: flex !important;
391
+ align-items: center;
392
+ justify-content: center;
393
+ }
394
+
395
+ .loading span {
396
+ display: inline-block !important;
397
+ animation: loading-dots 1.4s infinite ease-in-out;
398
+ font-size: 1.2rem;
399
+ margin-right: 4px;
400
+ width: auto !important;
401
+ }
402
+
403
+ .loading-container {
404
+ display: flex !important;
405
+ justify-content: center;
406
+ align-items: center;
407
+ }
408
+
409
+ .loading-dots {
410
+ font-size: 1.2rem;
411
+ letter-spacing: 2px;
412
+ animation: blink 1.4s infinite;
413
+ }
414
+
415
+ @keyframes blink {
416
+ 0%, 100% { opacity: 0.2; }
417
+ 50% { opacity: 1; }
418
+ }
419
+
420
+
421
+ @keyframes loading-dots {
422
+ 0%, 80%, 100% { transform: scale(0); }
423
+ 40% { transform: scale(1); }
424
+ }.loading {
425
+ display: flex !important;
426
+ align-items: center;
427
+ justify-content: center;
428
+ }
429
+
430
  .loading span {
431
+ display: inline-block !important;
432
  animation: loading-dots 1.4s infinite ease-in-out;
433
  font-size: 1.2rem;
434
+ margin-right: 4px;
435
+ width: auto !important;
436
+ }
437
+
438
+ .loading-container {
439
+ display: flex !important;
440
+ justify-content: center;
441
+ align-items: center;
442
+ }
443
+
444
+ .loading-dots {
445
+ font-size: 1.2rem;
446
+ letter-spacing: 2px;
447
+ animation: blink 1.4s infinite;
448
  }
449
 
450
+ @keyframes blink {
451
+ 0%, 100% { opacity: 0.2; }
452
+ 50% { opacity: 1; }
453
+ }
454
+
455
+
456
  @keyframes loading-dots {
457
  0%, 80%, 100% { transform: scale(0); }
458
  40% { transform: scale(1); }