- 后端过滤:将 AdminListQuery.SkinName 筛选逻辑对齐前台,由 OR(交集) 改为 AND(全包含),选多款皮肤时账号必须同时包含所选的全部皮肤 - 前端交互:AdminListingsView 皮肤筛选支持多选交互,点击具体皮肤支持多选高亮,底部提供已选数量提示、清空与确定操作,外层按钮智能展示已选皮肤摘要 - 样式增强:补充管理后台皮肤筛选弹层底部的清空/确定操作栏样式 - 验证方式:新增并运行后端 TestFilterAdminListingsByMultipleSkinsRequiresAll 单元测试,运行全量 ./scripts/check.sh 门禁全绿通过
1856 lines
34 KiB
CSS
1856 lines
34 KiB
CSS
/* ========== Admin Shell Layout ========== */
|
|
.admin-shell {
|
|
display: grid;
|
|
min-height: 100vh;
|
|
grid-template-columns: 220px 1fr;
|
|
background: #f0f2f5;
|
|
transition: grid-template-columns 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.admin-shell--collapsed {
|
|
grid-template-columns: 64px 1fr;
|
|
}
|
|
|
|
/* ========== Sidebar ========== */
|
|
.admin-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
background: linear-gradient(180deg, #1a1f36 0%, #101428 100%);
|
|
padding: 0;
|
|
color: #a3aed0;
|
|
overflow: hidden;
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100vh;
|
|
}
|
|
|
|
.admin-sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 60px;
|
|
padding: 0 16px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.admin-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: #ffffff;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand-mark {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
background: linear-gradient(135deg, #4f7cff, #6c5ce7);
|
|
color: #ffffff;
|
|
font-size: 14px;
|
|
font-weight: 900;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.brand-text {
|
|
font-size: 15px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.5px;
|
|
transition:
|
|
opacity 0.2s,
|
|
width 0.3s;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-shell--collapsed .brand-text {
|
|
opacity: 0;
|
|
width: 0;
|
|
}
|
|
|
|
.collapse-btn {
|
|
cursor: pointer;
|
|
color: #a3aed0;
|
|
font-size: 18px;
|
|
padding: 6px;
|
|
border-radius: 6px;
|
|
transition: all 0.2s;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.collapse-btn:hover {
|
|
color: #ffffff;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
/* ========== Navigation ========== */
|
|
.admin-nav {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 16px 8px;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
|
|
}
|
|
|
|
.admin-nav::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.admin-nav::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.admin-nav::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.admin-nav::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.admin-nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
padding: 0 12px;
|
|
color: #a3aed0;
|
|
text-decoration: none;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
position: relative;
|
|
}
|
|
|
|
.admin-nav-link:hover {
|
|
color: #ffffff;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.admin-nav-link.router-link-active {
|
|
color: #ffffff;
|
|
background: linear-gradient(135deg, rgba(79, 124, 255, 0.2), rgba(108, 92, 231, 0.15));
|
|
font-weight: 600;
|
|
}
|
|
|
|
.admin-nav-link.router-link-active::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 3px;
|
|
height: 18px;
|
|
border-radius: 0 3px 3px 0;
|
|
background: linear-gradient(180deg, #4f7cff, #6c5ce7);
|
|
}
|
|
|
|
.admin-nav-link .el-icon {
|
|
font-size: 15px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.admin-shell--collapsed .admin-nav-link {
|
|
justify-content: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.admin-shell--collapsed .admin-nav-link::before {
|
|
left: 0;
|
|
}
|
|
|
|
.nav-text {
|
|
transition:
|
|
opacity 0.2s,
|
|
width 0.3s;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-shell--collapsed .nav-text {
|
|
opacity: 0;
|
|
width: 0;
|
|
}
|
|
|
|
/* ========== Workspace ========== */
|
|
.admin-workspace {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.admin-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 72px;
|
|
background: #ffffff;
|
|
padding: 0 32px;
|
|
border-bottom: 1px solid #e8ecf1;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.admin-topbar > div:first-child {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 12px;
|
|
}
|
|
|
|
.admin-topbar span {
|
|
color: #8f9bba;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.admin-topbar strong {
|
|
color: #1b2559;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-topbar .el-button {
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.admin-main {
|
|
flex: 1;
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 28px clamp(20px, 3vw, 40px);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.admin-main .page {
|
|
max-width: none;
|
|
}
|
|
|
|
/* ========== Login Page ========== */
|
|
.admin-login-shell {
|
|
display: grid;
|
|
min-height: 100vh;
|
|
place-items: center;
|
|
background: linear-gradient(135deg, #0f0c29 0%, #1a1a3e 50%, #24243e 100%);
|
|
padding: 24px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.admin-login-shell::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: radial-gradient(circle, rgba(79, 124, 255, 0.1) 0%, transparent 50%);
|
|
animation: loginPulse 15s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes loginPulse {
|
|
0%,
|
|
100% {
|
|
transform: translate(0, 0);
|
|
}
|
|
50% {
|
|
transform: translate(5%, 5%);
|
|
}
|
|
}
|
|
|
|
.admin-login-panel {
|
|
width: min(420px, 100%);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
background: rgba(26, 31, 54, 0.85);
|
|
backdrop-filter: blur(20px);
|
|
padding: 36px;
|
|
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.admin-login-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: #ffffff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-login-header {
|
|
margin: 32px 0 28px;
|
|
}
|
|
|
|
.admin-login-header h1 {
|
|
font-size: 28px;
|
|
color: #ffffff;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.admin-login-header p:last-child {
|
|
margin: 12px 0 0;
|
|
color: #a3aed0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.admin-captcha-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 132px;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.captcha-image-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 44px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 0;
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.captcha-image-button:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.captcha-image-button:disabled {
|
|
cursor: wait;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.captcha-image-button img {
|
|
display: block;
|
|
width: 132px;
|
|
height: 44px;
|
|
}
|
|
|
|
/* ========== Page Components ========== */
|
|
.page-header {
|
|
max-width: 720px;
|
|
}
|
|
|
|
/* ========== Enterprise Button Design System ========== */
|
|
.el-button {
|
|
font-family: inherit;
|
|
font-weight: 600;
|
|
border-radius: 8px;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
letter-spacing: 0.2px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.el-button .el-icon {
|
|
font-size: 1.05em;
|
|
}
|
|
|
|
/* 默认 / 次级按钮 (White / Slate) */
|
|
.el-button:not(.el-button--primary):not(.el-button--success):not(.el-button--danger):not(
|
|
.el-button--warning
|
|
):not(.el-button--info):not(.is-text):not(.is-link) {
|
|
background: #ffffff;
|
|
color: #334155;
|
|
border: 1px solid #cbd5e1;
|
|
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
|
|
}
|
|
|
|
.el-button:not(.el-button--primary):not(.el-button--success):not(.el-button--danger):not(
|
|
.el-button--warning
|
|
):not(.el-button--info):not(.is-text):not(.is-link):hover:not(.is-disabled) {
|
|
background: #f8fafc;
|
|
color: #0f172a;
|
|
border-color: #94a3b8;
|
|
box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.el-button:not(.el-button--primary):not(.el-button--success):not(.el-button--danger):not(
|
|
.el-button--warning
|
|
):not(.el-button--info):not(.is-text):not(.is-link):active:not(.is-disabled) {
|
|
background: #f1f5f9;
|
|
transform: translateY(0);
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* 主按钮 (Primary - Modern Vibrant Blue/Indigo) */
|
|
.el-button--primary:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link) {
|
|
background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
|
|
border: 1px solid #2563eb !important;
|
|
color: #ffffff !important;
|
|
box-shadow:
|
|
0 1px 2px rgba(37, 99, 235, 0.12),
|
|
0 3px 8px rgba(37, 99, 235, 0.22);
|
|
}
|
|
|
|
.el-button--primary:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link):hover:not(
|
|
.is-disabled
|
|
) {
|
|
background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
|
|
border-color: #3b82f6 !important;
|
|
color: #ffffff !important;
|
|
box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.el-button--primary:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link):active:not(
|
|
.is-disabled
|
|
) {
|
|
background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
|
|
border-color: #1d4ed8 !important;
|
|
transform: translateY(0);
|
|
box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2);
|
|
}
|
|
|
|
.el-button--primary:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link) span {
|
|
color: #ffffff !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 成功按钮 (Success - Emerald) */
|
|
.el-button--success:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link) {
|
|
background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
|
|
border: 1px solid #059669 !important;
|
|
color: #ffffff !important;
|
|
box-shadow:
|
|
0 1px 2px rgba(16, 185, 129, 0.12),
|
|
0 3px 8px rgba(16, 185, 129, 0.22);
|
|
}
|
|
|
|
.el-button--success:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link):hover:not(
|
|
.is-disabled
|
|
) {
|
|
background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
|
|
border-color: #10b981 !important;
|
|
color: #ffffff !important;
|
|
box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.el-button--success:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link):active:not(
|
|
.is-disabled
|
|
) {
|
|
transform: translateY(0);
|
|
box-shadow: 0 1px 3px rgba(16, 185, 129, 0.2);
|
|
}
|
|
|
|
/* 危险按钮 (Danger - Rose/Ruby) */
|
|
.el-button--danger:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link) {
|
|
background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
|
|
border: 1px solid #e11d48 !important;
|
|
color: #ffffff !important;
|
|
box-shadow:
|
|
0 1px 2px rgba(244, 63, 94, 0.12),
|
|
0 3px 8px rgba(244, 63, 94, 0.22);
|
|
}
|
|
|
|
.el-button--danger:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link):hover:not(
|
|
.is-disabled
|
|
) {
|
|
background: linear-gradient(135deg, #fb7185 0%, #f43f5e 100%) !important;
|
|
border-color: #f43f5e !important;
|
|
color: #ffffff !important;
|
|
box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.el-button--danger:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link):active:not(
|
|
.is-disabled
|
|
) {
|
|
transform: translateY(0);
|
|
box-shadow: 0 1px 3px rgba(244, 63, 94, 0.2);
|
|
}
|
|
|
|
/* 警告按钮 (Warning - Amber) */
|
|
.el-button--warning:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link) {
|
|
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
|
|
border: 1px solid #d97706 !important;
|
|
color: #ffffff !important;
|
|
box-shadow:
|
|
0 1px 2px rgba(245, 158, 11, 0.12),
|
|
0 3px 8px rgba(245, 158, 11, 0.22);
|
|
}
|
|
|
|
.el-button--warning:not(.is-plain):not(.is-dashed):not(.is-text):not(.is-link):hover:not(
|
|
.is-disabled
|
|
) {
|
|
background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
|
|
border-color: #f59e0b !important;
|
|
color: #ffffff !important;
|
|
box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Plain 朴素按钮升级 */
|
|
.el-button--primary.is-plain {
|
|
background: #eff6ff !important;
|
|
color: #2563eb !important;
|
|
border: 1px solid #bfdbfe !important;
|
|
}
|
|
.el-button--primary.is-plain:hover:not(.is-disabled) {
|
|
background: #2563eb !important;
|
|
color: #ffffff !important;
|
|
border-color: #2563eb !important;
|
|
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.el-button--success.is-plain {
|
|
background: #ecfdf5 !important;
|
|
color: #059669 !important;
|
|
border: 1px solid #a7f3d0 !important;
|
|
}
|
|
.el-button--success.is-plain:hover:not(.is-disabled) {
|
|
background: #059669 !important;
|
|
color: #ffffff !important;
|
|
border-color: #059669 !important;
|
|
box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.el-button--danger.is-plain {
|
|
background: #fff1f2 !important;
|
|
color: #e11d48 !important;
|
|
border: 1px solid #fecdd3 !important;
|
|
}
|
|
.el-button--danger.is-plain:hover:not(.is-disabled) {
|
|
background: #e11d48 !important;
|
|
color: #ffffff !important;
|
|
border-color: #e11d48 !important;
|
|
box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* 链接/文字按钮 */
|
|
.el-button.is-link {
|
|
padding: 4px 8px;
|
|
height: auto;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.el-button.is-link:hover:not(.is-disabled) {
|
|
background: rgba(15, 23, 42, 0.05);
|
|
}
|
|
|
|
.el-button.is-link.el-button--primary {
|
|
color: #2563eb !important;
|
|
}
|
|
.el-button.is-link.el-button--primary:hover:not(.is-disabled) {
|
|
color: #1d4ed8 !important;
|
|
background: #eff6ff !important;
|
|
}
|
|
|
|
.el-button.is-link.el-button--success {
|
|
color: #059669 !important;
|
|
}
|
|
.el-button.is-link.el-button--success:hover:not(.is-disabled) {
|
|
color: #047857 !important;
|
|
background: #ecfdf5 !important;
|
|
}
|
|
|
|
.el-button.is-link.el-button--danger {
|
|
color: #e11d48 !important;
|
|
}
|
|
.el-button.is-link.el-button--danger:hover:not(.is-disabled) {
|
|
color: #be123c !important;
|
|
background: #fff1f2 !important;
|
|
}
|
|
|
|
/* 尺寸规格规范 */
|
|
.el-button--small {
|
|
height: 28px;
|
|
padding: 4px 10px;
|
|
font-size: 12px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.el-button--large {
|
|
height: 42px;
|
|
padding: 10px 20px;
|
|
font-size: 14px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.el-button.is-disabled,
|
|
.el-button.is-disabled:hover {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* ========== Enterprise Form Controls Enhancement ========== */
|
|
.el-input__wrapper,
|
|
.el-select__wrapper,
|
|
.el-textarea__wrapper {
|
|
border-radius: 8px !important;
|
|
box-shadow: 0 0 0 1px #cbd5e1 inset !important;
|
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
background-color: #ffffff !important;
|
|
}
|
|
|
|
.el-input__wrapper:hover,
|
|
.el-select__wrapper:hover,
|
|
.el-textarea__wrapper:hover {
|
|
box-shadow: 0 0 0 1px #94a3b8 inset !important;
|
|
}
|
|
|
|
.el-input__wrapper.is-focus,
|
|
.el-select__wrapper.is-focused,
|
|
.el-textarea__wrapper.is-focus {
|
|
box-shadow:
|
|
0 0 0 1.5px #2563eb inset,
|
|
0 0 0 3.5px rgba(37, 99, 235, 0.12) !important;
|
|
}
|
|
|
|
.el-select-dropdown__item.is-selected {
|
|
color: #2563eb !important;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.el-tag {
|
|
border-radius: 6px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 8px;
|
|
color: #4f7cff;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
color: #0f172a;
|
|
font-size: 32px;
|
|
font-weight: 900;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.page-header p:last-child {
|
|
margin: 12px 0 0;
|
|
color: #8f9bba;
|
|
line-height: 1.7;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.page-header-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
max-width: 100%;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
/* ========== Metric Cards ========== */
|
|
.metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.metric-card {
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
transition:
|
|
transform 0.2s,
|
|
box-shadow 0.2s;
|
|
}
|
|
|
|
.metric-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.metric-card span {
|
|
display: block;
|
|
color: #8f9bba;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.metric-card strong {
|
|
display: block;
|
|
margin-top: 10px;
|
|
color: #1b2559;
|
|
font-size: 24px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.dashboard-metrics {
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
}
|
|
|
|
.admin-listings-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: calc(100vh - 128px);
|
|
}
|
|
|
|
.listing-control-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
border-radius: 12px;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
/* 统计卡片行 */
|
|
.listing-stats-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 12px;
|
|
}
|
|
|
|
.stat-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
padding: 16px 18px;
|
|
border: 1px solid #e8edf4;
|
|
border-radius: 10px;
|
|
background: #ffffff;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.stat-card.clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.stat-card.clickable:hover {
|
|
border-color: #1477ff;
|
|
box-shadow: 0 2px 8px rgba(20, 119, 255, 0.15);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.stat-card.active {
|
|
border-color: #1477ff;
|
|
background: #1477ff;
|
|
box-shadow: 0 2px 8px rgba(20, 119, 255, 0.25);
|
|
}
|
|
|
|
.stat-card .stat-label {
|
|
color: #6b7785;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
}
|
|
|
|
.stat-card.active .stat-label {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.stat-card .stat-value {
|
|
color: #17233d;
|
|
font-size: 28px;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.stat-card.active .stat-value {
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* 筛选和操作行 */
|
|
.listing-filter-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: end;
|
|
gap: 16px 24px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid #f0f3f7;
|
|
}
|
|
|
|
.listing-filter-bar {
|
|
display: grid;
|
|
grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.78fr) minmax(220px, 1fr) minmax(
|
|
220px,
|
|
1fr
|
|
);
|
|
align-items: end;
|
|
gap: 12px 16px;
|
|
margin: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.listing-filter-bar .el-form-item {
|
|
margin-bottom: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.listing-filter-bar .el-form-item__label {
|
|
display: block;
|
|
height: 16px;
|
|
padding: 0;
|
|
margin-bottom: 6px;
|
|
color: #6b7785;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
}
|
|
|
|
.listing-filter-bar .el-form-item__content {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.listing-filter-bar .el-input,
|
|
.listing-filter-bar .el-select,
|
|
.listing-filter-bar .admin-filter-chip,
|
|
.listing-filter-bar .admin-range-filter {
|
|
width: 100%;
|
|
}
|
|
|
|
.listing-filter-bar .el-input__wrapper,
|
|
.listing-filter-bar .el-select__wrapper {
|
|
min-height: 34px;
|
|
}
|
|
|
|
.filter-skin {
|
|
min-width: 0;
|
|
}
|
|
|
|
.admin-range-filter {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.admin-range-filter .el-input-number {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin-range-filter .el-input__wrapper {
|
|
padding-right: 8px;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.admin-range-separator {
|
|
color: #94a3b8;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.listing-action-strip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-shrink: 0;
|
|
padding-bottom: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-filter-chip {
|
|
display: inline-flex;
|
|
height: 34px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
padding: 0 10px;
|
|
border: 1px solid #dcdfe6;
|
|
border-radius: 6px;
|
|
background: #ffffff;
|
|
color: #606266;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
line-height: 1;
|
|
transition:
|
|
border-color 0.15s ease,
|
|
color 0.15s ease,
|
|
background 0.15s ease;
|
|
}
|
|
|
|
.admin-filter-chip.wide {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin-filter-chip span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-filter-chip:hover,
|
|
.admin-filter-chip.active {
|
|
border-color: #409eff;
|
|
background: #ecf5ff;
|
|
color: #1677ff;
|
|
}
|
|
|
|
.admin-filter-chip .el-icon {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.admin-listing-filter-popover {
|
|
padding: 10px !important;
|
|
border-radius: 8px !important;
|
|
}
|
|
|
|
.admin-asset-filter-menu,
|
|
.admin-skin-filter-menu {
|
|
display: flex;
|
|
max-height: 420px;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.admin-filter-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.admin-filter-title {
|
|
color: #6b7785;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-option-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 6px;
|
|
}
|
|
|
|
.admin-option-grid.compact {
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
}
|
|
|
|
.admin-option-grid button,
|
|
.admin-skin-option-grid button,
|
|
.admin-filter-reset,
|
|
.admin-skin-filter-title button {
|
|
border: none;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: #334155;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
transition:
|
|
background 0.15s ease,
|
|
color 0.15s ease;
|
|
}
|
|
|
|
.admin-option-grid button {
|
|
min-height: 30px;
|
|
padding: 7px 8px;
|
|
}
|
|
|
|
.admin-option-grid button:hover,
|
|
.admin-skin-option-grid button:hover,
|
|
.admin-filter-reset:hover,
|
|
.admin-skin-filter-title button:hover {
|
|
background: #f1f5f9;
|
|
}
|
|
|
|
.admin-option-grid button.active,
|
|
.admin-skin-option-grid button.active,
|
|
.admin-filter-reset.active,
|
|
.admin-skin-filter-title button.active {
|
|
background: #ecf5ff;
|
|
color: #1677ff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-filter-reset {
|
|
min-height: 32px;
|
|
padding: 8px 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
.admin-filter-empty {
|
|
padding: 10px;
|
|
color: #8f9bba;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-skin-filter-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.admin-skin-filter-title strong {
|
|
color: #17233d;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.admin-skin-filter-title button {
|
|
flex-shrink: 0;
|
|
padding: 5px 8px;
|
|
}
|
|
|
|
.admin-skin-option-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 6px;
|
|
}
|
|
|
|
.admin-skin-option-grid button {
|
|
min-height: 30px;
|
|
padding: 8px 10px;
|
|
overflow: hidden;
|
|
text-align: left;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-skin-filter-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-top: 10px;
|
|
margin-top: 4px;
|
|
border-top: 1px solid #f1f5f9;
|
|
}
|
|
|
|
.admin-skin-filter-footer .selected-hint {
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-skin-filter-footer .footer-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* ========== Dashboard Panels ========== */
|
|
.dashboard-panels {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.dashboard-panel {
|
|
max-width: none;
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
padding: 24px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.dashboard-panel h2 {
|
|
margin: 0 0 18px;
|
|
color: #1b2559;
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.pending-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 48px;
|
|
border-top: 1px solid #f0f2f5;
|
|
color: #8f9bba;
|
|
text-decoration: none;
|
|
padding: 0 4px;
|
|
transition: background 0.2s;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.pending-row:first-of-type {
|
|
border-top: 0;
|
|
}
|
|
|
|
.pending-row:hover {
|
|
background: #f8f9fe;
|
|
}
|
|
|
|
.pending-row strong {
|
|
color: #1b2559;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ========== Table Panel ========== */
|
|
.table-panel {
|
|
margin-top: 0;
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
background: #ffffff;
|
|
border-radius: 14px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
padding: 4px;
|
|
}
|
|
|
|
.el-table.table-panel {
|
|
padding: 0;
|
|
}
|
|
|
|
.table-panel .el-table,
|
|
.el-table.table-panel {
|
|
--el-table-border-color: #f0f2f5;
|
|
--el-table-header-bg-color: #f8f9fe;
|
|
--el-table-header-text-color: #8f9bba;
|
|
--el-table-text-color: #1b2559;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.table-panel .el-table th,
|
|
.el-table.table-panel th {
|
|
font-weight: 600;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.table-panel .el-table__inner-wrapper {
|
|
min-width: 760px;
|
|
}
|
|
|
|
.admin-listings-table.el-table .el-table__inner-wrapper {
|
|
min-width: 0;
|
|
}
|
|
|
|
.admin-listings-table.el-table .el-scrollbar__wrap {
|
|
overflow-x: hidden !important;
|
|
}
|
|
|
|
.admin-listings-table.el-table .el-scrollbar__bar.is-horizontal {
|
|
display: none;
|
|
}
|
|
|
|
.admin-listings-table.el-table {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-listings-table.el-table th {
|
|
font-size: 11px;
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
}
|
|
|
|
.admin-listings-table.el-table .cell {
|
|
padding: 0 5px;
|
|
line-height: 1.35;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.admin-listings-table.el-table th .cell {
|
|
white-space: nowrap;
|
|
word-break: keep-all;
|
|
overflow-wrap: normal;
|
|
overflow: visible;
|
|
}
|
|
|
|
.admin-listings-table .listing-code {
|
|
display: inline-block;
|
|
font-size: 11px;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
word-break: keep-all;
|
|
}
|
|
|
|
.admin-listings-table.el-table .el-table__cell {
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.admin-listings-table.el-table .el-button--small {
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.table-subtext {
|
|
display: block;
|
|
margin-top: 4px;
|
|
color: #8f9bba;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.table-pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
border: none;
|
|
background: #ffffff;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.table-pagination {
|
|
justify-content: flex-end;
|
|
margin-top: 12px;
|
|
border-radius: 12px;
|
|
padding: 12px 16px;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
color: #66728f;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pagination-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pagination-summary,
|
|
.pagination-page,
|
|
.pagination-size-label {
|
|
flex-shrink: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.page-size-select {
|
|
width: 86px;
|
|
flex: 0 0 86px;
|
|
}
|
|
|
|
.page-size-select .el-select__wrapper {
|
|
min-height: 30px;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.page-size-select .el-select__selected-item {
|
|
min-width: max-content;
|
|
}
|
|
|
|
.admin-listings-page .table-pagination {
|
|
margin-top: auto;
|
|
}
|
|
|
|
.pagination-controls .el-button--small {
|
|
min-width: 44px;
|
|
padding: 5px 8px;
|
|
}
|
|
|
|
.pagination-controls .el-button + .el-button {
|
|
margin-left: 0;
|
|
}
|
|
|
|
@media (max-width: 1280px) {
|
|
.listing-filter-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.listing-filter-bar {
|
|
grid-template-columns: repeat(2, minmax(180px, 1fr));
|
|
}
|
|
|
|
.listing-action-strip {
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.listing-control-panel {
|
|
grid-template-columns: 1fr;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.listing-filter-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.listing-filter-bar {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.listing-action-strip {
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
/* ========== Filter Panel ========== */
|
|
.filter-panel {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.filter-panel .el-form-item {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.filter-panel .el-form-item__label {
|
|
color: #8f9bba;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
/* ========== Order Panel ========== */
|
|
.order-panel {
|
|
max-width: min(100%, 560px);
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
padding: 24px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.order-panel p {
|
|
margin: 0 0 14px;
|
|
color: #8f9bba;
|
|
}
|
|
|
|
.order-panel h2 {
|
|
margin: 0 0 18px;
|
|
color: #1b2559;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ========== Status Panel ========== */
|
|
.status-panel {
|
|
max-width: 520px;
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
padding: 24px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.status-panel span {
|
|
color: #8f9bba;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.status-panel strong {
|
|
display: block;
|
|
margin-top: 8px;
|
|
color: #4f7cff;
|
|
font-size: 24px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.status-panel p {
|
|
margin: 10px 0 0;
|
|
color: #8f9bba;
|
|
}
|
|
|
|
/* ========== Forms ========== */
|
|
.listing-form,
|
|
.login-form {
|
|
max-width: 860px;
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
padding: 24px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
column-gap: 20px;
|
|
}
|
|
|
|
.full-control {
|
|
width: 100%;
|
|
}
|
|
|
|
/* ========== Dialogs ========== */
|
|
.dialog-body {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.dialog-body p {
|
|
margin: 0;
|
|
color: #8f9bba;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ========== Pagination ========== */
|
|
.pagination-wrap {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 24px;
|
|
padding: 16px 0;
|
|
}
|
|
|
|
/* ========== Publish Config Panel ========== */
|
|
.publish-config-panel {
|
|
display: grid;
|
|
gap: 20px;
|
|
margin-bottom: 24px;
|
|
padding: 24px;
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.publish-config-main {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.panel-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.publish-config-main h2 {
|
|
margin: 4px 0 8px;
|
|
color: #1b2559;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.publish-config-main span {
|
|
color: #8f9bba;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.publish-stat-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.home-stat-grid .publish-stat strong {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.publish-stat {
|
|
display: grid;
|
|
gap: 6px;
|
|
padding: 16px;
|
|
border-radius: 12px;
|
|
background: #f8f9fe;
|
|
}
|
|
|
|
.publish-stat strong {
|
|
color: #4f7cff;
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.publish-stat span,
|
|
.config-value {
|
|
color: #8f9bba;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* ========== Timeline ========== */
|
|
.timeline-item {
|
|
border-top: 1px solid #f0f2f5;
|
|
padding: 16px 0;
|
|
}
|
|
|
|
.timeline-item:first-of-type {
|
|
border-top: 0;
|
|
}
|
|
|
|
.timeline-item strong {
|
|
display: block;
|
|
color: #1b2559;
|
|
}
|
|
|
|
.timeline-item span {
|
|
color: #8f9bba;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.panel-action {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
/* ========== Upload Components ========== */
|
|
.upload-line input {
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-stack {
|
|
display: grid;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-line {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 12px;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.evidence-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.evidence-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.evidence-row span {
|
|
overflow-wrap: anywhere;
|
|
color: #8f9bba;
|
|
}
|
|
|
|
/* ========== Code Panel ========== */
|
|
.code-panel {
|
|
max-width: none;
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.code-panel pre {
|
|
overflow-x: auto;
|
|
margin: 0;
|
|
background: #1a1f36;
|
|
color: #e2e8f0;
|
|
padding: 20px;
|
|
line-height: 1.7;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* ========== Notification List ========== */
|
|
.notification-list {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.notification-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
transition:
|
|
transform 0.2s,
|
|
box-shadow 0.2s;
|
|
}
|
|
|
|
.notification-item:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.notification-item.unread {
|
|
border-left: 3px solid #4f7cff;
|
|
}
|
|
|
|
.notification-item span {
|
|
color: #4f7cff;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.notification-item h2 {
|
|
margin: 8px 0;
|
|
color: #1b2559;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.notification-item p {
|
|
margin: 0 0 10px;
|
|
color: #8f9bba;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.notification-item small {
|
|
color: #a3aed0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.notification-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
/* ========== Listing Grid ========== */
|
|
.listing-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.listing-card {
|
|
display: block;
|
|
min-height: 172px;
|
|
border: none;
|
|
border-radius: 14px;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
|
|
text-decoration: none;
|
|
transition:
|
|
transform 0.2s,
|
|
box-shadow 0.2s;
|
|
}
|
|
|
|
.listing-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.listing-card span {
|
|
color: #4f7cff;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.listing-card strong {
|
|
display: block;
|
|
margin-top: 12px;
|
|
color: #1b2559;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.listing-card p {
|
|
color: #8f9bba;
|
|
line-height: 1.6;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.listing-price {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.listing-price b {
|
|
color: #1b2559;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.listing-price em {
|
|
color: #8f9bba;
|
|
font-style: normal;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* ========== Detail Grid ========== */
|
|
.detail-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
/* ========== Responsive ========== */
|
|
@media (max-width: 1180px) {
|
|
.admin-shell {
|
|
grid-template-columns: 200px 1fr;
|
|
}
|
|
|
|
.admin-shell--collapsed {
|
|
grid-template-columns: 64px 1fr;
|
|
}
|
|
|
|
.admin-sidebar-header {
|
|
padding: 0 14px;
|
|
}
|
|
|
|
.admin-nav {
|
|
padding: 10px 8px;
|
|
}
|
|
|
|
.admin-nav-link {
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.admin-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.admin-shell--collapsed {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
height: auto;
|
|
min-height: 60px;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.admin-sidebar-header {
|
|
min-height: auto;
|
|
padding: 0;
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.admin-nav {
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: max-content;
|
|
gap: 8px;
|
|
padding: 0;
|
|
margin-left: auto;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.admin-nav-link {
|
|
min-height: 40px;
|
|
white-space: nowrap;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.admin-nav-link::before {
|
|
display: none;
|
|
}
|
|
|
|
.admin-shell--collapsed .admin-nav-link {
|
|
justify-content: flex-start;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.admin-shell--collapsed .brand-text,
|
|
.admin-shell--collapsed .nav-text {
|
|
opacity: 1;
|
|
width: auto;
|
|
}
|
|
|
|
.admin-topbar {
|
|
min-height: 64px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.admin-main {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.metric-grid,
|
|
.dashboard-metrics,
|
|
.dashboard-panels {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.publish-stat-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.admin-topbar {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.admin-topbar .el-button {
|
|
width: 100%;
|
|
}
|
|
|
|
.page-header-row {
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.toolbar-actions {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.admin-captcha-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.captcha-image-button,
|
|
.captcha-image-button img {
|
|
width: 100%;
|
|
}
|
|
|
|
.publish-stat-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.admin-shell,
|
|
.admin-nav-link,
|
|
.metric-card,
|
|
.notification-item,
|
|
.listing-card {
|
|
transition: none;
|
|
}
|
|
}
|