Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.less 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. .searchPage {
  2. background-position: center;
  3. background-size: cover;
  4. .card {
  5. width: 100%;
  6. cursor: pointer;
  7. :global(.ant-card-body) {
  8. padding: 14px;
  9. }
  10. p {
  11. margin: 0;
  12. }
  13. }
  14. .tag {
  15. padding: 4px 8px;
  16. font-size: 14px;
  17. cursor: pointer;
  18. }
  19. .mainLayout {
  20. background: transparent;
  21. }
  22. }
  23. .transparentSearchSide {
  24. background-color: rgb(251 251 251 / 88%) !important;
  25. }
  26. .searchSide {
  27. position: relative;
  28. :global(.ant-layout-sider-children) {
  29. height: auto;
  30. }
  31. inset-inline-start: 0;
  32. .modelForm {
  33. display: flex;
  34. padding: 24px;
  35. }
  36. .checkGroup {
  37. width: 100%;
  38. height: 100%;
  39. }
  40. .list {
  41. padding-top: 10px;
  42. width: 100%;
  43. // height: 100%;
  44. height: calc(100vh - 76px);
  45. overflow: auto;
  46. background-color: transparent;
  47. &::-webkit-scrollbar-track {
  48. background: transparent;
  49. }
  50. }
  51. .checkbox {
  52. width: 100%;
  53. }
  54. .knowledgeName {
  55. width: 116px;
  56. }
  57. .embeddingId {
  58. width: 170px;
  59. }
  60. }
  61. .firstRenderContent {
  62. height: 100%;
  63. }
  64. .content {
  65. height: 100%;
  66. .hide {
  67. display: none;
  68. }
  69. .mainMixin() {
  70. overflow: auto;
  71. padding: 20px 10px 10px;
  72. }
  73. .largeMain {
  74. width: 100%;
  75. .mainMixin();
  76. }
  77. .main {
  78. width: 60%;
  79. .mainMixin();
  80. }
  81. .graph {
  82. width: 40%;
  83. padding: 20px 10px 10px;
  84. }
  85. .highlightContent {
  86. .multipleLineEllipsis(2);
  87. em {
  88. color: red;
  89. font-style: normal;
  90. }
  91. }
  92. }
  93. .answerWrapper {
  94. margin-top: 16px;
  95. background: rgb(232 242 251 / 70%);
  96. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
  97. :global(.ant-card-head) {
  98. background-color: #e6f4ff;
  99. }
  100. & p {
  101. margin: 0;
  102. }
  103. }
  104. .input() {
  105. :global(.ant-input-affix-wrapper) {
  106. padding: 4px 12px;
  107. border-start-start-radius: 30px !important;
  108. border-end-start-radius: 30px !important;
  109. }
  110. :global(.ant-input-group-addon) {
  111. background-color: transparent;
  112. }
  113. input {
  114. height: 40px;
  115. }
  116. button {
  117. height: 50px !important;
  118. border-start-end-radius: 30px !important;
  119. border-end-end-radius: 30px !important;
  120. }
  121. }
  122. .globalInput {
  123. width: 600px;
  124. position: sticky;
  125. top: 0;
  126. z-index: 1;
  127. .input();
  128. }
  129. .partialInput {
  130. width: 100%;
  131. position: sticky;
  132. top: 0;
  133. z-index: 1;
  134. .input();
  135. }
  136. .appIcon {
  137. display: inline-block;
  138. vertical-align: middle;
  139. width: 60px;
  140. }
  141. .appName {
  142. vertical-align: middle;
  143. font-family: Inter;
  144. font-size: 40px;
  145. font-style: normal;
  146. font-weight: 600;
  147. line-height: 20px;
  148. background: linear-gradient(to right, #095fab 10%, #25abe8 50%, #55c8dd 60%);
  149. background-size: auto auto;
  150. background-clip: border-box;
  151. background-size: 200% auto;
  152. color: #fff;
  153. background-clip: text;
  154. text-fill-color: transparent;
  155. -webkit-background-clip: text;
  156. -webkit-text-fill-color: transparent;
  157. animation: textclip 1.5s linear infinite;
  158. }
  159. @keyframes textclip {
  160. to {
  161. background-position: 200% center;
  162. }
  163. }
  164. .popupMarkdown {
  165. width: 60vw;
  166. max-height: 40vh;
  167. overflow: auto;
  168. }