feat(web): 从 Notion 风格切换到 Pinterest 设计系统
- 替换 DESIGN.md 为 Pinterest 设计规格(暖色调、红色主题、大圆角) - 更新 CSS 变量:主色 #0075de→#e60023, 圆角 4px→16px, 背景 #f6f5f4→#f6f6f3 - 更新 Ant Design 主题令牌:更大圆角、Pinterest 色板、更大触控目标 - 批量更新 24 个页面/组件文件中的硬编码颜色值 - 暗色模式同步适配 Pinterest 暖色调暗色方案
This commit is contained in:
@@ -2,63 +2,63 @@
|
||||
|
||||
/* ====================================================================
|
||||
* ERP Platform — Design System Tokens & Global Styles
|
||||
* Inspired by Notion: warm minimalism, whisper borders, soft elevation
|
||||
* Inspired by Pinterest: warm discovery, red accent, generous radius
|
||||
* ==================================================================== */
|
||||
|
||||
/* --- Design Tokens (CSS Custom Properties) --- */
|
||||
:root {
|
||||
/* Primary Palette — Notion Blue */
|
||||
--erp-primary: #0075de;
|
||||
--erp-primary-hover: #005bab;
|
||||
--erp-primary-active: #004a8c;
|
||||
--erp-primary-light: #f2f9ff;
|
||||
--erp-primary-light-hover: #e4f1ff;
|
||||
--erp-primary-bg-subtle: #f2f9ff;
|
||||
/* Primary Palette — Pinterest Red */
|
||||
--erp-primary: #e60023;
|
||||
--erp-primary-hover: #ad081b;
|
||||
--erp-primary-active: #9e0a0a;
|
||||
--erp-primary-light: #fef0f0;
|
||||
--erp-primary-light-hover: #fddbdb;
|
||||
--erp-primary-bg-subtle: #fef0f0;
|
||||
|
||||
/* Semantic Colors — Notion warm tones */
|
||||
--erp-success: #1aae39;
|
||||
/* Semantic Colors — Pinterest warm tones */
|
||||
--erp-success: #103c25;
|
||||
--erp-success-bg: #ecfdf5;
|
||||
--erp-warning: #dd5b00;
|
||||
--erp-warning: #b56e1a;
|
||||
--erp-warning-bg: #fff7ed;
|
||||
--erp-error: #e5534b;
|
||||
--erp-error: #9e0a0a;
|
||||
--erp-error-bg: #fef2f2;
|
||||
--erp-info: #0075de;
|
||||
--erp-info-bg: #f2f9ff;
|
||||
--erp-info: #435ee5;
|
||||
--erp-info-bg: #eef1fd;
|
||||
|
||||
/* Neutral Palette — Warm neutrals with yellow-brown undertones */
|
||||
--erp-bg-page: #f6f5f4;
|
||||
/* Neutral Palette — Warm neutrals with olive/sand undertones */
|
||||
--erp-bg-page: #f6f6f3;
|
||||
--erp-bg-container: #ffffff;
|
||||
--erp-bg-elevated: #ffffff;
|
||||
--erp-bg-spotlight: #fafaf9;
|
||||
--erp-bg-spotlight: #fafaf8;
|
||||
--erp-bg-sidebar: #ffffff;
|
||||
--erp-bg-sidebar-hover: #f6f5f4;
|
||||
--erp-bg-sidebar-active: #f2f9ff;
|
||||
--erp-bg-sidebar-hover: #f6f6f3;
|
||||
--erp-bg-sidebar-active: #fef0f0;
|
||||
|
||||
/* Text Colors — Warm near-black */
|
||||
--erp-text-primary: rgba(0, 0, 0, 0.95);
|
||||
--erp-text-secondary: #615d59;
|
||||
--erp-text-tertiary: #a39e98;
|
||||
--erp-text-primary: #211922;
|
||||
--erp-text-secondary: #62625b;
|
||||
--erp-text-tertiary: #91918c;
|
||||
--erp-text-inverse: #ffffff;
|
||||
--erp-text-sidebar: #615d59;
|
||||
--erp-text-sidebar-active: #0075de;
|
||||
--erp-text-sidebar: #62625b;
|
||||
--erp-text-sidebar-active: #e60023;
|
||||
|
||||
/* Border Colors — Whisper borders */
|
||||
--erp-border: rgba(0, 0, 0, 0.1);
|
||||
--erp-border-light: rgba(0, 0, 0, 0.06);
|
||||
--erp-border-dark: rgba(0, 0, 0, 0.15);
|
||||
--erp-border: #e5e5e0;
|
||||
--erp-border-light: #e0e0d9;
|
||||
--erp-border-dark: #c8c8c1;
|
||||
|
||||
/* Shadows — Multi-layer, ultra-subtle */
|
||||
--erp-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.01), 0 0.175px 1.04px rgba(0, 0, 0, 0.01);
|
||||
--erp-shadow-sm: rgba(0, 0, 0, 0.04) 0px 4px 18px, rgba(0, 0, 0, 0.027) 0px 2.025px 7.85px, rgba(0, 0, 0, 0.02) 0px 0.8px 2.93px, rgba(0, 0, 0, 0.01) 0px 0.175px 1.04px;
|
||||
--erp-shadow-md: rgba(0, 0, 0, 0.01) 0px 1px 3px, rgba(0, 0, 0, 0.02) 0px 3px 7px, rgba(0, 0, 0, 0.02) 0px 7px 15px, rgba(0, 0, 0, 0.04) 0px 14px 28px, rgba(0, 0, 0, 0.05) 0px 23px 52px;
|
||||
--erp-shadow-lg: rgba(0, 0, 0, 0.01) 0px 2px 4px, rgba(0, 0, 0, 0.02) 0px 5px 12px, rgba(0, 0, 0, 0.03) 0px 10px 24px, rgba(0, 0, 0, 0.04) 0px 18px 40px, rgba(0, 0, 0, 0.05) 0px 30px 64px;
|
||||
--erp-shadow-xl: rgba(0, 0, 0, 0.01) 0px 3px 6px, rgba(0, 0, 0, 0.02) 0px 8px 16px, rgba(0, 0, 0, 0.03) 0px 14px 30px, rgba(0, 0, 0, 0.04) 0px 22px 48px, rgba(0, 0, 0, 0.06) 0px 36px 80px;
|
||||
--erp-shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
|
||||
--erp-shadow-sm: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
|
||||
--erp-shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
|
||||
--erp-shadow-lg: 0 8px 24px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
|
||||
--erp-shadow-xl: 0 12px 36px rgba(0,0,0,0.1), 0 6px 18px rgba(0,0,0,0.06);
|
||||
|
||||
/* Radius — Notion subtle roundness */
|
||||
--erp-radius-sm: 2px;
|
||||
--erp-radius-md: 4px;
|
||||
--erp-radius-lg: 8px;
|
||||
--erp-radius-xl: 12px;
|
||||
--erp-radius-sm: 8px;
|
||||
--erp-radius-md: 16px;
|
||||
--erp-radius-lg: 20px;
|
||||
--erp-radius-xl: 28px;
|
||||
|
||||
/* Spacing — 8px base unit */
|
||||
--erp-space-xs: 4px;
|
||||
@@ -87,9 +87,9 @@
|
||||
--erp-transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
/* Trend Colors — Warm */
|
||||
--erp-trend-up: #1aae39;
|
||||
--erp-trend-down: #e5534b;
|
||||
--erp-trend-neutral: #615d59;
|
||||
--erp-trend-up: #103c25;
|
||||
--erp-trend-down: #9e0a0a;
|
||||
--erp-trend-neutral: #62625b;
|
||||
|
||||
/* Line Height */
|
||||
--erp-line-height-tight: 1.25;
|
||||
@@ -104,22 +104,22 @@
|
||||
|
||||
/* --- Dark Mode Tokens — Warm dark, Notion-inspired --- */
|
||||
[data-theme='dark'] {
|
||||
--erp-primary-light: rgba(0, 117, 222, 0.15);
|
||||
--erp-primary-light-hover: rgba(0, 117, 222, 0.22);
|
||||
--erp-primary-bg-subtle: rgba(0, 117, 222, 0.1);
|
||||
--erp-primary-light: rgba(230, 0, 35, 0.15);
|
||||
--erp-primary-light-hover: rgba(230, 0, 35, 0.22);
|
||||
--erp-primary-bg-subtle: rgba(230, 0, 35, 0.1);
|
||||
|
||||
--erp-bg-page: #191918;
|
||||
--erp-bg-container: #232322;
|
||||
--erp-bg-elevated: #2a2a29;
|
||||
--erp-bg-spotlight: #2a2a29;
|
||||
--erp-bg-sidebar: #1e1e1d;
|
||||
--erp-bg-sidebar-hover: #2a2a29;
|
||||
--erp-bg-page: #1a1a18;
|
||||
--erp-bg-container: #2a2a28;
|
||||
--erp-bg-elevated: #33332e;
|
||||
--erp-bg-spotlight: #33332e;
|
||||
--erp-bg-sidebar: #211922;
|
||||
--erp-bg-sidebar-hover: #33332e;
|
||||
|
||||
--erp-text-primary: rgba(255, 255, 255, 0.95);
|
||||
--erp-text-secondary: #a39e98;
|
||||
--erp-text-tertiary: #6d6862;
|
||||
--erp-text-sidebar: #a39e98;
|
||||
--erp-text-sidebar-active: #62aef0;
|
||||
--erp-text-secondary: #91918c;
|
||||
--erp-text-tertiary: #62625b;
|
||||
--erp-text-sidebar: #91918c;
|
||||
--erp-text-sidebar-active: #f05a5a;
|
||||
|
||||
--erp-border: rgba(255, 255, 255, 0.08);
|
||||
--erp-border-light: rgba(255, 255, 255, 0.05);
|
||||
@@ -130,20 +130,20 @@
|
||||
--erp-shadow-md: rgba(0, 0, 0, 0.15) 0px 1px 3px, rgba(0, 0, 0, 0.2) 0px 5px 12px, rgba(0, 0, 0, 0.2) 0px 10px 24px;
|
||||
--erp-shadow-lg: rgba(0, 0, 0, 0.2) 0px 2px 6px, rgba(0, 0, 0, 0.25) 0px 8px 20px, rgba(0, 0, 0, 0.3) 0px 16px 40px;
|
||||
|
||||
--erp-trend-up: #2a9d99;
|
||||
--erp-trend-down: #e5534b;
|
||||
--erp-trend-neutral: #a39e98;
|
||||
--erp-trend-up: #3db377;
|
||||
--erp-trend-down: #9e0a0a;
|
||||
--erp-trend-neutral: #91918c;
|
||||
|
||||
--erp-success-bg: rgba(26, 174, 57, 0.15);
|
||||
--erp-warning-bg: rgba(221, 91, 0, 0.15);
|
||||
--erp-error-bg: rgba(229, 83, 75, 0.15);
|
||||
--erp-info-bg: rgba(0, 117, 222, 0.15);
|
||||
--erp-success-bg: rgba(16, 60, 37, 0.15);
|
||||
--erp-warning-bg: rgba(181, 110, 26, 0.15);
|
||||
--erp-error-bg: rgba(158, 10, 10, 0.15);
|
||||
--erp-info-bg: rgba(67, 94, 229, 0.15);
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-stat-card-trend-up { color: #2a9d99; }
|
||||
[data-theme='dark'] .erp-stat-card-trend-down { color: #e5534b; }
|
||||
[data-theme='dark'] .erp-stat-card-trend-neutral { color: #a39e98; }
|
||||
[data-theme='dark'] .erp-stat-card-trend-label { color: #a39e98; }
|
||||
[data-theme='dark'] .erp-stat-card-trend-neutral { color: #91918c; }
|
||||
[data-theme='dark'] .erp-stat-card-trend-label { color: #91918c; }
|
||||
|
||||
/* --- Global Reset & Base --- */
|
||||
body {
|
||||
@@ -182,7 +182,7 @@ body {
|
||||
|
||||
/* --- Selection --- */
|
||||
::selection {
|
||||
background-color: rgba(0, 117, 222, 0.15);
|
||||
background-color: rgba(230, 0, 35, 0.15);
|
||||
color: var(--erp-text-primary);
|
||||
}
|
||||
|
||||
@@ -272,7 +272,7 @@ body {
|
||||
|
||||
/* --- Button — Subtle 4px radius, no heavy shadow --- */
|
||||
.ant-btn-primary {
|
||||
border-radius: 4px !important;
|
||||
border-radius: 16px !important;
|
||||
font-weight: 500 !important;
|
||||
box-shadow: none !important;
|
||||
transition: all var(--erp-transition-fast) !important;
|
||||
@@ -283,7 +283,7 @@ body {
|
||||
}
|
||||
|
||||
.ant-btn-default {
|
||||
border-radius: 4px !important;
|
||||
border-radius: 16px !important;
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
|
||||
@@ -292,7 +292,7 @@ body {
|
||||
.ant-input-affix-wrapper,
|
||||
.ant-select-selector,
|
||||
.ant-picker {
|
||||
border-radius: 4px !important;
|
||||
border-radius: 16px !important;
|
||||
transition: all var(--erp-transition-fast) !important;
|
||||
}
|
||||
|
||||
@@ -307,7 +307,7 @@ body {
|
||||
.ant-select-focused .ant-select-selector,
|
||||
.ant-picker-focused {
|
||||
border-color: var(--erp-primary) !important;
|
||||
box-shadow: 0 0 0 2px rgba(0, 117, 222, 0.12) !important;
|
||||
box-shadow: 0 0 0 2px rgba(230, 0, 35, 0.12) !important;
|
||||
}
|
||||
|
||||
/* --- Modal --- */
|
||||
@@ -436,12 +436,12 @@ body {
|
||||
border-radius: var(--erp-radius-lg) var(--erp-radius-lg) 0 0;
|
||||
}
|
||||
|
||||
.erp-gradient-card.indigo::before { background: linear-gradient(90deg, #0075de, #62aef0); }
|
||||
.erp-gradient-card.emerald::before { background: linear-gradient(90deg, #1aae39, #4ade80); }
|
||||
.erp-gradient-card.amber::before { background: linear-gradient(90deg, #dd5b00, #fbbf24); }
|
||||
.erp-gradient-card.rose::before { background: linear-gradient(90deg, #e5534b, #f87171); }
|
||||
.erp-gradient-card.sky::before { background: linear-gradient(90deg, #0075de, #38bdf8); }
|
||||
.erp-gradient-card.violet::before { background: linear-gradient(90deg, #391c57, #a78bfa); }
|
||||
.erp-gradient-card.indigo::before { background: linear-gradient(90deg, #e60023, #f05a5a); }
|
||||
.erp-gradient-card.emerald::before { background: linear-gradient(90deg, #103c25, #3db377); }
|
||||
.erp-gradient-card.amber::before { background: linear-gradient(90deg, #b56e1a, #fbbf24); }
|
||||
.erp-gradient-card.rose::before { background: linear-gradient(90deg, #9e0a0a, #f05a5a); }
|
||||
.erp-gradient-card.sky::before { background: linear-gradient(90deg, #435ee5, #8fa4f0); }
|
||||
.erp-gradient-card.violet::before { background: linear-gradient(90deg, #6845ab, #a78bfa); }
|
||||
|
||||
/* --- Fade-in Animation --- */
|
||||
@keyframes erp-fade-in {
|
||||
@@ -475,7 +475,7 @@ body {
|
||||
*:focus-visible {
|
||||
outline: 2px solid var(--erp-primary);
|
||||
outline-offset: 2px;
|
||||
border-radius: 4px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.erp-sidebar-item:focus-visible {
|
||||
@@ -491,7 +491,7 @@ body {
|
||||
background: var(--erp-primary);
|
||||
color: #fff;
|
||||
padding: 8px 24px;
|
||||
border-radius: 0 0 8px 8px;
|
||||
border-radius: 0 0 16px 16px;
|
||||
z-index: 10000;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
@@ -540,22 +540,22 @@ body {
|
||||
|
||||
.erp-sidebar-menu .ant-menu-item {
|
||||
margin: 1px 8px !important;
|
||||
border-radius: 4px !important;
|
||||
border-radius: 16px !important;
|
||||
height: 36px !important;
|
||||
line-height: 36px !important;
|
||||
}
|
||||
|
||||
.erp-sidebar-menu .ant-menu-item-selected {
|
||||
background: #f2f9ff !important;
|
||||
color: #0075de !important;
|
||||
background: #fef0f0 !important;
|
||||
color: #e60023 !important;
|
||||
}
|
||||
|
||||
.erp-sidebar-menu .ant-menu-item-selected .anticon {
|
||||
color: #0075de !important;
|
||||
color: #e60023 !important;
|
||||
}
|
||||
|
||||
.erp-sidebar-menu .ant-menu-item:not(.ant-menu-item-selected):hover {
|
||||
background: #f6f5f4 !important;
|
||||
background: #f6f6f3 !important;
|
||||
}
|
||||
|
||||
/* Sidebar group label */
|
||||
@@ -565,7 +565,7 @@ body {
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.8px;
|
||||
color: #a39e98;
|
||||
color: #91918c;
|
||||
}
|
||||
|
||||
/* ====================================================================
|
||||
@@ -575,7 +575,7 @@ body {
|
||||
/* Sider — White sidebar, Notion style */
|
||||
.erp-sider-dark {
|
||||
background: #ffffff !important;
|
||||
border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
|
||||
border-right: 1px solid #e0e0d9 !important;
|
||||
position: fixed !important;
|
||||
left: 0;
|
||||
top: 0;
|
||||
@@ -585,8 +585,8 @@ body {
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-sider-dark {
|
||||
background: #1e1e1d !important;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
|
||||
background: #211922 !important;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
|
||||
}
|
||||
|
||||
/* Logo — Warm neutral, Notion style */
|
||||
@@ -595,12 +595,12 @@ body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 0 20px;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-bottom: 1px solid #e0e0d9;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-sidebar-logo {
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.ant-layout-sider-collapsed .erp-sidebar-logo {
|
||||
@@ -611,8 +611,8 @@ body {
|
||||
.erp-sidebar-logo-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 4px;
|
||||
background: #0075de;
|
||||
border-radius: 16px;
|
||||
background: #e60023;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -624,7 +624,7 @@ body {
|
||||
|
||||
.erp-sidebar-logo-text {
|
||||
margin-left: 10px;
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
color: #211922;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.3px;
|
||||
@@ -642,9 +642,9 @@ body {
|
||||
height: 36px;
|
||||
margin: 1px 8px;
|
||||
padding: 0 12px;
|
||||
border-radius: 4px;
|
||||
border-radius: 16px;
|
||||
cursor: pointer;
|
||||
color: #615d59;
|
||||
color: #62625b;
|
||||
font-size: 14px;
|
||||
font-weight: 400;
|
||||
transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
@@ -657,28 +657,28 @@ body {
|
||||
}
|
||||
|
||||
.erp-sidebar-item:hover:not(.erp-sidebar-item-active) {
|
||||
background: #f6f5f4;
|
||||
color: rgba(0, 0, 0, 0.95);
|
||||
background: #f6f6f3;
|
||||
color: #211922;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-sidebar-item {
|
||||
color: #a39e98;
|
||||
color: #91918c;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-sidebar-item:hover:not(.erp-sidebar-item-active) {
|
||||
background: #2a2a29;
|
||||
background: #33332e;
|
||||
color: rgba(255, 255, 255, 0.95);
|
||||
}
|
||||
|
||||
.erp-sidebar-item-active {
|
||||
background: #f2f9ff;
|
||||
color: #0075de;
|
||||
background: #fef0f0;
|
||||
color: #e60023;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-sidebar-item-active {
|
||||
background: rgba(0, 117, 222, 0.15);
|
||||
color: #62aef0;
|
||||
background: rgba(230, 0, 35, 0.15);
|
||||
color: #f05a5a;
|
||||
}
|
||||
|
||||
.erp-sidebar-item-icon {
|
||||
@@ -698,9 +698,9 @@ body {
|
||||
height: 32px;
|
||||
margin: 6px 8px 2px 8px;
|
||||
padding: 0 12px;
|
||||
border-radius: 4px;
|
||||
border-radius: 16px;
|
||||
cursor: pointer;
|
||||
color: #a39e98;
|
||||
color: #91918c;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
@@ -710,25 +710,25 @@ body {
|
||||
}
|
||||
|
||||
.erp-sidebar-submenu-title:hover {
|
||||
background: #f6f5f4;
|
||||
color: #615d59;
|
||||
background: #f6f6f3;
|
||||
color: #62625b;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-sidebar-submenu-title {
|
||||
color: #6d6862;
|
||||
color: #62625b;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-sidebar-submenu-title:hover {
|
||||
background: #2a2a29;
|
||||
color: #a39e98;
|
||||
background: #33332e;
|
||||
color: #91918c;
|
||||
}
|
||||
|
||||
.erp-sidebar-submenu-title-active {
|
||||
color: #0075de;
|
||||
color: #e60023;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-sidebar-submenu-title-active {
|
||||
color: #62aef0;
|
||||
color: #f05a5a;
|
||||
}
|
||||
|
||||
.erp-sidebar-submenu-arrow {
|
||||
@@ -753,8 +753,8 @@ body {
|
||||
transition: margin-left 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.erp-main-layout-light { background: #f6f5f4; }
|
||||
.erp-main-layout-dark { background: #191918; }
|
||||
.erp-main-layout-light { background: #f6f6f3; }
|
||||
.erp-main-layout-dark { background: #1a1a18; }
|
||||
|
||||
/* Header — Clean white, whisper border bottom */
|
||||
.erp-header {
|
||||
@@ -771,39 +771,39 @@ body {
|
||||
|
||||
.erp-header-light {
|
||||
background: #ffffff !important;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-bottom: 1px solid #e0e0d9;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.erp-header-dark {
|
||||
background: #232322 !important;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
||||
background: #2a2a28 !important;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.erp-header-btn {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 4px;
|
||||
border-radius: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
color: #615d59;
|
||||
color: #62625b;
|
||||
will-change: background;
|
||||
}
|
||||
|
||||
.erp-header-light .erp-header-btn { color: #615d59; }
|
||||
.erp-header-dark .erp-header-btn { color: #a39e98; }
|
||||
.erp-header-btn:hover { background: #f6f5f4; }
|
||||
.erp-header-dark .erp-header-btn:hover { background: #2a2a29; }
|
||||
.erp-header-light .erp-header-btn { color: #62625b; }
|
||||
.erp-header-dark .erp-header-btn { color: #91918c; }
|
||||
.erp-header-btn:hover { background: #f6f6f3; }
|
||||
.erp-header-dark .erp-header-btn:hover { background: #33332e; }
|
||||
|
||||
.erp-header-title { font-size: 15px; font-weight: 600; }
|
||||
.erp-text-light { color: rgba(0, 0, 0, 0.95); }
|
||||
.erp-text-light { color: #211922; }
|
||||
.erp-text-dark { color: rgba(255, 255, 255, 0.95); }
|
||||
.erp-text-light-secondary { color: #615d59; }
|
||||
.erp-text-dark-secondary { color: #a39e98; }
|
||||
.erp-text-light-secondary { color: #62625b; }
|
||||
.erp-text-dark-secondary { color: #91918c; }
|
||||
|
||||
.erp-header-divider { width: 1px; height: 24px; margin: 0 8px; }
|
||||
.erp-header-divider-light { background: rgba(0, 0, 0, 0.06); }
|
||||
@@ -820,8 +820,8 @@ body {
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
|
||||
.erp-header-user:hover { background: #f6f5f4; }
|
||||
.erp-header-dark .erp-header-user:hover { background: #2a2a29; }
|
||||
.erp-header-user:hover { background: #f6f6f3; }
|
||||
.erp-header-dark .erp-header-user:hover { background: #33332e; }
|
||||
|
||||
.erp-user-avatar {
|
||||
background: #0075de !important;
|
||||
@@ -832,8 +832,8 @@ body {
|
||||
|
||||
/* Footer */
|
||||
.erp-footer { text-align: center; padding: 12px 24px !important; background: transparent !important; font-size: 12px; }
|
||||
.erp-footer-light { color: #a39e98; }
|
||||
.erp-footer-dark { color: #6d6862; }
|
||||
.erp-footer-light { color: #91918c; }
|
||||
.erp-footer-dark { color: #62625b; }
|
||||
|
||||
/* ====================================================================
|
||||
* Dashboard — Stat Cards & Quick Actions (replacing inline styles)
|
||||
@@ -864,7 +864,7 @@ body {
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 3px;
|
||||
background: var(--card-gradient, linear-gradient(135deg, #0075de, #62aef0));
|
||||
background: var(--card-gradient, linear-gradient(135deg, #e60023, #f05a5a));
|
||||
}
|
||||
|
||||
.erp-stat-card-body {
|
||||
@@ -895,7 +895,7 @@ body {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: var(--erp-radius-lg);
|
||||
background: var(--card-icon-bg, rgba(0, 117, 222, 0.08));
|
||||
background: var(--card-icon-bg, rgba(230, 0, 35, 0.08));
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -913,7 +913,7 @@ body {
|
||||
|
||||
.erp-section-icon {
|
||||
font-size: 16px;
|
||||
color: #0075de;
|
||||
color: #e60023;
|
||||
}
|
||||
|
||||
.erp-section-title {
|
||||
@@ -928,7 +928,7 @@ body {
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 14px 16px;
|
||||
border-radius: 10px;
|
||||
border-radius: 12px;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s ease, border-color 0.15s ease;
|
||||
background: var(--erp-bg-spotlight);
|
||||
@@ -936,17 +936,17 @@ body {
|
||||
}
|
||||
|
||||
.erp-quick-action:hover {
|
||||
background: #f2f9ff;
|
||||
border-color: var(--action-color, #0075de);
|
||||
background: #fef0f0;
|
||||
border-color: var(--action-color, #e60023);
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-quick-action {
|
||||
background: #191918;
|
||||
background: #1a1a18;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-quick-action:hover {
|
||||
background: #2a2a29;
|
||||
border-color: var(--action-color, #0075de);
|
||||
background: #33332e;
|
||||
border-color: var(--action-color, #e60023);
|
||||
}
|
||||
|
||||
.erp-quick-action-icon {
|
||||
@@ -956,8 +956,8 @@ body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: color-mix(in srgb, var(--action-color, #0075de) 8%, transparent);
|
||||
color: var(--action-color, #0075de);
|
||||
background: color-mix(in srgb, var(--action-color, #e60023) 8%, transparent);
|
||||
color: var(--action-color, #e60023);
|
||||
font-size: 16px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -1008,12 +1008,12 @@ body {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.erp-stat-card-trend-up { color: #047857; }
|
||||
.erp-stat-card-trend-down { color: #B91C1C; }
|
||||
.erp-stat-card-trend-neutral { color: #64748B; }
|
||||
.erp-stat-card-trend-up { color: #0b5030; }
|
||||
.erp-stat-card-trend-down { color: #9e0a0a; }
|
||||
.erp-stat-card-trend-neutral { color: #62625b; }
|
||||
|
||||
.erp-stat-card-trend-label {
|
||||
color: #64748B;
|
||||
color: #62625b;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@@ -1046,8 +1046,8 @@ body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: color-mix(in srgb, var(--action-color, #0075de) 8%, transparent);
|
||||
color: var(--action-color, #0075de);
|
||||
background: color-mix(in srgb, var(--action-color, #e60023) 8%, transparent);
|
||||
color: var(--action-color, #e60023);
|
||||
font-size: 18px;
|
||||
flex-shrink: 0;
|
||||
transition: transform 0.15s ease;
|
||||
@@ -1075,7 +1075,7 @@ body {
|
||||
padding: 12px 16px;
|
||||
border-radius: var(--erp-radius-md);
|
||||
background: var(--erp-bg-spotlight);
|
||||
border-left: 3px solid var(--task-color, #0075de);
|
||||
border-left: 3px solid var(--task-color, #e60023);
|
||||
cursor: pointer;
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
@@ -1092,8 +1092,8 @@ body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: color-mix(in srgb, var(--task-color, #0075de) 8%, transparent);
|
||||
color: var(--task-color, #0075de);
|
||||
background: color-mix(in srgb, var(--task-color, #e60023) 8%, transparent);
|
||||
color: var(--task-color, #e60023);
|
||||
font-size: 14px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -1115,25 +1115,25 @@ body {
|
||||
gap: 12px;
|
||||
margin-top: 2px;
|
||||
font-size: var(--erp-font-size-xs);
|
||||
color: #a39e98;
|
||||
color: #91918c;
|
||||
}
|
||||
|
||||
.erp-task-priority {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 1px 8px;
|
||||
border-radius: 10px;
|
||||
border-radius: 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.erp-task-priority-high { background: #fef2f2; color: #e5534b; }
|
||||
.erp-task-priority-medium { background: #fff7ed; color: #dd5b00; }
|
||||
.erp-task-priority-low { background: #ecfdf5; color: #1aae39; }
|
||||
.erp-task-priority-high { background: #fef2f2; color: #9e0a0a; }
|
||||
.erp-task-priority-medium { background: #fff7ed; color: #b56e1a; }
|
||||
.erp-task-priority-low { background: #ecfdf5; color: #103c25; }
|
||||
|
||||
[data-theme='dark'] .erp-task-priority-high { background: rgba(229, 83, 75, 0.15); color: #e5534b; }
|
||||
[data-theme='dark'] .erp-task-priority-medium { background: rgba(221, 91, 0, 0.15); color: #dd5b00; }
|
||||
[data-theme='dark'] .erp-task-priority-low { background: rgba(26, 174, 57, 0.15); color: #1aae39; }
|
||||
[data-theme='dark'] .erp-task-priority-high { background: rgba(158, 10, 10, 0.15); color: #f05a5a; }
|
||||
[data-theme='dark'] .erp-task-priority-medium { background: rgba(181, 110, 26, 0.15); color: #d4852a; }
|
||||
[data-theme='dark'] .erp-task-priority-low { background: rgba(16, 60, 37, 0.15); color: #3db377; }
|
||||
|
||||
/* Activity Timeline */
|
||||
.erp-activity-list {
|
||||
@@ -1189,12 +1189,12 @@ body {
|
||||
|
||||
.erp-activity-time {
|
||||
font-size: 11px;
|
||||
color: #a39e98;
|
||||
color: #91918c;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .erp-activity-time {
|
||||
color: #6d6862;
|
||||
color: #62625b;
|
||||
}
|
||||
|
||||
/* Empty State */
|
||||
|
||||
Reference in New Issue
Block a user