5dbde7e176
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Waiting to run
Tests / test (pull_request) Waiting to run
Tests / lint (pull_request) Waiting to run
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
223 lines
4.3 KiB
CSS
223 lines
4.3 KiB
CSS
/**
|
|
* V21 设计系统 - 全局样式
|
|
*/
|
|
:root {
|
|
/* 主色调 */
|
|
--primary-color: #4f46e5;
|
|
--primary-hover: #6366f1;
|
|
--primary-active: #4338ca;
|
|
--primary-soft: #eef2ff;
|
|
|
|
/* 状态色 */
|
|
--success-color: #10b981;
|
|
--warning-color: #f59e0b;
|
|
--error-color: #ef4444;
|
|
--info-color: #4f46e5;
|
|
|
|
/* 文字色 */
|
|
--text-primary: #0f172a;
|
|
--text-secondary: #64748b;
|
|
--text-disabled: #bfbfbf;
|
|
|
|
/* 背景色 */
|
|
--bg-primary: #f8fafc;
|
|
--bg-secondary: #fafafa;
|
|
--bg-tertiary: #f5f5f5;
|
|
|
|
/* V21 设计令牌 */
|
|
--indigo: #4f46e5;
|
|
--indigo-dark: #4338ca;
|
|
--indigo-soft: #eef2ff;
|
|
--gradient-primary: linear-gradient(135deg, #6366f1, #4f46e5);
|
|
--slate: #0f172a;
|
|
--muted: #64748b;
|
|
--line: #e2e8f0;
|
|
--bg: #f8fafc;
|
|
--green: #10b981;
|
|
--amber: #f59e0b;
|
|
--red: #ef4444;
|
|
|
|
/* 边框色 */
|
|
--border-color: #d9d9d9;
|
|
--divider-color: #f0f0f0;
|
|
|
|
/* 间距 */
|
|
--space-xs: 4px;
|
|
--space-sm: 8px;
|
|
--space-md: 16px;
|
|
--space-lg: 24px;
|
|
--space-xl: 32px;
|
|
|
|
/* 圆角 - V21 大圆角 */
|
|
--radius-sm: 12px;
|
|
--radius-md: 16px;
|
|
--radius-lg: 22px;
|
|
--radius-xl: 28px;
|
|
|
|
/* 阴影 - V21 柔和大阴影 */
|
|
--shadow-sm: 0 10px 30px rgba(15,23,42,0.06);
|
|
--shadow-md: 0 20px 58px rgba(15,23,42,0.10);
|
|
--shadow-lg: 0 24px 70px rgba(15,23,42,0.09);
|
|
--shadow-hover: 0 26px 64px rgba(15,23,42,0.14);
|
|
}
|
|
|
|
/**
|
|
* V21 按钮样式
|
|
*/
|
|
.btn.primary,
|
|
.ant-btn-primary {
|
|
background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
|
|
color: white !important;
|
|
border-radius: 14px !important;
|
|
font-weight: 850 !important;
|
|
box-shadow: 0 14px 26px rgba(79,70,229,0.22) !important;
|
|
border: none !important;
|
|
padding: 12px 22px !important;
|
|
transition: all 0.2s !important;
|
|
}
|
|
|
|
.btn.primary:hover,
|
|
.ant-btn-primary:hover {
|
|
box-shadow: 0 18px 34px rgba(79,70,229,0.28) !important;
|
|
transform: translateY(-1px);
|
|
background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
|
|
}
|
|
|
|
.btn.ghost,
|
|
.ant-btn-default {
|
|
background: white !important;
|
|
border: 1px solid #dbe3ef !important;
|
|
border-radius: 14px !important;
|
|
font-weight: 850 !important;
|
|
padding: 12px 22px !important;
|
|
transition: all 0.2s !important;
|
|
}
|
|
|
|
.btn.ghost:hover,
|
|
.ant-btn-default:hover {
|
|
border-color: #4f46e5 !important;
|
|
color: #4f46e5 !important;
|
|
}
|
|
|
|
/**
|
|
* V21 卡片样式
|
|
*/
|
|
.xx-card {
|
|
background: rgba(255,255,255,0.94);
|
|
border: 1px solid rgba(226,232,240,0.95);
|
|
border-radius: 28px;
|
|
box-shadow: 0 24px 70px rgba(15,23,42,0.09);
|
|
padding: 28px;
|
|
transition: all 0.25s;
|
|
}
|
|
|
|
.xx-card:hover {
|
|
box-shadow: 0 26px 64px rgba(15,23,42,0.14);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/**
|
|
* V21 背景装饰
|
|
*/
|
|
body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background:
|
|
radial-gradient(circle at 18% 20%, rgba(79,70,229,0.11), transparent 30%),
|
|
radial-gradient(circle at 86% 14%, rgba(16,185,129,0.08), transparent 28%),
|
|
radial-gradient(circle at 48% 80%, rgba(99,102,241,0.08), transparent 34%),
|
|
#f8fafc;
|
|
}
|
|
|
|
body::after {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
pointer-events: none;
|
|
background-image: radial-gradient(circle, rgba(79,70,229,0.1) 1px, transparent 1px);
|
|
background-size: 38px 38px;
|
|
opacity: 0.32;
|
|
}
|
|
|
|
/* 全局重置 */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/* 滚动条 */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
/* 工具类 */
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.text-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.mt-sm {
|
|
margin-top: var(--space-sm);
|
|
}
|
|
|
|
.mt-md {
|
|
margin-top: var(--space-md);
|
|
}
|
|
|
|
.mt-lg {
|
|
margin-top: var(--space-lg);
|
|
}
|
|
|
|
.mb-sm {
|
|
margin-bottom: var(--space-sm);
|
|
}
|
|
|
|
.mb-md {
|
|
margin-bottom: var(--space-md);
|
|
}
|
|
|
|
.mb-lg {
|
|
margin-bottom: var(--space-lg);
|
|
}
|
|
|
|
/* 卡片悬浮效果 */
|
|
.card-hover {
|
|
transition: all 0.3s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card-hover:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
/* 选中态 */
|
|
.selected-plan {
|
|
border: 2px solid var(--primary-color) !important;
|
|
box-shadow: var(--shadow-md);
|
|
}
|