597 lines
14 KiB
CSS
597 lines
14 KiB
CSS
:root {
|
|
--admin-workbench-ink: #17211f;
|
|
--admin-workbench-muted: #6d7c75;
|
|
--admin-workbench-line: #dfe8e3;
|
|
--admin-workbench-page: #f4f8f5;
|
|
--admin-workbench-surface: #ffffff;
|
|
--admin-workbench-mint: #247b63;
|
|
--admin-workbench-mint-soft: #e5f4ed;
|
|
}
|
|
|
|
.admin-layout .content {
|
|
background: var(--admin-workbench-page);
|
|
}
|
|
|
|
.admin-layout .content :is(
|
|
.salon-dashboard,
|
|
.users,
|
|
.registration-page,
|
|
.privacy-page,
|
|
.shops,
|
|
.system-settings,
|
|
.admin-profile
|
|
) {
|
|
width: 100%;
|
|
min-width: 0;
|
|
color: var(--admin-workbench-ink);
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .ant-page-header {
|
|
margin: 0 0 12px;
|
|
padding: 0 0 15px;
|
|
border-bottom: 1px solid var(--admin-workbench-line);
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .ant-page-header .ant-page-header-heading-title {
|
|
color: var(--admin-workbench-ink);
|
|
font-size: 24px;
|
|
font-weight: 730;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .ant-page-header .ant-page-header-heading-sub-title {
|
|
color: var(--admin-workbench-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .admin-page-intro {
|
|
gap: 5px;
|
|
margin: 0 0 12px;
|
|
padding: 0 0 13px;
|
|
border: 0;
|
|
border-bottom: 1px solid var(--admin-workbench-line);
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
color: var(--admin-workbench-ink);
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .admin-page-intro .admin-page-intro__eyebrow {
|
|
color: var(--admin-workbench-mint);
|
|
font-size: 10px;
|
|
font-weight: 750;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .admin-page-intro .admin-page-intro__title {
|
|
color: var(--admin-workbench-ink);
|
|
font-size: 23px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .admin-page-intro .admin-page-intro__subtitle {
|
|
display: none;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .admin-page-intro .admin-page-chip {
|
|
min-height: 25px;
|
|
padding: 0 8px;
|
|
border: 1px solid var(--admin-workbench-line);
|
|
border-radius: 5px;
|
|
background: var(--admin-workbench-surface);
|
|
color: var(--admin-workbench-muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .ant-card {
|
|
overflow: visible;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .ant-card > .ant-card-head {
|
|
min-height: 44px;
|
|
padding: 0;
|
|
border-bottom: 1px solid var(--admin-workbench-line);
|
|
background: transparent;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .ant-card > .ant-card-head .ant-card-head-title {
|
|
padding: 9px 0;
|
|
color: var(--admin-workbench-ink);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .ant-card > .ant-card-head .ant-card-extra {
|
|
width: 100%;
|
|
padding: 7px 0;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) > .ant-card > .ant-card-body {
|
|
padding: 10px 0 0;
|
|
}
|
|
|
|
.admin-layout .content .users > .ant-card .admin-toolbar,
|
|
.admin-layout .content .shops > .ant-card .admin-toolbar {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.admin-layout .content .users > .ant-card .admin-filter-panel {
|
|
margin: 10px 0 12px;
|
|
}
|
|
|
|
.admin-layout .content .users > .ant-card .admin-filter-bar {
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 9px 10px;
|
|
border: 1px solid var(--admin-workbench-line);
|
|
background: color-mix(in srgb, var(--admin-workbench-surface) 74%, transparent);
|
|
}
|
|
|
|
.admin-layout .content .users > .ant-card .admin-filter-bar > .ant-btn {
|
|
height: 32px;
|
|
padding-inline: 10px;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) :is(.ant-input, .ant-input-affix-wrapper, .ant-select-selector, .ant-picker) {
|
|
border-color: #d5e1da;
|
|
border-radius: 6px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) :is(.ant-input:hover, .ant-input-affix-wrapper:hover, .ant-select-selector:hover, .ant-picker:hover) {
|
|
border-color: #91c7b0;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) :is(.ant-input:focus, .ant-input-affix-wrapper-focused, .ant-select-focused .ant-select-selector, .ant-picker-focused) {
|
|
border-color: var(--admin-workbench-mint);
|
|
box-shadow: 0 0 0 2px rgba(36, 123, 99, 0.12);
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) :is(.ant-btn, .ant-switch) {
|
|
transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) .ant-btn-primary {
|
|
border-color: var(--admin-workbench-mint);
|
|
border-radius: 6px;
|
|
background: var(--admin-workbench-mint);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops) .ant-btn-primary:hover {
|
|
border-color: #1c6852;
|
|
background: #1c6852;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) .ant-table-wrapper {
|
|
width: 100%;
|
|
border-top: 1px solid var(--admin-workbench-line);
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) .ant-table {
|
|
color: var(--admin-workbench-ink);
|
|
background: transparent;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) .ant-table-thead > tr > th {
|
|
padding: 11px 12px;
|
|
border-bottom: 1px solid var(--admin-workbench-line);
|
|
background: #edf4ef;
|
|
color: #52645b;
|
|
font-size: 11px;
|
|
font-weight: 720;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) .ant-table-tbody > tr > td {
|
|
padding: 11px 12px;
|
|
border-bottom: 1px solid #e8eeea;
|
|
background: var(--admin-workbench-surface);
|
|
color: #26332d;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) .ant-table-tbody > tr:hover > td {
|
|
background: #f5faf7;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) .ant-table-pagination {
|
|
margin: 12px 0 0;
|
|
}
|
|
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) .ant-pagination-item,
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) .ant-pagination-prev,
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) .ant-pagination-next {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.admin-layout .content :is(.registration-page, .privacy-page) .admin-view-heading {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 0 0 16px;
|
|
border-bottom: 1px solid var(--admin-workbench-line);
|
|
}
|
|
|
|
.admin-view-heading__eyebrow {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
color: var(--admin-workbench-mint);
|
|
font-size: 10px;
|
|
font-weight: 760;
|
|
}
|
|
|
|
.admin-view-heading h1 {
|
|
margin: 0;
|
|
color: var(--admin-workbench-ink);
|
|
font-size: 24px;
|
|
font-weight: 730;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.admin-view-heading p {
|
|
margin: 5px 0 0;
|
|
color: var(--admin-workbench-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-view-heading__count {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 6px;
|
|
padding: 0 0 2px;
|
|
color: var(--admin-workbench-muted);
|
|
font-size: 11px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-view-heading__count strong {
|
|
color: var(--admin-workbench-mint);
|
|
font-size: 21px;
|
|
font-weight: 740;
|
|
}
|
|
|
|
.admin-layout .content .registration-page {
|
|
display: grid;
|
|
gap: 15px;
|
|
}
|
|
|
|
.admin-layout .content .registration-table {
|
|
min-width: 0;
|
|
}
|
|
|
|
.admin-layout .content .registration-page .ant-btn-primary {
|
|
border-radius: 5px;
|
|
background: var(--admin-workbench-mint);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page {
|
|
gap: 13px;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .page-notice {
|
|
border: 1px solid #eadbb5;
|
|
border-radius: 6px;
|
|
background: #fff9e9;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .ant-tabs-nav {
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .ant-tabs-tab {
|
|
padding: 10px 1px;
|
|
color: var(--admin-workbench-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .ant-tabs-tab-active .ant-tabs-tab-btn {
|
|
color: var(--admin-workbench-mint);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .ant-tabs-ink-bar {
|
|
background: var(--admin-workbench-mint);
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .ant-tabs-content-holder {
|
|
min-width: 0;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .ant-table-wrapper {
|
|
border-top: 0;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .payload-preview {
|
|
max-width: 520px;
|
|
padding: 7px 9px;
|
|
border-left: 2px solid #a8d9c2;
|
|
background: #f6faf7;
|
|
color: #34443b;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .moderation-author {
|
|
color: #4d6156;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin-layout .content .privacy-page .ant-image-img {
|
|
border-radius: 4px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.admin-layout .content .system-settings {
|
|
gap: 17px;
|
|
}
|
|
|
|
.admin-layout .content .settings-header {
|
|
align-items: center;
|
|
padding-bottom: 14px;
|
|
border-bottom: 1px solid var(--admin-workbench-line);
|
|
}
|
|
|
|
.admin-layout .content .settings-eyebrow {
|
|
font-size: 10px;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.admin-layout .content .settings-header h1 {
|
|
margin: 4px 0 3px;
|
|
font-size: 24px;
|
|
font-weight: 730;
|
|
}
|
|
|
|
.admin-layout .content .settings-header p,
|
|
.admin-layout .content .pane-head p {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-layout .content .settings-layout {
|
|
grid-template-columns: 190px minmax(0, 1fr);
|
|
gap: 28px;
|
|
}
|
|
|
|
.admin-layout .content .settings-nav {
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.admin-layout .content .settings-nav__label {
|
|
padding: 0 9px 9px;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.admin-layout .content .settings-nav__item {
|
|
min-height: 38px;
|
|
padding: 8px 10px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.admin-layout .content .settings-nav__item.is-active {
|
|
box-shadow: inset 2px 0 0 var(--admin-workbench-mint);
|
|
}
|
|
|
|
.admin-layout .content .settings-nav__hint {
|
|
margin: 12px 8px 0;
|
|
padding-top: 10px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.admin-layout .content .pane-head {
|
|
padding: 0 0 12px;
|
|
}
|
|
|
|
.admin-layout .content .pane-head h2 {
|
|
font-size: 17px;
|
|
font-weight: 730;
|
|
}
|
|
|
|
.admin-layout .content .setting-group {
|
|
margin-top: 14px;
|
|
border-top: 0;
|
|
}
|
|
|
|
.admin-layout .content .setting-group + .setting-group {
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--admin-workbench-line);
|
|
}
|
|
|
|
.admin-layout .content .setting-group__head {
|
|
padding: 11px 0 7px;
|
|
}
|
|
|
|
.admin-layout .content .setting-row {
|
|
min-height: 64px;
|
|
padding: 10px 6px;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.admin-layout .content .setting-row:first-of-type,
|
|
.admin-layout .content .setting-row--last {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.admin-layout .content .setting-copy strong {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-layout .content .setting-copy span {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.admin-layout .content .setting-row :is(.ant-input, .ant-input-affix-wrapper, .ant-select-selector) {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.admin-layout .content .setting-group__head .ant-btn {
|
|
min-height: 30px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.admin-layout .content .admin-profile {
|
|
gap: 15px;
|
|
}
|
|
|
|
.admin-layout .content .profile-head {
|
|
padding: 0 0 14px;
|
|
}
|
|
|
|
.admin-layout .content .profile-head h1 {
|
|
margin: 4px 0 3px;
|
|
font-size: 24px;
|
|
font-weight: 730;
|
|
}
|
|
|
|
.admin-layout .content .profile-section {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.admin-layout .content .profile-section__head {
|
|
padding: 12px 0 9px;
|
|
}
|
|
|
|
.admin-layout .content .profile-section__head h2 {
|
|
font-size: 15px;
|
|
font-weight: 720;
|
|
}
|
|
|
|
.admin-layout .content .profile-rows {
|
|
border-top: 1px solid var(--admin-workbench-line);
|
|
}
|
|
|
|
.admin-layout .content .profile-row {
|
|
min-height: 47px;
|
|
padding: 8px 4px;
|
|
border-color: var(--admin-workbench-line);
|
|
background: transparent;
|
|
}
|
|
|
|
.admin-layout .content .profile-row span {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.admin-layout .content .profile-row strong {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-layout .content .password-form {
|
|
padding: 12px 0 0;
|
|
border: 0;
|
|
border-top: 1px solid var(--admin-workbench-line);
|
|
background: transparent;
|
|
}
|
|
|
|
.admin-layout .content .password-form__grid {
|
|
gap: 12px;
|
|
}
|
|
|
|
.admin-layout .content .password-form :is(.ant-input, .ant-input-affix-wrapper) {
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.admin-layout .content .password-form__actions {
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--admin-workbench-line);
|
|
}
|
|
|
|
.admin-layout .content .password-form__actions .ant-btn {
|
|
min-height: 34px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.admin-layout .content .profile-section--logout .ant-btn {
|
|
width: auto;
|
|
min-height: 34px;
|
|
padding-inline: 14px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.admin-layout .content :is(.dashboard-head, .settings-header, .profile-head) :is(h1, p) {
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
.admin-layout .content :is(.dashboard-head, .admin-view-heading, .settings-header, .profile-head) :focus-visible,
|
|
.admin-layout .content :is(.users, .shops, .registration-page, .privacy-page) :is(button, a, input, [tabindex]):focus-visible {
|
|
outline: 2px solid var(--admin-workbench-mint);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.admin-layout .content .settings-layout {
|
|
grid-template-columns: 1fr;
|
|
gap: 13px;
|
|
}
|
|
|
|
.admin-layout .content .settings-nav {
|
|
border-bottom: 1px solid var(--admin-workbench-line);
|
|
}
|
|
|
|
.admin-layout .content .settings-nav__item {
|
|
border-radius: 5px 5px 0 0;
|
|
}
|
|
|
|
.admin-layout .content .users > .ant-card .admin-filter-bar {
|
|
padding: 8px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.admin-layout .content :is(.registration-page, .privacy-page) .admin-view-heading {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.admin-layout .content .settings-header {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.admin-layout .content .settings-nav {
|
|
display: flex;
|
|
gap: 4px;
|
|
overflow-x: auto;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.admin-layout .content .settings-nav__item {
|
|
width: auto;
|
|
min-height: 34px;
|
|
flex: 0 0 auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-layout .content .setting-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
padding: 12px 0;
|
|
}
|
|
|
|
.admin-layout .content .setting-control {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin-layout .content .settings-header p {
|
|
max-width: 42ch;
|
|
}
|
|
|
|
.admin-layout .content .profile-section--logout .ant-btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.admin-layout .content :is(.users, .shops, .dashboard-panel, .attention-row, .settings-nav__item) * {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|