yc-agent-ui 1.2.1 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -5
- package/es/components/chart/src/chart-card.vue.d.ts +56 -10
- package/es/components/chart/src/chart-container.vue.d.ts +11 -1
- package/es/components/chart/src/theme.d.ts +1 -1
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +6 -6
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- package/es/components/display-item/index.d.ts +21 -21
- package/es/components/display-item/src/index.vue.d.ts +19 -19
- package/es/components/drawer-form/index.d.ts +18 -18
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +12 -12
- package/es/components/form/src/form-content.vue.d.ts +12 -12
- package/es/components/form/src/index.vue.d.ts +12 -12
- package/es/components/form-item/index.d.ts +12 -12
- package/es/components/form-item/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +258 -258
- package/es/components/page/src/index.vue.d.ts +90 -90
- package/es/components/render/index.d.ts +1 -1
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +78 -78
- package/es/components/search/src/index.vue.d.ts +30 -30
- package/es/components/table/src/table-column.vue.d.ts +46 -46
- package/es/components/yc-ai-chat/index.d.ts +1 -0
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/select.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +29 -2
- package/es/components/yc-ai-chat/src/studio.vue.d.ts +9 -0
- package/es/components/yc-ai-chat/src/type.d.ts +2 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +264 -264
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +144 -144
- package/es/index.css +8 -8
- package/es/index.mjs +1 -0
- package/es/packages/components/chart/src/chart-card2.vue.mjs +9 -2
- package/es/packages/components/chart/src/chart-container2.vue.mjs +13 -1
- package/es/packages/components/chart/src/theme.mjs +18 -10
- package/es/packages/components/data-table/capability.mjs +1 -1
- package/es/packages/components/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/src/bubble2.vue.mjs +21 -13
- package/es/packages/components/yc-ai-chat/src/select2.vue.mjs +9 -4
- package/es/packages/components/yc-ai-chat/src/sender2.vue.mjs +5 -3
- package/es/packages/components/yc-ai-chat/src/sidebar2.vue.mjs +735 -150
- package/es/packages/components/yc-ai-chat/src/studio2.vue.mjs +452 -85
- package/es/packages/components/yc-gradient-card/capability.mjs +8 -8
- package/es/packages/components/yc-input/src/stepper-input2.vue.mjs +48 -24
- package/es/packages/registry/types.mjs +1 -1
- package/es/registry/types.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +5707 -1690
- package/index.min.js +41 -38
- package/index.min.mjs +38 -35
- package/index.mjs +5772 -1765
- package/lib/components/chart/src/chart-card.vue.d.ts +56 -10
- package/lib/components/chart/src/chart-container.vue.d.ts +11 -1
- package/lib/components/chart/src/theme.d.ts +1 -1
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +6 -6
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- package/lib/components/display-item/index.d.ts +21 -21
- package/lib/components/display-item/src/index.vue.d.ts +19 -19
- package/lib/components/drawer-form/index.d.ts +18 -18
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +12 -12
- package/lib/components/form/src/form-content.vue.d.ts +12 -12
- package/lib/components/form/src/index.vue.d.ts +12 -12
- package/lib/components/form-item/index.d.ts +12 -12
- package/lib/components/form-item/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +258 -258
- package/lib/components/page/src/index.vue.d.ts +90 -90
- package/lib/components/render/index.d.ts +1 -1
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +78 -78
- package/lib/components/search/src/index.vue.d.ts +30 -30
- package/lib/components/table/src/table-column.vue.d.ts +46 -46
- package/lib/components/yc-ai-chat/index.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/select.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +29 -2
- package/lib/components/yc-ai-chat/src/studio.vue.d.ts +9 -0
- package/lib/components/yc-ai-chat/src/type.d.ts +2 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +264 -264
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +144 -144
- package/lib/index.css +12 -12
- package/lib/index.js +41 -0
- package/lib/packages/components/chart/src/chart-card2.vue.js +9 -2
- package/lib/packages/components/chart/src/chart-container2.vue.js +13 -1
- package/lib/packages/components/chart/src/theme.js +18 -10
- package/lib/packages/components/data-table/capability.js +1 -1
- package/lib/packages/components/index.js +41 -0
- package/lib/packages/components/yc-ai-chat/index.js +41 -0
- package/lib/packages/components/yc-ai-chat/src/bubble2.vue.js +21 -13
- package/lib/packages/components/yc-ai-chat/src/select2.vue.js +9 -4
- package/lib/packages/components/yc-ai-chat/src/sender2.vue.js +5 -3
- package/lib/packages/components/yc-ai-chat/src/sidebar2.vue.js +734 -149
- package/lib/packages/components/yc-ai-chat/src/studio2.vue.js +451 -84
- package/lib/packages/components/yc-gradient-card/capability.js +8 -8
- package/lib/packages/components/yc-input/src/stepper-input2.vue.js +47 -23
- package/lib/packages/registry/types.js +1 -1
- package/lib/registry/types.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-yc-ai-chat.css +1 -1
- package/theme-chalk/plus-yc-data-table.css +1 -1
- package/theme-chalk/plus-yc-property-table.css +1 -1
- package/theme-chalk/src/search.scss +93 -3
- package/theme-chalk/src/yc-ai-chat.scss +1281 -114
- package/theme-chalk/src/yc-data-table.scss +57 -42
- package/theme-chalk/src/yc-property-table.scss +35 -14
|
@@ -267,6 +267,11 @@
|
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
+
&.is-resizing-sidebar {
|
|
271
|
+
user-select: none;
|
|
272
|
+
cursor: col-resize;
|
|
273
|
+
}
|
|
274
|
+
|
|
270
275
|
&__web-body {
|
|
271
276
|
flex: 1;
|
|
272
277
|
min-height: 0;
|
|
@@ -275,19 +280,83 @@
|
|
|
275
280
|
}
|
|
276
281
|
|
|
277
282
|
&__sidebar-wrap {
|
|
278
|
-
width:
|
|
283
|
+
width: 280px;
|
|
284
|
+
min-width: 0;
|
|
279
285
|
flex-shrink: 0;
|
|
280
|
-
border-right: 1px solid
|
|
281
|
-
background: #
|
|
282
|
-
transition: width 0.2s
|
|
286
|
+
border-right: 1px solid #e8eef7;
|
|
287
|
+
background: #f0f4f9;
|
|
288
|
+
transition: width 0.2s cubic-bezier(0.2, 0, 0, 1);
|
|
283
289
|
overflow: hidden;
|
|
284
290
|
|
|
291
|
+
&.is-resizing {
|
|
292
|
+
transition: none !important;
|
|
293
|
+
}
|
|
294
|
+
|
|
285
295
|
&.is-collapsed {
|
|
286
|
-
width: 0;
|
|
296
|
+
width: 0 !important;
|
|
287
297
|
border-right-color: transparent;
|
|
288
298
|
}
|
|
289
299
|
}
|
|
290
300
|
|
|
301
|
+
&__sidebar-resizer {
|
|
302
|
+
position: relative;
|
|
303
|
+
z-index: 12;
|
|
304
|
+
width: 8px;
|
|
305
|
+
margin: 0 -4px;
|
|
306
|
+
flex-shrink: 0;
|
|
307
|
+
cursor: col-resize;
|
|
308
|
+
display: flex;
|
|
309
|
+
align-items: center;
|
|
310
|
+
justify-content: center;
|
|
311
|
+
outline: none;
|
|
312
|
+
touch-action: none;
|
|
313
|
+
|
|
314
|
+
&-line {
|
|
315
|
+
position: relative;
|
|
316
|
+
width: 2px;
|
|
317
|
+
height: 100%;
|
|
318
|
+
border-radius: 999px;
|
|
319
|
+
background: transparent;
|
|
320
|
+
transition: background-color 0.16s ease, box-shadow 0.16s ease;
|
|
321
|
+
|
|
322
|
+
&::after {
|
|
323
|
+
content: "";
|
|
324
|
+
position: absolute;
|
|
325
|
+
top: 50%;
|
|
326
|
+
left: 50%;
|
|
327
|
+
width: 4px;
|
|
328
|
+
height: 28px;
|
|
329
|
+
border-radius: 999px;
|
|
330
|
+
background: #a8c7fa;
|
|
331
|
+
transform: translate(-50%, -50%) scaleY(0.6);
|
|
332
|
+
opacity: 0;
|
|
333
|
+
transition: opacity 0.16s ease, transform 0.16s ease, background-color 0.16s ease;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
&:hover .yc-chat-studio__sidebar-resizer-line,
|
|
338
|
+
&:focus-visible .yc-chat-studio__sidebar-resizer-line {
|
|
339
|
+
background: rgba(27, 110, 243, 0.35);
|
|
340
|
+
|
|
341
|
+
&::after {
|
|
342
|
+
opacity: 1;
|
|
343
|
+
transform: translate(-50%, -50%) scaleY(1);
|
|
344
|
+
background: #1b6ef3;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
&.is-active .yc-chat-studio__sidebar-resizer-line {
|
|
349
|
+
background: #1b6ef3;
|
|
350
|
+
box-shadow: 0 0 0 1px rgba(27, 110, 243, 0.14);
|
|
351
|
+
|
|
352
|
+
&::after {
|
|
353
|
+
opacity: 1;
|
|
354
|
+
transform: translate(-50%, -50%) scaleY(1.1);
|
|
355
|
+
background: #0b57d0;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
291
360
|
&__main {
|
|
292
361
|
flex: 1;
|
|
293
362
|
min-width: 0;
|
|
@@ -391,6 +460,19 @@
|
|
|
391
460
|
cursor: not-allowed;
|
|
392
461
|
}
|
|
393
462
|
|
|
463
|
+
&.is-chip {
|
|
464
|
+
height: 30px;
|
|
465
|
+
max-width: 220px;
|
|
466
|
+
padding: 0 10px;
|
|
467
|
+
border-radius: 999px;
|
|
468
|
+
background: #ffffff;
|
|
469
|
+
|
|
470
|
+
.yc-chat-select__prefix {
|
|
471
|
+
padding-right: 0;
|
|
472
|
+
border-right: none;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
|
|
394
476
|
&__prefix {
|
|
395
477
|
font-size: 11.5px;
|
|
396
478
|
font-weight: 500;
|
|
@@ -556,85 +638,144 @@
|
|
|
556
638
|
}
|
|
557
639
|
}
|
|
558
640
|
|
|
559
|
-
/*
|
|
641
|
+
/* 左侧会话栏(Google Gemini 官方 Material 3 审美) */
|
|
560
642
|
.yc-chat-sidebar {
|
|
561
643
|
display: flex;
|
|
562
644
|
flex-direction: column;
|
|
563
645
|
width: 100%;
|
|
564
646
|
height: 100%;
|
|
565
|
-
min-width:
|
|
647
|
+
min-width: 0;
|
|
648
|
+
box-sizing: border-box;
|
|
649
|
+
background: #f0f4f9;
|
|
650
|
+
color: #1f1f1f;
|
|
566
651
|
|
|
567
652
|
&__header {
|
|
568
653
|
display: flex;
|
|
569
654
|
flex-direction: column;
|
|
570
|
-
gap:
|
|
571
|
-
padding: 12px;
|
|
572
|
-
|
|
655
|
+
gap: 10px;
|
|
656
|
+
padding: 14px 12px 10px;
|
|
657
|
+
flex-shrink: 0;
|
|
573
658
|
}
|
|
574
659
|
|
|
575
660
|
&__create-btn {
|
|
576
661
|
display: inline-flex;
|
|
577
662
|
align-items: center;
|
|
578
663
|
justify-content: center;
|
|
579
|
-
gap:
|
|
664
|
+
gap: 8px;
|
|
580
665
|
width: 100%;
|
|
581
|
-
height:
|
|
582
|
-
padding: 0
|
|
583
|
-
border-radius:
|
|
584
|
-
border: 1px solid
|
|
585
|
-
background: #
|
|
586
|
-
color: #
|
|
587
|
-
font-size:
|
|
588
|
-
font-weight:
|
|
666
|
+
height: 40px;
|
|
667
|
+
padding: 0 16px;
|
|
668
|
+
border-radius: 999px;
|
|
669
|
+
border: 1px solid transparent;
|
|
670
|
+
background: #e1ecfe;
|
|
671
|
+
color: #0b57d0;
|
|
672
|
+
font-size: 13.5px;
|
|
673
|
+
font-weight: 600;
|
|
674
|
+
letter-spacing: -0.01em;
|
|
589
675
|
cursor: pointer;
|
|
590
|
-
|
|
676
|
+
box-sizing: border-box;
|
|
677
|
+
min-width: 0;
|
|
678
|
+
transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
|
|
591
679
|
|
|
592
|
-
svg
|
|
593
|
-
|
|
594
|
-
|
|
680
|
+
svg,
|
|
681
|
+
img {
|
|
682
|
+
width: 16px;
|
|
683
|
+
height: 16px;
|
|
684
|
+
object-fit: contain;
|
|
685
|
+
flex-shrink: 0;
|
|
595
686
|
}
|
|
596
687
|
|
|
597
688
|
&:hover:not(:disabled) {
|
|
598
|
-
background: #
|
|
599
|
-
|
|
689
|
+
background: #d3e3fd;
|
|
690
|
+
color: #0842a0;
|
|
691
|
+
box-shadow: 0 1px 3px rgba(11, 87, 208, 0.12);
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
&:active:not(:disabled) {
|
|
695
|
+
background: #c4dafc;
|
|
600
696
|
}
|
|
601
697
|
|
|
602
698
|
&:disabled {
|
|
603
|
-
background:
|
|
604
|
-
|
|
605
|
-
color: #94a3b8;
|
|
699
|
+
background: rgba(31, 31, 31, 0.05);
|
|
700
|
+
color: #8e918f;
|
|
606
701
|
cursor: not-allowed;
|
|
607
702
|
}
|
|
608
703
|
}
|
|
609
704
|
|
|
705
|
+
&__create-icon {
|
|
706
|
+
display: inline-flex;
|
|
707
|
+
align-items: center;
|
|
708
|
+
justify-content: center;
|
|
709
|
+
flex-shrink: 0;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
&__create-label {
|
|
713
|
+
overflow: hidden;
|
|
714
|
+
text-overflow: ellipsis;
|
|
715
|
+
white-space: nowrap;
|
|
716
|
+
}
|
|
717
|
+
|
|
610
718
|
&__search {
|
|
611
719
|
display: flex;
|
|
612
720
|
align-items: center;
|
|
613
|
-
gap:
|
|
614
|
-
height:
|
|
615
|
-
padding: 0
|
|
616
|
-
border: 1px solid
|
|
617
|
-
border-radius:
|
|
721
|
+
gap: 8px;
|
|
722
|
+
height: 36px;
|
|
723
|
+
padding: 0 12px;
|
|
724
|
+
border: 1px solid rgba(68, 71, 70, 0.12);
|
|
725
|
+
border-radius: 999px;
|
|
618
726
|
background: #ffffff;
|
|
727
|
+
box-sizing: border-box;
|
|
728
|
+
transition: border-color 0.16s ease, box-shadow 0.16s ease;
|
|
619
729
|
|
|
620
730
|
svg {
|
|
621
|
-
width:
|
|
622
|
-
height:
|
|
623
|
-
color: #
|
|
731
|
+
width: 14px;
|
|
732
|
+
height: 14px;
|
|
733
|
+
color: #5f6368;
|
|
624
734
|
flex-shrink: 0;
|
|
625
735
|
}
|
|
736
|
+
|
|
737
|
+
&:focus-within {
|
|
738
|
+
border-color: #a8c7fa;
|
|
739
|
+
box-shadow: 0 2px 8px rgba(27, 110, 243, 0.1);
|
|
740
|
+
}
|
|
626
741
|
}
|
|
627
742
|
|
|
628
743
|
&__search-input {
|
|
629
744
|
width: 100%;
|
|
745
|
+
min-width: 0;
|
|
630
746
|
border: none;
|
|
631
747
|
outline: none;
|
|
632
748
|
background: transparent;
|
|
633
|
-
font-size:
|
|
634
|
-
color: #
|
|
749
|
+
font-size: 13px;
|
|
750
|
+
color: #1f1f1f;
|
|
635
751
|
|
|
636
752
|
&::placeholder {
|
|
637
|
-
color: #
|
|
753
|
+
color: #747775;
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
&__search-clear {
|
|
758
|
+
display: inline-flex;
|
|
759
|
+
align-items: center;
|
|
760
|
+
justify-content: center;
|
|
761
|
+
width: 20px;
|
|
762
|
+
height: 20px;
|
|
763
|
+
padding: 0;
|
|
764
|
+
border: none;
|
|
765
|
+
border-radius: 999px;
|
|
766
|
+
background: transparent;
|
|
767
|
+
color: #5f6368;
|
|
768
|
+
cursor: pointer;
|
|
769
|
+
flex-shrink: 0;
|
|
770
|
+
|
|
771
|
+
svg {
|
|
772
|
+
width: 12px;
|
|
773
|
+
height: 12px;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
&:hover {
|
|
777
|
+
background: #edf2f8;
|
|
778
|
+
color: #1f1f1f;
|
|
638
779
|
}
|
|
639
780
|
}
|
|
640
781
|
|
|
@@ -642,125 +783,402 @@
|
|
|
642
783
|
flex: 1;
|
|
643
784
|
min-height: 0;
|
|
644
785
|
overflow-y: auto;
|
|
786
|
+
overflow-x: hidden;
|
|
787
|
+
padding: 2px 8px 12px;
|
|
788
|
+
scrollbar-width: thin;
|
|
789
|
+
scrollbar-color: rgba(68, 71, 70, 0.18) transparent;
|
|
790
|
+
|
|
791
|
+
&::-webkit-scrollbar {
|
|
792
|
+
width: 5px;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
&::-webkit-scrollbar-thumb {
|
|
796
|
+
border-radius: 999px;
|
|
797
|
+
background: rgba(68, 71, 70, 0.18);
|
|
798
|
+
}
|
|
645
799
|
}
|
|
646
800
|
|
|
647
801
|
&__empty {
|
|
648
802
|
padding: 40px 16px;
|
|
649
803
|
text-align: center;
|
|
650
804
|
font-size: 12.5px;
|
|
651
|
-
color: #
|
|
652
|
-
line-height: 1.
|
|
805
|
+
color: #5f6368;
|
|
806
|
+
line-height: 1.65;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
&__archived-only-hint {
|
|
810
|
+
padding: 16px 14px 8px;
|
|
811
|
+
font-size: 12px;
|
|
812
|
+
color: #747775;
|
|
653
813
|
}
|
|
654
814
|
|
|
655
|
-
&
|
|
815
|
+
&__groups {
|
|
656
816
|
display: flex;
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
gap: 8px;
|
|
660
|
-
width: 100%;
|
|
817
|
+
flex-direction: column;
|
|
818
|
+
gap: 6px;
|
|
661
819
|
min-width: 0;
|
|
662
|
-
padding: 2px 0;
|
|
663
820
|
}
|
|
664
821
|
|
|
665
|
-
&
|
|
666
|
-
|
|
822
|
+
&__group {
|
|
823
|
+
display: flex;
|
|
824
|
+
flex-direction: column;
|
|
667
825
|
min-width: 0;
|
|
826
|
+
|
|
827
|
+
&--archived {
|
|
828
|
+
margin-top: 6px;
|
|
829
|
+
padding-top: 6px;
|
|
830
|
+
border-top: 1px solid rgba(68, 71, 70, 0.08);
|
|
831
|
+
}
|
|
668
832
|
}
|
|
669
833
|
|
|
670
|
-
&
|
|
671
|
-
|
|
834
|
+
&__group-label {
|
|
835
|
+
padding: 8px 14px 4px;
|
|
836
|
+
font-size: 11.5px;
|
|
672
837
|
font-weight: 500;
|
|
673
|
-
color: #
|
|
838
|
+
color: #5f6368;
|
|
839
|
+
letter-spacing: 0.01em;
|
|
674
840
|
overflow: hidden;
|
|
675
841
|
text-overflow: ellipsis;
|
|
676
842
|
white-space: nowrap;
|
|
677
|
-
line-height: 1.4;
|
|
678
843
|
}
|
|
679
844
|
|
|
680
|
-
&
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
845
|
+
&__group-items {
|
|
846
|
+
display: flex;
|
|
847
|
+
flex-direction: column;
|
|
848
|
+
gap: 2px;
|
|
849
|
+
min-width: 0;
|
|
685
850
|
}
|
|
686
851
|
|
|
687
|
-
&
|
|
688
|
-
display:
|
|
852
|
+
&__row {
|
|
853
|
+
display: flex;
|
|
689
854
|
align-items: center;
|
|
690
|
-
justify-content:
|
|
691
|
-
|
|
692
|
-
height:
|
|
693
|
-
|
|
694
|
-
border-radius:
|
|
855
|
+
justify-content: space-between;
|
|
856
|
+
gap: 4px;
|
|
857
|
+
min-height: 38px;
|
|
858
|
+
padding: 5px 6px 5px 14px;
|
|
859
|
+
border-radius: 999px;
|
|
695
860
|
background: transparent;
|
|
696
|
-
color: #
|
|
697
|
-
opacity: 0;
|
|
861
|
+
color: #1f1f1f;
|
|
698
862
|
cursor: pointer;
|
|
699
|
-
|
|
863
|
+
box-sizing: border-box;
|
|
864
|
+
min-width: 0;
|
|
865
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
700
866
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
867
|
+
&:hover:not(.is-active):not(.is-disabled),
|
|
868
|
+
&.is-menu-open:not(.is-active) {
|
|
869
|
+
background: rgba(31, 31, 31, 0.06);
|
|
704
870
|
}
|
|
705
871
|
|
|
706
|
-
|
|
707
|
-
background: #
|
|
708
|
-
color: #
|
|
872
|
+
&.is-active {
|
|
873
|
+
background: #d3e3fd;
|
|
874
|
+
color: #041e49;
|
|
875
|
+
|
|
876
|
+
.yc-chat-sidebar__item-title {
|
|
877
|
+
color: #041e49;
|
|
878
|
+
font-weight: 600;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
.yc-chat-sidebar__more-trigger {
|
|
882
|
+
color: #041e49;
|
|
883
|
+
|
|
884
|
+
&:hover,
|
|
885
|
+
&.is-open {
|
|
886
|
+
background: rgba(4, 30, 73, 0.1);
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
&.is-disabled {
|
|
892
|
+
opacity: 0.58;
|
|
893
|
+
cursor: not-allowed;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
&--archived:not(.is-active) .yc-chat-sidebar__item-title {
|
|
897
|
+
color: #5f6368;
|
|
709
898
|
}
|
|
710
899
|
}
|
|
711
900
|
|
|
712
|
-
&__item
|
|
713
|
-
|
|
714
|
-
|
|
901
|
+
&__item-title {
|
|
902
|
+
flex: 1;
|
|
903
|
+
min-width: 0;
|
|
904
|
+
font-size: 13.5px;
|
|
905
|
+
font-weight: 400;
|
|
906
|
+
color: #1f1f1f;
|
|
907
|
+
overflow: hidden;
|
|
908
|
+
text-overflow: ellipsis;
|
|
909
|
+
white-space: nowrap;
|
|
910
|
+
line-height: 20px;
|
|
715
911
|
}
|
|
716
912
|
|
|
717
|
-
&
|
|
718
|
-
|
|
719
|
-
|
|
913
|
+
&__item-actions {
|
|
914
|
+
display: inline-flex;
|
|
915
|
+
align-items: center;
|
|
916
|
+
flex-shrink: 0;
|
|
720
917
|
}
|
|
721
918
|
|
|
722
|
-
&__more-
|
|
919
|
+
&__more-trigger {
|
|
920
|
+
display: inline-flex;
|
|
921
|
+
align-items: center;
|
|
922
|
+
justify-content: center;
|
|
923
|
+
width: 0;
|
|
924
|
+
height: 28px;
|
|
925
|
+
padding: 0;
|
|
723
926
|
border: none;
|
|
927
|
+
border-radius: 999px;
|
|
724
928
|
background: transparent;
|
|
725
|
-
color: #
|
|
726
|
-
|
|
929
|
+
color: #444746;
|
|
930
|
+
opacity: 0;
|
|
931
|
+
overflow: hidden;
|
|
932
|
+
pointer-events: none;
|
|
727
933
|
cursor: pointer;
|
|
934
|
+
transition:
|
|
935
|
+
width 0.14s ease,
|
|
936
|
+
opacity 0.14s ease,
|
|
937
|
+
background-color 0.14s ease,
|
|
938
|
+
color 0.14s ease;
|
|
728
939
|
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
940
|
+
svg {
|
|
941
|
+
width: 15px;
|
|
942
|
+
height: 15px;
|
|
943
|
+
flex-shrink: 0;
|
|
732
944
|
}
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
945
|
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
justify-content: center;
|
|
742
|
-
padding: 28px 16px;
|
|
946
|
+
&:hover,
|
|
947
|
+
&.is-open {
|
|
948
|
+
background: rgba(31, 31, 31, 0.08);
|
|
949
|
+
color: #1f1f1f;
|
|
950
|
+
}
|
|
743
951
|
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
952
|
+
&:focus-visible {
|
|
953
|
+
width: 28px;
|
|
954
|
+
opacity: 1;
|
|
955
|
+
pointer-events: auto;
|
|
956
|
+
outline: 2px solid #1b6ef3;
|
|
957
|
+
outline-offset: 1px;
|
|
958
|
+
}
|
|
751
959
|
}
|
|
752
960
|
|
|
753
|
-
&
|
|
961
|
+
&__row:hover &__more-trigger,
|
|
962
|
+
&__row:focus-within &__more-trigger,
|
|
963
|
+
&__row.is-active &__more-trigger,
|
|
964
|
+
&__row.is-menu-open &__more-trigger {
|
|
965
|
+
width: 28px;
|
|
966
|
+
opacity: 1;
|
|
967
|
+
pointer-events: auto;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
&__archive-toggle {
|
|
754
971
|
display: flex;
|
|
755
|
-
flex-direction: column;
|
|
756
972
|
align-items: center;
|
|
757
|
-
|
|
758
|
-
gap:
|
|
973
|
+
justify-content: space-between;
|
|
974
|
+
gap: 8px;
|
|
975
|
+
width: 100%;
|
|
976
|
+
height: 34px;
|
|
977
|
+
padding: 0 12px;
|
|
978
|
+
border: none;
|
|
979
|
+
border-radius: 999px;
|
|
980
|
+
background: transparent;
|
|
981
|
+
color: #444746;
|
|
982
|
+
font-size: 12.5px;
|
|
983
|
+
font-weight: 500;
|
|
984
|
+
cursor: pointer;
|
|
985
|
+
box-sizing: border-box;
|
|
986
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
987
|
+
|
|
988
|
+
&:hover {
|
|
989
|
+
background: rgba(31, 31, 31, 0.05);
|
|
990
|
+
color: #1f1f1f;
|
|
991
|
+
}
|
|
759
992
|
}
|
|
760
993
|
|
|
761
|
-
&
|
|
762
|
-
|
|
763
|
-
|
|
994
|
+
&__archive-toggle-left {
|
|
995
|
+
display: inline-flex;
|
|
996
|
+
align-items: center;
|
|
997
|
+
gap: 7px;
|
|
998
|
+
min-width: 0;
|
|
999
|
+
|
|
1000
|
+
svg {
|
|
1001
|
+
width: 14px;
|
|
1002
|
+
height: 14px;
|
|
1003
|
+
color: #5f6368;
|
|
1004
|
+
flex-shrink: 0;
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
&__archive-count {
|
|
1009
|
+
display: inline-flex;
|
|
1010
|
+
align-items: center;
|
|
1011
|
+
justify-content: center;
|
|
1012
|
+
min-width: 18px;
|
|
1013
|
+
height: 18px;
|
|
1014
|
+
padding: 0 6px;
|
|
1015
|
+
border-radius: 999px;
|
|
1016
|
+
background: rgba(68, 71, 70, 0.1);
|
|
1017
|
+
color: #444746;
|
|
1018
|
+
font-size: 11px;
|
|
1019
|
+
font-variant-numeric: tabular-nums;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
&__archive-chevron {
|
|
1023
|
+
width: 14px;
|
|
1024
|
+
height: 14px;
|
|
1025
|
+
color: #5f6368;
|
|
1026
|
+
flex-shrink: 0;
|
|
1027
|
+
transition: transform 0.18s cubic-bezier(0.2, 0, 0, 1);
|
|
1028
|
+
|
|
1029
|
+
&.is-expanded {
|
|
1030
|
+
transform: rotate(180deg);
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
&__more {
|
|
1035
|
+
padding: 8px 0 6px;
|
|
1036
|
+
text-align: center;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
&__more-btn {
|
|
1040
|
+
height: 30px;
|
|
1041
|
+
padding: 0 14px;
|
|
1042
|
+
border: 1px solid rgba(68, 71, 70, 0.14);
|
|
1043
|
+
border-radius: 999px;
|
|
1044
|
+
background: rgba(255, 255, 255, 0.72);
|
|
1045
|
+
color: #444746;
|
|
1046
|
+
font-size: 12px;
|
|
1047
|
+
font-weight: 500;
|
|
1048
|
+
cursor: pointer;
|
|
1049
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
1050
|
+
|
|
1051
|
+
&:hover:not(:disabled) {
|
|
1052
|
+
background: #ffffff;
|
|
1053
|
+
color: #0b57d0;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
&:disabled {
|
|
1057
|
+
opacity: 0.55;
|
|
1058
|
+
cursor: not-allowed;
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
/* Gemini Material 3 悬浮操作菜单(Teleport 到 body 避免侧栏裁切) */
|
|
1063
|
+
&__dropdown {
|
|
1064
|
+
position: fixed;
|
|
1065
|
+
z-index: 3500;
|
|
1066
|
+
min-width: 156px;
|
|
1067
|
+
padding: 6px;
|
|
1068
|
+
border-radius: 16px;
|
|
1069
|
+
background: #ffffff;
|
|
1070
|
+
border: 1px solid rgba(68, 71, 70, 0.1);
|
|
1071
|
+
box-shadow:
|
|
1072
|
+
0 8px 24px -4px rgba(15, 23, 42, 0.12),
|
|
1073
|
+
0 2px 6px rgba(15, 23, 42, 0.06);
|
|
1074
|
+
box-sizing: border-box;
|
|
1075
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif;
|
|
1076
|
+
transform-origin: top right;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
&__menu-item {
|
|
1080
|
+
display: flex;
|
|
1081
|
+
align-items: center;
|
|
1082
|
+
gap: 10px;
|
|
1083
|
+
width: 100%;
|
|
1084
|
+
height: 36px;
|
|
1085
|
+
padding: 0 12px;
|
|
1086
|
+
border: none;
|
|
1087
|
+
border-radius: 10px;
|
|
1088
|
+
background: transparent;
|
|
1089
|
+
color: #1f1f1f;
|
|
1090
|
+
font-size: 13.5px;
|
|
1091
|
+
font-weight: 450;
|
|
1092
|
+
text-align: left;
|
|
1093
|
+
cursor: pointer;
|
|
1094
|
+
box-sizing: border-box;
|
|
1095
|
+
transition: background-color 0.14s ease, color 0.14s ease;
|
|
1096
|
+
|
|
1097
|
+
svg {
|
|
1098
|
+
width: 16px;
|
|
1099
|
+
height: 16px;
|
|
1100
|
+
color: #444746;
|
|
1101
|
+
flex-shrink: 0;
|
|
1102
|
+
transition: color 0.14s ease;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
&:hover:not(:disabled) {
|
|
1106
|
+
background: #f0f4f9;
|
|
1107
|
+
color: #041e49;
|
|
1108
|
+
|
|
1109
|
+
svg {
|
|
1110
|
+
color: #0b57d0;
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
&.is-danger {
|
|
1115
|
+
color: #444746;
|
|
1116
|
+
|
|
1117
|
+
&:hover:not(:disabled) {
|
|
1118
|
+
background: #fce8e6;
|
|
1119
|
+
color: #b3261e;
|
|
1120
|
+
|
|
1121
|
+
svg {
|
|
1122
|
+
color: #b3261e;
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
&:disabled {
|
|
1128
|
+
opacity: 0.45;
|
|
1129
|
+
cursor: not-allowed;
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
&__menu-divider {
|
|
1134
|
+
height: 1px;
|
|
1135
|
+
margin: 4px 8px;
|
|
1136
|
+
background: rgba(68, 71, 70, 0.08);
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.yc-gemini-menu-pop-enter-active {
|
|
1141
|
+
transition: opacity 0.14s ease, transform 0.16s cubic-bezier(0.2, 0, 0, 1);
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
.yc-gemini-menu-pop-leave-active {
|
|
1145
|
+
transition: opacity 0.1s ease, transform 0.1s ease;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
.yc-gemini-menu-pop-enter-from,
|
|
1149
|
+
.yc-gemini-menu-pop-leave-to {
|
|
1150
|
+
opacity: 0;
|
|
1151
|
+
transform: scale(0.94) translateY(-4px);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
/* 欢迎空态与示例卡片 */
|
|
1155
|
+
.yc-chat-welcome {
|
|
1156
|
+
flex: 1;
|
|
1157
|
+
display: flex;
|
|
1158
|
+
align-items: center;
|
|
1159
|
+
justify-content: center;
|
|
1160
|
+
padding: 28px 16px;
|
|
1161
|
+
|
|
1162
|
+
&__inner {
|
|
1163
|
+
width: 100%;
|
|
1164
|
+
max-width: 620px;
|
|
1165
|
+
display: flex;
|
|
1166
|
+
flex-direction: column;
|
|
1167
|
+
align-items: center;
|
|
1168
|
+
gap: 26px;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
&__hero {
|
|
1172
|
+
display: flex;
|
|
1173
|
+
flex-direction: column;
|
|
1174
|
+
align-items: center;
|
|
1175
|
+
text-align: center;
|
|
1176
|
+
gap: 12px;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
&__glyph {
|
|
1180
|
+
width: 44px;
|
|
1181
|
+
height: 44px;
|
|
764
1182
|
display: inline-flex;
|
|
765
1183
|
align-items: center;
|
|
766
1184
|
justify-content: center;
|
|
@@ -891,9 +1309,20 @@
|
|
|
891
1309
|
align-items: center;
|
|
892
1310
|
justify-content: center;
|
|
893
1311
|
flex-shrink: 0;
|
|
894
|
-
background: #0f172a;
|
|
1312
|
+
background: var(--yc-chat-accent, #0f172a);
|
|
895
1313
|
color: #ffffff;
|
|
896
1314
|
|
|
1315
|
+
&.is-custom {
|
|
1316
|
+
background: transparent;
|
|
1317
|
+
|
|
1318
|
+
svg,
|
|
1319
|
+
img {
|
|
1320
|
+
width: 100%;
|
|
1321
|
+
height: 100%;
|
|
1322
|
+
object-fit: contain;
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
|
|
897
1326
|
svg {
|
|
898
1327
|
width: 14px;
|
|
899
1328
|
height: 14px;
|
|
@@ -1311,7 +1740,7 @@
|
|
|
1311
1740
|
height: 32px;
|
|
1312
1741
|
border-radius: 50%;
|
|
1313
1742
|
border: none;
|
|
1314
|
-
background: #0f172a;
|
|
1743
|
+
background: var(--yc-chat-accent, #0f172a);
|
|
1315
1744
|
color: #ffffff;
|
|
1316
1745
|
display: inline-flex;
|
|
1317
1746
|
align-items: center;
|
|
@@ -1326,7 +1755,7 @@
|
|
|
1326
1755
|
}
|
|
1327
1756
|
|
|
1328
1757
|
&:hover:not(:disabled) {
|
|
1329
|
-
background: #
|
|
1758
|
+
background: color-mix(in srgb, var(--yc-chat-accent, #0f172a) 82%, #000);
|
|
1330
1759
|
transform: translateY(-1px);
|
|
1331
1760
|
}
|
|
1332
1761
|
|
|
@@ -1338,7 +1767,7 @@
|
|
|
1338
1767
|
}
|
|
1339
1768
|
|
|
1340
1769
|
&.is-stop {
|
|
1341
|
-
background: #0f172a;
|
|
1770
|
+
background: var(--yc-chat-accent, #0f172a);
|
|
1342
1771
|
color: #ffffff;
|
|
1343
1772
|
}
|
|
1344
1773
|
}
|
|
@@ -1366,7 +1795,8 @@
|
|
|
1366
1795
|
gap: 6px;
|
|
1367
1796
|
margin-bottom: 6px;
|
|
1368
1797
|
|
|
1369
|
-
.yc-chat-sender__chip
|
|
1798
|
+
.yc-chat-sender__chip,
|
|
1799
|
+
.yc-chat-select.is-chip {
|
|
1370
1800
|
height: 25px;
|
|
1371
1801
|
padding: 0 9px;
|
|
1372
1802
|
font-size: 11.5px;
|
|
@@ -1672,6 +2102,743 @@
|
|
|
1672
2102
|
}
|
|
1673
2103
|
}
|
|
1674
2104
|
|
|
2105
|
+
@keyframes yc-gemini-shimmer {
|
|
2106
|
+
0% {
|
|
2107
|
+
background-position: 100% 0;
|
|
2108
|
+
}
|
|
2109
|
+
100% {
|
|
2110
|
+
background-position: -120% 0;
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2114
|
+
@keyframes yc-gemini-pulse {
|
|
2115
|
+
0% {
|
|
2116
|
+
box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.24);
|
|
2117
|
+
}
|
|
2118
|
+
70% {
|
|
2119
|
+
box-shadow: 0 0 0 5px rgba(26, 115, 232, 0);
|
|
2120
|
+
}
|
|
2121
|
+
100% {
|
|
2122
|
+
box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
/* Gemini 风格:工具调用轨迹(ThoughtChain) */
|
|
2127
|
+
.elx-thought-chain {
|
|
2128
|
+
width: 100%;
|
|
2129
|
+
padding: 14px 16px;
|
|
2130
|
+
border-radius: 16px;
|
|
2131
|
+
background: #f8fafd;
|
|
2132
|
+
border: 1px solid #e4eaf2;
|
|
2133
|
+
color: #1f1f1f;
|
|
2134
|
+
box-sizing: border-box;
|
|
2135
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
2136
|
+
|
|
2137
|
+
.el-timeline {
|
|
2138
|
+
margin: 0;
|
|
2139
|
+
padding: 0;
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
.el-timeline-item {
|
|
2143
|
+
padding-bottom: 12px;
|
|
2144
|
+
|
|
2145
|
+
&:last-child {
|
|
2146
|
+
padding-bottom: 0;
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
.el-timeline-item__tail {
|
|
2151
|
+
left: 9.5px;
|
|
2152
|
+
top: 26px;
|
|
2153
|
+
height: calc(100% - 27px);
|
|
2154
|
+
border-left: 1.5px solid #dde3ea;
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
.el-timeline-item__dot {
|
|
2158
|
+
top: 3px;
|
|
2159
|
+
left: 0;
|
|
2160
|
+
display: inline-flex;
|
|
2161
|
+
align-items: center;
|
|
2162
|
+
justify-content: center;
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
.elx-thought-chain__item-dot {
|
|
2166
|
+
margin: 0 !important;
|
|
2167
|
+
display: inline-flex;
|
|
2168
|
+
align-items: center;
|
|
2169
|
+
justify-content: center;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
.el-timeline-item__wrapper {
|
|
2173
|
+
padding-left: 30px;
|
|
2174
|
+
top: 0;
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
.el-timeline-item__timestamp {
|
|
2178
|
+
margin-bottom: 4px;
|
|
2179
|
+
color: #1f1f1f;
|
|
2180
|
+
font-size: 13.5px;
|
|
2181
|
+
font-weight: 500;
|
|
2182
|
+
line-height: 22px;
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
.el-timeline-item__content,
|
|
2186
|
+
.el-collapse,
|
|
2187
|
+
.el-collapse-item,
|
|
2188
|
+
.el-collapse-item__wrap {
|
|
2189
|
+
width: 100%;
|
|
2190
|
+
max-width: 100%;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
.el-collapse {
|
|
2194
|
+
border: none;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
.el-collapse-item__header {
|
|
2198
|
+
width: calc(100% + 8px);
|
|
2199
|
+
height: auto !important;
|
|
2200
|
+
min-height: 26px;
|
|
2201
|
+
margin: 0 0 0 -8px !important;
|
|
2202
|
+
padding: 3px 8px;
|
|
2203
|
+
box-sizing: border-box;
|
|
2204
|
+
border: none;
|
|
2205
|
+
border-radius: 8px;
|
|
2206
|
+
background: transparent;
|
|
2207
|
+
justify-content: space-between;
|
|
2208
|
+
align-items: center;
|
|
2209
|
+
gap: 8px;
|
|
2210
|
+
color: #1f1f1f;
|
|
2211
|
+
font-size: 13.5px;
|
|
2212
|
+
font-weight: 500;
|
|
2213
|
+
line-height: 20px;
|
|
2214
|
+
letter-spacing: -0.01em;
|
|
2215
|
+
transition: background-color 0.16s ease, color 0.16s ease;
|
|
2216
|
+
|
|
2217
|
+
&:hover {
|
|
2218
|
+
background: #edf2f8;
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
.el-collapse-item__title {
|
|
2223
|
+
flex: 1;
|
|
2224
|
+
min-width: 0;
|
|
2225
|
+
overflow: hidden;
|
|
2226
|
+
text-overflow: ellipsis;
|
|
2227
|
+
white-space: nowrap;
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2230
|
+
.el-collapse-item__arrow {
|
|
2231
|
+
flex-shrink: 0;
|
|
2232
|
+
margin: 0 !important;
|
|
2233
|
+
color: #5f6368;
|
|
2234
|
+
font-size: 12px;
|
|
2235
|
+
transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), color 0.16s ease;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
.el-collapse-item__header:hover .el-collapse-item__arrow {
|
|
2239
|
+
color: #1f1f1f;
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
.elx-thought-chain__item-dot .el-button {
|
|
2243
|
+
width: 20px;
|
|
2244
|
+
height: 20px;
|
|
2245
|
+
min-height: 20px;
|
|
2246
|
+
padding: 0;
|
|
2247
|
+
border: none !important;
|
|
2248
|
+
border-radius: 999px;
|
|
2249
|
+
background: #e8eef6 !important;
|
|
2250
|
+
box-shadow: none !important;
|
|
2251
|
+
opacity: 1 !important;
|
|
2252
|
+
|
|
2253
|
+
&::before {
|
|
2254
|
+
display: none !important;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
.el-icon {
|
|
2258
|
+
font-size: 11px;
|
|
2259
|
+
margin: 0;
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
.el-icon svg path {
|
|
2263
|
+
fill: #444746 !important;
|
|
2264
|
+
}
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2267
|
+
.elx-thought-chain__item-dot .el-button.is-loading {
|
|
2268
|
+
background: #e8f0fe !important;
|
|
2269
|
+
animation: yc-gemini-pulse 2s ease-out infinite;
|
|
2270
|
+
|
|
2271
|
+
.el-icon svg path {
|
|
2272
|
+
fill: #1a73e8 !important;
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
.elx-thought-chain__item-dot .el-button[style*="#67c23a"],
|
|
2277
|
+
.elx-thought-chain__item-dot .el-button[style*="103, 194, 58"] {
|
|
2278
|
+
background: #e6f4ea !important;
|
|
2279
|
+
|
|
2280
|
+
.el-icon svg path {
|
|
2281
|
+
fill: #188038 !important;
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
.elx-thought-chain__item-dot .el-button[style*="#f56c6c"],
|
|
2286
|
+
.elx-thought-chain__item-dot .el-button[style*="245, 108, 108"] {
|
|
2287
|
+
background: #fce8e6 !important;
|
|
2288
|
+
|
|
2289
|
+
.el-icon svg path {
|
|
2290
|
+
fill: #c5221f !important;
|
|
2291
|
+
}
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
.el-collapse-item__content {
|
|
2295
|
+
padding: 0 !important;
|
|
2296
|
+
margin: 0 !important;
|
|
2297
|
+
background: transparent !important;
|
|
2298
|
+
border: none !important;
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
.elx-thought-chain__content {
|
|
2302
|
+
width: 100%;
|
|
2303
|
+
max-width: 100%;
|
|
2304
|
+
margin: 6px 0 2px;
|
|
2305
|
+
padding: 10px 14px;
|
|
2306
|
+
border-radius: 12px;
|
|
2307
|
+
background: #ffffff;
|
|
2308
|
+
border: 1px solid #e4eaf2;
|
|
2309
|
+
color: #444746;
|
|
2310
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
2311
|
+
font-size: 12.5px;
|
|
2312
|
+
line-height: 1.65;
|
|
2313
|
+
box-sizing: border-box;
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2316
|
+
.el-timeline-item:has(.el-button.is-loading) {
|
|
2317
|
+
.el-collapse-item__title {
|
|
2318
|
+
background: linear-gradient(90deg, #1f1f1f 0%, #1a73e8 45%, #4285f4 55%, #1f1f1f 100%);
|
|
2319
|
+
background-size: 220% 100%;
|
|
2320
|
+
-webkit-background-clip: text;
|
|
2321
|
+
background-clip: text;
|
|
2322
|
+
color: transparent;
|
|
2323
|
+
animation: yc-gemini-shimmer 2.4s ease-in-out infinite;
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
.el-timeline-item:has([style*="#f56c6c"]),
|
|
2328
|
+
.el-timeline-item:has([style*="245, 108, 108"]) {
|
|
2329
|
+
.el-collapse-item__title {
|
|
2330
|
+
color: #b3261e;
|
|
2331
|
+
}
|
|
2332
|
+
|
|
2333
|
+
.elx-thought-chain__content {
|
|
2334
|
+
background: #fff8f7;
|
|
2335
|
+
border-color: #f6c7c4;
|
|
2336
|
+
color: #9c1f19;
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
/* Gemini 风格:推理思考折叠块(Thinking) */
|
|
2342
|
+
.elx-thinking {
|
|
2343
|
+
width: 100%;
|
|
2344
|
+
margin: 0 !important;
|
|
2345
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
2346
|
+
|
|
2347
|
+
.elx-thinking__trigger {
|
|
2348
|
+
display: inline-flex;
|
|
2349
|
+
align-items: center;
|
|
2350
|
+
gap: 8px;
|
|
2351
|
+
width: auto !important;
|
|
2352
|
+
height: 34px;
|
|
2353
|
+
margin-bottom: 0;
|
|
2354
|
+
padding: 0 14px 0 12px;
|
|
2355
|
+
border: 1px solid transparent;
|
|
2356
|
+
border-radius: 999px;
|
|
2357
|
+
background: #f0f4f9;
|
|
2358
|
+
color: #444746;
|
|
2359
|
+
font-size: 13.5px;
|
|
2360
|
+
font-weight: 500;
|
|
2361
|
+
letter-spacing: -0.01em;
|
|
2362
|
+
transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
|
|
2363
|
+
|
|
2364
|
+
&:hover {
|
|
2365
|
+
background: #e6edf6;
|
|
2366
|
+
color: #1f1f1f;
|
|
2367
|
+
}
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2370
|
+
.elx-thinking__status-icon {
|
|
2371
|
+
display: inline-flex;
|
|
2372
|
+
align-items: center;
|
|
2373
|
+
justify-content: center;
|
|
2374
|
+
font-size: 15px;
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
.elx-thinking__end-color,
|
|
2378
|
+
.elx-thinking__start-color {
|
|
2379
|
+
color: #1a73e8 !important;
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
.elx-thinking__trigger--thinking {
|
|
2383
|
+
background: #edf3fe;
|
|
2384
|
+
border-color: rgba(26, 115, 232, 0.16);
|
|
2385
|
+
|
|
2386
|
+
.elx-thinking__label {
|
|
2387
|
+
background: linear-gradient(90deg, #0b57d0 0%, #4285f4 45%, #7c4dff 55%, #0b57d0 100%);
|
|
2388
|
+
background-size: 220% 100%;
|
|
2389
|
+
-webkit-background-clip: text;
|
|
2390
|
+
background-clip: text;
|
|
2391
|
+
color: transparent !important;
|
|
2392
|
+
animation: yc-gemini-shimmer 2.2s ease-in-out infinite;
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
.elx-thinking__label {
|
|
2397
|
+
color: #1f1f1f !important;
|
|
2398
|
+
line-height: 1;
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
.elx-thinking__arrow {
|
|
2402
|
+
margin-left: 2px;
|
|
2403
|
+
color: #5f6368;
|
|
2404
|
+
font-size: 12px;
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
.elx-thinking__content-wrapper {
|
|
2408
|
+
margin-top: 10px;
|
|
2409
|
+
padding: 2px 0 2px 16px;
|
|
2410
|
+
border-left: 2px solid #d3e3fd;
|
|
2411
|
+
background: transparent !important;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
.elx-thinking__content pre {
|
|
2415
|
+
border: none !important;
|
|
2416
|
+
background: transparent !important;
|
|
2417
|
+
padding: 0 !important;
|
|
2418
|
+
border-radius: 0 !important;
|
|
2419
|
+
color: #444746 !important;
|
|
2420
|
+
font-family: inherit !important;
|
|
2421
|
+
font-size: 13.5px !important;
|
|
2422
|
+
line-height: 1.75 !important;
|
|
2423
|
+
white-space: pre-wrap;
|
|
2424
|
+
word-break: break-word;
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2427
|
+
.elx-thinking__content-wrapper--error-state {
|
|
2428
|
+
border-left-color: #f6c7c4;
|
|
2429
|
+
|
|
2430
|
+
.elx-thinking__content pre {
|
|
2431
|
+
color: #9c1f19 !important;
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
/* Gemini 风格:消息气泡(Bubble) */
|
|
2437
|
+
.elx-bubble:not(.elx-bubble--no-style) {
|
|
2438
|
+
.elx-bubble__content {
|
|
2439
|
+
padding: 12px 18px;
|
|
2440
|
+
font-size: 14.5px;
|
|
2441
|
+
line-height: 1.68;
|
|
2442
|
+
color: #1f1f1f;
|
|
2443
|
+
letter-spacing: -0.005em;
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
&.elx-bubble--end .elx-bubble__content {
|
|
2447
|
+
background: #f0f4f9;
|
|
2448
|
+
border: none;
|
|
2449
|
+
border-radius: 20px 6px 20px 20px;
|
|
2450
|
+
color: #1f1f1f;
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
&.elx-bubble--start .elx-bubble__content {
|
|
2454
|
+
background: #ffffff;
|
|
2455
|
+
border: 1px solid #e4eaf2;
|
|
2456
|
+
border-radius: 6px 20px 20px 20px;
|
|
2457
|
+
color: #1f1f1f;
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
&.elx-bubble--start .elx-bubble__content--filled {
|
|
2461
|
+
background: #f8fafd;
|
|
2462
|
+
border: 1px solid #e4eaf2;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
&.elx-bubble--start .elx-bubble__content--outlined {
|
|
2466
|
+
background: #ffffff;
|
|
2467
|
+
border: 1px solid #e4eaf2;
|
|
2468
|
+
}
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
/* Gemini / ChatGPT 风格:消息列表(BubbleList) */
|
|
2472
|
+
.elx-bubble-list.elx-bubble-list {
|
|
2473
|
+
width: 100%;
|
|
2474
|
+
min-width: 0;
|
|
2475
|
+
box-sizing: border-box;
|
|
2476
|
+
|
|
2477
|
+
.elx-bubble-list__list {
|
|
2478
|
+
width: 100%;
|
|
2479
|
+
box-sizing: border-box;
|
|
2480
|
+
gap: 20px;
|
|
2481
|
+
padding: 12px 16px 16px;
|
|
2482
|
+
scrollbar-width: thin;
|
|
2483
|
+
|
|
2484
|
+
&::-webkit-scrollbar {
|
|
2485
|
+
width: 5px;
|
|
2486
|
+
height: 5px;
|
|
2487
|
+
}
|
|
2488
|
+
|
|
2489
|
+
&::-webkit-scrollbar-track {
|
|
2490
|
+
background: transparent;
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2493
|
+
&::-webkit-scrollbar-thumb {
|
|
2494
|
+
border-radius: 999px;
|
|
2495
|
+
background: rgba(15, 23, 42, 0.14);
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
&:hover::-webkit-scrollbar-thumb {
|
|
2499
|
+
background: rgba(15, 23, 42, 0.24);
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
.elx-bubble-list__boundary-content,
|
|
2504
|
+
.elx-bubble-list__embedded-item {
|
|
2505
|
+
min-height: 30px;
|
|
2506
|
+
padding: 5px 14px;
|
|
2507
|
+
border-radius: 999px;
|
|
2508
|
+
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
2509
|
+
background: #f8fafd;
|
|
2510
|
+
color: #64748b;
|
|
2511
|
+
font-size: 12.5px;
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
.elx-bubble-list__back-to-bottom-default {
|
|
2515
|
+
width: 36px;
|
|
2516
|
+
height: 36px;
|
|
2517
|
+
border: 1px solid rgba(15, 23, 42, 0.08);
|
|
2518
|
+
background: rgba(255, 255, 255, 0.92);
|
|
2519
|
+
backdrop-filter: blur(12px);
|
|
2520
|
+
color: #334155;
|
|
2521
|
+
box-shadow:
|
|
2522
|
+
0 4px 14px rgba(15, 23, 42, 0.08),
|
|
2523
|
+
0 1px 3px rgba(15, 23, 42, 0.04);
|
|
2524
|
+
|
|
2525
|
+
&:hover {
|
|
2526
|
+
background: #ffffff;
|
|
2527
|
+
color: #1a73e8;
|
|
2528
|
+
border-color: rgba(26, 115, 232, 0.28);
|
|
2529
|
+
transform: translateY(-2px);
|
|
2530
|
+
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
|
|
2531
|
+
}
|
|
2532
|
+
}
|
|
2533
|
+
}
|
|
2534
|
+
|
|
2535
|
+
/* Gemini / ChatGPT 风格:输入框(XSender) */
|
|
2536
|
+
.elx-x-sender.elx-x-sender {
|
|
2537
|
+
position: relative;
|
|
2538
|
+
border-radius: 26px;
|
|
2539
|
+
background: #f3f6fb;
|
|
2540
|
+
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
2541
|
+
box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
|
|
2542
|
+
transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
|
|
2543
|
+
|
|
2544
|
+
&:after {
|
|
2545
|
+
display: none;
|
|
2546
|
+
content: none;
|
|
2547
|
+
border: none;
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
&:hover:not(:focus-within) {
|
|
2551
|
+
background: #eef2f8;
|
|
2552
|
+
border-color: rgba(15, 23, 42, 0.1);
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
&:focus-within {
|
|
2556
|
+
background: #ffffff;
|
|
2557
|
+
border-color: rgba(26, 115, 232, 0.36);
|
|
2558
|
+
box-shadow:
|
|
2559
|
+
0 8px 28px -6px rgba(15, 23, 42, 0.09),
|
|
2560
|
+
0 0 0 3px rgba(26, 115, 232, 0.08);
|
|
2561
|
+
|
|
2562
|
+
&:after {
|
|
2563
|
+
display: none;
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
.elx-x-sender__content {
|
|
2568
|
+
padding: 10px 14px 10px 18px;
|
|
2569
|
+
gap: 10px;
|
|
2570
|
+
align-items: flex-end;
|
|
2571
|
+
|
|
2572
|
+
&.elx-x-sender__content--variant-updown {
|
|
2573
|
+
padding: 14px 18px 10px;
|
|
2574
|
+
|
|
2575
|
+
.elx-x-sender__updown-action-list {
|
|
2576
|
+
align-items: center;
|
|
2577
|
+
padding-top: 6px;
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
.elx-x-sender__action-list {
|
|
2581
|
+
height: 36px;
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
.elx-x-sender__chat-room {
|
|
2587
|
+
min-height: 36px;
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2590
|
+
.elx-x-sender__chat .chat-rich-text {
|
|
2591
|
+
font-size: 14.5px;
|
|
2592
|
+
line-height: 1.65;
|
|
2593
|
+
color: #1e293b;
|
|
2594
|
+
min-height: 36px;
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
.elx-x-sender__chat .chat-placeholder-wrap {
|
|
2598
|
+
font-weight: 400;
|
|
2599
|
+
color: #8b95a5;
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
.elx-x-sender__footer {
|
|
2603
|
+
display: flex;
|
|
2604
|
+
align-items: center;
|
|
2605
|
+
gap: 8px;
|
|
2606
|
+
min-height: 46px;
|
|
2607
|
+
padding: 2px 14px 12px 16px;
|
|
2608
|
+
border-top: none;
|
|
2609
|
+
box-sizing: border-box;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
&:has(.elx-x-sender__footer) {
|
|
2613
|
+
.elx-x-sender__content--variant-updown {
|
|
2614
|
+
padding-bottom: 6px;
|
|
2615
|
+
|
|
2616
|
+
.elx-x-sender__action-list {
|
|
2617
|
+
position: absolute;
|
|
2618
|
+
right: 14px;
|
|
2619
|
+
bottom: 11px;
|
|
2620
|
+
height: 34px;
|
|
2621
|
+
z-index: 2;
|
|
2622
|
+
}
|
|
2623
|
+
}
|
|
2624
|
+
|
|
2625
|
+
&:not(:has(.elx-x-sender__prefix)) {
|
|
2626
|
+
.elx-x-sender__content--variant-updown .elx-x-sender__updown-action-list {
|
|
2627
|
+
min-height: 0;
|
|
2628
|
+
height: 0;
|
|
2629
|
+
margin: 0;
|
|
2630
|
+
padding: 0;
|
|
2631
|
+
}
|
|
2632
|
+
}
|
|
2633
|
+
|
|
2634
|
+
.elx-x-sender__footer {
|
|
2635
|
+
padding-right: 58px;
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
.yc-chat-select.is-chip {
|
|
2640
|
+
height: 32px;
|
|
2641
|
+
padding: 0 11px;
|
|
2642
|
+
border-color: transparent;
|
|
2643
|
+
background: rgba(15, 23, 42, 0.045);
|
|
2644
|
+
color: #334155;
|
|
2645
|
+
|
|
2646
|
+
&:hover:not(:disabled) {
|
|
2647
|
+
background: rgba(15, 23, 42, 0.08);
|
|
2648
|
+
border-color: transparent;
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2651
|
+
&.is-open {
|
|
2652
|
+
background: #ffffff;
|
|
2653
|
+
border-color: rgba(26, 115, 232, 0.35);
|
|
2654
|
+
box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
|
|
2658
|
+
.elx-x-sender__action-list .el-button.is-circle {
|
|
2659
|
+
width: 34px;
|
|
2660
|
+
height: 34px;
|
|
2661
|
+
border: none;
|
|
2662
|
+
background: #1a73e8;
|
|
2663
|
+
color: #ffffff;
|
|
2664
|
+
box-shadow: 0 2px 8px rgba(26, 115, 232, 0.25);
|
|
2665
|
+
transition: background-color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease;
|
|
2666
|
+
|
|
2667
|
+
&:hover:not(.is-disabled) {
|
|
2668
|
+
background: #1557b0;
|
|
2669
|
+
transform: translateY(-1px) scale(1.03);
|
|
2670
|
+
box-shadow: 0 4px 12px rgba(26, 115, 232, 0.32);
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
|
+
&:active:not(.is-disabled) {
|
|
2674
|
+
transform: scale(0.96);
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
&.is-disabled {
|
|
2678
|
+
background: rgba(15, 23, 42, 0.08);
|
|
2679
|
+
color: #94a3b8;
|
|
2680
|
+
box-shadow: none;
|
|
2681
|
+
}
|
|
2682
|
+
}
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
.yc-chat-studio.is-mobile:not(.is-simulator) {
|
|
2686
|
+
height: 100%;
|
|
2687
|
+
min-height: 0;
|
|
2688
|
+
border: none;
|
|
2689
|
+
border-radius: 0;
|
|
2690
|
+
background: #f8fafc;
|
|
2691
|
+
|
|
2692
|
+
.yc-chat-studio__mobile-native {
|
|
2693
|
+
position: relative;
|
|
2694
|
+
display: flex;
|
|
2695
|
+
flex-direction: column;
|
|
2696
|
+
flex: 1;
|
|
2697
|
+
min-height: 0;
|
|
2698
|
+
overflow: hidden;
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
.yc-chat-studio__mobile-header {
|
|
2702
|
+
display: flex;
|
|
2703
|
+
align-items: center;
|
|
2704
|
+
justify-content: space-between;
|
|
2705
|
+
gap: 8px;
|
|
2706
|
+
height: 48px;
|
|
2707
|
+
padding: 0 10px;
|
|
2708
|
+
background: #ffffff;
|
|
2709
|
+
border-bottom: 1px solid rgba(15, 23, 42, 0.06);
|
|
2710
|
+
flex-shrink: 0;
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
.yc-chat-studio__icon-btn {
|
|
2714
|
+
position: relative;
|
|
2715
|
+
border-color: transparent;
|
|
2716
|
+
background: transparent;
|
|
2717
|
+
|
|
2718
|
+
&:hover {
|
|
2719
|
+
background: #f1f5f9;
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
|
|
2723
|
+
.yc-chat-studio__mobile-badge {
|
|
2724
|
+
position: absolute;
|
|
2725
|
+
top: 2px;
|
|
2726
|
+
right: 2px;
|
|
2727
|
+
min-width: 14px;
|
|
2728
|
+
height: 14px;
|
|
2729
|
+
padding: 0 3px;
|
|
2730
|
+
border-radius: 999px;
|
|
2731
|
+
background: #1a73e8;
|
|
2732
|
+
color: #ffffff;
|
|
2733
|
+
font-size: 9.5px;
|
|
2734
|
+
font-weight: 600;
|
|
2735
|
+
line-height: 14px;
|
|
2736
|
+
text-align: center;
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
.yc-chat-studio__mobile-title-wrap {
|
|
2740
|
+
display: flex;
|
|
2741
|
+
flex-direction: column;
|
|
2742
|
+
align-items: center;
|
|
2743
|
+
min-width: 0;
|
|
2744
|
+
flex: 1;
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
.yc-chat-studio__mobile-title {
|
|
2748
|
+
font-size: 14px;
|
|
2749
|
+
font-weight: 600;
|
|
2750
|
+
color: #0f172a;
|
|
2751
|
+
overflow: hidden;
|
|
2752
|
+
text-overflow: ellipsis;
|
|
2753
|
+
white-space: nowrap;
|
|
2754
|
+
max-width: 100%;
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
.yc-chat-studio__mobile-sub {
|
|
2758
|
+
display: inline-flex;
|
|
2759
|
+
align-items: center;
|
|
2760
|
+
gap: 4px;
|
|
2761
|
+
font-size: 11px;
|
|
2762
|
+
color: #64748b;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
.yc-chat-studio__mobile-dot {
|
|
2766
|
+
width: 6px;
|
|
2767
|
+
height: 6px;
|
|
2768
|
+
border-radius: 50%;
|
|
2769
|
+
background: #94a3b8;
|
|
2770
|
+
|
|
2771
|
+
&.is-connected {
|
|
2772
|
+
background: #22c55e;
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2775
|
+
|
|
2776
|
+
.yc-chat-studio__mobile-toolbar {
|
|
2777
|
+
display: flex;
|
|
2778
|
+
align-items: center;
|
|
2779
|
+
gap: 6px;
|
|
2780
|
+
padding: 6px 10px;
|
|
2781
|
+
background: #ffffff;
|
|
2782
|
+
border-bottom: 1px solid rgba(15, 23, 42, 0.05);
|
|
2783
|
+
overflow-x: auto;
|
|
2784
|
+
flex-shrink: 0;
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
.yc-chat-studio__mobile-stream {
|
|
2788
|
+
flex: 1;
|
|
2789
|
+
min-height: 0;
|
|
2790
|
+
overflow-y: auto;
|
|
2791
|
+
padding: 14px 12px;
|
|
2792
|
+
display: flex;
|
|
2793
|
+
flex-direction: column;
|
|
2794
|
+
gap: 12px;
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
.yc-chat-studio__mobile-composer {
|
|
2798
|
+
padding: 8px 10px 10px;
|
|
2799
|
+
background: #ffffff;
|
|
2800
|
+
border-top: 1px solid rgba(15, 23, 42, 0.06);
|
|
2801
|
+
flex-shrink: 0;
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
.yc-chat-studio__mobile-drawer-mask {
|
|
2805
|
+
position: absolute;
|
|
2806
|
+
inset: 0;
|
|
2807
|
+
z-index: 20;
|
|
2808
|
+
background: rgba(15, 23, 42, 0.36);
|
|
2809
|
+
display: flex;
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
.yc-chat-studio__mobile-drawer {
|
|
2813
|
+
width: 78%;
|
|
2814
|
+
max-width: 280px;
|
|
2815
|
+
height: 100%;
|
|
2816
|
+
background: #ffffff;
|
|
2817
|
+
display: flex;
|
|
2818
|
+
flex-direction: column;
|
|
2819
|
+
box-shadow: 4px 0 24px rgba(15, 23, 42, 0.14);
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
.yc-chat-studio__mobile-drawer-top {
|
|
2823
|
+
display: flex;
|
|
2824
|
+
align-items: center;
|
|
2825
|
+
justify-content: space-between;
|
|
2826
|
+
height: 46px;
|
|
2827
|
+
padding: 0 12px;
|
|
2828
|
+
border-bottom: 1px solid rgba(15, 23, 42, 0.06);
|
|
2829
|
+
font-size: 13.5px;
|
|
2830
|
+
font-weight: 600;
|
|
2831
|
+
color: #0f172a;
|
|
2832
|
+
flex-shrink: 0;
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
.yc-chat-studio__mobile-drawer-body {
|
|
2836
|
+
flex: 1;
|
|
2837
|
+
min-height: 0;
|
|
2838
|
+
overflow-y: auto;
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
|
|
1675
2842
|
@media (max-width: 768px) {
|
|
1676
2843
|
.yc-chat-studio {
|
|
1677
2844
|
height: calc(100dvh - 84px);
|