Your Name e4959d584f feat: 完善代理商端业务逻辑与前后端框架
主要更新:
- 更新代理商端文档,明确项目由品牌方分配流程
- 新增Brief配置详情页(已配置)设计稿
- 完善工作台紧急待办中品牌新任务功能
- 整理Pencil设计文件中代理商端页面顺序
- 新增后端FastAPI框架及核心API
- 新增前端Next.js页面和组件库
- 添加.gitignore排除构建和缓存文件

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 19:27:31 +08:00

183 lines
3.5 KiB
CSS

/* 秒思智能审核平台 - 全局样式文件 */
/* 严格按照 Pencil 设计文件实现 */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* ========================================
1. CSS Variables (设计令牌) - 来自设计文件
======================================== */
:root {
/* 背景色 */
--bg-page: #0B0B0E;
--bg-card: #16161A;
--bg-elevated: #1A1A1E;
/* 文字色 */
--text-primary: #FAFAF9;
--text-secondary: #6B6B70;
--text-tertiary: #4A4A50;
/* 强调色 */
--accent-indigo: #6366F1;
--accent-green: #32D583;
--accent-coral: #E85A4F;
--accent-amber: #FFB547;
--accent-blue: #007AFF;
/* 边框色 */
--border-subtle: #2A2A2E;
--border-strong: #3A3A40;
/* 圆角 */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
/* 间距 */
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
}
/* ========================================
2. Base Styles (基础样式)
======================================== */
@layer base {
html, body {
height: 100%;
}
html {
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background-color: var(--bg-page);
color: var(--text-primary);
line-height: 1.5;
}
/* 字体工具类 */
.font-display {
font-family: 'Fraunces', serif;
}
.font-primary {
font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
}
/* ========================================
3. Scrollbar Styles (滚动条样式)
======================================== */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: var(--bg-card);
}
::-webkit-scrollbar-thumb {
background: var(--border-subtle);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-tertiary);
}
/* ========================================
4. Animations (动画)
======================================== */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.animate-fade-in {
animation: fadeIn 0.2s ease-out;
}
.animate-slide-up {
animation: slideUp 0.3s ease-out;
}
.animate-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.animate-spin {
animation: spin 1s linear infinite;
}
/* ========================================
5. Utility Classes (工具类)
======================================== */
.truncate-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.truncate-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Safe area for iOS */
.safe-area-bottom {
padding-bottom: env(safe-area-inset-bottom, 0);
}
.safe-area-top {
padding-top: env(safe-area-inset-top, 0);
}
/* 底部导航渐变背景 */
.bottom-nav-gradient {
background: linear-gradient(180deg, rgba(11, 11, 14, 0) 0%, #0B0B0E 50%);
}
/* 卡片阴影 */
.card-shadow {
box-shadow: 0px 4px 16px -4px rgba(0, 0, 0, 0.25);
}
/* 浮动导航阴影 */
.nav-shadow {
box-shadow: 0px -4px 24px 0px rgba(0, 0, 0, 0.25);
}