video-shuoshan/web/src/index.css
zyc ffe92f7b15 Initial commit: 即梦视频生成平台
- web/: React + Vite + TypeScript 前端
- backend/: Django + DRF + SimpleJWT 后端
- prototype/: HTML 设计原型
- docs/: PRD 和设计评审文档
- test: 单元测试 + E2E 极限测试
2026-03-13 09:59:33 +08:00

74 lines
1.8 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');
:root {
--color-bg-page: #0a0a0f;
--color-bg-input-bar: #16161e;
--color-border-input-bar: #2a2a38;
--color-primary: #00b8e6;
--color-text-primary: #ffffff;
--color-text-secondary: #8a8a9a;
--color-text-disabled: #4a4a5a;
--color-bg-hover: rgba(255, 255, 255, 0.06);
--color-bg-dropdown: #1e1e2a;
--color-bg-upload: rgba(255, 255, 255, 0.04);
--color-border-upload: #2a2a38;
--color-btn-send-disabled: #3a3a4a;
--color-btn-send-active: #00b8e6;
--color-sidebar-bg: #0e0e14;
/* Phase 3: Admin theme tokens */
--color-bg-sidebar: #111118;
--color-sidebar-active: rgba(255, 255, 255, 0.08);
--color-sidebar-hover: rgba(255, 255, 255, 0.04);
--color-bg-card: #16161e;
--color-border-card: #2a2a38;
--color-success: #00b894;
--color-danger: #e74c3c;
--color-warning: #f39c12;
--radius-card: 12px;
--sidebar-width: 240px;
--sidebar-collapsed-width: 64px;
--radius-input-bar: 20px;
--radius-btn: 8px;
--radius-send-btn: 50%;
--radius-thumbnail: 8px;
--radius-dropdown: 12px;
--input-bar-max-width: 900px;
--send-btn-size: 36px;
--thumbnail-size: 80px;
--toolbar-height: 44px;
--toolbar-btn-height: 32px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body, #root {
height: 100%;
overflow: hidden;
}
body {
font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
background: var(--color-bg-page);
color: var(--color-text-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
::-webkit-scrollbar {
width: 4px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--color-border-input-bar);
border-radius: 4px;
}