kaiiddo commited on
Commit
f5bf77a
·
verified ·
1 Parent(s): a64bb90

Update src/App.css

Browse files
Files changed (1) hide show
  1. src/App.css +202 -4
src/App.css CHANGED
@@ -24,6 +24,7 @@
24
  color: #09090b;
25
  padding: 8px 16px;
26
  cursor: pointer;
 
27
  }
28
 
29
  .btn:hover {
@@ -91,7 +92,6 @@
91
  .input:focus {
92
  outline: none;
93
  border-color: #18181b;
94
- box-shadow: 0 0 0 1px #18181b;
95
  }
96
 
97
  .dark .input {
@@ -102,7 +102,6 @@
102
 
103
  .dark .input:focus {
104
  border-color: #ffffff;
105
- box-shadow: 0 0 0 1px #ffffff;
106
  }
107
 
108
  .card {
@@ -176,6 +175,7 @@
176
  border-radius: 18px;
177
  font-size: 14px;
178
  line-height: 1.5;
 
179
  }
180
 
181
  .message.assistant .message-content {
@@ -225,6 +225,11 @@
225
  left: 12px;
226
  bottom: 12px;
227
  z-index: 10;
 
 
 
 
 
228
  }
229
 
230
  .send-button {
@@ -238,6 +243,11 @@
238
  border: none;
239
  cursor: pointer;
240
  transition: all 0.2s ease;
 
 
 
 
 
241
  }
242
 
243
  .dark .send-button {
@@ -320,7 +330,9 @@
320
  border: 1px solid #e4e4e7;
321
  border-radius: 8px;
322
  padding: 8px;
323
- min-width: 200px;
 
 
324
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
325
  z-index: 1000;
326
  }
@@ -331,15 +343,41 @@
331
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
332
  }
333
 
334
- .dropdown-item {
 
 
 
 
335
  display: flex;
336
  align-items: center;
337
  gap: 8px;
338
  padding: 8px 12px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
339
  border-radius: 6px;
340
  cursor: pointer;
341
  font-size: 14px;
342
  transition: background-color 0.2s ease;
 
 
 
 
 
343
  }
344
 
345
  .dropdown-item:hover {
@@ -358,4 +396,164 @@
358
  .dark .dropdown-item.active {
359
  background: #ffffff;
360
  color: #09090b;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
361
  }
 
24
  color: #09090b;
25
  padding: 8px 16px;
26
  cursor: pointer;
27
+ gap: 8px;
28
  }
29
 
30
  .btn:hover {
 
92
  .input:focus {
93
  outline: none;
94
  border-color: #18181b;
 
95
  }
96
 
97
  .dark .input {
 
102
 
103
  .dark .input:focus {
104
  border-color: #ffffff;
 
105
  }
106
 
107
  .card {
 
175
  border-radius: 18px;
176
  font-size: 14px;
177
  line-height: 1.5;
178
+ white-space: pre-wrap;
179
  }
180
 
181
  .message.assistant .message-content {
 
225
  left: 12px;
226
  bottom: 12px;
227
  z-index: 10;
228
+ margin-left: 20px;
229
+ width: 167px;
230
+ display: flex;
231
+ align-items: center;
232
+ justify-content: space-between;
233
  }
234
 
235
  .send-button {
 
243
  border: none;
244
  cursor: pointer;
245
  transition: all 0.2s ease;
246
+ display: flex;
247
+ align-items: center;
248
+ justify-content: center;
249
+ width: 36px;
250
+ height: 36px;
251
  }
252
 
253
  .dark .send-button {
 
330
  border: 1px solid #e4e4e7;
331
  border-radius: 8px;
332
  padding: 8px;
333
+ min-width: 320px;
334
+ max-height: 400px;
335
+ overflow-y: auto;
336
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
337
  z-index: 1000;
338
  }
 
343
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
344
  }
345
 
346
+ .company-section {
347
+ margin-bottom: 12px;
348
+ }
349
+
350
+ .company-header {
351
  display: flex;
352
  align-items: center;
353
  gap: 8px;
354
  padding: 8px 12px;
355
+ font-weight: 600;
356
+ font-size: 14px;
357
+ color: #09090b;
358
+ border-bottom: 1px solid #f4f4f5;
359
+ margin-bottom: 8px;
360
+ }
361
+
362
+ .dark .company-header {
363
+ color: #ffffff;
364
+ border-bottom-color: #3f3f46;
365
+ }
366
+
367
+ .dropdown-item {
368
+ display: flex;
369
+ align-items: flex-start;
370
+ gap: 12px;
371
+ padding: 12px;
372
  border-radius: 6px;
373
  cursor: pointer;
374
  font-size: 14px;
375
  transition: background-color 0.2s ease;
376
+ margin-bottom: 4px;
377
+ }
378
+
379
+ .dropdown-item:last-child {
380
+ margin-bottom: 0;
381
  }
382
 
383
  .dropdown-item:hover {
 
396
  .dark .dropdown-item.active {
397
  background: #ffffff;
398
  color: #09090b;
399
+ }
400
+
401
+ .model-info {
402
+ flex: 1;
403
+ }
404
+
405
+ .model-name {
406
+ font-weight: 500;
407
+ margin-bottom: 2px;
408
+ }
409
+
410
+ .model-description {
411
+ font-size: 12px;
412
+ opacity: 0.7;
413
+ line-height: 1.4;
414
+ }
415
+
416
+ .model-check {
417
+ display: flex;
418
+ align-items: center;
419
+ margin-top: 2px;
420
+ }
421
+
422
+ /* Auth Modal */
423
+ .auth-modal {
424
+ position: fixed;
425
+ top: 0;
426
+ left: 0;
427
+ right: 0;
428
+ bottom: 0;
429
+ background: rgba(0, 0, 0, 0.5);
430
+ display: flex;
431
+ align-items: center;
432
+ justify-content: center;
433
+ z-index: 10000;
434
+ padding: 20px;
435
+ }
436
+
437
+ .auth-content {
438
+ background: #ffffff;
439
+ border-radius: 12px;
440
+ padding: 32px;
441
+ max-width: 480px;
442
+ width: 100%;
443
+ box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
444
+ }
445
+
446
+ .dark .auth-content {
447
+ background: #18181b;
448
+ box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
449
+ }
450
+
451
+ .auth-title {
452
+ font-size: 24px;
453
+ font-weight: 600;
454
+ margin-bottom: 8px;
455
+ text-align: center;
456
+ }
457
+
458
+ .auth-description {
459
+ text-align: center;
460
+ color: #71717a;
461
+ margin-bottom: 24px;
462
+ line-height: 1.5;
463
+ }
464
+
465
+ .dark .auth-description {
466
+ color: #a1a1aa;
467
+ }
468
+
469
+ .auth-input {
470
+ margin-bottom: 20px;
471
+ }
472
+
473
+ .auth-actions {
474
+ display: flex;
475
+ gap: 12px;
476
+ }
477
+
478
+ .auth-actions .btn {
479
+ flex: 1;
480
+ }
481
+
482
+ .token-info {
483
+ background: #f4f4f5;
484
+ border-radius: 8px;
485
+ padding: 16px;
486
+ margin-top: 16px;
487
+ font-size: 12px;
488
+ line-height: 1.4;
489
+ }
490
+
491
+ .dark .token-info {
492
+ background: #27272a;
493
+ }
494
+
495
+ .token-info h4 {
496
+ margin-bottom: 8px;
497
+ font-weight: 600;
498
+ }
499
+
500
+ .token-info ol {
501
+ padding-left: 16px;
502
+ }
503
+
504
+ .token-info li {
505
+ margin-bottom: 4px;
506
+ }
507
+
508
+ /* Error message */
509
+ .error-message {
510
+ background: #fef2f2;
511
+ border: 1px solid #fecaca;
512
+ color: #dc2626;
513
+ padding: 12px 16px;
514
+ border-radius: 8px;
515
+ margin-bottom: 16px;
516
+ font-size: 14px;
517
+ }
518
+
519
+ .dark .error-message {
520
+ background: #2a0f0f;
521
+ border-color: #7f1d1d;
522
+ color: #fca5a5;
523
+ }
524
+
525
+ /* Token display */
526
+ .token-display {
527
+ display: flex;
528
+ align-items: center;
529
+ gap: 8px;
530
+ padding: 8px 12px;
531
+ background: #f4f4f5;
532
+ border-radius: 6px;
533
+ font-size: 12px;
534
+ margin-bottom: 16px;
535
+ }
536
+
537
+ .dark .token-display {
538
+ background: #27272a;
539
+ }
540
+
541
+ .token-text {
542
+ flex: 1;
543
+ font-family: 'Geist Mono', monospace;
544
+ word-break: break-all;
545
+ }
546
+
547
+ .clear-token {
548
+ padding: 4px;
549
+ border-radius: 4px;
550
+ cursor: pointer;
551
+ }
552
+
553
+ .clear-token:hover {
554
+ background: #e4e4e7;
555
+ }
556
+
557
+ .dark .clear-token:hover {
558
+ background: #3f3f46;
559
  }