index.less 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. /*
  2. * Copyright (c) 2024 LangChat. TyCoding All Rights Reserved.
  3. *
  4. * Licensed under the GNU Affero General Public License, Version 3 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * https://www.gnu.org/licenses/agpl-3.0.html
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. @import 'transition/index.less';
  17. @import 'reset.less';
  18. @keyframes running-line {
  19. to {
  20. stroke-dashoffset: -1000;
  21. }
  22. }
  23. .custom-dropdown {
  24. background: #27272a !important;
  25. .n-dropdown-option-body__label {
  26. color: #ffffff !important;
  27. }
  28. .n-dropdown-option:hover {
  29. background-color: #2d8cf0 !important;
  30. }
  31. .n-dropdown-option-body::before {
  32. transition: none !important;
  33. }
  34. .n-dropdown-option-body--pending::before {
  35. background-color: #2d8cf0 !important;
  36. }
  37. .n-dropdown-divider {
  38. background-color: #ffffff3b !important;
  39. }
  40. }
  41. .custom-popover {
  42. &:focus {
  43. outline: none !important;
  44. border: none !important;
  45. }
  46. background: #27272a !important;
  47. color: #ffffff !important;
  48. padding: 3px 8px !important;
  49. .n-popover-arrow {
  50. background: #27272a !important;
  51. }
  52. }
  53. body {
  54. font-family: inherit;
  55. }
  56. .robot-pin {
  57. .n-drawer-header {
  58. padding: 10px !important;
  59. height: 45px !important;
  60. font-family: inherit !important;
  61. font-size: 14px !important;
  62. .n-drawer-header__main {
  63. width: 100% !important;
  64. }
  65. }
  66. .n-drawer-body {
  67. .n-drawer-body-content-wrapper {
  68. padding: 0 !important;
  69. }
  70. }
  71. .n-drawer-footer {
  72. border: none !important;
  73. padding: 0.5rem !important;
  74. justify-content: center !important;
  75. }
  76. }
  77. .tips-line {
  78. border-bottom: 1px dashed #71717a
  79. }
  80. .hover-input {
  81. margin-left: 2px !important;
  82. background: transparent !important;
  83. .n-input-wrapper {
  84. padding-left: 4px !important;
  85. padding-right: 4px !important;
  86. }
  87. .n-input__border {
  88. border: none !important;
  89. }
  90. }
  91. .n-spin-container {
  92. width: 100% !important;
  93. height: 100% !important;
  94. }
  95. .n-spin-content {
  96. width: 100% !important;
  97. height: 100% !important;
  98. }
  99. .pin-label {
  100. font-family: Inter;
  101. font-style: normal;
  102. font-weight: 400;
  103. font-size: 14px;
  104. line-height: 16.5px;
  105. }
  106. .n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content-header {
  107. opacity: 1 !important;
  108. }
  109. .custom-select {
  110. .n-base-selection__border {
  111. border: none !important;
  112. }
  113. }
  114. .n-slider-handle-indicator.n-slider-handle-indicator--top {
  115. margin-bottom: 6px !important;
  116. }
  117. .n-slider-handle-indicator {
  118. padding: 0 5px !important;
  119. }
  120. .model-menu {
  121. .n-menu-item-content-header {
  122. font-weight: 600 !important;
  123. }
  124. .n-menu-item-content {
  125. padding-left: 25px !important;
  126. }
  127. }
  128. .dot-bg {
  129. height: 100%;
  130. background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.13) 1.2px, transparent 0);
  131. background-size: 15px 15px;
  132. background-repeat: round;
  133. }
  134. :focus {
  135. outline: none;
  136. }
  137. .n-code [class^=hljs] {
  138. color: white ;
  139. }
  140. .min-alert {
  141. .n-alert__icon {
  142. width: 18px !important;
  143. height: 18px !important;
  144. font-size: 18px !important;
  145. margin: 7px 8px 0 12px !important;
  146. }
  147. .n-alert-body {
  148. padding-top: 6px !important;
  149. padding-bottom: 6px !important;
  150. padding-right: 6px !important;
  151. }
  152. .n-alert-body .n-alert-body__title {
  153. font-size: 13px !important;
  154. }
  155. }
  156. .n-avatar {
  157. background: transparent !important;
  158. }