index.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877
  1. /* ==================== Tailwind CSS 配置 ==================== */
  2. @layer tailwind-base, semi, tailwind-components, tailwind-utils;
  3. @layer tailwind-base {
  4. @tailwind base;
  5. }
  6. @layer tailwind-components {
  7. @tailwind components;
  8. }
  9. @layer tailwind-utils {
  10. @tailwind utilities;
  11. }
  12. /* ==================== 全局基础样式 ==================== */
  13. :root {
  14. --sidebar-width: 180px;
  15. --sidebar-width-collapsed: 60px;
  16. --sidebar-current-width: var(--sidebar-width);
  17. }
  18. body.sidebar-collapsed {
  19. --sidebar-current-width: var(--sidebar-width-collapsed);
  20. }
  21. body {
  22. font-family: Lato, 'Helvetica Neue', Arial, Helvetica, 'Microsoft YaHei',
  23. sans-serif;
  24. color: var(--semi-color-text-0);
  25. background-color: var(--semi-color-bg-0);
  26. }
  27. .app-layout {
  28. height: 100vh;
  29. height: 100dvh;
  30. }
  31. .app-sider {
  32. height: calc(100vh - 64px);
  33. height: calc(100dvh - 64px);
  34. }
  35. code {
  36. font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
  37. monospace;
  38. }
  39. /* ==================== 布局相关样式 ==================== */
  40. .semi-layout::-webkit-scrollbar,
  41. .semi-layout-content::-webkit-scrollbar,
  42. .semi-sider::-webkit-scrollbar {
  43. display: none;
  44. width: 0;
  45. height: 0;
  46. }
  47. .semi-layout,
  48. .semi-layout-content,
  49. .semi-sider {
  50. -ms-overflow-style: none;
  51. scrollbar-width: none;
  52. }
  53. /* ==================== 导航和侧边栏样式 ==================== */
  54. .semi-navigation-item {
  55. margin-bottom: 4px !important;
  56. padding: 4px 12px !important;
  57. }
  58. .semi-navigation-sub-title {
  59. padding: 0 !important;
  60. }
  61. .semi-navigation-item-icon {
  62. justify-items: center;
  63. align-items: center;
  64. }
  65. .semi-navigation-item-icon-info {
  66. margin-right: 0;
  67. }
  68. .sidebar-nav .semi-navigation-item-text {
  69. flex: 1;
  70. min-width: 0;
  71. }
  72. .semi-navigation-item,
  73. .semi-navigation-sub-title {
  74. height: 100% !important;
  75. }
  76. .semi-navigation-item-collapsed {
  77. height: 44px !important;
  78. }
  79. #root
  80. > section
  81. > header
  82. > section
  83. > div
  84. > div
  85. > div
  86. > div.semi-navigation-header-list-outer
  87. > div.semi-navigation-list-wrapper
  88. > ul
  89. > div
  90. > a
  91. > li
  92. > span {
  93. font-weight: 600 !important;
  94. }
  95. /* 自定义侧边栏样式 */
  96. .sidebar-container {
  97. height: 100%;
  98. display: flex;
  99. flex-direction: column;
  100. min-height: 0;
  101. transition: width 0.3s ease;
  102. background: var(--semi-color-bg-0);
  103. }
  104. .sidebar-nav {
  105. flex: 1;
  106. width: 100%;
  107. background: var(--semi-color-bg-0);
  108. height: 100%;
  109. overflow-x: hidden;
  110. border-right: none;
  111. overflow-y: auto;
  112. min-height: 0;
  113. -webkit-overflow-scrolling: touch;
  114. scrollbar-width: none;
  115. -ms-overflow-style: none;
  116. }
  117. .sidebar-nav::-webkit-scrollbar {
  118. display: none;
  119. }
  120. /* 侧边栏导航项样式 */
  121. .sidebar-nav-item {
  122. border-radius: 6px;
  123. margin: 3px 8px;
  124. transition: all 0.15s ease;
  125. padding: 8px 12px;
  126. }
  127. .sidebar-nav-item:hover {
  128. background-color: rgba(var(--semi-blue-0), 0.08);
  129. color: var(--semi-color-primary);
  130. }
  131. .sidebar-nav-item-selected {
  132. background-color: rgba(var(--semi-blue-0), 0.12);
  133. color: var(--semi-color-primary);
  134. font-weight: 500;
  135. }
  136. /* 图标容器样式 */
  137. .sidebar-icon-container {
  138. width: 22px;
  139. height: 22px;
  140. display: flex;
  141. align-items: center;
  142. justify-content: center;
  143. margin-right: 10px;
  144. transition: all 0.2s ease;
  145. }
  146. .sidebar-sub-icon-container {
  147. width: 18px;
  148. height: 18px;
  149. display: flex;
  150. align-items: center;
  151. justify-content: center;
  152. margin-right: 10px;
  153. margin-left: 1px;
  154. transition: all 0.2s ease;
  155. }
  156. /* 分割线样式 */
  157. .sidebar-divider {
  158. margin: 4px 8px;
  159. opacity: 0.15;
  160. }
  161. /* 分组标签样式 */
  162. .sidebar-group-label {
  163. padding: 4px 15px 8px;
  164. color: var(--semi-color-text-2);
  165. font-size: 12px;
  166. text-transform: uppercase;
  167. letter-spacing: 0.5px;
  168. opacity: 0.8;
  169. }
  170. /* 底部折叠按钮 */
  171. .sidebar-collapse-button {
  172. display: flex;
  173. justify-content: center;
  174. align-items: center;
  175. padding: 12px;
  176. margin-top: auto;
  177. cursor: pointer;
  178. background-color: var(--semi-color-bg-0);
  179. position: sticky;
  180. bottom: 0;
  181. z-index: 10;
  182. box-shadow: 0 -10px 10px -5px var(--semi-color-bg-0);
  183. backdrop-filter: blur(4px);
  184. border-top: 1px solid rgba(var(--semi-grey-0), 0.08);
  185. }
  186. .sidebar-collapse-button-inner {
  187. width: 28px;
  188. height: 28px;
  189. border-radius: 9999px;
  190. display: flex;
  191. align-items: center;
  192. justify-content: center;
  193. background-color: var(--semi-color-fill-0);
  194. transition: all 0.2s ease;
  195. }
  196. .sidebar-collapse-icon-container {
  197. display: inline-block;
  198. transition: transform 0.3s ease;
  199. }
  200. /* 侧边栏区域容器 */
  201. .sidebar-section {
  202. padding-top: 12px;
  203. }
  204. @media (max-width: 767px) {
  205. .sidebar-container {
  206. background: var(--semi-color-bg-1);
  207. border-right: 1px solid var(--semi-color-border);
  208. }
  209. .sidebar-nav {
  210. background: var(--semi-color-bg-1);
  211. }
  212. .sidebar-collapse-button {
  213. background-color: var(--semi-color-bg-1);
  214. box-shadow: 0 -10px 10px -5px var(--semi-color-bg-1);
  215. }
  216. }
  217. /* ==================== 聊天界面样式 ==================== */
  218. .semi-chat {
  219. padding-top: 0 !important;
  220. padding-bottom: 0 !important;
  221. height: 100%;
  222. max-width: 100% !important;
  223. width: 100% !important;
  224. overflow: hidden !important;
  225. }
  226. .semi-chat-chatBox {
  227. max-width: 100% !important;
  228. overflow: hidden !important;
  229. }
  230. .semi-chat-chatBox-wrap {
  231. max-width: 100% !important;
  232. overflow: hidden !important;
  233. }
  234. .semi-chat-chatBox-content {
  235. min-width: auto;
  236. word-break: break-word;
  237. max-width: 100% !important;
  238. overflow-wrap: break-word !important;
  239. }
  240. .semi-chat-content {
  241. max-width: 100% !important;
  242. overflow: hidden !important;
  243. }
  244. .semi-chat-list {
  245. max-width: 100% !important;
  246. overflow-x: hidden !important;
  247. }
  248. .semi-chat-container {
  249. overflow-x: hidden !important;
  250. }
  251. .semi-chat-chatBox-action {
  252. column-gap: 0 !important;
  253. }
  254. .semi-chat-inputBox-clearButton.semi-button .semi-icon {
  255. font-size: 20px !important;
  256. }
  257. /* 隐藏所有聊天相关区域的滚动条 */
  258. .semi-chat::-webkit-scrollbar,
  259. .semi-chat-chatBox::-webkit-scrollbar,
  260. .semi-chat-chatBox-wrap::-webkit-scrollbar,
  261. .semi-chat-chatBox-content::-webkit-scrollbar,
  262. .semi-chat-content::-webkit-scrollbar,
  263. .semi-chat-list::-webkit-scrollbar,
  264. .semi-chat-container::-webkit-scrollbar {
  265. display: none;
  266. }
  267. .semi-chat,
  268. .semi-chat-chatBox,
  269. .semi-chat-chatBox-wrap,
  270. .semi-chat-chatBox-content,
  271. .semi-chat-content,
  272. .semi-chat-list,
  273. .semi-chat-container {
  274. -ms-overflow-style: none;
  275. scrollbar-width: none;
  276. }
  277. /* ==================== 组件特定样式 ==================== */
  278. /* SelectableButtonGroup */
  279. .sbg-button .semi-button-content {
  280. min-width: 0 !important;
  281. }
  282. .sbg-content {
  283. display: flex;
  284. align-items: center;
  285. gap: 4px;
  286. width: 100%;
  287. min-width: 0;
  288. }
  289. .sbg-ellipsis {
  290. flex: 1;
  291. min-width: 0;
  292. overflow: hidden;
  293. white-space: nowrap;
  294. text-overflow: ellipsis;
  295. }
  296. /* Tabs组件样式 */
  297. .semi-tabs-content {
  298. padding: 0 !important;
  299. height: calc(100% - 40px) !important;
  300. flex: 1 !important;
  301. }
  302. .semi-tabs-content .semi-tabs-pane {
  303. height: 100% !important;
  304. overflow: hidden !important;
  305. }
  306. .semi-tabs-content .semi-tabs-pane > div {
  307. height: 100% !important;
  308. }
  309. /* 表格样式 */
  310. .tableShow {
  311. display: revert;
  312. }
  313. .tableHiddle {
  314. display: none !important;
  315. }
  316. /* 页脚样式 */
  317. .custom-footer {
  318. font-size: 1.1em;
  319. }
  320. /* 卡片内容容器通用样式 */
  321. .card-content-container {
  322. position: relative;
  323. }
  324. .card-content-fade-indicator {
  325. position: absolute;
  326. bottom: 0;
  327. left: 0;
  328. right: 0;
  329. height: 30px;
  330. background: linear-gradient(transparent, var(--semi-color-bg-1));
  331. pointer-events: none;
  332. z-index: 1;
  333. opacity: 0;
  334. transition: opacity 0.3s ease;
  335. }
  336. /* ==================== 调试面板特定样式 ==================== */
  337. .debug-panel .semi-tabs {
  338. height: 100% !important;
  339. display: flex !important;
  340. flex-direction: column !important;
  341. }
  342. .debug-panel .semi-tabs-bar {
  343. flex-shrink: 0 !important;
  344. }
  345. .debug-panel .semi-tabs-content {
  346. flex: 1 !important;
  347. overflow: hidden !important;
  348. }
  349. /* ==================== 滚动条样式统一管理 ==================== */
  350. /* 通用隐藏滚动条工具类 */
  351. .scrollbar-hide {
  352. -ms-overflow-style: none;
  353. /* IE and Edge */
  354. scrollbar-width: none;
  355. /* Firefox */
  356. }
  357. .scrollbar-hide::-webkit-scrollbar {
  358. width: 0 !important;
  359. height: 0 !important;
  360. display: none !important;
  361. /* Chrome, Safari, Opera */
  362. }
  363. /* 表格滚动条样式 */
  364. .semi-table-body::-webkit-scrollbar {
  365. width: 6px;
  366. height: 6px;
  367. }
  368. .semi-table-body::-webkit-scrollbar-thumb {
  369. background: rgba(var(--semi-grey-2), 0.3);
  370. border-radius: 2px;
  371. }
  372. .semi-table-body::-webkit-scrollbar-thumb:hover {
  373. background: rgba(var(--semi-grey-2), 0.5);
  374. }
  375. .semi-table-body::-webkit-scrollbar-track {
  376. background: transparent;
  377. }
  378. /* 侧边抽屉滚动条样式 */
  379. .semi-sidesheet-body::-webkit-scrollbar {
  380. width: 6px;
  381. height: 6px;
  382. }
  383. .semi-sidesheet-body::-webkit-scrollbar-thumb {
  384. background: rgba(var(--semi-grey-2), 0.3);
  385. border-radius: 2px;
  386. }
  387. .semi-sidesheet-body::-webkit-scrollbar-thumb:hover {
  388. background: rgba(var(--semi-grey-2), 0.5);
  389. }
  390. .semi-sidesheet-body::-webkit-scrollbar-track {
  391. background: transparent;
  392. }
  393. /* 隐藏内容区域滚动条 */
  394. .pricing-scroll-hide,
  395. .model-test-scroll,
  396. .card-content-scroll,
  397. .model-settings-scroll,
  398. .thinking-content-scroll,
  399. .custom-request-textarea .semi-input,
  400. .custom-request-textarea textarea,
  401. .notice-content-scroll {
  402. -ms-overflow-style: none;
  403. scrollbar-width: none;
  404. }
  405. .pricing-scroll-hide::-webkit-scrollbar,
  406. .model-test-scroll::-webkit-scrollbar,
  407. .card-content-scroll::-webkit-scrollbar,
  408. .model-settings-scroll::-webkit-scrollbar,
  409. .thinking-content-scroll::-webkit-scrollbar,
  410. .custom-request-textarea .semi-input::-webkit-scrollbar,
  411. .custom-request-textarea textarea::-webkit-scrollbar,
  412. .notice-content-scroll::-webkit-scrollbar {
  413. display: none;
  414. }
  415. /* 图片列表滚动条样式 */
  416. .image-list-scroll::-webkit-scrollbar {
  417. width: 6px;
  418. height: 6px;
  419. }
  420. .image-list-scroll::-webkit-scrollbar-thumb {
  421. background: var(--semi-color-tertiary-light-default);
  422. border-radius: 3px;
  423. }
  424. .image-list-scroll::-webkit-scrollbar-thumb:hover {
  425. background: var(--semi-color-tertiary);
  426. }
  427. .image-list-scroll::-webkit-scrollbar-track {
  428. background: transparent;
  429. }
  430. /* ==================== 同步倍率 - 渠道选择器 ==================== */
  431. .components-transfer-source-item,
  432. .components-transfer-selected-item {
  433. display: flex;
  434. align-items: center;
  435. padding: 8px;
  436. }
  437. .semi-transfer-left-list,
  438. .semi-transfer-right-list {
  439. -ms-overflow-style: none;
  440. scrollbar-width: none;
  441. }
  442. .semi-transfer-left-list::-webkit-scrollbar,
  443. .semi-transfer-right-list::-webkit-scrollbar {
  444. display: none;
  445. }
  446. .components-transfer-source-item .semi-checkbox,
  447. .components-transfer-selected-item .semi-checkbox {
  448. display: flex;
  449. align-items: center;
  450. width: 100%;
  451. }
  452. .components-transfer-source-item .semi-avatar,
  453. .components-transfer-selected-item .semi-avatar {
  454. margin-right: 12px;
  455. flex-shrink: 0;
  456. }
  457. .components-transfer-source-item .info,
  458. .components-transfer-selected-item .info {
  459. flex: 1;
  460. overflow: hidden;
  461. display: flex;
  462. flex-direction: column;
  463. justify-content: center;
  464. }
  465. .components-transfer-source-item .name,
  466. .components-transfer-selected-item .name {
  467. font-weight: 500;
  468. white-space: nowrap;
  469. overflow: hidden;
  470. text-overflow: ellipsis;
  471. }
  472. .components-transfer-source-item .email,
  473. .components-transfer-selected-item .email {
  474. font-size: 12px;
  475. color: var(--semi-color-text-2);
  476. display: flex;
  477. align-items: center;
  478. }
  479. .components-transfer-selected-item .semi-icon-close {
  480. margin-left: 8px;
  481. cursor: pointer;
  482. color: var(--semi-color-text-2);
  483. }
  484. .components-transfer-selected-item .semi-icon-close:hover {
  485. color: var(--semi-color-text-0);
  486. }
  487. /* ==================== 未读通知闪光效果 ==================== */
  488. @keyframes sweep-shine {
  489. 0% {
  490. background-position: 200% 0;
  491. }
  492. 100% {
  493. background-position: -200% 0;
  494. }
  495. }
  496. .shine-text {
  497. background: linear-gradient(
  498. 90deg,
  499. currentColor 0%,
  500. currentColor 40%,
  501. rgba(255, 255, 255, 0.9) 50%,
  502. currentColor 60%,
  503. currentColor 100%
  504. );
  505. background-size: 200% 100%;
  506. -webkit-background-clip: text;
  507. background-clip: text;
  508. -webkit-text-fill-color: transparent;
  509. animation: sweep-shine 4s linear infinite;
  510. }
  511. .dark .shine-text {
  512. background: linear-gradient(
  513. 90deg,
  514. currentColor 0%,
  515. currentColor 40%,
  516. #facc15 50%,
  517. currentColor 60%,
  518. currentColor 100%
  519. );
  520. background-size: 200% 100%;
  521. -webkit-background-clip: text;
  522. background-clip: text;
  523. -webkit-text-fill-color: transparent;
  524. }
  525. /* ==================== ScrollList 定制样式 ==================== */
  526. .semi-scrolllist,
  527. .semi-scrolllist * {
  528. -ms-overflow-style: none;
  529. /* IE, Edge */
  530. scrollbar-width: none;
  531. /* Firefox */
  532. background: transparent !important;
  533. }
  534. .semi-scrolllist::-webkit-scrollbar,
  535. .semi-scrolllist *::-webkit-scrollbar {
  536. width: 0 !important;
  537. height: 0 !important;
  538. display: none !important;
  539. }
  540. .semi-scrolllist-body {
  541. padding: 1px !important;
  542. }
  543. .semi-scrolllist-list-outer {
  544. padding-right: 0 !important;
  545. }
  546. /* ==================== Banner 背景模糊球 ==================== */
  547. .blur-ball {
  548. position: absolute;
  549. width: 360px;
  550. height: 360px;
  551. border-radius: 50%;
  552. filter: blur(120px);
  553. pointer-events: none;
  554. z-index: -1;
  555. }
  556. .blur-ball-indigo {
  557. background: #6366f1;
  558. /* indigo-500 */
  559. top: 40px;
  560. left: 50%;
  561. transform: translateX(-50%);
  562. opacity: 0.5;
  563. }
  564. .blur-ball-teal {
  565. background: #14b8a6;
  566. /* teal-400 */
  567. top: 200px;
  568. left: 30%;
  569. opacity: 0.4;
  570. }
  571. /* 浅色主题下让模糊球更柔和 */
  572. html:not(.dark) .blur-ball-indigo {
  573. opacity: 0.25;
  574. }
  575. html:not(.dark) .blur-ball-teal {
  576. opacity: 0.2;
  577. }
  578. /* ==================== 卡片马卡龙模糊球(类封装) ==================== */
  579. /* 使用方式:给容器加上 with-pastel-balls 类即可,无需在 JSX 中插入额外节点 */
  580. .with-pastel-balls {
  581. position: relative;
  582. overflow: hidden;
  583. /* 默认变量(明亮模式) */
  584. --pb1: #ffd1dc;
  585. /* 粉 */
  586. --pb2: #e5d4ff;
  587. /* 薰衣草 */
  588. --pb3: #d1fff6;
  589. /* 薄荷 */
  590. --pb4: #ffe5d9;
  591. /* 桃 */
  592. --pb-opacity: 0.55;
  593. --pb-blur: 60px;
  594. }
  595. .with-pastel-balls::before {
  596. content: '';
  597. position: absolute;
  598. inset: 0;
  599. pointer-events: none;
  600. z-index: 0;
  601. background: radial-gradient(
  602. circle at -5% -10%,
  603. var(--pb1) 0%,
  604. transparent 60%
  605. ),
  606. radial-gradient(circle at 105% -10%, var(--pb2) 0%, transparent 55%),
  607. radial-gradient(circle at 5% 110%, var(--pb3) 0%, transparent 55%),
  608. radial-gradient(circle at 105% 110%, var(--pb4) 0%, transparent 50%);
  609. filter: blur(var(--pb-blur));
  610. opacity: var(--pb-opacity);
  611. transform: translateZ(0);
  612. }
  613. /* 暗黑模式下更柔和的色彩和透明度 */
  614. html.dark .with-pastel-balls {
  615. /* 使用与明亮模式一致的“刚才那组”马卡龙色,但整体更柔和 */
  616. --pb1: #ffd1dc;
  617. /* 粉 */
  618. --pb2: #e5d4ff;
  619. /* 薰衣草 */
  620. --pb3: #d1fff6;
  621. /* 薄荷 */
  622. --pb4: #ffe5d9;
  623. /* 桃 */
  624. --pb-opacity: 0.36;
  625. --pb-blur: 65px;
  626. }
  627. /* 暗黑模式下用更柔和的混合模式避免突兀的高亮 */
  628. html.dark .with-pastel-balls::before {
  629. mix-blend-mode: screen;
  630. }
  631. /* ==================== 表格卡片滚动设置 ==================== */
  632. .table-scroll-card {
  633. display: flex;
  634. flex-direction: column;
  635. height: calc(100vh - 110px);
  636. max-height: calc(100vh - 110px);
  637. }
  638. .table-scroll-card .semi-card-body {
  639. flex: 1 1 auto;
  640. overflow-y: auto;
  641. }
  642. .table-scroll-card .semi-card-body::-webkit-scrollbar {
  643. width: 6px;
  644. }
  645. .table-scroll-card .semi-card-body::-webkit-scrollbar-thumb {
  646. background: rgba(var(--semi-grey-2), 0.3);
  647. border-radius: 2px;
  648. }
  649. .table-scroll-card .semi-card-body::-webkit-scrollbar-thumb:hover {
  650. background: rgba(var(--semi-grey-2), 0.5);
  651. }
  652. .table-scroll-card .semi-card-body::-webkit-scrollbar-track {
  653. background: transparent;
  654. }
  655. @media (max-width: 767px) {
  656. .table-scroll-card {
  657. height: calc(100vh - 77px);
  658. max-height: calc(100vh - 77px);
  659. }
  660. }
  661. /* ==================== 模型定价页面布局 ==================== */
  662. .pricing-layout {
  663. height: calc(100vh - 60px);
  664. overflow: hidden;
  665. margin-top: 60px;
  666. }
  667. .pricing-sidebar {
  668. width: clamp(280px, 24vw, 520px) !important;
  669. min-width: clamp(280px, 24vw, 520px) !important;
  670. max-width: clamp(280px, 24vw, 520px) !important;
  671. height: calc(100vh - 60px);
  672. background-color: var(--semi-color-bg-0);
  673. overflow: auto;
  674. }
  675. .pricing-content {
  676. height: calc(100vh - 60px);
  677. background-color: var(--semi-color-bg-0);
  678. display: flex;
  679. flex-direction: column;
  680. }
  681. .pricing-pagination-divider {
  682. border-color: var(--semi-color-border);
  683. }
  684. .pricing-content-mobile {
  685. height: 100%;
  686. display: flex;
  687. flex-direction: column;
  688. overflow: auto;
  689. }
  690. .pricing-search-header {
  691. padding: 0.5rem;
  692. background-color: var(--semi-color-bg-0);
  693. flex-shrink: 0;
  694. position: sticky;
  695. top: 0;
  696. z-index: 5;
  697. }
  698. .pricing-view-container {
  699. flex: 1;
  700. overflow: auto;
  701. }
  702. .pricing-view-container-mobile {
  703. flex: 1;
  704. overflow: auto;
  705. min-height: 0;
  706. }
  707. /* ==================== semi-ui 组件自定义样式 ==================== */
  708. .semi-card-header,
  709. .semi-card-body {
  710. padding: 10px !important;
  711. }
  712. /* ==================== 使用日志: channel affinity tag ==================== */
  713. .semi-tag.channel-affinity-tag {
  714. border: 1px solid rgba(var(--semi-cyan-5), 0.35);
  715. background-color: rgba(var(--semi-cyan-5), 0.15);
  716. color: rgba(var(--semi-cyan-9), 1);
  717. cursor: help;
  718. transition:
  719. background-color 120ms ease,
  720. border-color 120ms ease,
  721. box-shadow 120ms ease;
  722. }
  723. .semi-tag.channel-affinity-tag:hover {
  724. background-color: rgba(var(--semi-cyan-5), 0.22);
  725. border-color: rgba(var(--semi-cyan-5), 0.6);
  726. box-shadow: 0 0 0 2px rgba(var(--semi-cyan-5), 0.18);
  727. }
  728. .semi-tag.channel-affinity-tag:active {
  729. background-color: rgba(var(--semi-cyan-5), 0.28);
  730. }
  731. .semi-tag.channel-affinity-tag .channel-affinity-tag-content {
  732. display: inline-flex;
  733. align-items: center;
  734. gap: 0.25rem;
  735. }
  736. /* ==================== 自定义圆角样式 ==================== */
  737. .semi-radio,
  738. .semi-tagInput,
  739. .semi-input-textarea-wrapper,
  740. .semi-navigation-sub-title,
  741. .semi-chat-inputBox-sendButton,
  742. .semi-page-item,
  743. .semi-navigation-item,
  744. .semi-tag-closable,
  745. .semi-input-wrapper,
  746. .semi-tabs-tab-button,
  747. .semi-select,
  748. .semi-button,
  749. .semi-datepicker-range-input {
  750. border-radius: 10px !important;
  751. }