统一甲屿云命名体系
This commit is contained in:
@@ -0,0 +1,349 @@
|
||||
:root {
|
||||
--admin-mobile-ink: var(--text-primary);
|
||||
--admin-mobile-surface: var(--theme-page-bg);
|
||||
--admin-mobile-surface-alt: var(--theme-primary-soft);
|
||||
--admin-mobile-card: var(--theme-card-bg);
|
||||
--admin-mobile-border: var(--theme-border);
|
||||
--admin-mobile-muted: var(--text-secondary);
|
||||
--admin-mobile-accent: var(--theme-primary);
|
||||
--admin-mobile-accent-strong: var(--theme-accent);
|
||||
--admin-mobile-accent-soft: var(--theme-primary-soft);
|
||||
--admin-mobile-shell-start: var(--theme-primary);
|
||||
--admin-mobile-shell-mid: var(--theme-accent);
|
||||
--admin-mobile-shell-end: color-mix(in srgb, var(--theme-accent) 78%, var(--text-primary));
|
||||
--admin-mobile-shell-glass: color-mix(in srgb, var(--theme-primary) 88%, transparent);
|
||||
--admin-mobile-shell-soft: color-mix(in srgb, var(--theme-card-bg) 18%, transparent);
|
||||
--admin-mobile-radius: 24px;
|
||||
--admin-mobile-shadow: var(--theme-button-shadow);
|
||||
}
|
||||
|
||||
.admin-page-intro {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
margin-bottom: 18px;
|
||||
padding: 20px 18px;
|
||||
color: var(--theme-card-bg);
|
||||
background:
|
||||
radial-gradient(circle at top right, color-mix(in srgb, var(--theme-card-bg) 20%, transparent), transparent 38%),
|
||||
radial-gradient(circle at left top, color-mix(in srgb, var(--theme-secondary) 22%, transparent), transparent 42%),
|
||||
linear-gradient(
|
||||
155deg,
|
||||
var(--admin-mobile-shell-start) 0%,
|
||||
var(--admin-mobile-shell-mid) 56%,
|
||||
var(--admin-mobile-shell-end) 100%
|
||||
);
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 18px 40px rgba(146, 103, 82, 0.2);
|
||||
}
|
||||
|
||||
.admin-page-intro__eyebrow {
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(255, 248, 241, 0.74);
|
||||
}
|
||||
|
||||
.admin-page-intro__title {
|
||||
margin: 0;
|
||||
font-size: clamp(20px, 4vw, 26px);
|
||||
line-height: 1.08;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.admin-page-intro__subtitle {
|
||||
margin: 0;
|
||||
line-height: 1.65;
|
||||
color: rgba(255, 248, 241, 0.82);
|
||||
}
|
||||
|
||||
.shops .admin-page-intro__subtitle,
|
||||
.permissions .admin-page-intro__subtitle,
|
||||
.orders .admin-page-intro__subtitle,
|
||||
.nail-artists .admin-page-intro__subtitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.admin-page-intro__meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.admin-page-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-height: 34px;
|
||||
padding: 0 12px;
|
||||
border-radius: 999px;
|
||||
background: color-mix(in srgb, var(--theme-card-bg) 16%, transparent);
|
||||
color: var(--theme-card-bg);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.admin-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.admin-toolbar--stacked {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.admin-toolbar__grow {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.admin-mobile-card-list {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.admin-mobile-card {
|
||||
padding: 16px;
|
||||
background: var(--admin-mobile-card);
|
||||
border: 1px solid var(--admin-mobile-border);
|
||||
border-radius: 22px;
|
||||
box-shadow: 0 12px 28px rgba(144, 103, 84, 0.09);
|
||||
}
|
||||
|
||||
.admin-mobile-card__cover {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
border-radius: 18px;
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
background: var(--theme-primary-soft);
|
||||
}
|
||||
|
||||
.admin-mobile-card__cover--wide {
|
||||
width: 100%;
|
||||
height: 148px;
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.admin-mobile-card__head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.admin-mobile-card__head--media {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.admin-mobile-card__body {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.admin-mobile-card__title {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
line-height: 1.3;
|
||||
color: var(--admin-mobile-ink);
|
||||
}
|
||||
|
||||
.admin-mobile-card__subtitle {
|
||||
margin-top: 4px;
|
||||
font-size: 13px;
|
||||
color: var(--admin-mobile-muted);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.admin-mobile-card__description {
|
||||
margin-top: 10px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.admin-mobile-card__rows {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.admin-mobile-card__row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
font-size: 13px;
|
||||
color: var(--admin-mobile-muted);
|
||||
}
|
||||
|
||||
.admin-mobile-card__row span:first-child {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.admin-mobile-card__row strong,
|
||||
.admin-mobile-card__row b {
|
||||
min-width: 0;
|
||||
color: var(--admin-mobile-ink);
|
||||
font-weight: 600;
|
||||
text-align: right;
|
||||
word-break: normal;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.admin-mobile-card__actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.admin-mobile-card__badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 30px;
|
||||
padding: 0 12px;
|
||||
border-radius: 999px;
|
||||
background: var(--admin-mobile-accent-soft);
|
||||
color: var(--theme-accent);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.admin-mobile-grid {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.admin-mobile-grid--two {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.admin-mobile-stat {
|
||||
padding: 16px;
|
||||
background: var(--admin-mobile-card);
|
||||
border: 1px solid var(--admin-mobile-border);
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 10px 24px rgba(144, 103, 84, 0.08);
|
||||
}
|
||||
|
||||
.admin-mobile-stat__label {
|
||||
font-size: 12px;
|
||||
color: var(--admin-mobile-muted);
|
||||
}
|
||||
|
||||
.admin-mobile-stat__value {
|
||||
margin-top: 10px;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
color: var(--admin-mobile-ink);
|
||||
}
|
||||
|
||||
.admin-mobile-section-card {
|
||||
padding: 18px;
|
||||
background: var(--admin-mobile-card);
|
||||
border: 1px solid var(--admin-mobile-border);
|
||||
border-radius: 22px;
|
||||
box-shadow: 0 12px 28px rgba(144, 103, 84, 0.09);
|
||||
}
|
||||
|
||||
.admin-mobile-section-card__title {
|
||||
font-size: 17px;
|
||||
font-weight: 700;
|
||||
color: var(--admin-mobile-ink);
|
||||
}
|
||||
|
||||
.admin-mobile-section-card__subtitle {
|
||||
margin-top: 6px;
|
||||
color: var(--admin-mobile-muted);
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.admin-mobile-modal .ant-modal {
|
||||
top: 0 !important;
|
||||
max-width: 100dvw !important;
|
||||
width: 100dvw !important;
|
||||
margin: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.admin-mobile-modal .ant-modal-content {
|
||||
min-height: 100vh;
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.admin-mobile-modal .ant-modal-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
padding: 18px 18px 14px;
|
||||
background: var(--theme-card-bg);
|
||||
border-bottom: 1px solid var(--admin-mobile-border);
|
||||
}
|
||||
|
||||
.admin-mobile-modal .ant-modal-title {
|
||||
padding-right: 24px;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--admin-mobile-ink);
|
||||
}
|
||||
|
||||
.admin-mobile-modal .ant-modal-close {
|
||||
top: 12px;
|
||||
inset-inline-end: 12px;
|
||||
}
|
||||
|
||||
.admin-mobile-modal .ant-modal-body {
|
||||
padding: 16px 16px 104px;
|
||||
}
|
||||
|
||||
.admin-mobile-modal .ant-modal-footer {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
|
||||
background: color-mix(in srgb, var(--theme-card-bg) 94%, transparent);
|
||||
border-top: 1px solid var(--admin-mobile-border);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
.admin-mobile-fab {
|
||||
position: fixed;
|
||||
right: 18px;
|
||||
bottom: var(--admin-mobile-fab-bottom, calc(96px + env(safe-area-inset-bottom)));
|
||||
z-index: 120;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
background: var(--theme-gradient);
|
||||
color: #ffffff;
|
||||
box-shadow: var(--theme-button-shadow);
|
||||
}
|
||||
|
||||
.admin-mobile-fab .anticon {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
@media (max-width: 960px) {
|
||||
body {
|
||||
background: var(--admin-mobile-surface);
|
||||
}
|
||||
|
||||
.admin-mobile-grid--two {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.admin-mobile-grid--two {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user