index.css 18 KB

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