@semi-bot/semi-theme-seek 1.7.1 → 1.7.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 +1 -1
- package/package.json +1 -1
- package/raw.json +10 -0
- package/scss/_palette.scss +2 -2
- package/scss/animation.scss +1 -1
- package/scss/global.scss +6 -2
- package/scss/local.scss +2 -0
- package/semi.css +1495 -23
- package/semi.min.css +1 -1
package/semi.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* sizing */
|
|
2
2
|
/* spacing */
|
|
3
|
-
body, body[theme-mode=dark] .semi-always-light {
|
|
3
|
+
body, body[theme-mode=dark] .semi-always-light, :host, :host .semi-always-light {
|
|
4
4
|
--semi-black: 0,0,0;
|
|
5
5
|
--semi-red-0: 253,240,236;
|
|
6
6
|
--semi-red-1: 251,218,207;
|
|
@@ -175,7 +175,7 @@ body, body[theme-mode=dark] .semi-always-light {
|
|
|
175
175
|
--semi-light-green-9: 36,61,18;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
body[theme-mode=dark], body .semi-always-dark {
|
|
178
|
+
body[theme-mode=dark], body .semi-always-dark, :host([theme-mode=dark]), :host .semi-always-dark {
|
|
179
179
|
--semi-black: 0, 0, 0;
|
|
180
180
|
--semi-red-0: 95,7,8;
|
|
181
181
|
--semi-red-1: 131,15,13;
|
|
@@ -370,7 +370,7 @@ body[theme-mode=dark], body .semi-always-dark {
|
|
|
370
370
|
--semi-light-green-9: 243,248,236;
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
body, body[theme-mode=dark] .semi-always-light {
|
|
373
|
+
body, body[theme-mode=dark] .semi-always-light, :host, :host .semi-always-light {
|
|
374
374
|
--semi-color-bg-0: rgba(233,236,238,1);
|
|
375
375
|
--semi-color-bg-1: rgba(255,255,255,1);
|
|
376
376
|
--semi-color-bg-2: rgba(255,255,255,1);
|
|
@@ -490,7 +490,7 @@ body, body[theme-mode=dark] .semi-always-light {
|
|
|
490
490
|
--semi-border-radius-extra-small: 3px;
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
body[theme-mode=dark], body .semi-always-dark {
|
|
493
|
+
body[theme-mode=dark], body .semi-always-dark, :host([theme-mode=dark]), :host .semi-always-dark {
|
|
494
494
|
--semi-color-bg-0: rgba(var(--semi-grey-0), 1);
|
|
495
495
|
--semi-color-bg-1: rgba(var(--semi-grey-1), 1);
|
|
496
496
|
--semi-color-bg-2: rgba(var(--semi-grey-2), 1);
|
|
@@ -593,6 +593,8 @@ body[theme-mode=dark], body .semi-always-dark {
|
|
|
593
593
|
--semi-color-tertiary-active: rgba(255,255,255,0.24);
|
|
594
594
|
--semi-color-input-bg-default: rgba(var(--semi-grey-0),0);
|
|
595
595
|
--semi-color-secondary-hover: rgba(var(--semi-light-blue-6), 1);
|
|
596
|
+
--semi-color-Comparison-V1bg: rgba(var(--semi-blue-1),0.8);
|
|
597
|
+
--semi-color-Comparison-V2bg: rgba(var(--semi-green-1),0.8);
|
|
596
598
|
--semi-color-input-bg-disabled: rgba(var(--semi-grey-2), 1);
|
|
597
599
|
--semi-color-secondary-active: rgba(var(--semi-light-blue-7), 1);
|
|
598
600
|
--semi-color-info-light-hover: rgba(var(--semi-blue-5), 0.3);
|
|
@@ -608,6 +610,8 @@ body[theme-mode=dark], body .semi-always-dark {
|
|
|
608
610
|
--semi-color-primary-light-hover: rgba(var(--semi-brand-5), 0.3);
|
|
609
611
|
--semi-color-success-light-hover: rgba(var(--semi-green-5), 0.3);
|
|
610
612
|
--semi-color-warning-light-hover: rgba(var(--semi-orange-5), 0.3);
|
|
613
|
+
--semi-color-Comparison-V1bg-loading: rgba(var(--semi-blue-0),1);
|
|
614
|
+
--semi-color-Comparison-V2bg-loading: rgba(var(--semi-green-0),0.8);
|
|
611
615
|
--semi-color-primary-light-active: rgba(var(--semi-brand-5), 0.4);
|
|
612
616
|
--semi-color-success-light-active: rgba(var(--semi-green-5), 0.4);
|
|
613
617
|
--semi-color-warning-light-active: rgba(var(--semi-orange-5), 0.4);
|
|
@@ -637,7 +641,7 @@ body[theme-mode=dark], body .semi-always-dark {
|
|
|
637
641
|
--semi-border-radius-extra-small: 3px;
|
|
638
642
|
}
|
|
639
643
|
|
|
640
|
-
body {
|
|
644
|
+
body, :host {
|
|
641
645
|
--semi-transform_scale-none:scale(1,1);
|
|
642
646
|
--semi-transform_scale-small:scale(1,1);
|
|
643
647
|
--semi-transform_scale-medium:scale(1,1);
|
|
@@ -686,6 +690,1158 @@ body {
|
|
|
686
690
|
min-width: max-content;
|
|
687
691
|
}
|
|
688
692
|
|
|
693
|
+
.semi-ai-chat-dialogue {
|
|
694
|
+
display: flex;
|
|
695
|
+
flex-direction: column;
|
|
696
|
+
height: 100%;
|
|
697
|
+
}
|
|
698
|
+
.semi-ai-chat-dialogue-list {
|
|
699
|
+
flex: 1 1;
|
|
700
|
+
position: relative;
|
|
701
|
+
overflow-y: scroll;
|
|
702
|
+
}
|
|
703
|
+
.semi-ai-chat-dialogue-list-scroll-hidden::-webkit-scrollbar {
|
|
704
|
+
display: none;
|
|
705
|
+
}
|
|
706
|
+
.semi-ai-chat-dialogue-wrapper {
|
|
707
|
+
box-sizing: border-box;
|
|
708
|
+
display: flex;
|
|
709
|
+
flex-direction: row;
|
|
710
|
+
align-items: center;
|
|
711
|
+
width: 100%;
|
|
712
|
+
flex-wrap: nowrap;
|
|
713
|
+
padding: 8px 16px;
|
|
714
|
+
margin-top: 2px;
|
|
715
|
+
column-gap: 16px;
|
|
716
|
+
}
|
|
717
|
+
.semi-ai-chat-dialogue-wrapper-selected {
|
|
718
|
+
background-color: var(--semi-color-fill-0);
|
|
719
|
+
border-radius: 16px;
|
|
720
|
+
}
|
|
721
|
+
.semi-ai-chat-dialogue-wrapper .semi-ai-chat-dialogue-container {
|
|
722
|
+
flex: 1 1 auto;
|
|
723
|
+
display: flex;
|
|
724
|
+
flex-direction: row;
|
|
725
|
+
column-gap: 12px;
|
|
726
|
+
}
|
|
727
|
+
.semi-ai-chat-dialogue-wrapper .semi-ai-chat-dialogue-container-right {
|
|
728
|
+
flex-direction: row-reverse;
|
|
729
|
+
}
|
|
730
|
+
.semi-ai-chat-dialogue-wrapper .semi-ai-chat-dialogue-container-right .semi-ai-chat-dialogue-inner {
|
|
731
|
+
align-items: flex-end;
|
|
732
|
+
}
|
|
733
|
+
.semi-ai-chat-dialogue-wrapper .semi-ai-chat-dialogue-container-right .semi-ai-chat-dialogue-content-no-bubble, .semi-ai-chat-dialogue-wrapper .semi-ai-chat-dialogue-container-right .semi-ai-chat-dialogue-content-user, .semi-ai-chat-dialogue-wrapper .semi-ai-chat-dialogue-container-right .semi-ai-chat-dialogue-content-custom-renderer {
|
|
734
|
+
margin-left: auto;
|
|
735
|
+
}
|
|
736
|
+
.semi-ai-chat-dialogue-wrapper .semi-ai-chat-dialogue-container-right .semi-ai-chat-dialogue-content-inner {
|
|
737
|
+
text-align: right;
|
|
738
|
+
}
|
|
739
|
+
.semi-ai-chat-dialogue-wrapper .semi-ai-chat-dialogue-container-right .semi-ai-chat-dialogue-content-inner .semi-markdownRender {
|
|
740
|
+
text-align: left;
|
|
741
|
+
}
|
|
742
|
+
.semi-ai-chat-dialogue-wrapper:hover .semi-ai-chat-dialogue-action:not(.semi-ai-chat-dialogue-action-hidden) {
|
|
743
|
+
visibility: visible;
|
|
744
|
+
}
|
|
745
|
+
.semi-ai-chat-dialogue-backBottom {
|
|
746
|
+
position: relative;
|
|
747
|
+
z-index: 1;
|
|
748
|
+
}
|
|
749
|
+
.semi-ai-chat-dialogue-backBottom-button {
|
|
750
|
+
width: 42px;
|
|
751
|
+
height: 42px;
|
|
752
|
+
border-radius: 50%;
|
|
753
|
+
}
|
|
754
|
+
.semi-ai-chat-dialogue-backBottom .semi-button {
|
|
755
|
+
position: absolute;
|
|
756
|
+
bottom: 10px;
|
|
757
|
+
left: 50%;
|
|
758
|
+
transform: translateX(-50%);
|
|
759
|
+
display: flex;
|
|
760
|
+
justify-content: center;
|
|
761
|
+
align-items: center;
|
|
762
|
+
}
|
|
763
|
+
.semi-ai-chat-dialogue-title {
|
|
764
|
+
line-height: 20px;
|
|
765
|
+
font-size: 16px;
|
|
766
|
+
font-weight: 400;
|
|
767
|
+
}
|
|
768
|
+
.semi-ai-chat-dialogue-inner {
|
|
769
|
+
width: 100%;
|
|
770
|
+
display: flex;
|
|
771
|
+
flex-direction: column;
|
|
772
|
+
}
|
|
773
|
+
.semi-ai-chat-dialogue-avatar {
|
|
774
|
+
flex-shrink: 0;
|
|
775
|
+
width: 24px;
|
|
776
|
+
height: 24px;
|
|
777
|
+
}
|
|
778
|
+
.semi-ai-chat-dialogue-avatar-hidden {
|
|
779
|
+
visibility: hidden;
|
|
780
|
+
}
|
|
781
|
+
.semi-ai-chat-dialogue-content {
|
|
782
|
+
max-width: 100%;
|
|
783
|
+
font-size: 14px;
|
|
784
|
+
}
|
|
785
|
+
.semi-ai-chat-dialogue-content pre {
|
|
786
|
+
background-color: transparent;
|
|
787
|
+
}
|
|
788
|
+
.semi-ai-chat-dialogue-content-editing {
|
|
789
|
+
width: 100%;
|
|
790
|
+
}
|
|
791
|
+
.semi-ai-chat-dialogue-content-wrapper {
|
|
792
|
+
display: flex;
|
|
793
|
+
align-items: end;
|
|
794
|
+
}
|
|
795
|
+
.semi-ai-chat-dialogue-content-inner {
|
|
796
|
+
margin-left: auto;
|
|
797
|
+
width: 100%;
|
|
798
|
+
}
|
|
799
|
+
.semi-ai-chat-dialogue-content-failed {
|
|
800
|
+
color: var(--semi-color-danger);
|
|
801
|
+
margin-right: 8px;
|
|
802
|
+
}
|
|
803
|
+
.semi-ai-chat-dialogue-content-user {
|
|
804
|
+
display: flex;
|
|
805
|
+
}
|
|
806
|
+
.semi-ai-chat-dialogue-content-user:hover .semi-ai-chat-dialogue-content-icon-reference {
|
|
807
|
+
display: flex;
|
|
808
|
+
padding: 0px 8px;
|
|
809
|
+
cursor: pointer;
|
|
810
|
+
display: flex;
|
|
811
|
+
justify-content: center;
|
|
812
|
+
align-items: center;
|
|
813
|
+
}
|
|
814
|
+
.semi-ai-chat-dialogue-content-bubble, .semi-ai-chat-dialogue-content-userBubble {
|
|
815
|
+
margin-top: 8px;
|
|
816
|
+
padding: 12px 16px;
|
|
817
|
+
border-radius: var(--semi-border-radius-large);
|
|
818
|
+
background-color: var(--semi-color-fill-0);
|
|
819
|
+
max-width: 100%;
|
|
820
|
+
box-sizing: border-box;
|
|
821
|
+
width: fit-content;
|
|
822
|
+
}
|
|
823
|
+
.semi-ai-chat-dialogue-content-no-bubble {
|
|
824
|
+
margin-top: 8px;
|
|
825
|
+
width: fit-content;
|
|
826
|
+
}
|
|
827
|
+
.semi-ai-chat-dialogue-content-loading {
|
|
828
|
+
display: flex;
|
|
829
|
+
align-items: center;
|
|
830
|
+
margin-top: 8px;
|
|
831
|
+
}
|
|
832
|
+
.semi-ai-chat-dialogue-content-loading > span:nth-child(1) {
|
|
833
|
+
animation-delay: -200ms;
|
|
834
|
+
background-color: rgb(83, 56, 255);
|
|
835
|
+
}
|
|
836
|
+
.semi-ai-chat-dialogue-content-loading > span:nth-child(2) {
|
|
837
|
+
animation-delay: -100ms;
|
|
838
|
+
background-color: rgb(176, 48, 240);
|
|
839
|
+
}
|
|
840
|
+
.semi-ai-chat-dialogue-content-loading > span:nth-child(3) {
|
|
841
|
+
animation-delay: 0ms;
|
|
842
|
+
background-color: rgb(231, 45, 255);
|
|
843
|
+
}
|
|
844
|
+
.semi-ai-chat-dialogue-content-loading-item {
|
|
845
|
+
border-radius: var(--semi-border-radius-circle);
|
|
846
|
+
height: 3px;
|
|
847
|
+
width: 3px;
|
|
848
|
+
margin: 1px 1px;
|
|
849
|
+
overflow: visible;
|
|
850
|
+
position: relative;
|
|
851
|
+
animation: semi-ai-chat-dialogue-loading-bounce 1s infinite ease;
|
|
852
|
+
}
|
|
853
|
+
.semi-ai-chat-dialogue-content-loading-text {
|
|
854
|
+
margin-left: 8px;
|
|
855
|
+
color: var(--semi-color-text-3);
|
|
856
|
+
font-size: 14px;
|
|
857
|
+
}
|
|
858
|
+
.semi-ai-chat-dialogue-content-icon-reference {
|
|
859
|
+
display: none;
|
|
860
|
+
}
|
|
861
|
+
.semi-ai-chat-dialogue-content-img {
|
|
862
|
+
margin-top: 8px;
|
|
863
|
+
border-radius: var(--semi-border-radius-medium);
|
|
864
|
+
}
|
|
865
|
+
.semi-ai-chat-dialogue-content-img img {
|
|
866
|
+
width: 256px;
|
|
867
|
+
height: 256px;
|
|
868
|
+
object-fit: cover;
|
|
869
|
+
}
|
|
870
|
+
.semi-ai-chat-dialogue-content-img-list {
|
|
871
|
+
display: inline-flex;
|
|
872
|
+
flex-direction: column;
|
|
873
|
+
margin-right: 4px;
|
|
874
|
+
}
|
|
875
|
+
.semi-ai-chat-dialogue-content-img-list img {
|
|
876
|
+
width: 128px;
|
|
877
|
+
height: 128px;
|
|
878
|
+
object-fit: cover;
|
|
879
|
+
}
|
|
880
|
+
.semi-ai-chat-dialogue-content-img-last {
|
|
881
|
+
margin-right: 0;
|
|
882
|
+
}
|
|
883
|
+
.semi-ai-chat-dialogue-content-file {
|
|
884
|
+
display: inline-flex;
|
|
885
|
+
flex-direction: row;
|
|
886
|
+
align-items: center;
|
|
887
|
+
height: 36px;
|
|
888
|
+
width: 224px;
|
|
889
|
+
column-gap: 8px;
|
|
890
|
+
padding: 8px 8px;
|
|
891
|
+
margin-top: 8px;
|
|
892
|
+
margin-right: 8px;
|
|
893
|
+
border-radius: var(--semi-border-radius-medium);
|
|
894
|
+
background: var(--semi-color-fill-0);
|
|
895
|
+
text-decoration: none;
|
|
896
|
+
vertical-align: top;
|
|
897
|
+
}
|
|
898
|
+
.semi-ai-chat-dialogue-content-file:hover .semi-ai-chat-dialogue-content-icon-reference {
|
|
899
|
+
display: flex;
|
|
900
|
+
flex-shrink: 0;
|
|
901
|
+
padding: 0px 8px;
|
|
902
|
+
cursor: pointer;
|
|
903
|
+
display: flex;
|
|
904
|
+
justify-content: center;
|
|
905
|
+
align-items: center;
|
|
906
|
+
margin-left: auto;
|
|
907
|
+
color: var(--semi-color-text-0);
|
|
908
|
+
}
|
|
909
|
+
.semi-ai-chat-dialogue-content-file:hover .semi-ai-chat-dialogue-content-file-title-ellipsis {
|
|
910
|
+
max-width: 140px;
|
|
911
|
+
}
|
|
912
|
+
.semi-ai-chat-dialogue-content-file-last {
|
|
913
|
+
margin-right: 0;
|
|
914
|
+
}
|
|
915
|
+
.semi-ai-chat-dialogue-content-file-icon {
|
|
916
|
+
color: var(--semi-color-white);
|
|
917
|
+
}
|
|
918
|
+
.semi-ai-chat-dialogue-content-file-icon-wrapper {
|
|
919
|
+
width: 36px;
|
|
920
|
+
height: 36px;
|
|
921
|
+
border-radius: var(--semi-border-radius-extra-small);
|
|
922
|
+
flex-shrink: 0;
|
|
923
|
+
display: flex;
|
|
924
|
+
justify-content: center;
|
|
925
|
+
align-items: center;
|
|
926
|
+
}
|
|
927
|
+
.semi-ai-chat-dialogue-content-file-icon-code {
|
|
928
|
+
background-color: rgba(var(--semi-teal-4), 1);
|
|
929
|
+
}
|
|
930
|
+
.semi-ai-chat-dialogue-content-file-icon-word {
|
|
931
|
+
background-color: rgba(var(--semi-blue-4), 1);
|
|
932
|
+
}
|
|
933
|
+
.semi-ai-chat-dialogue-content-file-icon-pdf {
|
|
934
|
+
background-color: rgba(var(--semi-red-4), 1);
|
|
935
|
+
}
|
|
936
|
+
.semi-ai-chat-dialogue-content-file-icon-excel {
|
|
937
|
+
background-color: rgba(var(--semi-green-4), 1);
|
|
938
|
+
}
|
|
939
|
+
.semi-ai-chat-dialogue-content-file-icon-video {
|
|
940
|
+
background-color: rgba(var(--semi-purple-4), 1);
|
|
941
|
+
}
|
|
942
|
+
.semi-ai-chat-dialogue-content-file-icon-image .semi-ai-chat-dialogue-content-file-icon {
|
|
943
|
+
background-size: cover;
|
|
944
|
+
background-position: center;
|
|
945
|
+
width: 36px;
|
|
946
|
+
height: 36px;
|
|
947
|
+
}
|
|
948
|
+
.semi-ai-chat-dialogue-content-file-icon-default {
|
|
949
|
+
background-color: rgba(var(--semi-grey-4), 1);
|
|
950
|
+
}
|
|
951
|
+
.semi-ai-chat-dialogue-content-file-info {
|
|
952
|
+
display: flex;
|
|
953
|
+
flex-direction: column;
|
|
954
|
+
text-align: left;
|
|
955
|
+
flex-shrink: 1;
|
|
956
|
+
}
|
|
957
|
+
.semi-ai-chat-dialogue-content-file-title {
|
|
958
|
+
font-size: 16px;
|
|
959
|
+
color: var(--semi-color-text-0);
|
|
960
|
+
max-width: 180px;
|
|
961
|
+
white-space: nowrap;
|
|
962
|
+
text-overflow: ellipsis;
|
|
963
|
+
overflow: hidden;
|
|
964
|
+
}
|
|
965
|
+
.semi-ai-chat-dialogue-content-file-metadata {
|
|
966
|
+
font-size: 14px;
|
|
967
|
+
color: var(--semi-color-text-2);
|
|
968
|
+
}
|
|
969
|
+
.semi-ai-chat-dialogue-content-file-type {
|
|
970
|
+
text-transform: uppercase;
|
|
971
|
+
}
|
|
972
|
+
.semi-ai-chat-dialogue-content-tool-call {
|
|
973
|
+
display: flex;
|
|
974
|
+
color: var(--semi-color-text-2);
|
|
975
|
+
padding: 6px 8px;
|
|
976
|
+
background-color: var(--semi-color-fill-0);
|
|
977
|
+
border-radius: var(--semi-border-radius-medium);
|
|
978
|
+
width: fit-content;
|
|
979
|
+
align-items: center;
|
|
980
|
+
justify-content: center;
|
|
981
|
+
column-gap: 4px;
|
|
982
|
+
margin-top: 8px;
|
|
983
|
+
}
|
|
984
|
+
.semi-ai-chat-dialogue-content-custom-renderer {
|
|
985
|
+
margin-top: 8px;
|
|
986
|
+
width: fit-content;
|
|
987
|
+
}
|
|
988
|
+
.semi-ai-chat-dialogue-action {
|
|
989
|
+
margin-top: 8px;
|
|
990
|
+
visibility: hidden;
|
|
991
|
+
}
|
|
992
|
+
.semi-ai-chat-dialogue-action-btn {
|
|
993
|
+
width: 24px;
|
|
994
|
+
height: 24px;
|
|
995
|
+
}
|
|
996
|
+
.semi-ai-chat-dialogue-action-icon-flip {
|
|
997
|
+
transform: scaleY(-1);
|
|
998
|
+
}
|
|
999
|
+
.semi-ai-chat-dialogue-action-show {
|
|
1000
|
+
visibility: visible;
|
|
1001
|
+
}
|
|
1002
|
+
.semi-ai-chat-dialogue-action.semi-ai-chat-dialogue-action-hidden, .semi-ai-chat-dialogue-action:hover.semi-ai-chat-dialogue-action-hidden {
|
|
1003
|
+
visibility: hidden;
|
|
1004
|
+
}
|
|
1005
|
+
.semi-ai-chat-dialogue-action-dropdown li {
|
|
1006
|
+
color: var(--semi-color-danger);
|
|
1007
|
+
}
|
|
1008
|
+
.semi-ai-chat-dialogue-action-dropdown .semi-icon {
|
|
1009
|
+
font-size: 16px;
|
|
1010
|
+
}
|
|
1011
|
+
.semi-ai-chat-dialogue-reasoning {
|
|
1012
|
+
width: 100%;
|
|
1013
|
+
}
|
|
1014
|
+
.semi-ai-chat-dialogue-reasoning-wrapper {
|
|
1015
|
+
width: 100%;
|
|
1016
|
+
margin-top: 8px;
|
|
1017
|
+
cursor: pointer;
|
|
1018
|
+
border: 1px solid var(--semi-color-border);
|
|
1019
|
+
border-radius: var(--semi-border-radius-large);
|
|
1020
|
+
}
|
|
1021
|
+
.semi-ai-chat-dialogue-reasoning-header {
|
|
1022
|
+
box-sizing: border-box;
|
|
1023
|
+
display: flex;
|
|
1024
|
+
flex-direction: row;
|
|
1025
|
+
align-items: center;
|
|
1026
|
+
justify-content: center;
|
|
1027
|
+
padding: 16px;
|
|
1028
|
+
}
|
|
1029
|
+
.semi-ai-chat-dialogue-reasoning-header-prefix, .semi-ai-chat-dialogue-reasoning-header-suffix {
|
|
1030
|
+
width: 20px;
|
|
1031
|
+
height: 20px;
|
|
1032
|
+
display: flex;
|
|
1033
|
+
justify-content: center;
|
|
1034
|
+
align-items: center;
|
|
1035
|
+
}
|
|
1036
|
+
.semi-ai-chat-dialogue-reasoning-header-title {
|
|
1037
|
+
flex: 1 1 auto;
|
|
1038
|
+
line-height: 22px;
|
|
1039
|
+
font-weight: 600;
|
|
1040
|
+
}
|
|
1041
|
+
.semi-ai-chat-dialogue-reasoning-content {
|
|
1042
|
+
padding: 12px 16px;
|
|
1043
|
+
border-top: 1px solid var(--semi-color-border);
|
|
1044
|
+
}
|
|
1045
|
+
.semi-ai-chat-dialogue-step {
|
|
1046
|
+
display: inline-flex;
|
|
1047
|
+
flex-direction: row;
|
|
1048
|
+
align-items: center;
|
|
1049
|
+
line-height: 20px;
|
|
1050
|
+
padding: 6px 12px;
|
|
1051
|
+
border: 1px solid var(--semi-color-border);
|
|
1052
|
+
border-radius: var(--semi-border-radius-medium);
|
|
1053
|
+
margin-top: 12px;
|
|
1054
|
+
font-size: 14px;
|
|
1055
|
+
}
|
|
1056
|
+
.semi-ai-chat-dialogue-step .semi-ai-chat-dialogue-content-loading {
|
|
1057
|
+
margin-top: 0;
|
|
1058
|
+
}
|
|
1059
|
+
.semi-ai-chat-dialogue-step-completed {
|
|
1060
|
+
color: var(--semi-color-success);
|
|
1061
|
+
}
|
|
1062
|
+
.semi-ai-chat-dialogue-step-summary {
|
|
1063
|
+
display: inline-block;
|
|
1064
|
+
width: fit-content;
|
|
1065
|
+
cursor: pointer;
|
|
1066
|
+
}
|
|
1067
|
+
.semi-ai-chat-dialogue-step-prefix {
|
|
1068
|
+
width: 20px;
|
|
1069
|
+
height: 20px;
|
|
1070
|
+
color: var(--semi-color-text-1);
|
|
1071
|
+
display: flex;
|
|
1072
|
+
justify-content: center;
|
|
1073
|
+
align-items: center;
|
|
1074
|
+
margin-right: 6px;
|
|
1075
|
+
}
|
|
1076
|
+
.semi-ai-chat-dialogue-step-suffix {
|
|
1077
|
+
width: 20px;
|
|
1078
|
+
height: 20px;
|
|
1079
|
+
display: flex;
|
|
1080
|
+
justify-content: center;
|
|
1081
|
+
align-items: center;
|
|
1082
|
+
color: var(--semi-color-text-1);
|
|
1083
|
+
margin-left: 8px;
|
|
1084
|
+
}
|
|
1085
|
+
.semi-ai-chat-dialogue-step-panel {
|
|
1086
|
+
display: flex;
|
|
1087
|
+
gap: 12px;
|
|
1088
|
+
}
|
|
1089
|
+
.semi-ai-chat-dialogue-step-line {
|
|
1090
|
+
width: 1px;
|
|
1091
|
+
background-color: var(--semi-color-border);
|
|
1092
|
+
margin-left: 20px;
|
|
1093
|
+
}
|
|
1094
|
+
.semi-ai-chat-dialogue-step-action {
|
|
1095
|
+
line-height: 20px;
|
|
1096
|
+
margin-top: 12px;
|
|
1097
|
+
font-size: 14px;
|
|
1098
|
+
}
|
|
1099
|
+
.semi-ai-chat-dialogue-step-action-summary {
|
|
1100
|
+
margin-bottom: 4px;
|
|
1101
|
+
}
|
|
1102
|
+
.semi-ai-chat-dialogue-step-action-desc {
|
|
1103
|
+
display: inline-flex;
|
|
1104
|
+
color: var(--semi-color-text-2);
|
|
1105
|
+
padding: 6px 8px;
|
|
1106
|
+
background-color: var(--semi-color-fill-0);
|
|
1107
|
+
border-radius: var(--semi-border-radius-medium);
|
|
1108
|
+
width: fit-content;
|
|
1109
|
+
align-items: center;
|
|
1110
|
+
justify-content: center;
|
|
1111
|
+
column-gap: 4px;
|
|
1112
|
+
}
|
|
1113
|
+
.semi-ai-chat-dialogue-step-wrapper > .semi-ai-chat-dialogue-step:first-child {
|
|
1114
|
+
margin-top: 4px;
|
|
1115
|
+
}
|
|
1116
|
+
.semi-ai-chat-dialogue-annotation {
|
|
1117
|
+
width: 100%;
|
|
1118
|
+
}
|
|
1119
|
+
.semi-ai-chat-dialogue-annotation-wrapper {
|
|
1120
|
+
width: fit-content;
|
|
1121
|
+
margin-top: 8px;
|
|
1122
|
+
flex: 1 1 auto;
|
|
1123
|
+
border: 1px solid var(--semi-color-border);
|
|
1124
|
+
border-radius: var(--semi-border-radius-medium);
|
|
1125
|
+
padding: 8px 12px;
|
|
1126
|
+
}
|
|
1127
|
+
.semi-ai-chat-dialogue-annotation-wrapper:hover {
|
|
1128
|
+
background-color: var(--semi-color-fill-0);
|
|
1129
|
+
}
|
|
1130
|
+
.semi-ai-chat-dialogue-annotation-content {
|
|
1131
|
+
display: flex;
|
|
1132
|
+
flex-direction: row;
|
|
1133
|
+
align-items: center;
|
|
1134
|
+
justify-content: center;
|
|
1135
|
+
column-gap: 8px;
|
|
1136
|
+
font-size: 14px;
|
|
1137
|
+
color: var(--semi-color-text-2);
|
|
1138
|
+
cursor: pointer;
|
|
1139
|
+
}
|
|
1140
|
+
.semi-ai-chat-dialogue-annotation-content .semi-avatar-group {
|
|
1141
|
+
display: flex;
|
|
1142
|
+
}
|
|
1143
|
+
.semi-ai-chat-dialogue-annotation-content-logo {
|
|
1144
|
+
width: 16px;
|
|
1145
|
+
height: 16px;
|
|
1146
|
+
display: flex;
|
|
1147
|
+
}
|
|
1148
|
+
.semi-ai-chat-dialogue-annotation-content-logo-renderMore {
|
|
1149
|
+
width: 16px;
|
|
1150
|
+
height: 16px;
|
|
1151
|
+
}
|
|
1152
|
+
.semi-ai-chat-dialogue-annotation-content-icon {
|
|
1153
|
+
display: flex;
|
|
1154
|
+
justify-content: center;
|
|
1155
|
+
align-items: center;
|
|
1156
|
+
}
|
|
1157
|
+
.semi-ai-chat-dialogue-references {
|
|
1158
|
+
display: flex;
|
|
1159
|
+
flex-wrap: wrap;
|
|
1160
|
+
font-size: 12px;
|
|
1161
|
+
line-height: 16px;
|
|
1162
|
+
color: var(--semi-color-text-2);
|
|
1163
|
+
margin-top: 8px;
|
|
1164
|
+
column-gap: 4px;
|
|
1165
|
+
row-gap: 4px;
|
|
1166
|
+
}
|
|
1167
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference {
|
|
1168
|
+
display: flex;
|
|
1169
|
+
padding: 8px 12px;
|
|
1170
|
+
box-sizing: border-box;
|
|
1171
|
+
width: fit-content;
|
|
1172
|
+
max-width: 200px;
|
|
1173
|
+
flex-shrink: 1;
|
|
1174
|
+
align-items: center;
|
|
1175
|
+
column-gap: 8px;
|
|
1176
|
+
background-color: var(--semi-color-fill-0);
|
|
1177
|
+
border-radius: var(--semi-border-radius-medium);
|
|
1178
|
+
margin-left: auto;
|
|
1179
|
+
}
|
|
1180
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference-content {
|
|
1181
|
+
display: flex;
|
|
1182
|
+
align-items: center;
|
|
1183
|
+
flex-grow: 1;
|
|
1184
|
+
text-overflow: ellipsis;
|
|
1185
|
+
overflow: hidden;
|
|
1186
|
+
white-space: nowrap;
|
|
1187
|
+
}
|
|
1188
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference-icon {
|
|
1189
|
+
display: flex;
|
|
1190
|
+
justify-content: center;
|
|
1191
|
+
align-items: center;
|
|
1192
|
+
margin-right: 4px;
|
|
1193
|
+
color: var(--semi-color-white);
|
|
1194
|
+
width: 16px;
|
|
1195
|
+
height: 16px;
|
|
1196
|
+
border-radius: 2px;
|
|
1197
|
+
}
|
|
1198
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference-icon-word {
|
|
1199
|
+
background-color: rgba(var(--semi-blue-4), 1);
|
|
1200
|
+
}
|
|
1201
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference-icon-pdf {
|
|
1202
|
+
background-color: rgba(var(--semi-red-4), 1);
|
|
1203
|
+
}
|
|
1204
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference-icon-excel {
|
|
1205
|
+
background-color: rgba(var(--semi-green-4), 1);
|
|
1206
|
+
}
|
|
1207
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference-icon-video {
|
|
1208
|
+
background-color: rgba(var(--semi-purple-4), 1);
|
|
1209
|
+
}
|
|
1210
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference-icon-code {
|
|
1211
|
+
background-color: rgba(var(--semi-teal-4), 1);
|
|
1212
|
+
}
|
|
1213
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference-img {
|
|
1214
|
+
margin-right: 4px;
|
|
1215
|
+
}
|
|
1216
|
+
.semi-ai-chat-dialogue-references .semi-ai-chat-dialogue-reference-name {
|
|
1217
|
+
display: inline-block;
|
|
1218
|
+
text-overflow: ellipsis;
|
|
1219
|
+
overflow: hidden;
|
|
1220
|
+
word-break: break-all;
|
|
1221
|
+
max-width: 130px;
|
|
1222
|
+
}
|
|
1223
|
+
.semi-ai-chat-dialogue-code {
|
|
1224
|
+
border-radius: var(--semi-border-radius-large);
|
|
1225
|
+
overflow: hidden;
|
|
1226
|
+
border: 1px solid var(--semi-color-border);
|
|
1227
|
+
line-height: 32px;
|
|
1228
|
+
}
|
|
1229
|
+
.semi-ai-chat-dialogue-code .semi-codeHighlight pre {
|
|
1230
|
+
word-break: break-all;
|
|
1231
|
+
white-space: pre-wrap;
|
|
1232
|
+
}
|
|
1233
|
+
.semi-ai-chat-dialogue-code-topSlot {
|
|
1234
|
+
display: flex;
|
|
1235
|
+
justify-content: space-between;
|
|
1236
|
+
background-color: var(--semi-color-fill-0);
|
|
1237
|
+
align-items: center;
|
|
1238
|
+
padding: 8px 16px;
|
|
1239
|
+
color: var(--semi-color-text-0);
|
|
1240
|
+
font-size: 14px;
|
|
1241
|
+
}
|
|
1242
|
+
.semi-ai-chat-dialogue-code-topSlot-copy {
|
|
1243
|
+
display: flex;
|
|
1244
|
+
justify-content: flex-end;
|
|
1245
|
+
align-items: center;
|
|
1246
|
+
width: 24px;
|
|
1247
|
+
}
|
|
1248
|
+
.semi-ai-chat-dialogue-code-topSlot-copy-wrapper {
|
|
1249
|
+
display: flex;
|
|
1250
|
+
align-items: center;
|
|
1251
|
+
justify-content: center;
|
|
1252
|
+
cursor: pointer;
|
|
1253
|
+
background: transparent;
|
|
1254
|
+
border: none;
|
|
1255
|
+
}
|
|
1256
|
+
.semi-ai-chat-dialogue-code .semi-codeHighlight-defaultTheme pre[class*=language-] {
|
|
1257
|
+
margin: 0px;
|
|
1258
|
+
background: var(--semi-color-bg-0);
|
|
1259
|
+
}
|
|
1260
|
+
.semi-ai-chat-dialogue-hints {
|
|
1261
|
+
display: flex;
|
|
1262
|
+
flex-direction: column;
|
|
1263
|
+
row-gap: 8px;
|
|
1264
|
+
margin-top: 4px;
|
|
1265
|
+
margin-bottom: 12px;
|
|
1266
|
+
margin-left: 52px;
|
|
1267
|
+
}
|
|
1268
|
+
.semi-ai-chat-dialogue-hints-selecting {
|
|
1269
|
+
margin-left: 68px;
|
|
1270
|
+
}
|
|
1271
|
+
.semi-ai-chat-dialogue-hint-item {
|
|
1272
|
+
cursor: pointer;
|
|
1273
|
+
display: flex;
|
|
1274
|
+
flex-direction: row;
|
|
1275
|
+
width: fit-content;
|
|
1276
|
+
background: var(--semi-color-bg-0);
|
|
1277
|
+
align-items: center;
|
|
1278
|
+
border: 1px solid var(--semi-color-border);
|
|
1279
|
+
padding: 8px 16px;
|
|
1280
|
+
border-radius: var(--semi-border-radius-medium);
|
|
1281
|
+
}
|
|
1282
|
+
.semi-ai-chat-dialogue-hint-item:hover {
|
|
1283
|
+
background-color: var(--semi-color-fill-0);
|
|
1284
|
+
}
|
|
1285
|
+
.semi-ai-chat-dialogue-hint-content {
|
|
1286
|
+
font-size: 14px;
|
|
1287
|
+
color: var(--semi-color-text-0);
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
@keyframes semi-ai-chat-dialogue-loading-bounce {
|
|
1291
|
+
/* 起点(站在地面) */
|
|
1292
|
+
0% {
|
|
1293
|
+
transform: translateY(0) scale(1);
|
|
1294
|
+
}
|
|
1295
|
+
/* 上升到最高点(略变瘦) */
|
|
1296
|
+
18% {
|
|
1297
|
+
transform: translateY(-4px) scale(0.96);
|
|
1298
|
+
}
|
|
1299
|
+
/* 落地瞬间(略压扁,模拟缓冲) */
|
|
1300
|
+
36% {
|
|
1301
|
+
transform: translateY(0) scale(1.06);
|
|
1302
|
+
}
|
|
1303
|
+
/* 轻微回弹(小幅再向上) */
|
|
1304
|
+
44% {
|
|
1305
|
+
transform: translateY(-0.5px) scale(0.98);
|
|
1306
|
+
}
|
|
1307
|
+
/* 回到静止(消除抖动) */
|
|
1308
|
+
52% {
|
|
1309
|
+
transform: translateY(0) scale(1);
|
|
1310
|
+
}
|
|
1311
|
+
/* 余下时间保持静止,等待下一轮 */
|
|
1312
|
+
100% {
|
|
1313
|
+
transform: translateY(0) scale(1);
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
.semi-rtl .semi-ai-chat-dialogue-wrapper,
|
|
1317
|
+
.semi-portal-rtl .semi-ai-chat-dialogue-wrapper {
|
|
1318
|
+
direction: rtl;
|
|
1319
|
+
}
|
|
1320
|
+
.semi-rtl .semi-ai-chat-dialogue-wrapper-action-icon-redo,
|
|
1321
|
+
.semi-portal-rtl .semi-ai-chat-dialogue-wrapper-action-icon-redo {
|
|
1322
|
+
transform: scaleX(-1);
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
.semi-aiChatInput {
|
|
1326
|
+
display: flex;
|
|
1327
|
+
flex-direction: column;
|
|
1328
|
+
padding: 20px;
|
|
1329
|
+
border-radius: 12px;
|
|
1330
|
+
border: 1px solid var(--semi-color-border);
|
|
1331
|
+
box-sizing: border-box;
|
|
1332
|
+
}
|
|
1333
|
+
.semi-aiChatInput-skill {
|
|
1334
|
+
padding: 4px 0px;
|
|
1335
|
+
border-radius: 8px;
|
|
1336
|
+
overflow: scroll;
|
|
1337
|
+
}
|
|
1338
|
+
.semi-aiChatInput-skill-item {
|
|
1339
|
+
display: flex;
|
|
1340
|
+
align-items: center;
|
|
1341
|
+
column-gap: 8px;
|
|
1342
|
+
padding: 8px 20px;
|
|
1343
|
+
cursor: pointer;
|
|
1344
|
+
}
|
|
1345
|
+
.semi-aiChatInput-skill-item-active {
|
|
1346
|
+
background-color: var(--semi-color-fill-0);
|
|
1347
|
+
}
|
|
1348
|
+
.semi-aiChatInput-popover-suggestion {
|
|
1349
|
+
box-shadow: none;
|
|
1350
|
+
}
|
|
1351
|
+
.semi-aiChatInput-suggestion {
|
|
1352
|
+
overflow: scroll;
|
|
1353
|
+
}
|
|
1354
|
+
.semi-aiChatInput-suggestion-item {
|
|
1355
|
+
border-radius: 6px;
|
|
1356
|
+
padding: 8px 20px;
|
|
1357
|
+
color: var(--semi-color-text-0);
|
|
1358
|
+
font-size: 14px;
|
|
1359
|
+
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Inter", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
1360
|
+
line-height: 20px;
|
|
1361
|
+
}
|
|
1362
|
+
.semi-aiChatInput-suggestion-item-active {
|
|
1363
|
+
background-color: var(--semi-color-fill-0);
|
|
1364
|
+
}
|
|
1365
|
+
.semi-aiChatInput-reference-icon {
|
|
1366
|
+
width: 16px;
|
|
1367
|
+
height: 16px;
|
|
1368
|
+
border-radius: 2px;
|
|
1369
|
+
margin-right: 4px;
|
|
1370
|
+
}
|
|
1371
|
+
.semi-aiChatInput-ref-icon {
|
|
1372
|
+
display: inline-flex;
|
|
1373
|
+
align-items: center;
|
|
1374
|
+
justify-content: center;
|
|
1375
|
+
color: var(--semi-color-white);
|
|
1376
|
+
flex-shrink: 0;
|
|
1377
|
+
}
|
|
1378
|
+
.semi-aiChatInput-ref-icon-word {
|
|
1379
|
+
background-color: rgba(var(--semi-blue-4), 1);
|
|
1380
|
+
}
|
|
1381
|
+
.semi-aiChatInput-ref-icon-pdf {
|
|
1382
|
+
background-color: rgba(var(--semi-red-4), 1);
|
|
1383
|
+
}
|
|
1384
|
+
.semi-aiChatInput-ref-icon-code {
|
|
1385
|
+
background-color: rgba(var(--semi-teal-5), 1);
|
|
1386
|
+
}
|
|
1387
|
+
.semi-aiChatInput-ref-icon-excel {
|
|
1388
|
+
background-color: rgba(var(--semi-green-5), 1);
|
|
1389
|
+
}
|
|
1390
|
+
.semi-aiChatInput-ref-icon-video {
|
|
1391
|
+
background-color: rgba(var(--semi-purple-4), 1);
|
|
1392
|
+
}
|
|
1393
|
+
.semi-aiChatInput-ref-icon-audio {
|
|
1394
|
+
background-color: rgba(var(--semi-purple-4), 1);
|
|
1395
|
+
}
|
|
1396
|
+
.semi-aiChatInput-ref-icon-unknown {
|
|
1397
|
+
background-color: rgba(var(--semi-grey-5), 1);
|
|
1398
|
+
}
|
|
1399
|
+
.semi-aiChatInput-references {
|
|
1400
|
+
display: flex;
|
|
1401
|
+
flex-wrap: wrap;
|
|
1402
|
+
margin-bottom: 8px;
|
|
1403
|
+
font-size: 12px;
|
|
1404
|
+
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Inter", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
1405
|
+
line-height: 16px;
|
|
1406
|
+
color: var(--semi-color-text-2);
|
|
1407
|
+
column-gap: 4px;
|
|
1408
|
+
row-gap: 4px;
|
|
1409
|
+
}
|
|
1410
|
+
.semi-aiChatInput-references > .semi-aiChatInput-reference:only-child {
|
|
1411
|
+
width: 100%;
|
|
1412
|
+
}
|
|
1413
|
+
.semi-aiChatInput-references > .semi-aiChatInput-reference:nth-last-child(2):first-child, .semi-aiChatInput-references > .semi-aiChatInput-reference:nth-child(2):nth-last-child(1) {
|
|
1414
|
+
flex-basis: calc(50% - 4px);
|
|
1415
|
+
max-width: calc(50% - 4px);
|
|
1416
|
+
}
|
|
1417
|
+
.semi-aiChatInput-references > .semi-aiChatInput-reference:nth-last-child(n+3):nth-child(1),
|
|
1418
|
+
.semi-aiChatInput-references > .semi-aiChatInput-reference:nth-last-child(n+3):nth-child(1) ~ .semi-aiChatInput-reference {
|
|
1419
|
+
width: calc(33.333% - 4px);
|
|
1420
|
+
}
|
|
1421
|
+
.semi-aiChatInput-reference {
|
|
1422
|
+
padding: 8px 12px;
|
|
1423
|
+
box-sizing: border-box;
|
|
1424
|
+
border-radius: 6px;
|
|
1425
|
+
background: var(--semi-color-fill-0);
|
|
1426
|
+
flex-shrink: 1;
|
|
1427
|
+
display: flex;
|
|
1428
|
+
align-items: center;
|
|
1429
|
+
column-gap: 8px;
|
|
1430
|
+
}
|
|
1431
|
+
.semi-aiChatInput-reference-content {
|
|
1432
|
+
display: flex;
|
|
1433
|
+
align-items: center;
|
|
1434
|
+
flex-grow: 1;
|
|
1435
|
+
overflow: hidden;
|
|
1436
|
+
text-overflow: ellipsis;
|
|
1437
|
+
white-space: nowrap;
|
|
1438
|
+
}
|
|
1439
|
+
.semi-aiChatInput-reference-img {
|
|
1440
|
+
width: 16px;
|
|
1441
|
+
height: 16px;
|
|
1442
|
+
margin-right: 4px;
|
|
1443
|
+
}
|
|
1444
|
+
.semi-aiChatInput-reference-name {
|
|
1445
|
+
display: inline-block;
|
|
1446
|
+
text-overflow: ellipsis;
|
|
1447
|
+
overflow: hidden;
|
|
1448
|
+
word-break: break-all;
|
|
1449
|
+
}
|
|
1450
|
+
.semi-aiChatInput-reference-delete {
|
|
1451
|
+
cursor: pointer;
|
|
1452
|
+
padding: 2px;
|
|
1453
|
+
border-radius: 50%;
|
|
1454
|
+
}
|
|
1455
|
+
.semi-aiChatInput-reference-delete:hover {
|
|
1456
|
+
background: var(--semi-color-fill-1);
|
|
1457
|
+
}
|
|
1458
|
+
.semi-aiChatInput-footer {
|
|
1459
|
+
display: flex;
|
|
1460
|
+
justify-content: space-between;
|
|
1461
|
+
margin-top: 20px;
|
|
1462
|
+
align-items: center;
|
|
1463
|
+
user-select: none;
|
|
1464
|
+
-webkit-user-select: none;
|
|
1465
|
+
}
|
|
1466
|
+
.semi-aiChatInput-footer-round .semi-aiChatInput-footer-configure-select, .semi-aiChatInput-footer-round .semi-aiChatInput-footer-configure-button,
|
|
1467
|
+
.semi-aiChatInput-footer-round .semi-aiChatInput-footer-configure-radio-button, .semi-aiChatInput-footer-round .semi-aiChatInput-footer-configure-mcp-trigger,
|
|
1468
|
+
.semi-aiChatInput-footer-round .semi-aiChatInput-footer-action-button, .semi-aiChatInput-footer-round .semi-aiChatInput-footer-action-upload,
|
|
1469
|
+
.semi-aiChatInput-footer-round .semi-radio-addon-buttonRadio {
|
|
1470
|
+
border-radius: 9999px;
|
|
1471
|
+
}
|
|
1472
|
+
.semi-aiChatInput-footer-action {
|
|
1473
|
+
display: flex;
|
|
1474
|
+
align-items: center;
|
|
1475
|
+
column-gap: 8px;
|
|
1476
|
+
}
|
|
1477
|
+
.semi-aiChatInput-footer-action button {
|
|
1478
|
+
padding: 0px;
|
|
1479
|
+
border: 0px;
|
|
1480
|
+
display: flex;
|
|
1481
|
+
align-items: center;
|
|
1482
|
+
justify-content: center;
|
|
1483
|
+
}
|
|
1484
|
+
.semi-aiChatInput-footer-action-button {
|
|
1485
|
+
width: 32px;
|
|
1486
|
+
height: 32px;
|
|
1487
|
+
cursor: pointer;
|
|
1488
|
+
border-radius: 8px;
|
|
1489
|
+
}
|
|
1490
|
+
.semi-aiChatInput-footer-action-send {
|
|
1491
|
+
background-color: var(--semi-color-primary);
|
|
1492
|
+
color: rgba(var(--semi-white), 1);
|
|
1493
|
+
}
|
|
1494
|
+
.semi-aiChatInput-footer-action-send:hover:not(.semi-aiChatInput-footer-action-send-disabled) {
|
|
1495
|
+
background-color: var(--semi-color-primary-hover);
|
|
1496
|
+
}
|
|
1497
|
+
.semi-aiChatInput-footer-action-send:active:not(.semi-aiChatInput-footer-action-send-disabled) {
|
|
1498
|
+
background-color: var(--semi-color-primary-active);
|
|
1499
|
+
}
|
|
1500
|
+
.semi-aiChatInput-footer-action-send-disabled {
|
|
1501
|
+
background-color: var(--semi-color-fill-2);
|
|
1502
|
+
}
|
|
1503
|
+
.semi-aiChatInput-footer-action-stop {
|
|
1504
|
+
background-color: var(--semi-color-primary);
|
|
1505
|
+
color: rgba(var(--semi-white), 1);
|
|
1506
|
+
}
|
|
1507
|
+
.semi-aiChatInput-footer-action-stop:hover:not(.semi-aiChatInput-footer-action-send-disabled) {
|
|
1508
|
+
background-color: var(--semi-color-primary-hover);
|
|
1509
|
+
}
|
|
1510
|
+
.semi-aiChatInput-footer-action-stop:active:not(.semi-aiChatInput-footer-action-send-disabled) {
|
|
1511
|
+
background-color: var(--semi-color-primary-active);
|
|
1512
|
+
}
|
|
1513
|
+
.semi-aiChatInput-footer-action-stop-disabled {
|
|
1514
|
+
background-color: var(--semi-color-fill-2);
|
|
1515
|
+
}
|
|
1516
|
+
.semi-aiChatInput-footer-action-upload {
|
|
1517
|
+
background: transparent;
|
|
1518
|
+
color: var(--semi-color-text-1);
|
|
1519
|
+
}
|
|
1520
|
+
.semi-aiChatInput-footer-action-upload:hover {
|
|
1521
|
+
background-color: var(--semi-color-fill-0);
|
|
1522
|
+
}
|
|
1523
|
+
.semi-aiChatInput-footer-action-upload:active {
|
|
1524
|
+
background-color: var(--semi-color-fill-1);
|
|
1525
|
+
}
|
|
1526
|
+
.semi-aiChatInput-footer-configure {
|
|
1527
|
+
display: flex;
|
|
1528
|
+
flex-direction: row;
|
|
1529
|
+
column-gap: 8px;
|
|
1530
|
+
}
|
|
1531
|
+
.semi-aiChatInput-footer-configure-button {
|
|
1532
|
+
border: 1px solid var(--semi-color-primary);
|
|
1533
|
+
}
|
|
1534
|
+
.semi-aiChatInput-footer-configure-button-active.semi-button-tertiary.semi-button-outline {
|
|
1535
|
+
border: 1px solid var(--semi-color-primary);
|
|
1536
|
+
color: var(--semi-color-primary);
|
|
1537
|
+
background-color: var(--semi-color-primary-light-default);
|
|
1538
|
+
}
|
|
1539
|
+
.semi-aiChatInput-footer-configure-select {
|
|
1540
|
+
border: 1px solid var(--semi-color-border);
|
|
1541
|
+
background: transparent;
|
|
1542
|
+
}
|
|
1543
|
+
.semi-aiChatInput-footer-configure-select.semi-select-focus, .semi-aiChatInput-footer-configure-select .semi-select-selection-text {
|
|
1544
|
+
font-weight: 600;
|
|
1545
|
+
color: var(--semi-color-text-1);
|
|
1546
|
+
}
|
|
1547
|
+
.semi-aiChatInput-footer-configure-select.semi-select:hover {
|
|
1548
|
+
border-color: var(--semi-color-border);
|
|
1549
|
+
}
|
|
1550
|
+
.semi-aiChatInput-footer-configure-select.semi-select:focus {
|
|
1551
|
+
border: 1px solid var(--semi-color-border);
|
|
1552
|
+
background: transparent;
|
|
1553
|
+
}
|
|
1554
|
+
.semi-aiChatInput-footer-configure-radio-button .semi-radio-addon-buttonRadio {
|
|
1555
|
+
height: 16px;
|
|
1556
|
+
padding: 4px;
|
|
1557
|
+
font-size: 14px;
|
|
1558
|
+
}
|
|
1559
|
+
.semi-aiChatInput-footer-configure-radio-button .semi-radio-addon-buttonRadio-checked {
|
|
1560
|
+
color: var(--semi-color-text-1);
|
|
1561
|
+
background: var(--semi-color-bg-2);
|
|
1562
|
+
}
|
|
1563
|
+
.semi-aiChatInput-footer-configure-mcp-header {
|
|
1564
|
+
padding: 8px 16px 0px;
|
|
1565
|
+
font-size: 12px;
|
|
1566
|
+
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Inter", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
1567
|
+
line-height: 16px;
|
|
1568
|
+
height: 16px;
|
|
1569
|
+
align-items: center;
|
|
1570
|
+
display: flex;
|
|
1571
|
+
justify-content: space-between;
|
|
1572
|
+
column-gap: 4px;
|
|
1573
|
+
}
|
|
1574
|
+
.semi-aiChatInput-footer-configure-mcp-header-title {
|
|
1575
|
+
color: var(--semi-color-text-2);
|
|
1576
|
+
}
|
|
1577
|
+
.semi-aiChatInput-footer-configure-mcp-header-config.semi-button {
|
|
1578
|
+
padding: 0px;
|
|
1579
|
+
border: 0px;
|
|
1580
|
+
height: fit-content;
|
|
1581
|
+
font-size: 12px;
|
|
1582
|
+
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Inter", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
1583
|
+
line-height: 16px;
|
|
1584
|
+
}
|
|
1585
|
+
.semi-aiChatInput-attachment {
|
|
1586
|
+
position: relative;
|
|
1587
|
+
display: flex;
|
|
1588
|
+
align-items: center;
|
|
1589
|
+
column-gap: 8px;
|
|
1590
|
+
border-radius: 6px;
|
|
1591
|
+
background: var(--semi-color-fill-0);
|
|
1592
|
+
padding: 8px;
|
|
1593
|
+
width: 224px;
|
|
1594
|
+
height: 36px;
|
|
1595
|
+
overflow: hidden;
|
|
1596
|
+
letter-spacing: 0;
|
|
1597
|
+
flex-shrink: 0;
|
|
1598
|
+
}
|
|
1599
|
+
.semi-aiChatInput-attachment-icon, .semi-aiChatInput-attachment-img {
|
|
1600
|
+
display: flex;
|
|
1601
|
+
flex-shrink: 0;
|
|
1602
|
+
align-items: center;
|
|
1603
|
+
justify-content: center;
|
|
1604
|
+
border-radius: 3px;
|
|
1605
|
+
width: 36px;
|
|
1606
|
+
height: 36px;
|
|
1607
|
+
}
|
|
1608
|
+
.semi-aiChatInput-attachment-img {
|
|
1609
|
+
object-fit: cover;
|
|
1610
|
+
}
|
|
1611
|
+
.semi-aiChatInput-attachment-content {
|
|
1612
|
+
display: flex;
|
|
1613
|
+
flex-direction: column;
|
|
1614
|
+
flex-shrink: 0;
|
|
1615
|
+
align-items: flex-start;
|
|
1616
|
+
width: 180px;
|
|
1617
|
+
}
|
|
1618
|
+
.semi-aiChatInput-attachment-content-name {
|
|
1619
|
+
flex-shrink: 0;
|
|
1620
|
+
width: 180px;
|
|
1621
|
+
height: 20px;
|
|
1622
|
+
overflow: hidden;
|
|
1623
|
+
white-space: nowrap;
|
|
1624
|
+
text-overflow: ellipsis;
|
|
1625
|
+
color: var(--semi-color-text-0);
|
|
1626
|
+
font-size: 12px;
|
|
1627
|
+
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Inter", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
1628
|
+
line-height: 16px;
|
|
1629
|
+
font-weight: 600;
|
|
1630
|
+
}
|
|
1631
|
+
.semi-aiChatInput-attachment-content-size {
|
|
1632
|
+
display: flex;
|
|
1633
|
+
flex-shrink: 0;
|
|
1634
|
+
align-items: flex-start;
|
|
1635
|
+
column-gap: 4px;
|
|
1636
|
+
color: var(--semi-color-text-2);
|
|
1637
|
+
font-size: 12px;
|
|
1638
|
+
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Inter", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
1639
|
+
line-height: 16px;
|
|
1640
|
+
text-transform: uppercase;
|
|
1641
|
+
}
|
|
1642
|
+
.semi-aiChatInput-attachment-delete {
|
|
1643
|
+
display: none;
|
|
1644
|
+
}
|
|
1645
|
+
.semi-aiChatInput-attachment:hover > .semi-aiChatInput-attachment-delete {
|
|
1646
|
+
cursor: pointer;
|
|
1647
|
+
position: absolute;
|
|
1648
|
+
top: 0px;
|
|
1649
|
+
right: 0px;
|
|
1650
|
+
background: rgba(var(--semi-grey-7), 1);
|
|
1651
|
+
color: var(--semi-color-white);
|
|
1652
|
+
border-radius: 50%;
|
|
1653
|
+
width: 16px;
|
|
1654
|
+
height: 16px;
|
|
1655
|
+
font-size: 12px;
|
|
1656
|
+
display: flex;
|
|
1657
|
+
align-items: center;
|
|
1658
|
+
justify-content: center;
|
|
1659
|
+
}
|
|
1660
|
+
.semi-aiChatInput-attachment-progress.semi-progress-circle {
|
|
1661
|
+
position: absolute;
|
|
1662
|
+
top: 50%;
|
|
1663
|
+
left: 50%;
|
|
1664
|
+
transform: translate(-50%, -50%);
|
|
1665
|
+
}
|
|
1666
|
+
.semi-aiChatInput-scroll-wrapper {
|
|
1667
|
+
position: relative;
|
|
1668
|
+
width: 100%;
|
|
1669
|
+
display: flex;
|
|
1670
|
+
align-items: center;
|
|
1671
|
+
margin-bottom: 8px;
|
|
1672
|
+
}
|
|
1673
|
+
.semi-aiChatInput-scroll-container {
|
|
1674
|
+
display: flex;
|
|
1675
|
+
overflow-x: auto;
|
|
1676
|
+
scroll-behavior: smooth;
|
|
1677
|
+
/* Hide scrollbar */
|
|
1678
|
+
scrollbar-width: none; /* Firefox */
|
|
1679
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
1680
|
+
column-gap: 8px;
|
|
1681
|
+
/* hidden Webkit (Chrome, Safari) scrollbar */
|
|
1682
|
+
}
|
|
1683
|
+
.semi-aiChatInput-scroll-container::-webkit-scrollbar {
|
|
1684
|
+
display: none;
|
|
1685
|
+
}
|
|
1686
|
+
.semi-aiChatInput-scroll-button {
|
|
1687
|
+
padding: 0px;
|
|
1688
|
+
border: 0px;
|
|
1689
|
+
position: absolute;
|
|
1690
|
+
top: 50%;
|
|
1691
|
+
transform: translateY(-50%);
|
|
1692
|
+
z-index: 10;
|
|
1693
|
+
width: 16px;
|
|
1694
|
+
height: 16px;
|
|
1695
|
+
border-radius: 50%;
|
|
1696
|
+
background: var(--semi-color-white);
|
|
1697
|
+
box-shadow: var(--semi-shadow-elevated);
|
|
1698
|
+
cursor: pointer;
|
|
1699
|
+
display: flex;
|
|
1700
|
+
justify-content: center;
|
|
1701
|
+
align-items: center;
|
|
1702
|
+
transition: background-color 0.2s, box-shadow 0.2s;
|
|
1703
|
+
}
|
|
1704
|
+
.semi-aiChatInput-scroll-button .semi-icon {
|
|
1705
|
+
font-size: 12px;
|
|
1706
|
+
color: var(--semi-color-text-2);
|
|
1707
|
+
}
|
|
1708
|
+
.semi-aiChatInput-scroll-button:active {
|
|
1709
|
+
transform: translateY(-50%) scale(0.95);
|
|
1710
|
+
}
|
|
1711
|
+
.semi-aiChatInput-scroll-button-left-icon {
|
|
1712
|
+
transform: rotate(180deg);
|
|
1713
|
+
}
|
|
1714
|
+
.semi-aiChatInput-scroll-button.semi-aiChatInput-scroll-button-left {
|
|
1715
|
+
left: 10px;
|
|
1716
|
+
}
|
|
1717
|
+
.semi-aiChatInput-scroll-button.semi-aiChatInput-scroll-button-right {
|
|
1718
|
+
right: 10px;
|
|
1719
|
+
}
|
|
1720
|
+
.semi-aiChatInput-editor-content {
|
|
1721
|
+
flex: 1 1 0%;
|
|
1722
|
+
min-height: 0;
|
|
1723
|
+
margin-top: -4px;
|
|
1724
|
+
padding-top: 4px;
|
|
1725
|
+
overflow: auto;
|
|
1726
|
+
}
|
|
1727
|
+
.semi-aiChatInput-editor-content .tiptap {
|
|
1728
|
+
font-size: 14px;
|
|
1729
|
+
line-height: 24px;
|
|
1730
|
+
}
|
|
1731
|
+
.semi-aiChatInput-editor-content .tiptap p.is-editor-empty:first-child::before {
|
|
1732
|
+
color: var(--semi-color-text-2);
|
|
1733
|
+
content: attr(data-placeholder);
|
|
1734
|
+
float: left;
|
|
1735
|
+
height: 0;
|
|
1736
|
+
pointer-events: none;
|
|
1737
|
+
}
|
|
1738
|
+
.semi-aiChatInput-editor-content .tiptap p {
|
|
1739
|
+
margin: 0px;
|
|
1740
|
+
white-space: pre-wrap;
|
|
1741
|
+
}
|
|
1742
|
+
.semi-aiChatInput-editor-content .tiptap:focus {
|
|
1743
|
+
outline: none;
|
|
1744
|
+
}
|
|
1745
|
+
.semi-aiChatInput-editor-content .tiptap .node-inputSlot {
|
|
1746
|
+
display: inline-block;
|
|
1747
|
+
font-size: 14px;
|
|
1748
|
+
line-height: 20px;
|
|
1749
|
+
}
|
|
1750
|
+
.semi-aiChatInput-editor-content .tiptap .input-slot {
|
|
1751
|
+
display: inline-block;
|
|
1752
|
+
background-color: var(--semi-color-primary-light-default);
|
|
1753
|
+
border-radius: 4px;
|
|
1754
|
+
padding: 2px 4px;
|
|
1755
|
+
position: relative;
|
|
1756
|
+
margin: 2px 2px;
|
|
1757
|
+
font-weight: 600;
|
|
1758
|
+
min-width: 2px;
|
|
1759
|
+
}
|
|
1760
|
+
.semi-aiChatInput-editor-content .tiptap .input-slot .content {
|
|
1761
|
+
color: var(--semi-color-primary);
|
|
1762
|
+
}
|
|
1763
|
+
.semi-aiChatInput-editor-content .tiptap .input-slot .input-slot-placeholder {
|
|
1764
|
+
user-select: none;
|
|
1765
|
+
position: absolute;
|
|
1766
|
+
top: 2px;
|
|
1767
|
+
left: 4px;
|
|
1768
|
+
pointer-events: none;
|
|
1769
|
+
white-space: pre;
|
|
1770
|
+
z-index: 1;
|
|
1771
|
+
color: var(--semi-color-primary-disabled);
|
|
1772
|
+
}
|
|
1773
|
+
.semi-aiChatInput-editor-content .tiptap .node-selectSlot {
|
|
1774
|
+
display: inline-flex;
|
|
1775
|
+
}
|
|
1776
|
+
.semi-aiChatInput-editor-content .tiptap .select-slot {
|
|
1777
|
+
font-size: 14px;
|
|
1778
|
+
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Inter", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
1779
|
+
line-height: 20px;
|
|
1780
|
+
height: 24px;
|
|
1781
|
+
padding: 2px 4px;
|
|
1782
|
+
border-radius: 4px;
|
|
1783
|
+
background-color: var(--semi-color-primary-light-default);
|
|
1784
|
+
}
|
|
1785
|
+
.semi-aiChatInput-editor-content .tiptap .select-slot:first-child {
|
|
1786
|
+
margin-left: 0px;
|
|
1787
|
+
}
|
|
1788
|
+
.semi-aiChatInput-editor-content .tiptap .select-slot-wrapper {
|
|
1789
|
+
display: inline-flex;
|
|
1790
|
+
margin: 2px 4px;
|
|
1791
|
+
}
|
|
1792
|
+
.semi-aiChatInput-editor-content .tiptap .select-slot .semi-select-selection {
|
|
1793
|
+
color: var(--semi-color-primary);
|
|
1794
|
+
font-weight: bold;
|
|
1795
|
+
margin-left: 0px;
|
|
1796
|
+
}
|
|
1797
|
+
.semi-aiChatInput-editor-content .tiptap .select-slot .semi-select-arrow {
|
|
1798
|
+
color: var(--semi-color-text-2);
|
|
1799
|
+
width: 16px;
|
|
1800
|
+
}
|
|
1801
|
+
.semi-aiChatInput-editor-content .tiptap .select-slot.semi-select-open, .semi-aiChatInput-editor-content .tiptap .select-slot.semi-select-focus {
|
|
1802
|
+
border-color: transparent;
|
|
1803
|
+
}
|
|
1804
|
+
.semi-aiChatInput-editor-content .tiptap .select-slot.semi-select:focus {
|
|
1805
|
+
border-color: transparent;
|
|
1806
|
+
}
|
|
1807
|
+
.semi-aiChatInput-editor-content .tiptap .node-skillSlot {
|
|
1808
|
+
display: inline-flex;
|
|
1809
|
+
}
|
|
1810
|
+
.semi-aiChatInput-editor-content .tiptap .skill-slot {
|
|
1811
|
+
color: var(--semi-color-primary);
|
|
1812
|
+
font-weight: 600;
|
|
1813
|
+
outline: none;
|
|
1814
|
+
}
|
|
1815
|
+
.semi-aiChatInput-editor-content .tiptap .skill-slot-wrapper {
|
|
1816
|
+
display: inline-flex;
|
|
1817
|
+
position: relative;
|
|
1818
|
+
padding: 0px 4px;
|
|
1819
|
+
margin: 2px 2px;
|
|
1820
|
+
border-radius: 4px;
|
|
1821
|
+
}
|
|
1822
|
+
.semi-aiChatInput-editor-content .tiptap .skill-slot-wrapper:hover {
|
|
1823
|
+
background-color: var(--semi-color-primary-light-default);
|
|
1824
|
+
}
|
|
1825
|
+
.semi-aiChatInput-editor-content .tiptap .skill-slot-wrapper:hover .skill-slot-delete {
|
|
1826
|
+
cursor: pointer;
|
|
1827
|
+
position: absolute;
|
|
1828
|
+
top: 0px;
|
|
1829
|
+
right: 0px;
|
|
1830
|
+
background: rgba(var(--semi-grey-7), 1);
|
|
1831
|
+
color: var(--semi-color-white);
|
|
1832
|
+
transform: translate(50%, -50%);
|
|
1833
|
+
border-radius: 50%;
|
|
1834
|
+
width: 12px;
|
|
1835
|
+
height: 12px;
|
|
1836
|
+
font-size: 8px;
|
|
1837
|
+
display: flex;
|
|
1838
|
+
align-items: center;
|
|
1839
|
+
justify-content: center;
|
|
1840
|
+
}
|
|
1841
|
+
.semi-aiChatInput-editor-content .tiptap .skill-slot-delete {
|
|
1842
|
+
display: none;
|
|
1843
|
+
}
|
|
1844
|
+
|
|
689
1845
|
.semi-anchor {
|
|
690
1846
|
font-size: 14px;
|
|
691
1847
|
font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans GB", "Inter", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
@@ -2188,6 +3344,16 @@ body {
|
|
|
2188
3344
|
background-color: var(--semi-color-fill-1);
|
|
2189
3345
|
}
|
|
2190
3346
|
|
|
3347
|
+
.semi-button {
|
|
3348
|
+
--semi-button-colorful-multiple-fill-0: rgba(var(--semi-ai-general-5-3));
|
|
3349
|
+
--semi-button-colorful-multiple-fill-1: rgba(var(--semi-ai-general-5-2));
|
|
3350
|
+
--semi-button-colorful-multiple-fill-2: rgba(var(--semi-ai-general-5-1));
|
|
3351
|
+
--semi-button-colorful-multiple-fill-3: rgba(var(--semi-ai-general-5-0));
|
|
3352
|
+
--semi-button-colorful-disabled-fill: var(--semi-color-disabled-text);
|
|
3353
|
+
--semi-button-colorful-fill-primary: var(--semi-color-ai-purple);
|
|
3354
|
+
--semi-button-colorful-fill-secondary: var(--semi-color-text-0);
|
|
3355
|
+
}
|
|
3356
|
+
|
|
2191
3357
|
.semi-button {
|
|
2192
3358
|
box-shadow: none;
|
|
2193
3359
|
height: 32px;
|
|
@@ -2286,6 +3452,20 @@ body {
|
|
|
2286
3452
|
transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), border var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);
|
|
2287
3453
|
transform: scale(var(--semi-transform_scale-none));
|
|
2288
3454
|
}
|
|
3455
|
+
.semi-button-tertiary.semi-button-colorful.semi-button-solid {
|
|
3456
|
+
background: var(--semi-ai-general-0);
|
|
3457
|
+
}
|
|
3458
|
+
.semi-button-tertiary.semi-button-colorful.semi-button-solid:hover {
|
|
3459
|
+
background: var(--semi-ai-general-1);
|
|
3460
|
+
}
|
|
3461
|
+
.semi-button-tertiary.semi-button-colorful.semi-button-solid:active {
|
|
3462
|
+
background: var(--semi-ai-general-2);
|
|
3463
|
+
}
|
|
3464
|
+
.semi-button-tertiary.semi-button-colorful.semi-button-solid .semi-button-content-right, .semi-button-tertiary.semi-button-colorful.semi-button-solid .semi-button-content:not(:has(> .semi-button-content-right)) {
|
|
3465
|
+
background: var(--semi-color-ai-general);
|
|
3466
|
+
background-clip: text;
|
|
3467
|
+
color: transparent;
|
|
3468
|
+
}
|
|
2289
3469
|
.semi-button-tertiary-disabled {
|
|
2290
3470
|
background-color: var(--semi-color-disabled-bg);
|
|
2291
3471
|
}
|
|
@@ -2315,6 +3495,29 @@ body {
|
|
|
2315
3495
|
transition: background-color var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none), border var(--semi-transition_duration-none) var(--semi-transition_function-easeIn) var(--semi-transition_delay-none);
|
|
2316
3496
|
transform: scale(var(--semi-transform_scale-none));
|
|
2317
3497
|
}
|
|
3498
|
+
.semi-button-primary.semi-button-colorful.semi-button-solid {
|
|
3499
|
+
background: var(--semi-color-ai-general);
|
|
3500
|
+
}
|
|
3501
|
+
.semi-button-primary.semi-button-colorful.semi-button-solid:not(.semi-button-borderless):not(.semi-button-light):not(.semi-button-outline):hover {
|
|
3502
|
+
background: var(--semi-color-ai-general-hover);
|
|
3503
|
+
}
|
|
3504
|
+
.semi-button-primary.semi-button-colorful.semi-button-solid:not(.semi-button-borderless):not(.semi-button-light):not(.semi-button-outline):active {
|
|
3505
|
+
background: var(--semi-color-ai-general-active);
|
|
3506
|
+
}
|
|
3507
|
+
.semi-button-primary.semi-button-colorful.semi-button-light .semi-button-content-right, .semi-button-primary.semi-button-colorful.semi-button-light .semi-button-content:not(:has(> .semi-button-content-right)) {
|
|
3508
|
+
background: var(--semi-color-ai-general);
|
|
3509
|
+
background-clip: text;
|
|
3510
|
+
color: transparent;
|
|
3511
|
+
}
|
|
3512
|
+
.semi-button-primary.semi-button-colorful.semi-button-outline {
|
|
3513
|
+
color: var(--semi-color-ai-purple);
|
|
3514
|
+
border-color: var(--semi-color-ai-purple);
|
|
3515
|
+
}
|
|
3516
|
+
.semi-button-primary.semi-button-colorful.semi-button-borderless .semi-button-content-right, .semi-button-primary.semi-button-colorful.semi-button-borderless .semi-button-content:not(:has(> .semi-button-content-right)) {
|
|
3517
|
+
background: var(--semi-color-ai-general);
|
|
3518
|
+
background-clip: text;
|
|
3519
|
+
color: transparent;
|
|
3520
|
+
}
|
|
2318
3521
|
.semi-button-primary-disabled {
|
|
2319
3522
|
background-color: var(--semi-color-disabled-bg);
|
|
2320
3523
|
}
|
|
@@ -5385,6 +6588,9 @@ body {
|
|
|
5385
6588
|
.semi-cropper {
|
|
5386
6589
|
position: relative;
|
|
5387
6590
|
}
|
|
6591
|
+
.semi-cropper img {
|
|
6592
|
+
max-width: none;
|
|
6593
|
+
}
|
|
5388
6594
|
.semi-cropper-img {
|
|
5389
6595
|
position: absolute;
|
|
5390
6596
|
user-select: none;
|
|
@@ -7213,6 +8419,208 @@ body {
|
|
|
7213
8419
|
margin-right: 32px;
|
|
7214
8420
|
}
|
|
7215
8421
|
|
|
8422
|
+
.semi-feedback-emoji-container {
|
|
8423
|
+
display: flex;
|
|
8424
|
+
justify-content: center;
|
|
8425
|
+
align-items: center;
|
|
8426
|
+
column-gap: 24px;
|
|
8427
|
+
align-self: stretch;
|
|
8428
|
+
margin-top: 24px;
|
|
8429
|
+
margin-bottom: 24px;
|
|
8430
|
+
}
|
|
8431
|
+
.semi-feedback-emoji-item {
|
|
8432
|
+
user-select: none;
|
|
8433
|
+
cursor: pointer;
|
|
8434
|
+
font-family: Inter;
|
|
8435
|
+
font-size: 36px;
|
|
8436
|
+
line-height: 36px;
|
|
8437
|
+
height: 36px;
|
|
8438
|
+
font-style: normal;
|
|
8439
|
+
filter: grayscale(100%);
|
|
8440
|
+
}
|
|
8441
|
+
.semi-feedback-emoji-item:hover, .semi-feedback-emoji-item-selected {
|
|
8442
|
+
filter: none;
|
|
8443
|
+
}
|
|
8444
|
+
.semi-feedback-thank-text {
|
|
8445
|
+
color: var(--semi-color-text-2);
|
|
8446
|
+
text-align: center;
|
|
8447
|
+
font-size: 14px;
|
|
8448
|
+
font-weight: 400;
|
|
8449
|
+
line-height: 20px;
|
|
8450
|
+
margin-bottom: 0px;
|
|
8451
|
+
margin-top: 24px;
|
|
8452
|
+
}
|
|
8453
|
+
.semi-feedback .semi-checkboxGroup-vertical {
|
|
8454
|
+
row-gap: 16px;
|
|
8455
|
+
}
|
|
8456
|
+
.semi-feedback-footer {
|
|
8457
|
+
display: flex;
|
|
8458
|
+
justify-content: flex-end;
|
|
8459
|
+
column-gap: 12px;
|
|
8460
|
+
}
|
|
8461
|
+
.semi-feedback .semi-modal {
|
|
8462
|
+
width: 400px;
|
|
8463
|
+
}
|
|
8464
|
+
.semi-feedback.semi-feedback-text .semi-modal {
|
|
8465
|
+
width: 400px;
|
|
8466
|
+
}
|
|
8467
|
+
.semi-feedback .semi-sidesheet-inner {
|
|
8468
|
+
border-radius: 12px;
|
|
8469
|
+
}
|
|
8470
|
+
.semi-feedback.semi-sidesheet.semi-sidesheet-size-small {
|
|
8471
|
+
width: 400px;
|
|
8472
|
+
}
|
|
8473
|
+
.semi-feedback.semi-sidesheet.semi-feedback-text {
|
|
8474
|
+
width: 600px;
|
|
8475
|
+
}
|
|
8476
|
+
.semi-feedback.semi-sidesheet-bottom {
|
|
8477
|
+
right: 20px;
|
|
8478
|
+
left: auto;
|
|
8479
|
+
}
|
|
8480
|
+
.semi-feedback.semi-sidesheet-bottom .semi-sidesheet-inner-wrap {
|
|
8481
|
+
bottom: 50px;
|
|
8482
|
+
}
|
|
8483
|
+
@keyframes semi-sidesheet-slideShow_bottom {
|
|
8484
|
+
from {
|
|
8485
|
+
transform: translateY(calc(100% + 50px));
|
|
8486
|
+
}
|
|
8487
|
+
to {
|
|
8488
|
+
transform: translateY(0);
|
|
8489
|
+
}
|
|
8490
|
+
}
|
|
8491
|
+
@keyframes semi-sidesheet-slideHide_bottom {
|
|
8492
|
+
from {
|
|
8493
|
+
transform: translateY(0);
|
|
8494
|
+
}
|
|
8495
|
+
to {
|
|
8496
|
+
transform: translateY(calc(100% + 50px));
|
|
8497
|
+
}
|
|
8498
|
+
}
|
|
8499
|
+
.semi-feedback.semi-sidesheet .semi-sidesheet-fixed.semi-feedback-bottom {
|
|
8500
|
+
top: auto;
|
|
8501
|
+
}
|
|
8502
|
+
.semi-feedback.semi-sidesheet .semi-sidesheet-fixed.semi-feedback-bottom .semi-sidesheet-inner {
|
|
8503
|
+
bottom: 50px;
|
|
8504
|
+
}
|
|
8505
|
+
|
|
8506
|
+
.semi-floatButton {
|
|
8507
|
+
position: fixed;
|
|
8508
|
+
bottom: 24px;
|
|
8509
|
+
right: 24px;
|
|
8510
|
+
z-index: 1000;
|
|
8511
|
+
cursor: pointer;
|
|
8512
|
+
}
|
|
8513
|
+
.semi-floatButton-body {
|
|
8514
|
+
background-color: var(--semi-color-fill-0);
|
|
8515
|
+
box-shadow: var(--semi-shadow-elevated);
|
|
8516
|
+
color: var(--semi-color-primary);
|
|
8517
|
+
display: flex;
|
|
8518
|
+
align-items: center;
|
|
8519
|
+
justify-content: center;
|
|
8520
|
+
}
|
|
8521
|
+
.semi-floatButton-body:hover {
|
|
8522
|
+
background-color: var(--semi-color-fill-1);
|
|
8523
|
+
}
|
|
8524
|
+
.semi-floatButton-body:active {
|
|
8525
|
+
background-color: var(--semi-color-fill-2);
|
|
8526
|
+
}
|
|
8527
|
+
.semi-floatButton-disabled {
|
|
8528
|
+
background: var(--semi-color-disabled-bg);
|
|
8529
|
+
color: var(--semi-color-disabled-text);
|
|
8530
|
+
cursor: not-allowed;
|
|
8531
|
+
}
|
|
8532
|
+
.semi-floatButton-disabled:hover {
|
|
8533
|
+
background-color: var(--semi-color-disabled-bg);
|
|
8534
|
+
}
|
|
8535
|
+
.semi-floatButton-colorful {
|
|
8536
|
+
background: var(--semi-color-ai-general);
|
|
8537
|
+
color: var(--semi-color-white);
|
|
8538
|
+
}
|
|
8539
|
+
.semi-floatButton-colorful:hover {
|
|
8540
|
+
background: var(--semi-color-ai-general-hover);
|
|
8541
|
+
}
|
|
8542
|
+
.semi-floatButton-colorful:active {
|
|
8543
|
+
background: var(--semi-color-ai-general-active);
|
|
8544
|
+
}
|
|
8545
|
+
.semi-floatButton.semi-floatButton-square .semi-badge-dot, .semi-floatButton.semi-floatButton-square .semi-badge-count {
|
|
8546
|
+
/* Calculation logic:
|
|
8547
|
+
The center of the badge is the intersection of two lines.
|
|
8548
|
+
- The first line is the connecting line between the center of the floatButton and the upper right corner of the enclosing rectangle.
|
|
8549
|
+
- The second line is the border of the floatButton.
|
|
8550
|
+
Can be calculated through radius, (√2 - 1)/√2 * R = 0.29 * R
|
|
8551
|
+
*/
|
|
8552
|
+
top: 2.32px;
|
|
8553
|
+
inset-inline-end: 2.32px;
|
|
8554
|
+
}
|
|
8555
|
+
.semi-floatButton-default {
|
|
8556
|
+
width: 32px;
|
|
8557
|
+
height: 32px;
|
|
8558
|
+
}
|
|
8559
|
+
.semi-floatButton-default.semi-floatButton-round .semi-badge-dot, .semi-floatButton-default.semi-floatButton-round .semi-badge-count {
|
|
8560
|
+
/* Calculation logic:
|
|
8561
|
+
The center of the badge is the intersection of two lines.
|
|
8562
|
+
- The first line is the connecting line between the center of the floatButton and the upper right corner of the enclosing rectangle.
|
|
8563
|
+
- The second line is the border of the floatButton.
|
|
8564
|
+
Can be calculated through radius (√2 - 1)/√2 * R = 0.29 * R,and R = 0.5 * width
|
|
8565
|
+
*/
|
|
8566
|
+
top: 4.64px;
|
|
8567
|
+
inset-inline-end: 4.64px;
|
|
8568
|
+
}
|
|
8569
|
+
.semi-floatButton-small {
|
|
8570
|
+
width: 24px;
|
|
8571
|
+
height: 24px;
|
|
8572
|
+
}
|
|
8573
|
+
.semi-floatButton-small.semi-floatButton-round .semi-badge-dot, .semi-floatButton-small.semi-floatButton-round .semi-badge-count {
|
|
8574
|
+
top: 3.48px;
|
|
8575
|
+
inset-inline-end: 3.48px;
|
|
8576
|
+
}
|
|
8577
|
+
.semi-floatButton-large {
|
|
8578
|
+
width: 40px;
|
|
8579
|
+
height: 40px;
|
|
8580
|
+
}
|
|
8581
|
+
.semi-floatButton-large.semi-floatButton-round .semi-badge-dot, .semi-floatButton-large.semi-floatButton-round .semi-badge-count {
|
|
8582
|
+
top: 5.8px;
|
|
8583
|
+
inset-inline-end: 5.8px;
|
|
8584
|
+
}
|
|
8585
|
+
.semi-floatButton-square {
|
|
8586
|
+
border-radius: 8px;
|
|
8587
|
+
}
|
|
8588
|
+
.semi-floatButton-round {
|
|
8589
|
+
border-radius: var(--semi-border-radius-full);
|
|
8590
|
+
}
|
|
8591
|
+
|
|
8592
|
+
.semi-floatButtonGroup {
|
|
8593
|
+
position: fixed;
|
|
8594
|
+
border-radius: 8px;
|
|
8595
|
+
bottom: 24px;
|
|
8596
|
+
right: 24px;
|
|
8597
|
+
z-index: 1000;
|
|
8598
|
+
background: var(--semi-color-bg-0);
|
|
8599
|
+
box-shadow: var(--semi-shadow-elevated);
|
|
8600
|
+
display: inline-flex;
|
|
8601
|
+
padding: 6px;
|
|
8602
|
+
gap: 4px;
|
|
8603
|
+
}
|
|
8604
|
+
.semi-floatButtonGroup-item {
|
|
8605
|
+
cursor: pointer;
|
|
8606
|
+
display: flex;
|
|
8607
|
+
padding: 6px 12px;
|
|
8608
|
+
align-items: center;
|
|
8609
|
+
column-gap: 8px;
|
|
8610
|
+
border-radius: 4px;
|
|
8611
|
+
color: var(--semi-color-text-0);
|
|
8612
|
+
font-size: 14px;
|
|
8613
|
+
font-style: normal;
|
|
8614
|
+
font-weight: 400;
|
|
8615
|
+
line-height: 20px;
|
|
8616
|
+
}
|
|
8617
|
+
.semi-floatButtonGroup-item:hover {
|
|
8618
|
+
background: var(--semi-color-fill-1);
|
|
8619
|
+
}
|
|
8620
|
+
.semi-floatButtonGroup-item:active {
|
|
8621
|
+
background: var(--semi-color-fill-2);
|
|
8622
|
+
}
|
|
8623
|
+
|
|
7216
8624
|
.semi-form .semi-form-field {
|
|
7217
8625
|
box-sizing: border-box;
|
|
7218
8626
|
}
|
|
@@ -12879,6 +14287,14 @@ body {
|
|
|
12879
14287
|
display: inline-block;
|
|
12880
14288
|
overflow: hidden;
|
|
12881
14289
|
}
|
|
14290
|
+
.semi-image img {
|
|
14291
|
+
/**
|
|
14292
|
+
* In tailwind, the max-width of img/video is set to 100%,
|
|
14293
|
+
* which will affect the amplification effect of the picture.
|
|
14294
|
+
* So we need to set max-width to none.
|
|
14295
|
+
*/
|
|
14296
|
+
max-width: none;
|
|
14297
|
+
}
|
|
12882
14298
|
.semi-image-img {
|
|
12883
14299
|
vertical-align: top;
|
|
12884
14300
|
border-radius: inherit;
|
|
@@ -13049,12 +14465,6 @@ body {
|
|
|
13049
14465
|
transform: scale3d(1, 1, 1) var(--semi-transform-rotate-none);
|
|
13050
14466
|
z-index: 0;
|
|
13051
14467
|
user-select: none;
|
|
13052
|
-
/**
|
|
13053
|
-
* In tailwind, the max-width of img/video is set to 100%,
|
|
13054
|
-
* which will affect the amplification effect of the picture.
|
|
13055
|
-
* So we need to set max-width to none.
|
|
13056
|
-
*/
|
|
13057
|
-
max-width: none;
|
|
13058
14468
|
}
|
|
13059
14469
|
.semi-image-preview-image-spin {
|
|
13060
14470
|
position: absolute;
|
|
@@ -20535,15 +21945,80 @@ img[src=""], img:not([src]) {
|
|
|
20535
21945
|
width: 20px;
|
|
20536
21946
|
height: 20px;
|
|
20537
21947
|
}
|
|
20538
|
-
.semi-tag-
|
|
21948
|
+
.semi-tag-colorful {
|
|
21949
|
+
font-weight: 600;
|
|
21950
|
+
}
|
|
21951
|
+
.semi-tag-colorful.semi-tag-solid {
|
|
21952
|
+
background: var(--semi-color-ai-purple);
|
|
20539
21953
|
color: var(--semi-color-white);
|
|
20540
|
-
opacity: 0.8;
|
|
20541
21954
|
}
|
|
20542
|
-
.semi-tag-solid
|
|
20543
|
-
|
|
21955
|
+
.semi-tag-colorful.semi-tag-solid.semi-tag-gradient {
|
|
21956
|
+
background: var(--semi-color-ai-general);
|
|
21957
|
+
}
|
|
21958
|
+
.semi-tag-colorful.semi-tag-light {
|
|
21959
|
+
background: rgba(var(--semi-ai-purple-0), 1);
|
|
21960
|
+
color: var(--semi-color-ai-purple);
|
|
21961
|
+
}
|
|
21962
|
+
.semi-tag-colorful.semi-tag-light.semi-tag-gradient {
|
|
21963
|
+
background: var(--semi-ai-general-0);
|
|
21964
|
+
}
|
|
21965
|
+
.semi-tag-colorful.semi-tag-light.semi-tag-gradient .semi-tag-prefix-icon svg stop:nth-child(1) {
|
|
21966
|
+
stop-color: rgba(var(--semi-ai-general-5-0), 1);
|
|
21967
|
+
}
|
|
21968
|
+
.semi-tag-colorful.semi-tag-light.semi-tag-gradient .semi-tag-prefix-icon svg stop:nth-child(2) {
|
|
21969
|
+
stop-color: rgba(var(--semi-ai-general-5-1), 1);
|
|
21970
|
+
}
|
|
21971
|
+
.semi-tag-colorful.semi-tag-light.semi-tag-gradient .semi-tag-prefix-icon svg stop:nth-child(3) {
|
|
21972
|
+
stop-color: rgba(var(--semi-ai-general-5-2), 1);
|
|
21973
|
+
}
|
|
21974
|
+
.semi-tag-colorful.semi-tag-light.semi-tag-gradient .semi-tag-prefix-icon svg stop:nth-child(4) {
|
|
21975
|
+
stop-color: rgba(var(--semi-ai-general-5-3), 1);
|
|
21976
|
+
}
|
|
21977
|
+
.semi-tag-colorful.semi-tag-light.semi-tag-gradient .semi-tag-content {
|
|
21978
|
+
background: var(--semi-color-ai-general);
|
|
21979
|
+
background-clip: text;
|
|
21980
|
+
color: transparent;
|
|
21981
|
+
}
|
|
21982
|
+
.semi-tag-colorful.semi-tag-ghost {
|
|
21983
|
+
background: var(--semi-color-white);
|
|
21984
|
+
color: var(--semi-color-ai-purple);
|
|
21985
|
+
border-color: var(--semi-color-ai-general);
|
|
21986
|
+
}
|
|
21987
|
+
.semi-tag-colorful.semi-tag-ghost.semi-tag-gradient {
|
|
21988
|
+
border: none;
|
|
21989
|
+
}
|
|
21990
|
+
.semi-tag-colorful.semi-tag-ghost.semi-tag-gradient .semi-tag-prefix-icon svg stop:nth-child(1) {
|
|
21991
|
+
stop-color: rgba(var(--semi-ai-general-5-0), 1);
|
|
21992
|
+
}
|
|
21993
|
+
.semi-tag-colorful.semi-tag-ghost.semi-tag-gradient .semi-tag-prefix-icon svg stop:nth-child(2) {
|
|
21994
|
+
stop-color: rgba(var(--semi-ai-general-5-1), 1);
|
|
20544
21995
|
}
|
|
20545
|
-
.semi-tag-
|
|
20546
|
-
|
|
21996
|
+
.semi-tag-colorful.semi-tag-ghost.semi-tag-gradient .semi-tag-prefix-icon svg stop:nth-child(3) {
|
|
21997
|
+
stop-color: rgba(var(--semi-ai-general-5-2), 1);
|
|
21998
|
+
}
|
|
21999
|
+
.semi-tag-colorful.semi-tag-ghost.semi-tag-gradient .semi-tag-prefix-icon svg stop:nth-child(4) {
|
|
22000
|
+
stop-color: rgba(var(--semi-ai-general-5-3), 1);
|
|
22001
|
+
}
|
|
22002
|
+
.semi-tag-colorful.semi-tag-ghost.semi-tag-gradient.semi-tag-circle::before {
|
|
22003
|
+
border-radius: var(--semi-border-radius-full);
|
|
22004
|
+
}
|
|
22005
|
+
.semi-tag-colorful.semi-tag-ghost.semi-tag-gradient::before {
|
|
22006
|
+
content: "";
|
|
22007
|
+
position: absolute;
|
|
22008
|
+
inset: 0;
|
|
22009
|
+
border-radius: var(--semi-border-radius-small);
|
|
22010
|
+
padding: 1px;
|
|
22011
|
+
background: var(--semi-color-ai-general);
|
|
22012
|
+
-webkit-mask: linear-gradient(var(--semi-color-white) 0 0) content-box, linear-gradient(var(--semi-color-white) 0 0);
|
|
22013
|
+
mask: linear-gradient(var(--semi-color-white) 0 0) content-box, linear-gradient(var(--semi-color-white) 0 0);
|
|
22014
|
+
-webkit-mask-composite: xor;
|
|
22015
|
+
mask-composite: exclude;
|
|
22016
|
+
pointer-events: none;
|
|
22017
|
+
}
|
|
22018
|
+
.semi-tag-colorful.semi-tag-ghost.semi-tag-gradient .semi-tag-content {
|
|
22019
|
+
background: var(--semi-color-ai-general);
|
|
22020
|
+
background-clip: text;
|
|
22021
|
+
color: transparent;
|
|
20547
22022
|
}
|
|
20548
22023
|
|
|
20549
22024
|
.semi-tag-group {
|
|
@@ -21652,9 +23127,9 @@ img[src=""], img:not([src]) {
|
|
|
21652
23127
|
}
|
|
21653
23128
|
.semi-tooltip-wrapper {
|
|
21654
23129
|
position: relative;
|
|
21655
|
-
background-color:
|
|
23130
|
+
background-color: var(--semi-color-bg-3);
|
|
21656
23131
|
backdrop-filter: none;
|
|
21657
|
-
color: var(--semi-color-
|
|
23132
|
+
color: var(--semi-color-text-0);
|
|
21658
23133
|
border-radius: var(--semi-border-radius-medium);
|
|
21659
23134
|
padding-top: 8px;
|
|
21660
23135
|
padding-right: 12px;
|
|
@@ -24304,10 +25779,7 @@ p.semi-typography-extended,
|
|
|
24304
25779
|
pointer-events: none;
|
|
24305
25780
|
cursor: not-allowed;
|
|
24306
25781
|
}
|
|
24307
|
-
.semi-button.semi-button-loading .semi-button-content .semi-button-content-loading-icon {
|
|
24308
|
-
animation: 1600ms linear infinite semi-animation-rotate;
|
|
24309
|
-
}
|
|
24310
|
-
.semi-button.semi-button-loading .semi-button-content > svg {
|
|
25782
|
+
.semi-button.semi-button-loading .semi-button-content > svg, .semi-button.semi-button-loading .semi-button-content-loading-icon {
|
|
24311
25783
|
width: 16px;
|
|
24312
25784
|
height: 16px;
|
|
24313
25785
|
animation: 600ms linear infinite semi-animation-rotate;
|