@import './tokens.css'; @import './reset.css'; body { background: #151a25; font-family: var(--font-family-base); } html { scrollbar-color: rgba(123, 135, 148, 0.7) rgba(255, 255, 255, 0.04); scrollbar-width: thin; } *::-webkit-scrollbar { width: 10px; height: 10px; } *::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); } *::-webkit-scrollbar-thumb { background: rgba(123, 135, 148, 0.7); border: 2px solid transparent; border-radius: 999px; background-clip: padding-box; } *::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, 0.9); border: 2px solid transparent; background-clip: padding-box; } *::-webkit-scrollbar-corner { background: transparent; } .page-shell { min-height: 100vh; } .module-page > .main-content > .left-panel.left-panel--with-template { display: flex; flex-direction: column; } .module-page > .main-content > .left-panel.left-panel--with-template > * { flex-shrink: 0; } /* Match the desktop client shell in web_source/brand.html. */ @media (min-width: 1101px) { body { display: flex; flex-direction: column; overflow: hidden; } #app { flex: 1 1 auto; min-height: 0; } #app > .page-shell { height: 100%; min-height: 0; } .module-page { display: flex; flex-direction: column; min-height: 0 !important; overflow: hidden; } .module-page > .top-bar { flex: 0 0 auto; } .module-page > .main-content { flex: 1 1 auto; min-height: 0 !important; height: auto !important; overflow: hidden; } .module-page > .main-content > .left-panel, .module-page > .main-content > .right-panel, .module-page .task-list-wrap { min-height: 0; } .module-page > .main-content > .left-panel, .module-page .task-list-wrap { overscroll-behavior: contain; scrollbar-gutter: stable; } /* 亚马逊工具台外壳:旧功能页中间区(.main-content)由外壳撑满剩余高度 */ .amazon-tool-shell > .tool-shell-body > .main-content { height: 100%; min-height: 0; } } .theme-light { background: var(--color-bg-light); color: var(--color-text-primary); } .theme-dark { background: var(--color-bg-dark); color: var(--color-text-dark); } .theme-dark a { color: inherit; } .theme-dark .el-tabs__item:focus-visible, .theme-dark button:focus-visible, .theme-dark a:focus-visible { outline: 2px solid rgba(96, 165, 250, 0.9); outline-offset: 2px; } /* * 上传 / 解析 / 入队拦截弹窗(src/shared/dispatch-guard-ui.ts)。 * 文案是多行的「问题 + 怎么修」,需要保留换行,并给长文件名留出折行空间。 */ .dispatch-guard-box { max-width: 520px; width: min(520px, calc(100vw - 32px)); } .dispatch-guard-box .el-message-box__message { white-space: pre-line; line-height: 1.65; word-break: break-word; max-height: 50vh; overflow-y: auto; } /* 匹配结果表分页(F9):风格与深色工具页一致,避免 el-pagination 默认浅色冲突 */ .matched-pagination { display: flex; justify-content: flex-end; padding: 8px 4px 0; --el-pagination-bg-color: transparent; --el-pagination-text-color: #c8d2e2; --el-pagination-button-color: #c8d2e2; --el-pagination-button-bg-color: #242424; --el-pagination-button-disabled-color: #6b7789; --el-pagination-button-disabled-bg-color: #1e1e1e; --el-pagination-hover-color: #4da3ff; } .matched-pagination .el-pagination__total { color: #9fb0c8; font-size: 12px; }