1025 lines
16 KiB
CSS
1025 lines
16 KiB
CSS
:root {
|
|
color: #17212b;
|
|
background: #eef3f6;
|
|
font-family:
|
|
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
|
|
"Segoe UI", sans-serif;
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
background: #eef3f6;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.62;
|
|
}
|
|
|
|
#root {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.admin-loading-screen,
|
|
.admin-login-screen {
|
|
display: grid;
|
|
min-height: 100dvh;
|
|
place-items: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.admin-loading-screen {
|
|
gap: 12px;
|
|
color: #5c6b77;
|
|
}
|
|
|
|
.admin-loading-mark {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 3px solid #d1dde6;
|
|
border-top-color: #126e82;
|
|
border-radius: 50%;
|
|
animation: admin-spin 0.8s linear infinite;
|
|
}
|
|
|
|
.admin-login-screen {
|
|
background:
|
|
linear-gradient(145deg, rgba(18, 110, 130, 0.12), transparent 36%),
|
|
linear-gradient(315deg, rgba(165, 94, 54, 0.12), transparent 34%),
|
|
#eef3f6;
|
|
}
|
|
|
|
.admin-login-panel,
|
|
.admin-panel {
|
|
border: 1px solid #d8e2e8;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
box-shadow: 0 12px 36px rgba(23, 33, 43, 0.08);
|
|
}
|
|
|
|
.admin-login-panel {
|
|
display: grid;
|
|
width: min(100%, 420px);
|
|
gap: 18px;
|
|
padding: 28px;
|
|
}
|
|
|
|
.admin-login-brand,
|
|
.admin-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.admin-login-brand h1 {
|
|
margin: 0;
|
|
color: #17212b;
|
|
font-size: 26px;
|
|
line-height: 1.16;
|
|
}
|
|
|
|
.admin-login-brand span,
|
|
.admin-brand span {
|
|
color: #667682;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-brand-icon {
|
|
display: grid;
|
|
width: 38px;
|
|
height: 38px;
|
|
place-items: center;
|
|
border: 1px solid #bcd2db;
|
|
border-radius: 8px;
|
|
color: #126e82;
|
|
background: #e7f3f5;
|
|
}
|
|
|
|
.admin-brand-icon-large {
|
|
width: 48px;
|
|
height: 48px;
|
|
}
|
|
|
|
.admin-shell {
|
|
display: grid;
|
|
min-height: 100dvh;
|
|
grid-template-columns: 232px minmax(0, 1fr);
|
|
}
|
|
|
|
.admin-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
border-right: 1px solid #d8e2e8;
|
|
background: #ffffff;
|
|
padding: 22px 18px;
|
|
}
|
|
|
|
.admin-brand strong {
|
|
display: block;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.admin-nav {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.admin-nav-button,
|
|
.admin-bottom-nav-button,
|
|
.admin-icon-button,
|
|
.admin-primary-button,
|
|
.admin-secondary-button,
|
|
.admin-danger-button,
|
|
.admin-ghost-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-nav-button {
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
min-height: 42px;
|
|
padding: 0 12px;
|
|
color: #52616d;
|
|
background: transparent;
|
|
}
|
|
|
|
.admin-nav-button[data-active="true"] {
|
|
color: #0f5666;
|
|
background: #e7f3f5;
|
|
}
|
|
|
|
.admin-main {
|
|
display: grid;
|
|
min-width: 0;
|
|
grid-template-rows: 64px minmax(0, 1fr);
|
|
}
|
|
|
|
.admin-topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
border-bottom: 1px solid #d8e2e8;
|
|
background: rgba(255, 255, 255, 0.86);
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.admin-user {
|
|
display: grid;
|
|
justify-items: end;
|
|
gap: 2px;
|
|
}
|
|
|
|
.admin-user span {
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin-user small {
|
|
color: #667682;
|
|
}
|
|
|
|
.admin-content {
|
|
min-width: 0;
|
|
padding: 24px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.admin-page {
|
|
display: grid;
|
|
gap: 18px;
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.admin-page-wide {
|
|
max-width: 1480px;
|
|
}
|
|
|
|
.admin-page-heading,
|
|
.admin-panel-heading,
|
|
.admin-subsection-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.admin-page-heading h2,
|
|
.admin-panel-heading h3 {
|
|
margin: 0;
|
|
color: #17212b;
|
|
}
|
|
|
|
.admin-page-heading h2 {
|
|
font-size: 25px;
|
|
}
|
|
|
|
.admin-page-heading p {
|
|
margin: 3px 0 0;
|
|
color: #667682;
|
|
}
|
|
|
|
.admin-panel {
|
|
display: grid;
|
|
gap: 16px;
|
|
min-width: 0;
|
|
padding: 18px;
|
|
}
|
|
|
|
.admin-panel-heading h3 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.admin-panel-heading span {
|
|
color: #667682;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.admin-panel-warning {
|
|
border-color: #efc894;
|
|
background: #fffaf3;
|
|
}
|
|
|
|
.admin-overview-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.admin-two-column {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
|
|
gap: 16px;
|
|
align-items: start;
|
|
}
|
|
|
|
.admin-two-column-wide {
|
|
grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
|
|
}
|
|
|
|
.admin-stack,
|
|
.admin-form {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.admin-form-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
align-items: end;
|
|
}
|
|
|
|
.admin-filter-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
|
|
gap: 12px;
|
|
align-items: end;
|
|
}
|
|
|
|
.admin-table-query-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(180px, 1fr) minmax(160px, 1fr) minmax(220px, 1.2fr) minmax(96px, 0.45fr) auto;
|
|
gap: 12px;
|
|
align-items: end;
|
|
}
|
|
|
|
.admin-table tbody tr[data-clickable="true"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.admin-table tbody tr[data-clickable="true"]:hover {
|
|
background: #f5fafb;
|
|
}
|
|
|
|
.admin-text-button:hover,
|
|
.admin-text-button:focus-visible {
|
|
color: #126e82;
|
|
text-decoration: underline;
|
|
outline: none;
|
|
}
|
|
|
|
.admin-action-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
.admin-query-action-row {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.admin-query-summary,
|
|
.admin-detail-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.admin-query-summary {
|
|
color: #667682;
|
|
font-size: 12px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin-field {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 7px;
|
|
color: #4c5c68;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin-field-fill {
|
|
min-width: 0;
|
|
}
|
|
|
|
.admin-field-compact {
|
|
max-width: 160px;
|
|
}
|
|
|
|
.admin-field input,
|
|
.admin-field select,
|
|
.admin-field textarea {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
border: 1px solid #cbd8e0;
|
|
border-radius: 8px;
|
|
color: #17212b;
|
|
background: #fbfdfe;
|
|
padding: 9px 11px;
|
|
outline: none;
|
|
}
|
|
|
|
.admin-field-note {
|
|
color: #667682;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.admin-field textarea {
|
|
min-height: 112px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.admin-field input:focus,
|
|
.admin-field select:focus,
|
|
.admin-field textarea:focus {
|
|
border-color: #126e82;
|
|
box-shadow: 0 0 0 3px rgba(18, 110, 130, 0.16);
|
|
}
|
|
|
|
.admin-combobox {
|
|
position: relative;
|
|
min-width: 0;
|
|
}
|
|
|
|
.admin-combobox-control {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 38px;
|
|
}
|
|
|
|
.admin-combobox-control input {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
}
|
|
|
|
.admin-combobox-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 42px;
|
|
border: 1px solid #cbd8e0;
|
|
border-left: 0;
|
|
border-radius: 0 8px 8px 0;
|
|
color: #52616d;
|
|
background: #fbfdfe;
|
|
}
|
|
|
|
.admin-combobox:focus-within .admin-combobox-toggle {
|
|
border-color: #126e82;
|
|
box-shadow: 0 0 0 3px rgba(18, 110, 130, 0.16);
|
|
}
|
|
|
|
.admin-combobox-menu {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
right: 0;
|
|
left: 0;
|
|
z-index: 30;
|
|
display: grid;
|
|
max-height: 260px;
|
|
overflow: auto;
|
|
border: 1px solid #cbd8e0;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
box-shadow: 0 16px 40px rgba(23, 33, 43, 0.14);
|
|
padding: 6px;
|
|
}
|
|
|
|
.admin-combobox-option {
|
|
display: grid;
|
|
gap: 3px;
|
|
width: 100%;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
color: #17212b;
|
|
background: transparent;
|
|
padding: 9px 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
.admin-combobox-option:hover,
|
|
.admin-combobox-option:focus-visible {
|
|
background: #e7f3f5;
|
|
outline: none;
|
|
}
|
|
|
|
.admin-combobox-option span {
|
|
color: #0f5666;
|
|
font-family:
|
|
"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-combobox-option small,
|
|
.admin-combobox-empty {
|
|
color: #667682;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.admin-combobox-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.admin-switch-field {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
min-height: 42px;
|
|
color: #4c5c68;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin-switch-field input {
|
|
width: 18px;
|
|
height: 18px;
|
|
accent-color: #126e82;
|
|
}
|
|
|
|
.admin-primary-button,
|
|
.admin-secondary-button,
|
|
.admin-danger-button,
|
|
.admin-icon-button {
|
|
gap: 8px;
|
|
min-height: 40px;
|
|
padding: 0 14px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-confirm-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
display: grid;
|
|
place-items: center;
|
|
background: rgba(23, 33, 43, 0.42);
|
|
padding: 16px;
|
|
}
|
|
|
|
.admin-confirm-panel {
|
|
display: grid;
|
|
width: min(100%, 420px);
|
|
gap: 16px;
|
|
border: 1px solid #d8e2e8;
|
|
border-radius: 10px;
|
|
background: #ffffff;
|
|
box-shadow: 0 22px 60px rgba(23, 33, 43, 0.24);
|
|
padding: 18px;
|
|
}
|
|
|
|
.admin-detail-panel {
|
|
display: grid;
|
|
width: min(100%, 760px);
|
|
max-height: min(90dvh, 760px);
|
|
gap: 16px;
|
|
overflow: auto;
|
|
border: 1px solid #d8e2e8;
|
|
border-radius: 10px;
|
|
background: #ffffff;
|
|
box-shadow: 0 22px 60px rgba(23, 33, 43, 0.24);
|
|
padding: 18px;
|
|
}
|
|
|
|
.admin-detail-list .admin-code-block {
|
|
max-height: 280px;
|
|
}
|
|
|
|
.admin-confirm-warning {
|
|
border: 1px solid #efc894;
|
|
border-radius: 8px;
|
|
color: #8a5a1b;
|
|
background: #fffaf3;
|
|
padding: 10px 12px;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin-confirm-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
}
|
|
|
|
.admin-confirm-actions button {
|
|
min-width: 92px;
|
|
}
|
|
|
|
.admin-primary-button {
|
|
color: #ffffff;
|
|
background: #126e82;
|
|
}
|
|
|
|
.admin-secondary-button,
|
|
.admin-icon-button {
|
|
border: 1px solid #cbd8e0;
|
|
color: #2f4550;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.admin-danger-button {
|
|
color: #ffffff;
|
|
background: #a44242;
|
|
}
|
|
|
|
.admin-ghost-button {
|
|
width: 34px;
|
|
height: 34px;
|
|
color: #52616d;
|
|
background: #eef3f6;
|
|
}
|
|
|
|
.admin-ghost-button.admin-query-reset-button {
|
|
width: auto;
|
|
min-width: 76px;
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.admin-text-button {
|
|
display: inline;
|
|
border: 0;
|
|
color: #0f5666;
|
|
background: transparent;
|
|
padding: 0;
|
|
text-align: left;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-alert {
|
|
border: 1px solid #efc0bd;
|
|
border-radius: 8px;
|
|
color: #8a2f2f;
|
|
background: #fff4f3;
|
|
padding: 10px 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.admin-info-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin: 0;
|
|
}
|
|
|
|
.admin-info-list div {
|
|
display: grid;
|
|
grid-template-columns: minmax(90px, 0.34fr) minmax(0, 1fr);
|
|
gap: 12px;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.admin-info-list dt {
|
|
color: #667682;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-info-list dd {
|
|
min-width: 0;
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
color: #17212b;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin-table-wrap {
|
|
max-width: 100%;
|
|
overflow: auto;
|
|
scrollbar-gutter: stable;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.admin-table {
|
|
width: 100%;
|
|
min-width: 620px;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.admin-table th,
|
|
.admin-table td {
|
|
border-bottom: 1px solid #e4edf2;
|
|
padding: 10px;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.admin-table th {
|
|
color: #667682;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-table td small {
|
|
display: block;
|
|
margin-top: 3px;
|
|
color: #667682;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.admin-muted-text {
|
|
color: #86939c;
|
|
}
|
|
|
|
.admin-tag-list {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.admin-tag {
|
|
display: inline-flex;
|
|
max-width: 100%;
|
|
align-items: center;
|
|
border: 1px solid #cbdfe6;
|
|
border-radius: 999px;
|
|
background: #eef7f8;
|
|
color: #0f5666;
|
|
padding: 3px 8px;
|
|
font-size: 12px;
|
|
font-weight: 750;
|
|
line-height: 1.2;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.admin-table-compact {
|
|
min-width: 360px;
|
|
}
|
|
|
|
.admin-table-wide {
|
|
min-width: 1180px;
|
|
}
|
|
|
|
.admin-database-table {
|
|
width: max-content;
|
|
min-width: 100%;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.admin-database-table th,
|
|
.admin-database-table td {
|
|
width: 220px;
|
|
min-width: 220px;
|
|
max-width: 220px;
|
|
}
|
|
|
|
.admin-database-table th:last-child,
|
|
.admin-database-table td:last-child {
|
|
width: 112px;
|
|
min-width: 112px;
|
|
max-width: 112px;
|
|
}
|
|
|
|
.admin-table-sort-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
max-width: 100%;
|
|
border: 0;
|
|
color: #667682;
|
|
background: transparent;
|
|
padding: 0;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.admin-table-sort-button span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.admin-table-sort-button svg {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.admin-table-cell-ellipsis {
|
|
display: block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.admin-table-sort-button:hover,
|
|
.admin-table-sort-button:focus-visible,
|
|
.admin-table-sort-button[data-active="true"] {
|
|
color: #0f5666;
|
|
outline: none;
|
|
}
|
|
|
|
.admin-json-preview {
|
|
max-width: 360px;
|
|
max-height: 160px;
|
|
margin: 0;
|
|
overflow: auto;
|
|
color: #2f4550;
|
|
font-family:
|
|
"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.admin-status {
|
|
display: inline-flex;
|
|
max-width: 460px;
|
|
border-radius: 999px;
|
|
padding: 3px 8px;
|
|
font-size: 12px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.admin-status-ok {
|
|
color: #17623c;
|
|
background: #e6f5ed;
|
|
}
|
|
|
|
.admin-status-pending {
|
|
color: #8a5a1b;
|
|
background: #fff4df;
|
|
}
|
|
|
|
.admin-status-error {
|
|
color: #8a2f2f;
|
|
background: #fff1ef;
|
|
}
|
|
|
|
.admin-error-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
color: #8a5a1b;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.admin-subsection {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.admin-subsection-heading {
|
|
color: #4c5c68;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.admin-header-editor {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.admin-header-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) 34px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.admin-header-row input {
|
|
min-width: 0;
|
|
min-height: 38px;
|
|
border: 1px solid #cbd8e0;
|
|
border-radius: 8px;
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.admin-result-panel {
|
|
min-height: 260px;
|
|
}
|
|
|
|
.admin-code-block {
|
|
max-height: 520px;
|
|
margin: 0;
|
|
overflow: auto;
|
|
border: 1px solid #dce6ec;
|
|
border-radius: 8px;
|
|
background: #17212b;
|
|
color: #e9f2f4;
|
|
padding: 14px;
|
|
font-family:
|
|
"SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.admin-empty-state {
|
|
display: grid;
|
|
min-height: 140px;
|
|
place-items: center;
|
|
border: 1px dashed #cbd8e0;
|
|
border-radius: 8px;
|
|
color: #667682;
|
|
background: #fbfdfe;
|
|
}
|
|
|
|
.admin-segmented-control {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 6px;
|
|
border: 1px solid #d8e2e8;
|
|
border-radius: 8px;
|
|
background: #eef3f6;
|
|
padding: 4px;
|
|
}
|
|
|
|
.admin-segmented-control button {
|
|
min-height: 36px;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
color: #52616d;
|
|
background: transparent;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-segmented-control button[data-active="true"] {
|
|
color: #0f5666;
|
|
background: #ffffff;
|
|
box-shadow: 0 2px 8px rgba(23, 33, 43, 0.08);
|
|
}
|
|
|
|
.admin-bottom-nav {
|
|
display: none;
|
|
}
|
|
|
|
@keyframes admin-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
.admin-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.admin-main {
|
|
grid-template-rows: 58px minmax(0, 1fr);
|
|
}
|
|
|
|
.admin-topbar {
|
|
justify-content: space-between;
|
|
padding: 0 14px;
|
|
}
|
|
|
|
.admin-content {
|
|
padding: 16px 14px 86px;
|
|
}
|
|
|
|
.admin-overview-grid,
|
|
.admin-two-column,
|
|
.admin-two-column-wide,
|
|
.admin-form-row,
|
|
.admin-filter-grid,
|
|
.admin-table-query-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.admin-field-compact {
|
|
max-width: none;
|
|
}
|
|
|
|
.admin-bottom-nav {
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 20;
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
|
|
border-top: 1px solid #d8e2e8;
|
|
background: rgba(255, 255, 255, 0.94);
|
|
padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.admin-bottom-nav-button {
|
|
display: grid;
|
|
gap: 4px;
|
|
min-height: 48px;
|
|
color: #667682;
|
|
background: transparent;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-bottom-nav-button[data-active="true"] {
|
|
color: #0f5666;
|
|
background: #e7f3f5;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.admin-login-panel,
|
|
.admin-panel {
|
|
padding: 16px;
|
|
}
|
|
|
|
.admin-confirm-panel {
|
|
padding: 16px;
|
|
}
|
|
|
|
.admin-confirm-actions {
|
|
display: grid;
|
|
}
|
|
|
|
.admin-login-brand h1,
|
|
.admin-page-heading h2 {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.admin-info-list div {
|
|
grid-template-columns: 1fr;
|
|
gap: 3px;
|
|
}
|
|
|
|
.admin-header-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.admin-header-row .admin-ghost-button {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin-icon-button span {
|
|
display: none;
|
|
}
|
|
}
|