347 lines
6.9 KiB
CSS
347 lines
6.9 KiB
CSS
:root {
|
|||
|
|
--admin-mobile-ink: #5d4338;
|
||
|
|
--admin-mobile-surface: #f6eee5;
|
||
|
|
--admin-mobile-surface-alt: #f1e3d6;
|
||
|
|
--admin-mobile-card: #fff9f2;
|
||
|
|
--admin-mobile-border: rgba(122, 88, 72, 0.14);
|
||
|
|
--admin-mobile-muted: #897165;
|
||
|
|
--admin-mobile-accent: #cc7b5f;
|
||
|
|
--admin-mobile-accent-strong: #b96449;
|
||
|
|
--admin-mobile-accent-soft: rgba(204, 123, 95, 0.14);
|
||
|
|
--admin-mobile-shell-start: #c08a72;
|
||
|
|
--admin-mobile-shell-mid: #a8715d;
|
||
|
|
--admin-mobile-shell-end: #8a5c4c;
|
||
|
|
--admin-mobile-shell-glass: rgba(153, 105, 84, 0.9);
|
||
|
|
--admin-mobile-shell-soft: rgba(255, 248, 240, 0.16);
|
||
|
|
--admin-mobile-radius: 24px;
|
||
|
|
--admin-mobile-shadow: 0 16px 40px rgba(144, 103, 84, 0.14);
|
||
|
|
}
|
||
|
|
|
||
|
|
.admin-page-intro {
|
||
|
|
display: grid;
|
||
|
|
gap: 10px;
|
||
|
|
margin-bottom: 18px;
|
||
|
|
padding: 20px 18px;
|
||
|
|
color: #fff8f1;
|
||
|
|
background:
|
||
|
|
radial-gradient(circle at top right, rgba(255, 244, 232, 0.2), transparent 38%),
|
||
|
|
radial-gradient(circle at left top, rgba(233, 193, 167, 0.22), 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(24px, 5vw, 32px);
|
||
|
|
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: rgba(255, 248, 241, 0.16);
|
||
|
|
color: #fff8f1;
|
||
|
|
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: #eedfce;
|
||
|
|
}
|
||
|
|
|
||
|
|
.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: #6d574d;
|
||
|
|
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 {
|
||
|
|
color: var(--admin-mobile-ink);
|
||
|
|
font-weight: 600;
|
||
|
|
text-align: right;
|
||
|
|
}
|
||
|
|
|
||
|
|
.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: #a4553d;
|
||
|
|
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: 28px;
|
||
|
|
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: 100vw !important;
|
||
|
|
width: 100vw !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: #fffaf4;
|
||
|
|
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: rgba(255, 249, 242, 0.94);
|
||
|
|
border-top: 1px solid var(--admin-mobile-border);
|
||
|
|
backdrop-filter: blur(14px);
|
||
|
|
}
|
||
|
|
|
||
|
|
.admin-mobile-fab {
|
||
|
|
position: fixed;
|
||
|
|
right: 18px;
|
||
|
|
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: linear-gradient(135deg, var(--admin-mobile-accent) 0%, var(--admin-mobile-accent-strong) 100%);
|
||
|
|
color: #fffaf4;
|
||
|
|
box-shadow: 0 18px 32px rgba(185, 100, 73, 0.34);
|
||
|
|
}
|
||
|
|
|
||
|
|
.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;
|
||
|
|
}
|
||
|
|
}
|