style.less 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. .header {
  2. width: 100%;
  3. height: 64px;
  4. padding: 0 24px;
  5. background: #FFFFFF;
  6. display: flex;
  7. justify-content: space-between;
  8. align-items: center;
  9. border-bottom: 1px solid #f0f0f0;
  10. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  11. position: fixed;
  12. top: 0;
  13. left: 0;
  14. z-index: 1000;
  15. &-nav {
  16. display: flex;
  17. align-items: center;
  18. gap: 40px;
  19. margin-left: 40px;
  20. &-item {
  21. color: #666;
  22. font-weight: 500;
  23. position: relative;
  24. transition: color 0.3s;
  25. &:hover {
  26. color: @primary-color;
  27. }
  28. &.active {
  29. color: @primary-color;
  30. &::after {
  31. content: '';
  32. position: absolute;
  33. bottom: -22px;
  34. left: 0;
  35. right: 0;
  36. height: 2px;
  37. background: @primary-color;
  38. }
  39. }
  40. }
  41. }
  42. &-logo {
  43. display: flex;
  44. align-items: center;
  45. cursor: pointer;
  46. margin-right: 40px;
  47. &-picture {
  48. width: 30px;
  49. height: 30px;
  50. margin-right: 10px;
  51. }
  52. &-text {
  53. font-size: 16px;
  54. font-weight: 500;
  55. }
  56. }
  57. &-operation {
  58. display: flex;
  59. align-items: center;
  60. cursor: pointer;
  61. &-picture {
  62. width: 30px;
  63. height: 30px;
  64. background: @primary-color;
  65. border-radius: 50%;
  66. display: flex;
  67. justify-content: center;
  68. align-items: center;
  69. margin-right: 10px;
  70. color: #FFFFFF;
  71. }
  72. &-name {
  73. font-weight: 500;
  74. color: @primary-color;
  75. margin-right: 10px;
  76. }
  77. &-down {
  78. color: @primary-color !important;
  79. }
  80. }
  81. }
  82. .nav {
  83. width: 200px !important;
  84. height: calc(100vh - 64px) !important;
  85. background: #FFFFFF !important;
  86. border-right: 1px solid #f0f0f0;
  87. box-shadow: 1px 0 4px rgba(0, 0, 0, 0.05);
  88. position: fixed;
  89. top: 64px;
  90. left: 0;
  91. z-index: 999;
  92. &-menu {
  93. width: 100%;
  94. height: calc(100vh - 100px);
  95. overflow-x: hidden;
  96. overflow-y: auto;
  97. }
  98. &-bottom {
  99. width: 100%;
  100. height: 50px;
  101. display: flex;
  102. justify-content: center;
  103. align-items: center;
  104. }
  105. }
  106. .breadcrumb {
  107. width: 100%;
  108. height: 48px;
  109. padding: 18px 20px;
  110. background: @background-color;
  111. display: flex;
  112. align-items: center;
  113. position: fixed;
  114. top: 64px;
  115. left: 200px;
  116. z-index: 900;
  117. margin-left: 0;
  118. }
  119. .content {
  120. min-height: calc(100vh - 48px);
  121. //padding: 20px;
  122. background: @background-color;
  123. overflow-y: auto;
  124. margin-top: 48px;
  125. }
  126. .model-selector-modal {
  127. .ant-modal-body {
  128. padding: 20px;
  129. }
  130. }
  131. .route-option {
  132. border-radius: 8px;
  133. overflow: hidden;
  134. transition: all 0.3s;
  135. height: 480px;
  136. display: flex;
  137. flex-direction: column;
  138. .ant-card-cover {
  139. display: flex;
  140. justify-content: center;
  141. padding: 60px 0;
  142. background: #f0f5ff;
  143. flex: 0 0 auto;
  144. }
  145. .ant-card-body {
  146. display: flex;
  147. flex-direction: column;
  148. height: 100%;
  149. padding-bottom: 0;
  150. }
  151. .logo-container {
  152. display: flex;
  153. justify-content: center;
  154. align-items: center;
  155. width: 100%;
  156. }
  157. .option-icon {
  158. font-size: 64px;
  159. color: #1890ff;
  160. }
  161. .ant-card-meta {
  162. text-align: center;
  163. margin-bottom: 0;
  164. flex: 1;
  165. display: flex;
  166. flex-direction: column;
  167. justify-content: center;
  168. &-title {
  169. font-size: 18px;
  170. font-weight: 500;
  171. margin-bottom: 8px;
  172. }
  173. &-description {
  174. color: #666;
  175. padding: 0 16px;
  176. }
  177. }
  178. .select-button {
  179. margin: 24px 0;
  180. height: 48px;
  181. font-weight: 500;
  182. font-size: 16px;
  183. flex: 0 0 auto;
  184. }
  185. &:hover {
  186. transform: translateY(-5px);
  187. box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08);
  188. }
  189. }
  190. .deepseek {
  191. .ant-card-cover {
  192. background: #f0f5ff;
  193. }
  194. .option-icon {
  195. color: #1890ff;
  196. }
  197. .select-button {
  198. background: #1890ff;
  199. border-color: #1890ff;
  200. }
  201. }
  202. .zhipu {
  203. .ant-card-cover {
  204. background: #f9f0ff;
  205. }
  206. .option-icon {
  207. color: #722ed1;
  208. }
  209. .select-button {
  210. background: #722ed1;
  211. border-color: #722ed1;
  212. }
  213. }