| |
| @layer tailwind-base, semi, tailwind-components, tailwind-utils; |
|
|
| @layer tailwind-base { |
| @tailwind base; |
| } |
|
|
| @layer tailwind-components { |
| @tailwind components; |
| } |
|
|
| @layer tailwind-utils { |
| @tailwind utilities; |
| } |
|
|
| |
| :root { |
| --sidebar-width: 180px; |
| --sidebar-width-collapsed: 60px; |
| --sidebar-current-width: var(--sidebar-width); |
| } |
|
|
| body.sidebar-collapsed { |
| --sidebar-current-width: var(--sidebar-width-collapsed); |
| } |
|
|
| body { |
| font-family: Lato, 'Helvetica Neue', Arial, Helvetica, 'Microsoft YaHei', |
| sans-serif; |
| color: var(--semi-color-text-0); |
| background-color: var(--semi-color-bg-0); |
| } |
|
|
| code { |
| font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', |
| monospace; |
| } |
|
|
| |
| .semi-layout::-webkit-scrollbar, |
| .semi-layout-content::-webkit-scrollbar, |
| .semi-sider::-webkit-scrollbar { |
| display: none; |
| width: 0; |
| height: 0; |
| } |
|
|
| .semi-layout, |
| .semi-layout-content, |
| .semi-sider { |
| -ms-overflow-style: none; |
| scrollbar-width: none; |
| } |
|
|
| |
| .semi-navigation-item { |
| margin-bottom: 4px !important; |
| padding: 4px 12px !important; |
| } |
|
|
| .semi-navigation-sub-title { |
| padding: 0 !important; |
| } |
|
|
| .semi-navigation-item-icon { |
| justify-items: center; |
| align-items: center; |
| } |
|
|
| .semi-navigation-item-icon-info { |
| margin-right: 0; |
| } |
|
|
| .sidebar-nav .semi-navigation-item-text { |
| flex: 1; |
| min-width: 0; |
| } |
|
|
| .semi-navigation-item, |
| .semi-navigation-sub-title { |
| height: 100% !important; |
| } |
|
|
| .semi-navigation-item-collapsed { |
| height: 44px !important; |
| } |
|
|
| #root |
| > section |
| > header |
| > section |
| > div |
| > div |
| > div |
| > div.semi-navigation-header-list-outer |
| > div.semi-navigation-list-wrapper |
| > ul |
| > div |
| > a |
| > li |
| > span { |
| font-weight: 600 !important; |
| } |
|
|
| |
| .sidebar-container { |
| height: 100%; |
| display: flex; |
| flex-direction: column; |
| transition: width 0.3s ease; |
| } |
|
|
| .sidebar-nav { |
| flex: 1; |
| width: 100%; |
| background: var(--semi-color-bg-0); |
| height: 100%; |
| overflow: hidden; |
| border-right: none; |
| overflow-y: auto; |
| scrollbar-width: none; |
| -ms-overflow-style: none; |
| } |
|
|
| .sidebar-nav::-webkit-scrollbar { |
| display: none; |
| } |
|
|
| |
| .sidebar-nav-item { |
| border-radius: 6px; |
| margin: 3px 8px; |
| transition: all 0.15s ease; |
| padding: 8px 12px; |
| } |
|
|
| .sidebar-nav-item:hover { |
| background-color: rgba(var(--semi-blue-0), 0.08); |
| color: var(--semi-color-primary); |
| } |
|
|
| .sidebar-nav-item-selected { |
| background-color: rgba(var(--semi-blue-0), 0.12); |
| color: var(--semi-color-primary); |
| font-weight: 500; |
| } |
|
|
| |
| .sidebar-icon-container { |
| width: 22px; |
| height: 22px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| margin-right: 10px; |
| transition: all 0.2s ease; |
| } |
|
|
| .sidebar-sub-icon-container { |
| width: 18px; |
| height: 18px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| margin-right: 10px; |
| margin-left: 1px; |
| transition: all 0.2s ease; |
| } |
|
|
| |
| .sidebar-divider { |
| margin: 4px 8px; |
| opacity: 0.15; |
| } |
|
|
| |
| .sidebar-group-label { |
| padding: 4px 15px 8px; |
| color: var(--semi-color-text-2); |
| font-size: 12px; |
| text-transform: uppercase; |
| letter-spacing: 0.5px; |
| opacity: 0.8; |
| } |
|
|
| |
| .sidebar-collapse-button { |
| display: flex; |
| justify-content: center; |
| align-items: center; |
| padding: 12px; |
| margin-top: auto; |
| cursor: pointer; |
| background-color: var(--semi-color-bg-0); |
| position: sticky; |
| bottom: 0; |
| z-index: 10; |
| box-shadow: 0 -10px 10px -5px var(--semi-color-bg-0); |
| backdrop-filter: blur(4px); |
| border-top: 1px solid rgba(var(--semi-grey-0), 0.08); |
| } |
|
|
| .sidebar-collapse-button-inner { |
| width: 28px; |
| height: 28px; |
| border-radius: 9999px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| background-color: var(--semi-color-fill-0); |
| transition: all 0.2s ease; |
| } |
|
|
| .sidebar-collapse-icon-container { |
| display: inline-block; |
| transition: transform 0.3s ease; |
| } |
|
|
| |
| .sidebar-section { |
| padding-top: 12px; |
| } |
|
|
| |
| .semi-chat { |
| padding-top: 0 !important; |
| padding-bottom: 0 !important; |
| height: 100%; |
| max-width: 100% !important; |
| width: 100% !important; |
| overflow: hidden !important; |
| } |
|
|
| .semi-chat-chatBox { |
| max-width: 100% !important; |
| overflow: hidden !important; |
| } |
|
|
| .semi-chat-chatBox-wrap { |
| max-width: 100% !important; |
| overflow: hidden !important; |
| } |
|
|
| .semi-chat-chatBox-content { |
| min-width: auto; |
| word-break: break-word; |
| max-width: 100% !important; |
| overflow-wrap: break-word !important; |
| } |
|
|
| .semi-chat-content { |
| max-width: 100% !important; |
| overflow: hidden !important; |
| } |
|
|
| .semi-chat-list { |
| max-width: 100% !important; |
| overflow-x: hidden !important; |
| } |
|
|
| .semi-chat-container { |
| overflow-x: hidden !important; |
| } |
|
|
| .semi-chat-chatBox-action { |
| column-gap: 0 !important; |
| } |
|
|
| .semi-chat-inputBox-clearButton.semi-button .semi-icon { |
| font-size: 20px !important; |
| } |
|
|
| |
| .semi-chat::-webkit-scrollbar, |
| .semi-chat-chatBox::-webkit-scrollbar, |
| .semi-chat-chatBox-wrap::-webkit-scrollbar, |
| .semi-chat-chatBox-content::-webkit-scrollbar, |
| .semi-chat-content::-webkit-scrollbar, |
| .semi-chat-list::-webkit-scrollbar, |
| .semi-chat-container::-webkit-scrollbar { |
| display: none; |
| } |
|
|
| .semi-chat, |
| .semi-chat-chatBox, |
| .semi-chat-chatBox-wrap, |
| .semi-chat-chatBox-content, |
| .semi-chat-content, |
| .semi-chat-list, |
| .semi-chat-container { |
| -ms-overflow-style: none; |
| scrollbar-width: none; |
| } |
|
|
| |
| |
| .sbg-button .semi-button-content { |
| min-width: 0 !important; |
| } |
|
|
| .sbg-content { |
| display: flex; |
| align-items: center; |
| gap: 4px; |
| width: 100%; |
| min-width: 0; |
| } |
|
|
| .sbg-ellipsis { |
| flex: 1; |
| min-width: 0; |
| overflow: hidden; |
| white-space: nowrap; |
| text-overflow: ellipsis; |
| } |
|
|
| |
| .semi-tabs-content { |
| padding: 0 !important; |
| height: calc(100% - 40px) !important; |
| flex: 1 !important; |
| } |
|
|
| .semi-tabs-content .semi-tabs-pane { |
| height: 100% !important; |
| overflow: hidden !important; |
| } |
|
|
| .semi-tabs-content .semi-tabs-pane > div { |
| height: 100% !important; |
| } |
|
|
| |
| .tableShow { |
| display: revert; |
| } |
|
|
| .tableHiddle { |
| display: none !important; |
| } |
|
|
| |
| .custom-footer { |
| font-size: 1.1em; |
| } |
|
|
| |
| .card-content-container { |
| position: relative; |
| } |
|
|
| .card-content-fade-indicator { |
| position: absolute; |
| bottom: 0; |
| left: 0; |
| right: 0; |
| height: 30px; |
| background: linear-gradient(transparent, var(--semi-color-bg-1)); |
| pointer-events: none; |
| z-index: 1; |
| opacity: 0; |
| transition: opacity 0.3s ease; |
| } |
|
|
| |
| .debug-panel .semi-tabs { |
| height: 100% !important; |
| display: flex !important; |
| flex-direction: column !important; |
| } |
|
|
| .debug-panel .semi-tabs-bar { |
| flex-shrink: 0 !important; |
| } |
|
|
| .debug-panel .semi-tabs-content { |
| flex: 1 !important; |
| overflow: hidden !important; |
| } |
|
|
| |
| |
| .scrollbar-hide { |
| -ms-overflow-style: none; |
| |
| scrollbar-width: none; |
| |
| } |
|
|
| .scrollbar-hide::-webkit-scrollbar { |
| width: 0 !important; |
| height: 0 !important; |
| display: none !important; |
| |
| } |
|
|
| |
| .semi-table-body::-webkit-scrollbar { |
| width: 6px; |
| height: 6px; |
| } |
|
|
| .semi-table-body::-webkit-scrollbar-thumb { |
| background: rgba(var(--semi-grey-2), 0.3); |
| border-radius: 2px; |
| } |
|
|
| .semi-table-body::-webkit-scrollbar-thumb:hover { |
| background: rgba(var(--semi-grey-2), 0.5); |
| } |
|
|
| .semi-table-body::-webkit-scrollbar-track { |
| background: transparent; |
| } |
|
|
| |
| .semi-sidesheet-body::-webkit-scrollbar { |
| width: 6px; |
| height: 6px; |
| } |
|
|
| .semi-sidesheet-body::-webkit-scrollbar-thumb { |
| background: rgba(var(--semi-grey-2), 0.3); |
| border-radius: 2px; |
| } |
|
|
| .semi-sidesheet-body::-webkit-scrollbar-thumb:hover { |
| background: rgba(var(--semi-grey-2), 0.5); |
| } |
|
|
| .semi-sidesheet-body::-webkit-scrollbar-track { |
| background: transparent; |
| } |
|
|
| |
| .pricing-scroll-hide, |
| .model-test-scroll, |
| .card-content-scroll, |
| .model-settings-scroll, |
| .thinking-content-scroll, |
| .custom-request-textarea .semi-input, |
| .custom-request-textarea textarea, |
| .notice-content-scroll { |
| -ms-overflow-style: none; |
| scrollbar-width: none; |
| } |
|
|
| .pricing-scroll-hide::-webkit-scrollbar, |
| .model-test-scroll::-webkit-scrollbar, |
| .card-content-scroll::-webkit-scrollbar, |
| .model-settings-scroll::-webkit-scrollbar, |
| .thinking-content-scroll::-webkit-scrollbar, |
| .custom-request-textarea .semi-input::-webkit-scrollbar, |
| .custom-request-textarea textarea::-webkit-scrollbar, |
| .notice-content-scroll::-webkit-scrollbar { |
| display: none; |
| } |
|
|
| |
| .image-list-scroll::-webkit-scrollbar { |
| width: 6px; |
| height: 6px; |
| } |
|
|
| .image-list-scroll::-webkit-scrollbar-thumb { |
| background: var(--semi-color-tertiary-light-default); |
| border-radius: 3px; |
| } |
|
|
| .image-list-scroll::-webkit-scrollbar-thumb:hover { |
| background: var(--semi-color-tertiary); |
| } |
|
|
| .image-list-scroll::-webkit-scrollbar-track { |
| background: transparent; |
| } |
|
|
| |
|
|
| .components-transfer-source-item, |
| .components-transfer-selected-item { |
| display: flex; |
| align-items: center; |
| padding: 8px; |
| } |
|
|
| .semi-transfer-left-list, |
| .semi-transfer-right-list { |
| -ms-overflow-style: none; |
| scrollbar-width: none; |
| } |
|
|
| .semi-transfer-left-list::-webkit-scrollbar, |
| .semi-transfer-right-list::-webkit-scrollbar { |
| display: none; |
| } |
|
|
| .components-transfer-source-item .semi-checkbox, |
| .components-transfer-selected-item .semi-checkbox { |
| display: flex; |
| align-items: center; |
| width: 100%; |
| } |
|
|
| .components-transfer-source-item .semi-avatar, |
| .components-transfer-selected-item .semi-avatar { |
| margin-right: 12px; |
| flex-shrink: 0; |
| } |
|
|
| .components-transfer-source-item .info, |
| .components-transfer-selected-item .info { |
| flex: 1; |
| overflow: hidden; |
| display: flex; |
| flex-direction: column; |
| justify-content: center; |
| } |
|
|
| .components-transfer-source-item .name, |
| .components-transfer-selected-item .name { |
| font-weight: 500; |
| white-space: nowrap; |
| overflow: hidden; |
| text-overflow: ellipsis; |
| } |
|
|
| .components-transfer-source-item .email, |
| .components-transfer-selected-item .email { |
| font-size: 12px; |
| color: var(--semi-color-text-2); |
| display: flex; |
| align-items: center; |
| } |
|
|
| .components-transfer-selected-item .semi-icon-close { |
| margin-left: 8px; |
| cursor: pointer; |
| color: var(--semi-color-text-2); |
| } |
|
|
| .components-transfer-selected-item .semi-icon-close:hover { |
| color: var(--semi-color-text-0); |
| } |
|
|
| |
| @keyframes sweep-shine { |
| 0% { |
| background-position: 200% 0; |
| } |
|
|
| 100% { |
| background-position: -200% 0; |
| } |
| } |
|
|
| .shine-text { |
| background: linear-gradient( |
| 90deg, |
| currentColor 0%, |
| currentColor 40%, |
| rgba(255, 255, 255, 0.9) 50%, |
| currentColor 60%, |
| currentColor 100% |
| ); |
| background-size: 200% 100%; |
| -webkit-background-clip: text; |
| background-clip: text; |
| -webkit-text-fill-color: transparent; |
| animation: sweep-shine 4s linear infinite; |
| } |
|
|
| .dark .shine-text { |
| background: linear-gradient( |
| 90deg, |
| currentColor 0%, |
| currentColor 40%, |
| #facc15 50%, |
| currentColor 60%, |
| currentColor 100% |
| ); |
| background-size: 200% 100%; |
| -webkit-background-clip: text; |
| background-clip: text; |
| -webkit-text-fill-color: transparent; |
| } |
|
|
| |
| .semi-scrolllist, |
| .semi-scrolllist * { |
| -ms-overflow-style: none; |
| |
| scrollbar-width: none; |
| |
| background: transparent !important; |
| } |
|
|
| .semi-scrolllist::-webkit-scrollbar, |
| .semi-scrolllist *::-webkit-scrollbar { |
| width: 0 !important; |
| height: 0 !important; |
| display: none !important; |
| } |
|
|
| .semi-scrolllist-body { |
| padding: 1px !important; |
| } |
|
|
| .semi-scrolllist-list-outer { |
| padding-right: 0 !important; |
| } |
|
|
| |
| .blur-ball { |
| position: absolute; |
| width: 360px; |
| height: 360px; |
| border-radius: 50%; |
| filter: blur(120px); |
| pointer-events: none; |
| z-index: -1; |
| } |
|
|
| .blur-ball-indigo { |
| background: #6366f1; |
| |
| top: 40px; |
| left: 50%; |
| transform: translateX(-50%); |
| opacity: 0.5; |
| } |
|
|
| .blur-ball-teal { |
| background: #14b8a6; |
| |
| top: 200px; |
| left: 30%; |
| opacity: 0.4; |
| } |
|
|
| |
| html:not(.dark) .blur-ball-indigo { |
| opacity: 0.25; |
| } |
|
|
| html:not(.dark) .blur-ball-teal { |
| opacity: 0.2; |
| } |
|
|
| |
| |
| .with-pastel-balls { |
| position: relative; |
| overflow: hidden; |
| |
| --pb1: #ffd1dc; |
| |
| --pb2: #e5d4ff; |
| |
| --pb3: #d1fff6; |
| |
| --pb4: #ffe5d9; |
| |
| --pb-opacity: 0.55; |
| --pb-blur: 60px; |
| } |
|
|
| .with-pastel-balls::before { |
| content: ''; |
| position: absolute; |
| inset: 0; |
| pointer-events: none; |
| z-index: 0; |
| background: radial-gradient( |
| circle at -5% -10%, |
| var(--pb1) 0%, |
| transparent 60% |
| ), |
| radial-gradient(circle at 105% -10%, var(--pb2) 0%, transparent 55%), |
| radial-gradient(circle at 5% 110%, var(--pb3) 0%, transparent 55%), |
| radial-gradient(circle at 105% 110%, var(--pb4) 0%, transparent 50%); |
| filter: blur(var(--pb-blur)); |
| opacity: var(--pb-opacity); |
| transform: translateZ(0); |
| } |
|
|
| |
| html.dark .with-pastel-balls { |
| |
| --pb1: #ffd1dc; |
| |
| --pb2: #e5d4ff; |
| |
| --pb3: #d1fff6; |
| |
| --pb4: #ffe5d9; |
| |
| --pb-opacity: 0.36; |
| --pb-blur: 65px; |
| } |
|
|
| |
| html.dark .with-pastel-balls::before { |
| mix-blend-mode: screen; |
| } |
|
|
| |
| .table-scroll-card { |
| display: flex; |
| flex-direction: column; |
| height: calc(100vh - 110px); |
| max-height: calc(100vh - 110px); |
| } |
|
|
| .table-scroll-card .semi-card-body { |
| flex: 1 1 auto; |
| overflow-y: auto; |
| } |
|
|
| .table-scroll-card .semi-card-body::-webkit-scrollbar { |
| width: 6px; |
| } |
|
|
| .table-scroll-card .semi-card-body::-webkit-scrollbar-thumb { |
| background: rgba(var(--semi-grey-2), 0.3); |
| border-radius: 2px; |
| } |
|
|
| .table-scroll-card .semi-card-body::-webkit-scrollbar-thumb:hover { |
| background: rgba(var(--semi-grey-2), 0.5); |
| } |
|
|
| .table-scroll-card .semi-card-body::-webkit-scrollbar-track { |
| background: transparent; |
| } |
|
|
| @media (max-width: 767px) { |
| .table-scroll-card { |
| height: calc(100vh - 77px); |
| max-height: calc(100vh - 77px); |
| } |
| } |
|
|
| |
| .pricing-layout { |
| height: calc(100vh - 60px); |
| overflow: hidden; |
| margin-top: 60px; |
| } |
|
|
| .pricing-sidebar { |
| width: clamp(280px, 24vw, 520px) !important; |
| min-width: clamp(280px, 24vw, 520px) !important; |
| max-width: clamp(280px, 24vw, 520px) !important; |
| height: calc(100vh - 60px); |
| background-color: var(--semi-color-bg-0); |
| overflow: auto; |
| } |
|
|
| .pricing-content { |
| height: calc(100vh - 60px); |
| background-color: var(--semi-color-bg-0); |
| display: flex; |
| flex-direction: column; |
| } |
|
|
| .pricing-pagination-divider { |
| border-color: var(--semi-color-border); |
| } |
|
|
| .pricing-content-mobile { |
| height: 100%; |
| display: flex; |
| flex-direction: column; |
| overflow: auto; |
| } |
|
|
| .pricing-search-header { |
| padding: 0.5rem; |
| background-color: var(--semi-color-bg-0); |
| flex-shrink: 0; |
| position: sticky; |
| top: 0; |
| z-index: 5; |
| } |
|
|
| .pricing-view-container { |
| flex: 1; |
| overflow: auto; |
| } |
|
|
| .pricing-view-container-mobile { |
| flex: 1; |
| overflow: auto; |
| min-height: 0; |
| } |
|
|
| |
| .semi-card-header, |
| .semi-card-body { |
| padding: 10px !important; |
| } |
|
|
| |
| .semi-radio, |
| .semi-tagInput, |
| .semi-input-textarea-wrapper, |
| .semi-navigation-sub-title, |
| .semi-chat-inputBox-sendButton, |
| .semi-page-item, |
| .semi-navigation-item, |
| .semi-tag-closable, |
| .semi-input-wrapper, |
| .semi-tabs-tab-button, |
| .semi-select, |
| .semi-button, |
| .semi-datepicker-range-input { |
| border-radius: 10px !important; |
| } |
|
|