You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.less 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. .searchPage {
  2. .card {
  3. width: 100%;
  4. :global(.ant-card-body) {
  5. padding: 14px;
  6. }
  7. p {
  8. margin: 0;
  9. }
  10. }
  11. .tag {
  12. padding: 4px 8px;
  13. font-size: 14px;
  14. cursor: pointer;
  15. }
  16. }
  17. .searchSide {
  18. // height: calc(100vh - 72px);
  19. position: relative;
  20. // position: fixed !important;
  21. // top: 72px;
  22. // bottom: 0;
  23. :global(.ant-layout-sider-children) {
  24. height: auto;
  25. }
  26. inset-inline-start: 0;
  27. .modelForm {
  28. display: flex;
  29. padding: 24px;
  30. }
  31. .checkGroup {
  32. width: 100%;
  33. height: 100%;
  34. }
  35. .list {
  36. width: 100%;
  37. // height: 100%;
  38. height: calc(100vh - 152px);
  39. overflow: auto;
  40. }
  41. .checkbox {
  42. width: 100%;
  43. }
  44. .knowledgeName {
  45. width: 130px;
  46. }
  47. }
  48. .firstRenderContent {
  49. height: 100%;
  50. background-position: center;
  51. background-size: cover;
  52. }
  53. .content {
  54. height: 100%;
  55. .main {
  56. width: 60%;
  57. // background-color: aqua;
  58. overflow: auto;
  59. padding: 20px 10px 10px;
  60. .chunks {
  61. // overflow: auto;
  62. // height: 60vh;
  63. }
  64. }
  65. .graph {
  66. width: 40%;
  67. padding: 20px 10px 10px;
  68. }
  69. }
  70. .answerWrapper {
  71. background-color: #e6f4ff;
  72. padding: 14px;
  73. margin-top: 16px;
  74. border-radius: 8px;
  75. & > p {
  76. margin: 0;
  77. }
  78. }
  79. .input() {
  80. :global(.ant-input-affix-wrapper) {
  81. padding: 4px 12px;
  82. border-start-start-radius: 30px !important;
  83. border-end-start-radius: 30px !important;
  84. }
  85. :global(.ant-input-group-addon) {
  86. background-color: transparent;
  87. }
  88. input {
  89. height: 40px;
  90. }
  91. button {
  92. height: 50px !important;
  93. border-start-end-radius: 30px !important;
  94. border-end-end-radius: 30px !important;
  95. }
  96. }
  97. .globalInput {
  98. width: 600px;
  99. position: sticky;
  100. top: 0;
  101. z-index: 1;
  102. .input();
  103. }
  104. .partialInput {
  105. width: 100%;
  106. .input();
  107. }
  108. .appIcon {
  109. display: inline-block;
  110. vertical-align: middle;
  111. width: 60px;
  112. }
  113. .appName {
  114. vertical-align: middle;
  115. font-family: Inter;
  116. font-size: 40px;
  117. font-style: normal;
  118. font-weight: 600;
  119. line-height: 20px;
  120. background: linear-gradient(to right, #095fab 10%, #25abe8 50%, #55c8dd 60%);
  121. background-size: auto auto;
  122. background-clip: border-box;
  123. background-size: 200% auto;
  124. color: #fff;
  125. background-clip: text;
  126. text-fill-color: transparent;
  127. -webkit-background-clip: text;
  128. -webkit-text-fill-color: transparent;
  129. animation: textclip 1.5s linear infinite;
  130. }
  131. @keyframes textclip {
  132. to {
  133. background-position: 200% center;
  134. }
  135. }