:root { --font-body: var(--font-inter, Inter), system-ui, sans-serif; --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace; } html, body { width: 100%; min-height: 100%; margin: 0; } .admin-app-shell { min-height: 100dvh; background: #f3f2ee; color: #1d1d1f; font-family: var(--font-body); } .admin-app-shell .ant-layout { background: #f3f2ee; } .admin-app-shell .ant-layout-sider { border-right: 1px solid #d8d6cf; box-shadow: none !important; } .admin-app-shell .ant-layout-header { border-bottom: 1px solid #d8d6cf; box-shadow: none !important; } .admin-app-shell .ant-layout-content { padding: 22px; } .admin-app-shell .ant-menu { border-inline-end: 0 !important; background: transparent !important; } .admin-app-shell .ant-menu-item, .admin-app-shell .ant-menu-submenu-title { margin-inline: 8px; width: calc(100% - 16px); } .admin-app-shell .ant-card { border-color: #d8d6cf; box-shadow: none !important; } .admin-app-shell .ant-card-head { border-bottom-color: #d8d6cf; } .admin-app-shell .ant-card .ant-card { border-radius: 0; } .admin-app-shell .ant-card .ant-card:not(:last-child) { border-bottom: 0; } .admin-app-shell .ant-list-bordered { border-color: #d8d6cf; border-radius: 6px; } .admin-app-shell .ant-table-wrapper .ant-table { background: #fbfaf7; } .admin-app-shell .ant-table-wrapper .ant-table-container { border-radius: 6px; } .admin-app-shell .ant-table-wrapper .ant-table-thead > tr > th { font-size: 12px; font-weight: 650; } .admin-app-shell .ant-table-wrapper .ant-table-cell { line-height: 1.45; } .admin-app-shell .ant-tag { margin-inline-end: 4px; border-radius: 4px; font-weight: 550; } .admin-app-shell .ant-alert { border-radius: 6px; box-shadow: none; } .admin-app-shell .ant-statistic-title { color: #5f5f59; font-size: 12px; } .admin-app-shell .ant-statistic-content { font-size: 22px; font-weight: 650; } .admin-app-shell .ant-typography h1, .admin-app-shell h1.ant-typography { font-family: var(--font-body); font-size: 26px; font-weight: 680; letter-spacing: -.025em; } .admin-app-shell .ant-typography h2, .admin-app-shell h2.ant-typography { font-family: var(--font-body); font-size: 21px; font-weight: 650; letter-spacing: -.015em; } .admin-app-shell .ant-typography h3, .admin-app-shell h3.ant-typography { font-family: var(--font-body); font-size: 17px; font-weight: 650; } .admin-app-shell code { font-family: var(--font-mono); } .admin-text-list { max-width: 680px; color: #5f5f59; line-height: 1.65; white-space: normal; overflow-wrap: anywhere; } .admin-loading { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 12px; background: #f3f2ee; color: #5f5f59; } @media (max-width: 767px) { .admin-app-shell .ant-layout-content { padding: 14px; } /* BUG-1916:手机上左上角的菜单按钮压在页面第一行上,内容区上方留出按钮的高度。 */ .admin-app-shell .ant-layout-content { padding-top: 56px; } } /* 「更新说明」 editor (issue #331): the form and a live preview side by side on wide screens. */ .admin-release-note-editor { display: grid; gap: 16px; } @media (min-width: 900px) { .admin-release-note-editor { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .admin-release-note-preview { position: sticky; top: 0; } } /* #330: the small text preview under the success fields of 「新建兑换码」. */ .admin-redeem-preview { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 12px; margin-bottom: 16px; border: 1px dashed #d9d9d9; border-radius: 8px; } /* BUG-2276 (产品负责人 2026-11-23): antd modal, drawer and image-preview masks use the same frosted veil as the product's .modal-scrim (globals.css): the admin canvas #f3f2ee at 72% plus a 6px blur, not antd's plain 45% black. 原值:antd 默认 colorBgMask;新值:磨砂;原因:弹窗背后的页面看起来太乱。 */ .ant-modal-root .ant-modal-mask, .ant-drawer .ant-drawer-mask, .ant-image-preview-root .ant-image-preview-mask { background: rgba(243, 242, 238, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .ant-modal-root .ant-modal-mask, .ant-drawer .ant-drawer-mask, .ant-image-preview-root .ant-image-preview-mask { background: rgba(243, 242, 238, .92); } } @media (prefers-reduced-transparency: reduce) { .ant-modal-root .ant-modal-mask, .ant-drawer .ant-drawer-mask, .ant-image-preview-root .ant-image-preview-mask { background: rgba(243, 242, 238, .94); -webkit-backdrop-filter: none; backdrop-filter: none; } }