Revert "feat(dashboard): unify global UI theme across all admin templates"
This reverts commit cb8adc40ce.
This commit is contained in:
@@ -1098,7 +1098,7 @@
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
scales: {
|
||||
y: { beginAtZero: true, grid: { color: 'rgba(101,121,113,0.12)' } },
|
||||
y: { beginAtZero: true, grid: { color: 'rgba(148,163,184,0.12)' } },
|
||||
x: { grid: { display: false } }
|
||||
},
|
||||
plugins: { legend: { display: false } }
|
||||
@@ -1151,7 +1151,7 @@
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
scales: {
|
||||
y: { beginAtZero: true, grid: { color: 'rgba(101,121,113,0.12)' } },
|
||||
y: { beginAtZero: true, grid: { color: 'rgba(148,163,184,0.12)' } },
|
||||
x: { grid: { display: false } }
|
||||
},
|
||||
plugins: { legend: { display: false } }
|
||||
@@ -1429,44 +1429,44 @@
|
||||
.page-shell { display: flex; flex-direction: column; gap: 16px; }
|
||||
.page-hero {
|
||||
display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 24px 26px; border-radius: 24px;
|
||||
background: linear-gradient(135deg, rgba(15,118,110,0.10), rgba(14,165,233,0.08), rgba(255,255,255,0.9));
|
||||
border: 1px solid rgba(101, 121, 113, 0.16); box-shadow: 0 18px 40px rgba(21, 33, 27, 0.06);
|
||||
background: linear-gradient(135deg, rgba(79,70,229,0.10), rgba(59,130,246,0.08), rgba(255,255,255,0.9));
|
||||
border: 1px solid rgba(148, 163, 184, 0.16); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
|
||||
}
|
||||
.page-hero-actions { display: flex; align-items: center; gap: 12px; }
|
||||
.hero-search { width: 260px; }
|
||||
.page-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #0b5e57; font-weight: 700; margin-bottom: 8px; }
|
||||
.page-hero-copy h1 { font-size: 30px; line-height: 1.1; margin-bottom: 10px; color: #15211b; }
|
||||
.page-hero-copy p { color: #4f6258; font-size: 14px; }
|
||||
.page-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #6366f1; font-weight: 700; margin-bottom: 8px; }
|
||||
.page-hero-copy h1 { font-size: 30px; line-height: 1.1; margin-bottom: 10px; color: #0f172a; }
|
||||
.page-hero-copy p { color: #64748b; font-size: 14px; }
|
||||
.overview-grid .el-col { margin-bottom: 16px; }
|
||||
.overview-card { min-height: 112px; }
|
||||
.overview-card--primary { background: linear-gradient(180deg, rgba(15,118,110,0.10), rgba(255,255,255,0.94)) !important; }
|
||||
.overview-card--soft { background: linear-gradient(180deg, rgba(14,165,233,0.08), rgba(255,255,255,0.94)) !important; }
|
||||
.overview-label { font-size: 13px; color: #4f6258; margin-bottom: 14px; }
|
||||
.overview-value { font-size: 30px; font-weight: 700; color: #15211b; margin-bottom: 10px; }
|
||||
.overview-note { font-size: 12px; color: #74897f; }
|
||||
.overview-card--primary { background: linear-gradient(180deg, rgba(79,70,229,0.10), rgba(255,255,255,0.94)) !important; }
|
||||
.overview-card--soft { background: linear-gradient(180deg, rgba(59,130,246,0.08), rgba(255,255,255,0.94)) !important; }
|
||||
.overview-label { font-size: 13px; color: #64748b; margin-bottom: 14px; }
|
||||
.overview-value { font-size: 30px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
|
||||
.overview-note { font-size: 12px; color: #94a3b8; }
|
||||
.workspace-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
|
||||
.workspace-header h3 { font-size: 18px; margin-bottom: 4px; }
|
||||
.workspace-header p { font-size: 13px; color: #4f6258; }
|
||||
.workspace-header p { font-size: 13px; color: #64748b; }
|
||||
.entity-cell { display: flex; align-items: center; gap: 12px; }
|
||||
.entity-avatar {
|
||||
width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
|
||||
background: rgba(15,118,110,0.10); color: #0f766e; font-size: 14px; flex-shrink: 0;
|
||||
background: rgba(79,70,229,0.10); color: #4f46e5; font-size: 14px; flex-shrink: 0;
|
||||
}
|
||||
.entity-avatar--group { background: rgba(16,185,129,0.12); color: #10b981; }
|
||||
.entity-title { font-size: 14px; font-weight: 600; color: #15211b; }
|
||||
.entity-subtitle { margin-top: 4px; font-size: 12px; color: #74897f; }
|
||||
.entity-title { font-size: 14px; font-weight: 600; color: #0f172a; }
|
||||
.entity-subtitle { margin-top: 4px; font-size: 12px; color: #94a3b8; }
|
||||
.action-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
|
||||
.pagination-container { margin-top: 20px; text-align: right; }
|
||||
.group-insight-section { margin-top: 20px; }
|
||||
.group-permission-section { margin-top: 20px; }
|
||||
.group-members-section { margin-top: 20px; }
|
||||
.section-title {
|
||||
margin: 20px 0 15px 0; border-bottom: 1px solid rgba(101,121,113,0.12); padding-bottom: 10px;
|
||||
margin: 20px 0 15px 0; border-bottom: 1px solid rgba(148,163,184,0.12); padding-bottom: 10px;
|
||||
display: flex; justify-content: space-between; align-items: center;
|
||||
}
|
||||
.section-actions { display: flex; align-items: center; gap: 10px; }
|
||||
.inline-action-button { margin-left: 10px; }
|
||||
.section-title h3 { margin: 0; font-size: 18px; color: #15211b; }
|
||||
.section-title h3 { margin: 0; font-size: 18px; color: #0f172a; }
|
||||
.group-search { width: 220px; }
|
||||
.detail-avatar-wrap { text-align: center; margin-bottom: 20px; }
|
||||
.detail-avatar { width: 100px; height: 100px; }
|
||||
@@ -1474,11 +1474,11 @@
|
||||
display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
|
||||
padding: 18px 20px; margin-bottom: 16px; border-radius: 22px;
|
||||
background: linear-gradient(135deg, rgba(249,115,22,0.10), rgba(14,165,233,0.08), rgba(255,255,255,0.96));
|
||||
border: 1px solid rgba(101,121,113,0.14);
|
||||
border: 1px solid rgba(148,163,184,0.14);
|
||||
}
|
||||
.detail-health-label { font-size: 13px; color: #9a3412; margin-bottom: 8px; }
|
||||
.detail-health-value { font-size: 38px; line-height: 1; font-weight: 700; color: #111827; margin-bottom: 10px; }
|
||||
.detail-health-note { font-size: 13px; color: #4f6258; }
|
||||
.detail-health-note { font-size: 13px; color: #64748b; }
|
||||
.detail-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
|
||||
.detail-overview-grid { margin-bottom: 16px; }
|
||||
.overview-value--detail { font-size: 24px; }
|
||||
@@ -1489,11 +1489,11 @@
|
||||
.detail-panels .el-col { margin-bottom: 16px; }
|
||||
.detail-card { border-radius: 18px; }
|
||||
.detail-card-header {
|
||||
display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: #15211b;
|
||||
display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: #0f172a;
|
||||
}
|
||||
.detail-card-sub { font-size: 12px; color: #74897f; font-weight: 500; }
|
||||
.detail-card-sub { font-size: 12px; color: #94a3b8; font-weight: 500; }
|
||||
.feature-chip-list { display: flex; gap: 8px; flex-wrap: wrap; min-height: 60px; align-items: flex-start; }
|
||||
.empty-inline, .detail-inline-note { font-size: 12px; color: #4f6258; }
|
||||
.empty-inline, .detail-inline-note { font-size: 12px; color: #64748b; }
|
||||
.detail-inline-note { margin-top: 12px; line-height: 1.6; }
|
||||
.suggestion-list { display: flex; flex-direction: column; gap: 12px; }
|
||||
.suggestion-item { border-radius: 14px; }
|
||||
@@ -1501,33 +1501,33 @@
|
||||
.peak-hour-item {
|
||||
min-width: 132px; padding: 12px 14px; border-radius: 14px;
|
||||
background: linear-gradient(180deg, rgba(14,165,233,0.08), rgba(255,255,255,0.96));
|
||||
border: 1px solid rgba(101,121,113,0.12);
|
||||
border: 1px solid rgba(148,163,184,0.12);
|
||||
}
|
||||
.peak-hour-rank { font-size: 13px; color: #15211b; font-weight: 600; margin-bottom: 6px; }
|
||||
.peak-hour-count { font-size: 12px; color: #4f6258; }
|
||||
.peak-hour-rank { font-size: 13px; color: #0f172a; font-weight: 600; margin-bottom: 6px; }
|
||||
.peak-hour-count { font-size: 12px; color: #64748b; }
|
||||
.chart-shell {
|
||||
padding: 16px; border-radius: 18px;
|
||||
background: linear-gradient(180deg, rgba(247,251,248,0.78), rgba(255,255,255,0.96));
|
||||
border: 1px solid rgba(101,121,113,0.12);
|
||||
background: linear-gradient(180deg, rgba(248,250,252,0.78), rgba(255,255,255,0.96));
|
||||
border: 1px solid rgba(148,163,184,0.12);
|
||||
}
|
||||
.chart-shell--compact { min-height: 260px; }
|
||||
.chart-shell--mini { min-height: 220px; }
|
||||
.member-context-toolbar {
|
||||
display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0;
|
||||
}
|
||||
.member-context-title { display: flex; flex-direction: column; gap: 4px; color: #3f5148; }
|
||||
.member-context-title { display: flex; flex-direction: column; gap: 4px; color: #475569; }
|
||||
.context-tag { margin-right: 8px; margin-bottom: 8px; }
|
||||
.chat-container { display: flex; flex-direction: column; gap: 14px; min-height: 620px; }
|
||||
.chat-header-card {
|
||||
display: flex; align-items: center; justify-content: space-between; gap: 16px;
|
||||
padding: 18px 20px; border-radius: 18px;
|
||||
background: linear-gradient(135deg, rgba(14,165,233,0.10), rgba(16,185,129,0.08), rgba(255,255,255,0.96));
|
||||
border: 1px solid rgba(101,121,113,0.14);
|
||||
border: 1px solid rgba(148,163,184,0.14);
|
||||
}
|
||||
.chat-header-main { min-width: 0; }
|
||||
.chat-header-title { font-size: 20px; font-weight: 700; color: #15211b; }
|
||||
.chat-header-title { font-size: 20px; font-weight: 700; color: #0f172a; }
|
||||
.chat-header-subtitle {
|
||||
margin-top: 6px; font-size: 13px; color: #4f6258;
|
||||
margin-top: 6px; font-size: 13px; color: #64748b;
|
||||
display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
|
||||
}
|
||||
.chat-header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
|
||||
@@ -1536,49 +1536,49 @@
|
||||
background: rgba(20, 184, 166, 0.10); border: 1px solid rgba(20, 184, 166, 0.18);
|
||||
}
|
||||
.message-list {
|
||||
flex: 1; overflow-y: auto; padding: 20px; background: rgba(247,251,248,0.82); border: 1px solid rgba(101,121,113,0.12);
|
||||
flex: 1; overflow-y: auto; padding: 20px; background: rgba(248,250,252,0.82); border: 1px solid rgba(148,163,184,0.12);
|
||||
border-radius: 18px;
|
||||
}
|
||||
.chat-empty-state {
|
||||
min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center;
|
||||
color: #74897f; text-align: center; gap: 10px;
|
||||
color: #94a3b8; text-align: center; gap: 10px;
|
||||
}
|
||||
.chat-empty-state i { font-size: 34px; color: #38bdf8; }
|
||||
.chat-empty-state p { font-size: 16px; color: #27443a; margin: 0; }
|
||||
.chat-empty-state p { font-size: 16px; color: #334155; margin: 0; }
|
||||
.chat-empty-state span { max-width: 380px; line-height: 1.6; }
|
||||
.message-item { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
|
||||
.message-self { align-items: flex-end; }
|
||||
.message-system { align-items: center; }
|
||||
.message-meta { display: flex; align-items: center; gap: 8px; color: #74897f; font-size: 12px; }
|
||||
.message-sender { color: #3f5148; font-weight: 600; }
|
||||
.message-meta { display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 12px; }
|
||||
.message-sender { color: #475569; font-weight: 600; }
|
||||
.message-content {
|
||||
max-width: 75%; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.92); color: #15211b;
|
||||
border: 1px solid rgba(101,121,113,0.12); box-shadow: 0 8px 20px rgba(21, 33, 27, 0.05);
|
||||
max-width: 75%; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.92); color: #0f172a;
|
||||
border: 1px solid rgba(148,163,184,0.12); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
|
||||
}
|
||||
.message-self .message-content { background: linear-gradient(135deg, #0f766e, #0b5e57); color: #ffffff; }
|
||||
.message-self .message-content { background: linear-gradient(135deg, #4f46e5, #6366f1); color: #ffffff; }
|
||||
.message-system .message-content {
|
||||
max-width: 90%; background: rgba(241,245,249,0.92); color: #3f5148; border-style: dashed;
|
||||
max-width: 90%; background: rgba(241,245,249,0.92); color: #475569; border-style: dashed;
|
||||
text-align: center; box-shadow: none;
|
||||
}
|
||||
.message-system-bubble { display: flex; flex-direction: column; align-items: center; gap: 8px; }
|
||||
.message-system-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
|
||||
.message-system-tag {
|
||||
display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 0 10px;
|
||||
border-radius: 999px; font-size: 12px; font-weight: 700; color: #3f5148;
|
||||
background: rgba(255,255,255,0.76); border: 1px solid rgba(101,121,113,0.18);
|
||||
border-radius: 999px; font-size: 12px; font-weight: 700; color: #475569;
|
||||
background: rgba(255,255,255,0.76); border: 1px solid rgba(148,163,184,0.18);
|
||||
}
|
||||
.message-system-tag.is-revoke { color: #9f1239; background: rgba(255,241,242,0.92); border-color: rgba(244,114,182,0.2); }
|
||||
.message-text, .message-system-text { white-space: pre-wrap; word-break: break-word; line-height: 1.7; }
|
||||
.message-media { display: flex; flex-direction: column; gap: 10px; }
|
||||
.message-image, .message-video {
|
||||
max-width: 260px; max-height: 240px; border-radius: 14px;
|
||||
background: rgba(21,33,27,0.06); object-fit: cover;
|
||||
background: rgba(15,23,42,0.06); object-fit: cover;
|
||||
}
|
||||
.message-audio { width: 260px; max-width: 100%; }
|
||||
.message-caption { font-size: 12px; line-height: 1.6; opacity: 0.88; }
|
||||
.message-file-chip {
|
||||
display: inline-flex; align-items: center; width: fit-content; padding: 8px 12px;
|
||||
border-radius: 999px; background: rgba(101,121,113,0.12); font-size: 12px;
|
||||
border-radius: 999px; background: rgba(148,163,184,0.12); font-size: 12px;
|
||||
}
|
||||
.message-link-card { display: flex; flex-direction: column; gap: 8px; }
|
||||
.message-link-title { font-size: 14px; font-weight: 700; color: inherit; text-decoration: none; }
|
||||
@@ -1594,13 +1594,13 @@
|
||||
display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px;
|
||||
}
|
||||
.emoji-card {
|
||||
border: 1px solid rgba(101,121,113,0.16); border-radius: 12px; padding: 8px;
|
||||
border: 1px solid rgba(148,163,184,0.16); border-radius: 12px; padding: 8px;
|
||||
display: flex; flex-direction: column; gap: 8px; align-items: center; background: #fff;
|
||||
}
|
||||
.emoji-thumb { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; background: rgba(101,121,113,0.08); }
|
||||
.emoji-md5 { font-size: 11px; color: #4f6258; word-break: break-all; text-align: center; min-height: 30px; }
|
||||
.emoji-thumb { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; background: rgba(148,163,184,0.08); }
|
||||
.emoji-md5 { font-size: 11px; color: #64748b; word-break: break-all; text-align: center; min-height: 30px; }
|
||||
.emoji-actions { width: 100%; display: flex; justify-content: center; }
|
||||
.emoji-empty { color: #74897f; padding: 12px; }
|
||||
.emoji-empty { color: #94a3b8; padding: 12px; }
|
||||
@media (max-width: 1200px) {
|
||||
.diagnosis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user