588 lines
8.4 KiB
CSS
588 lines
8.4 KiB
CSS
:root {
|
|
color: #1f2933;
|
|
background: #f6f8fb;
|
|
font-family:
|
|
Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
sans-serif;
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.app-shell {
|
|
display: grid;
|
|
min-height: 100vh;
|
|
grid-template-columns: 248px 1fr;
|
|
}
|
|
|
|
.sidebar {
|
|
border-right: 1px solid #e4e7ed;
|
|
background: #ffffff;
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 44px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.brand-mark {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
background: #0f766e;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.nav {
|
|
display: grid;
|
|
gap: 6px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 40px;
|
|
border-radius: 8px;
|
|
padding: 0 12px;
|
|
color: #52616f;
|
|
}
|
|
|
|
.nav-link.router-link-active {
|
|
background: #e8f5f2;
|
|
color: #0f766e;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.main {
|
|
min-width: 0;
|
|
padding: 32px;
|
|
}
|
|
|
|
.admin-shell {
|
|
display: grid;
|
|
min-height: 100vh;
|
|
grid-template-columns: 260px 1fr;
|
|
background: #f5f7fb;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-right: 1px solid #dfe5ec;
|
|
background: #111827;
|
|
padding: 20px 16px;
|
|
color: #dbe4ee;
|
|
}
|
|
|
|
.admin-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 44px;
|
|
color: #ffffff;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-nav {
|
|
display: grid;
|
|
gap: 6px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.admin-nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 42px;
|
|
border-radius: 8px;
|
|
padding: 0 12px;
|
|
color: #b7c3d2;
|
|
}
|
|
|
|
.admin-nav-link.router-link-active {
|
|
background: #0f766e;
|
|
color: #ffffff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.admin-workspace {
|
|
min-width: 0;
|
|
}
|
|
|
|
.admin-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 64px;
|
|
border-bottom: 1px solid #e4e7ed;
|
|
background: #ffffff;
|
|
padding: 0 28px;
|
|
}
|
|
|
|
.admin-topbar span {
|
|
display: block;
|
|
color: #6b7785;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-topbar strong {
|
|
display: block;
|
|
margin-top: 3px;
|
|
color: #111827;
|
|
}
|
|
|
|
.admin-main {
|
|
min-width: 0;
|
|
padding: 28px;
|
|
}
|
|
|
|
.admin-login-shell {
|
|
display: grid;
|
|
min-height: 100vh;
|
|
place-items: center;
|
|
background:
|
|
linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(17, 24, 39, 0.08)),
|
|
#f5f7fb;
|
|
padding: 24px;
|
|
}
|
|
|
|
.admin-login-panel {
|
|
width: min(420px, 100%);
|
|
border: 1px solid #e4e7ed;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
padding: 28px;
|
|
box-shadow: 0 20px 60px rgba(17, 24, 39, 0.10);
|
|
}
|
|
|
|
.admin-login-brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: #111827;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-login-header {
|
|
margin: 28px 0 22px;
|
|
}
|
|
|
|
.admin-login-header h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.admin-login-header p:last-child {
|
|
margin: 10px 0 0;
|
|
color: #52616f;
|
|
}
|
|
|
|
.page {
|
|
max-width: 1120px;
|
|
}
|
|
|
|
.page-header {
|
|
max-width: 720px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 8px;
|
|
color: #0f766e;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 32px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.page-header p:last-child {
|
|
margin: 12px 0 0;
|
|
color: #52616f;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 16px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.metric-card {
|
|
border: 1px solid #e4e7ed;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
padding: 18px;
|
|
}
|
|
|
|
.metric-card span {
|
|
display: block;
|
|
color: #6b7785;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.metric-card strong {
|
|
display: block;
|
|
margin-top: 8px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.dashboard-metrics {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.dashboard-panels {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.dashboard-panel {
|
|
max-width: none;
|
|
}
|
|
|
|
.pending-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-height: 40px;
|
|
border-top: 1px solid #e4e7ed;
|
|
color: #52616f;
|
|
}
|
|
|
|
.pending-row:first-of-type {
|
|
border-top: 0;
|
|
}
|
|
|
|
.pending-row strong {
|
|
color: #111827;
|
|
}
|
|
|
|
.login-form {
|
|
max-width: 420px;
|
|
margin-top: 28px;
|
|
border: 1px solid #e4e7ed;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
}
|
|
|
|
.code-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 96px;
|
|
gap: 10px;
|
|
width: 100%;
|
|
}
|
|
|
|
.notice {
|
|
max-width: 520px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.status-panel {
|
|
max-width: 520px;
|
|
margin-top: 24px;
|
|
border: 1px solid #e4e7ed;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
padding: 18px;
|
|
}
|
|
|
|
.status-panel span {
|
|
color: #6b7785;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.status-panel strong {
|
|
display: block;
|
|
margin-top: 6px;
|
|
color: #0f766e;
|
|
font-size: 22px;
|
|
}
|
|
|
|
.status-panel p {
|
|
margin: 8px 0 0;
|
|
color: #52616f;
|
|
}
|
|
|
|
.listing-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 16px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.listing-card {
|
|
display: block;
|
|
min-height: 172px;
|
|
border: 1px solid #e4e7ed;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
padding: 18px;
|
|
}
|
|
|
|
.listing-card span {
|
|
color: #0f766e;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.listing-card strong {
|
|
display: block;
|
|
margin-top: 10px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.listing-card p {
|
|
color: #52616f;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.listing-price {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.listing-price b {
|
|
color: #111827;
|
|
}
|
|
|
|
.listing-price em {
|
|
color: #6b7785;
|
|
font-style: normal;
|
|
}
|
|
|
|
.detail-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 16px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.page-header-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.table-panel,
|
|
.listing-form {
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.listing-form {
|
|
max-width: 860px;
|
|
border: 1px solid #e4e7ed;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
column-gap: 16px;
|
|
}
|
|
|
|
.order-panel {
|
|
max-width: 520px;
|
|
margin-top: 28px;
|
|
border: 1px solid #e4e7ed;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
padding: 20px;
|
|
}
|
|
|
|
.order-panel p {
|
|
margin: 0 0 12px;
|
|
color: #52616f;
|
|
}
|
|
|
|
.order-panel h2 {
|
|
margin: 0 0 14px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.timeline-item {
|
|
border-top: 1px solid #e4e7ed;
|
|
padding: 14px 0;
|
|
}
|
|
|
|
.timeline-item:first-of-type {
|
|
border-top: 0;
|
|
}
|
|
|
|
.timeline-item strong {
|
|
display: block;
|
|
}
|
|
|
|
.timeline-item span {
|
|
color: #6b7785;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.panel-action {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.full-control {
|
|
width: 100%;
|
|
}
|
|
|
|
.dialog-body {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.dialog-body p {
|
|
margin: 0;
|
|
color: #52616f;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.notification-list {
|
|
display: grid;
|
|
gap: 12px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.notification-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
border: 1px solid #e4e7ed;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
padding: 16px;
|
|
}
|
|
|
|
.notification-item.unread {
|
|
border-color: #0f766e;
|
|
}
|
|
|
|
.notification-item span {
|
|
color: #0f766e;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.notification-item h2 {
|
|
margin: 6px 0;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.notification-item p {
|
|
margin: 0 0 8px;
|
|
color: #52616f;
|
|
}
|
|
|
|
.notification-item small {
|
|
color: #6b7785;
|
|
}
|
|
|
|
.notification-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.app-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.admin-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sidebar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
border-right: 0;
|
|
border-bottom: 1px solid #e4e7ed;
|
|
}
|
|
|
|
.nav {
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: max-content;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
border-right: 0;
|
|
border-bottom: 1px solid #1f2937;
|
|
}
|
|
|
|
.admin-nav {
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: max-content;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.admin-topbar {
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.main {
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.admin-main {
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.metric-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.listing-grid,
|
|
.detail-grid,
|
|
.dashboard-metrics,
|
|
.dashboard-panels,
|
|
.form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.page-header-row {
|
|
display: grid;
|
|
}
|
|
}
|