feat: add phone frequency controls and modularize codebase
This commit is contained in:
@@ -0,0 +1,678 @@
|
||||
/* Admin-only shared page patterns migrated from global.css in R11 step 8. */
|
||||
|
||||
.downstream-breakdown-table {
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.downstream-breakdown-table__head,
|
||||
.downstream-breakdown-table__row {
|
||||
align-items: center;
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
grid-template-columns: minmax(140px, 1.2fr) repeat(4, minmax(72px, 0.7fr));
|
||||
min-height: 52px;
|
||||
}
|
||||
|
||||
.downstream-breakdown-table__head {
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.downstream-breakdown-table__head--apps,
|
||||
.downstream-breakdown-table__row--apps {
|
||||
grid-template-columns: minmax(180px, 1.4fr) repeat(4, minmax(72px, 0.65fr));
|
||||
}
|
||||
|
||||
.downstream-breakdown-table__head--ack,
|
||||
.downstream-breakdown-table__row--ack {
|
||||
grid-template-columns: minmax(120px, 1.2fr) repeat(6, minmax(72px, 0.65fr));
|
||||
}
|
||||
|
||||
.downstream-breakdown-table__row {
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
.downstream-breakdown-table__row strong,
|
||||
.downstream-breakdown-table__row span {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.downstream-breakdown-table__empty {
|
||||
color: var(--color-text-muted);
|
||||
padding: var(--space-5) 0 var(--space-1);
|
||||
}
|
||||
|
||||
.downstream-bucket-list {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.downstream-bucket-list--wrap {
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
}
|
||||
|
||||
.downstream-bucket-item {
|
||||
align-items: center;
|
||||
background: var(--color-bg-subtle);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
min-height: 56px;
|
||||
padding: 0 var(--space-4);
|
||||
}
|
||||
|
||||
.downstream-bucket-item span {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.downstream-bucket-item strong {
|
||||
color: var(--color-text-strong);
|
||||
font-size: var(--font-size-lg);
|
||||
}
|
||||
|
||||
.admin-split-filter {
|
||||
align-items: end;
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
}
|
||||
|
||||
.admin-split-filter__actions {
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.admin-system-toolbar__actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.admin-split-pagination {
|
||||
align-items: center;
|
||||
border-top: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
justify-content: flex-end;
|
||||
margin-top: var(--space-5);
|
||||
padding-top: var(--space-5);
|
||||
}
|
||||
|
||||
.admin-split-pagination span {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.admin-confirm-text {
|
||||
color: var(--color-text-strong);
|
||||
line-height: 1.8;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.signature-alert {
|
||||
align-items: center;
|
||||
background: var(--color-selected-soft);
|
||||
border: 1px solid #bfdbfe;
|
||||
color: var(--color-selected);
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
line-height: 1.7;
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.enterprise-form-footer {
|
||||
align-items: center;
|
||||
border-top: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
justify-content: flex-end;
|
||||
padding-top: var(--space-5);
|
||||
}
|
||||
|
||||
.admin-detail-metric-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.admin-detail-metric-grid .mini-status-card {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.admin-detail-metric-grid .mini-status-card .ui-button {
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
|
||||
.admin-detail-metric-grid--compact {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
margin-bottom: var(--space-5);
|
||||
}
|
||||
|
||||
.page-inline-hint {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: var(--line-height-base);
|
||||
}
|
||||
|
||||
.admin-app-form-row {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.admin-app-form-row--wide {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.admin-app-form-row > span {
|
||||
color: var(--color-text-strong);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.admin-audit-page {
|
||||
gap: var(--space-6);
|
||||
}
|
||||
|
||||
.audit-filter-card,
|
||||
.sms-audit-filter {
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.sms-audit-filter h2 {
|
||||
border-left: 5px solid var(--color-selected);
|
||||
margin-bottom: var(--space-5);
|
||||
padding-left: var(--space-3);
|
||||
}
|
||||
|
||||
.audit-filter-grid {
|
||||
align-items: end;
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
|
||||
.audit-filter-grid--enterprise {
|
||||
grid-template-columns: minmax(280px, 1.4fr) minmax(220px, 1fr) auto;
|
||||
}
|
||||
|
||||
.audit-filter-grid--template {
|
||||
grid-template-columns: minmax(320px, 1.4fr) minmax(220px, 0.8fr) auto;
|
||||
}
|
||||
|
||||
.audit-filter-grid--sms {
|
||||
grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(220px, 1.2fr) minmax(160px, 1fr) auto;
|
||||
}
|
||||
|
||||
.audit-filter-actions {
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.audit-actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.channel-confirm {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.channel-confirm strong {
|
||||
color: var(--color-text-strong);
|
||||
font-size: var(--font-size-lg);
|
||||
}
|
||||
|
||||
.channel-confirm span {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.channel-confirm p {
|
||||
color: var(--color-text);
|
||||
line-height: 1.7;
|
||||
margin: var(--space-3) 0 0;
|
||||
}
|
||||
|
||||
.channel-report-empty {
|
||||
color: var(--color-text-muted);
|
||||
padding: var(--space-10);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.channel-field-config-title h2,
|
||||
.channel-field-config-title p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.channel-field-config-title p {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-regular);
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
.channel-field-config {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1.1fr);
|
||||
margin: calc(-1 * var(--space-6));
|
||||
min-height: 620px;
|
||||
}
|
||||
|
||||
.channel-field-config > section {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.channel-field-section-head {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.channel-field-section-head h3,
|
||||
.channel-field-section-head p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.channel-field-section-head p {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
margin-top: var(--space-1);
|
||||
}
|
||||
|
||||
.admin-task-filter {
|
||||
align-items: end;
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(240px, 1.2fr) auto;
|
||||
}
|
||||
|
||||
.admin-task-filter__actions {
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.report-record-page .admin-task-filter {
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
}
|
||||
|
||||
.report-record-page .admin-task-filter__actions {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.admin-task-table-card {
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.admin-task-table-card__heading {
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.admin-task-table-card__heading h2 {
|
||||
margin: 0 0 var(--space-1);
|
||||
}
|
||||
|
||||
.admin-task-table-card__heading .page-inline-hint {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.admin-task-table-card .ui-table-wrap {
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.admin-task-table-card .ui-table {
|
||||
min-width: 1180px;
|
||||
}
|
||||
|
||||
.admin-task-table-card .ui-table th,
|
||||
.admin-task-table-card .ui-table td {
|
||||
padding: var(--space-4);
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.admin-task-id {
|
||||
color: var(--color-text-strong);
|
||||
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.admin-task-enterprise,
|
||||
.admin-task-counts,
|
||||
.admin-task-send-type {
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
.admin-task-enterprise strong {
|
||||
color: var(--color-text-strong);
|
||||
}
|
||||
|
||||
.admin-task-enterprise span,
|
||||
.admin-task-counts span,
|
||||
.admin-task-send-type > span {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.admin-task-counts strong {
|
||||
color: var(--color-text-strong);
|
||||
}
|
||||
|
||||
.admin-task-send-type .ui-tag {
|
||||
gap: 4px;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.admin-task-list-progress {
|
||||
min-width: 150px;
|
||||
}
|
||||
|
||||
.admin-task-actions {
|
||||
display: flex;
|
||||
gap: var(--space-2);
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.report-task-table-card .ui-table {
|
||||
min-width: 1380px;
|
||||
}
|
||||
|
||||
.report-task-table-card .ui-table th:last-child,
|
||||
.report-task-table-card .ui-table td:last-child {
|
||||
background: var(--color-surface);
|
||||
box-shadow: -8px 0 12px rgb(15 23 42 / 6%);
|
||||
position: sticky;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.report-task-table-card .ui-table th:last-child {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.report-history h3 {
|
||||
color: var(--color-text-strong);
|
||||
font-size: var(--font-size-md);
|
||||
font-weight: 700;
|
||||
margin: 0 0 var(--space-4);
|
||||
}
|
||||
|
||||
.report-record-detail {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
|
||||
.report-history {
|
||||
background: var(--color-bg-subtle);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.report-history h3 {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.report-history > div {
|
||||
align-items: center;
|
||||
border-top: 1px solid var(--color-border);
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
grid-template-columns: 170px 120px 1fr;
|
||||
padding: var(--space-3) 0;
|
||||
}
|
||||
|
||||
.report-history span,
|
||||
.report-history em {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.report-history strong {
|
||||
color: var(--color-text-strong);
|
||||
}
|
||||
|
||||
.admin-task-card {
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.admin-task-card h3 {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
font-size: var(--font-size-md);
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.admin-task-card h3 svg {
|
||||
color: var(--color-selected);
|
||||
}
|
||||
|
||||
.admin-task-card .ui-table-wrap {
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.admin-uplink-empty-match {
|
||||
background: var(--color-bg-subtle);
|
||||
border-radius: var(--radius-md);
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.admin-uplink-empty-match {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.admin-security-page .page-heading {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.admin-security-filter {
|
||||
align-items: end;
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.admin-security-filter__actions {
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.admin-security-form {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.admin-security-table-card {
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.admin-security-table-card .ui-table-wrap {
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.admin-security-table-card .ui-table {
|
||||
min-width: 980px;
|
||||
}
|
||||
|
||||
.admin-security-table-card .ui-table th {
|
||||
background: var(--color-bg-subtle);
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.admin-security-table-card .ui-table td {
|
||||
height: 72px;
|
||||
padding: var(--space-4) var(--space-6);
|
||||
}
|
||||
|
||||
.admin-system-page .page-heading {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.admin-system-toolbar {
|
||||
align-items: end;
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
grid-template-columns: minmax(360px, 1fr) auto;
|
||||
}
|
||||
|
||||
.admin-system-table-card {
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.admin-system-table-card .ui-table-wrap {
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.admin-system-table-card .ui-table {
|
||||
min-width: 1080px;
|
||||
}
|
||||
|
||||
.admin-system-table-card .ui-table th {
|
||||
background: var(--color-bg-subtle);
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.admin-system-table-card .ui-table td {
|
||||
height: 72px;
|
||||
padding: var(--space-4) var(--space-6);
|
||||
}
|
||||
|
||||
.admin-system-actions {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
gap: var(--space-2);
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.admin-system-modal-form {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.admin-system-modal-form__wide {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.downstream-breakdown-table {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.downstream-breakdown-table__head,
|
||||
.downstream-breakdown-table__row {
|
||||
min-width: 560px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.admin-task-filter,
|
||||
.admin-system-toolbar,
|
||||
.admin-system-modal-form,
|
||||
.admin-split-filter {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
}
|
||||
.admin-report-filter-grid {
|
||||
align-items: end;
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.admin-report-filter-grid--quality,
|
||||
.admin-report-filter-grid--reconciliation {
|
||||
grid-template-columns: minmax(280px, 1.4fr) minmax(200px, 1fr) minmax(220px, 1fr) auto;
|
||||
}
|
||||
|
||||
.admin-report-filter-grid--profit {
|
||||
grid-template-columns: minmax(270px, 1.3fr) minmax(180px, 0.8fr) minmax(210px, 1fr) minmax(220px, 1fr) auto;
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.audit-filter-grid--enterprise,
|
||||
.audit-filter-grid--template,
|
||||
.audit-filter-grid--sms,
|
||||
.channel-field-config,
|
||||
.admin-report-filter-grid {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.audit-filter-actions {
|
||||
align-items: stretch;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.audit-filter-actions .ui-button,
|
||||
.admin-report-filter-grid > .ui-button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.channel-field-config {
|
||||
margin: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.channel-field-config > section {
|
||||
grid-template-rows: auto auto auto;
|
||||
padding: var(--space-4);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.audit-actions {
|
||||
align-items: stretch;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
.audit-filter-actions {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* Client-only cross-page patterns migrated from global.css in R11 step 9. */
|
||||
|
||||
.eyebrow {
|
||||
color: var(--color-selected);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: var(--font-weight-bold);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
@@ -1,3 +1,266 @@
|
||||
/* Shared table, form, and modal compatibility primitives migrated in R11 step 7.
|
||||
* Keep these before the canonical component rules so the existing cascade remains stable. */
|
||||
|
||||
.table-cell-note {
|
||||
display: block;
|
||||
margin-top: 0.2rem;
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.35;
|
||||
max-width: 28rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.modal-footer-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 0.75rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ui-tabs__tab {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.icon-button {
|
||||
align-items: center;
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--color-text-muted);
|
||||
display: inline-flex;
|
||||
height: var(--control-height-md);
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
|
||||
width: var(--control-height-md);
|
||||
}
|
||||
|
||||
.icon-button:hover {
|
||||
background: var(--color-selected-soft);
|
||||
border-color: rgba(37, 99, 235, 0.22);
|
||||
color: var(--color-selected);
|
||||
}
|
||||
|
||||
.icon-button.has-dot::after {
|
||||
background: var(--color-danger);
|
||||
border: 2px solid var(--color-surface);
|
||||
border-radius: var(--radius-full);
|
||||
content: "";
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 8px;
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
.table-subline {
|
||||
color: var(--color-text-muted);
|
||||
display: block;
|
||||
font-weight: var(--font-weight-regular);
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.table-link {
|
||||
background: none;
|
||||
border: 0;
|
||||
color: var(--color-selected);
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
padding: 0;
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
|
||||
.ui-table-wrap {
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.ui-table {
|
||||
border-collapse: collapse;
|
||||
min-width: max-content;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ui-table th,
|
||||
.ui-table td {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.ui-modal {
|
||||
align-items: center;
|
||||
display: grid;
|
||||
inset: 0;
|
||||
justify-items: center;
|
||||
padding: var(--space-6);
|
||||
position: fixed;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.ui-modal__mask {
|
||||
background: rgba(15, 23, 42, 0.48);
|
||||
border: 0;
|
||||
cursor: default;
|
||||
inset: 0;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ui-modal__panel {
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 24px 70px rgba(18, 18, 26, 0.18);
|
||||
display: grid;
|
||||
max-height: calc(100vh - 48px);
|
||||
max-width: min(920px, calc(100vw - 48px));
|
||||
min-width: min(520px, calc(100vw - 48px));
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: min(640px, calc(100vw - 48px));
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.ui-modal__panel--xl {
|
||||
max-width: min(980px, calc(100vw - 48px));
|
||||
width: min(860px, calc(100vw - 48px));
|
||||
}
|
||||
|
||||
.ui-modal__header,
|
||||
.ui-modal__footer {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-4);
|
||||
justify-content: space-between;
|
||||
padding: var(--space-5) var(--space-6);
|
||||
}
|
||||
|
||||
.ui-modal__title {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.ui-modal__body {
|
||||
max-height: calc(100vh - 220px);
|
||||
overflow: auto;
|
||||
padding: 0 var(--space-6) var(--space-6);
|
||||
}
|
||||
|
||||
.ui-modal__footer {
|
||||
border-top: 1px solid var(--color-border);
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.table-actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.table-mono-id,
|
||||
.table-strong-text,
|
||||
.table-long-text {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.table-mono-id {
|
||||
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.table-strong-text {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.table-long-text {
|
||||
line-height: var(--line-height-base);
|
||||
}
|
||||
|
||||
.table-long-text--sms-template {
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
display: -webkit-box;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.radio-row {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-6);
|
||||
min-height: var(--control-height-md);
|
||||
}
|
||||
|
||||
.radio-row label {
|
||||
align-items: center;
|
||||
color: var(--color-text);
|
||||
display: flex;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.radio-row label.is-disabled {
|
||||
color: var(--color-text-muted);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.radio-row input[type="radio"] {
|
||||
accent-color: var(--color-selected);
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.ui-modal__panel--xl {
|
||||
box-shadow: 0 24px 70px rgba(18, 18, 26, 0.18);
|
||||
}
|
||||
|
||||
.ui-modal__panel--xl .ui-modal__header {
|
||||
background:
|
||||
linear-gradient(90deg, rgba(217, 195, 160, 0.12), transparent 36%),
|
||||
#ffffff;
|
||||
padding: 26px 30px 24px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ui-modal__panel--xl .ui-modal__header::before {
|
||||
background: linear-gradient(90deg, var(--color-brand), var(--color-accent));
|
||||
content: "";
|
||||
height: 3px;
|
||||
inset: 0 0 auto;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ui-modal__panel--xl .ui-modal__body {
|
||||
background: #f7f8fa;
|
||||
padding: 22px 30px;
|
||||
}
|
||||
|
||||
.template-modal-title h2 {
|
||||
font-size: var(--font-size-2xl);
|
||||
}
|
||||
|
||||
.template-modal-title p {
|
||||
color: var(--color-text-muted);
|
||||
margin-top: var(--space-1);
|
||||
}
|
||||
|
||||
.form-grid {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.form-grid--two {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
/* Canonical reusable component rules. */
|
||||
|
||||
.sr-only {
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
@@ -444,6 +707,15 @@
|
||||
color: var(--color-text-subtle);
|
||||
}
|
||||
|
||||
.ui-calendar__day--today:not(.ui-calendar__day--selected) {
|
||||
color: var(--color-selected);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.ui-calendar__day--today:not(.ui-calendar__day--selected)::before {
|
||||
background: var(--color-selected-soft);
|
||||
}
|
||||
|
||||
.ui-calendar__day--range {
|
||||
background: var(--color-selected-soft);
|
||||
color: var(--color-selected);
|
||||
@@ -1322,3 +1594,102 @@
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
/* Shared responsive table and form behavior migrated in R11 step 7. */
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.form-grid--two {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.radio-row {
|
||||
align-items: flex-start;
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
|
||||
.table-actions {
|
||||
align-items: stretch;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.ui-tabs__list {
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
overscroll-behavior-x: contain;
|
||||
}
|
||||
.ui-table-wrap {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.ui-table {
|
||||
background: transparent;
|
||||
display: block;
|
||||
min-width: 0 !important;
|
||||
}
|
||||
|
||||
.ui-table colgroup,
|
||||
.ui-table thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ui-table tbody {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.ui-table tr {
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-sm);
|
||||
display: grid;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ui-table td {
|
||||
align-items: start;
|
||||
border-top: 1px solid var(--color-border);
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
grid-template-columns: minmax(84px, 0.42fr) minmax(0, 1fr);
|
||||
height: auto !important;
|
||||
min-width: 0 !important;
|
||||
padding: 11px var(--space-4) !important;
|
||||
text-align: left !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.ui-table td:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.ui-table td[data-label]::before {
|
||||
color: var(--color-text-muted);
|
||||
content: attr(data-label);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.ui-table td:not([data-label]) {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.ui-table td > * {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.ui-table__empty {
|
||||
display: block !important;
|
||||
padding: var(--space-8) var(--space-4) !important;
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
+57
-3261
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Foundation reset and document defaults.
|
||||
* Keep this file element-scoped: component, shell and page classes belong in later layers.
|
||||
*/
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-width: 320px;
|
||||
min-height: 100vh;
|
||||
background: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
font-family: var(--font-family);
|
||||
font-size: var(--font-size-md);
|
||||
line-height: var(--line-height-base);
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:disabled,
|
||||
input:disabled,
|
||||
textarea:disabled,
|
||||
select:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: var(--color-text-strong);
|
||||
font-size: var(--font-size-2xl);
|
||||
font-weight: var(--font-weight-bold);
|
||||
line-height: var(--line-height-tight);
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: var(--color-text-strong);
|
||||
font-size: var(--font-size-xl);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: var(--line-height-tight);
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: var(--color-text-strong);
|
||||
font-size: var(--font-size-lg);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: var(--line-height-tight);
|
||||
}
|
||||
@@ -0,0 +1,811 @@
|
||||
/* Application shell and shared page-layout primitives.
|
||||
* R11 step 6: keep table, form, modal, and domain styles out of this layer. */
|
||||
|
||||
.app-shell {
|
||||
display: grid;
|
||||
grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
transition: grid-template-columns var(--transition-base);
|
||||
}
|
||||
|
||||
.app-shell--collapsed {
|
||||
grid-template-columns: 76px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
background: var(--color-surface);
|
||||
border-right: 1px solid var(--color-border);
|
||||
color: var(--color-text);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-5);
|
||||
height: 100vh;
|
||||
padding: var(--space-6) var(--space-4);
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar-brand-row {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.mobile-nav-close,
|
||||
.mobile-nav-toggle,
|
||||
.mobile-nav-backdrop,
|
||||
.mobile-topbar-brand {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.brand-block {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
justify-content: center;
|
||||
padding: 0 0 var(--space-2);
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
display: block;
|
||||
flex: 0 0 auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.brand-logo--full {
|
||||
height: 50px;
|
||||
width: 148px;
|
||||
}
|
||||
|
||||
.brand-logo--compact {
|
||||
display: none;
|
||||
height: 34px;
|
||||
width: 34px;
|
||||
}
|
||||
|
||||
.brand-copy {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
color: var(--color-text-strong);
|
||||
font-size: 18px;
|
||||
font-weight: var(--font-weight-bold);
|
||||
line-height: var(--line-height-tight);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.brand-subtitle {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-xs);
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.side-nav {
|
||||
align-content: start;
|
||||
display: grid;
|
||||
flex: 1;
|
||||
gap: var(--space-5);
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
margin-right: calc(var(--space-4) * -1);
|
||||
padding-right: calc(var(--space-4) - 2px);
|
||||
scrollbar-color: transparent transparent;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.side-nav::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
}
|
||||
|
||||
.side-nav::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.side-nav::-webkit-scrollbar-thumb {
|
||||
background: transparent;
|
||||
border-radius: var(--radius-full);
|
||||
}
|
||||
|
||||
.sidebar:hover .side-nav {
|
||||
scrollbar-color: rgba(37, 99, 235, 0.24) transparent;
|
||||
}
|
||||
|
||||
.sidebar:hover .side-nav::-webkit-scrollbar-thumb {
|
||||
background: rgba(37, 99, 235, 0.18);
|
||||
}
|
||||
|
||||
.side-nav:hover::-webkit-scrollbar-thumb {
|
||||
background: rgba(37, 99, 235, 0.22);
|
||||
}
|
||||
|
||||
.side-nav::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(37, 99, 235, 0.34);
|
||||
}
|
||||
|
||||
.side-nav-section p {
|
||||
color: var(--color-text-subtle);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
letter-spacing: 0;
|
||||
margin-bottom: var(--space-2);
|
||||
padding: 0 var(--space-3);
|
||||
}
|
||||
|
||||
.side-nav-group-toggle {
|
||||
align-items: center;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--color-text-strong);
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
font: inherit;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
gap: var(--space-3);
|
||||
margin-bottom: var(--space-1);
|
||||
min-height: 42px;
|
||||
padding: 10px var(--space-3);
|
||||
text-align: left;
|
||||
transition: background var(--transition-fast), color var(--transition-fast);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.side-nav-group-toggle:hover {
|
||||
background: var(--color-bg-subtle);
|
||||
color: var(--color-selected);
|
||||
}
|
||||
|
||||
.side-nav-group-label {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.side-nav-group-chevron {
|
||||
color: var(--color-text-muted);
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.side-nav-list {
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
.side-nav-list--closed {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.side-nav-section:has(.side-nav-group-toggle) .side-nav-list {
|
||||
padding-left: var(--space-6);
|
||||
}
|
||||
|
||||
.side-nav a {
|
||||
align-items: center;
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--color-text);
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
font-weight: var(--font-weight-medium);
|
||||
padding: 10px var(--space-3);
|
||||
transition: background var(--transition-fast), color var(--transition-fast);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.side-nav-label {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
flex: 1;
|
||||
gap: var(--space-1);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.side-nav-label-text {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dev-status-badge {
|
||||
background: var(--color-warning-soft);
|
||||
border: 1px solid color-mix(in srgb, var(--color-warning) 24%, transparent);
|
||||
border-radius: 999px;
|
||||
color: var(--color-warning);
|
||||
flex: 0 0 auto;
|
||||
font-size: 11px;
|
||||
font-weight: var(--font-weight-semibold);
|
||||
line-height: 1;
|
||||
padding: 3px 6px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.side-nav-pending-badge {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.side-nav a.active,
|
||||
.side-nav a:hover {
|
||||
background: var(--color-selected-soft);
|
||||
color: var(--color-selected);
|
||||
}
|
||||
|
||||
.side-nav a.active {
|
||||
box-shadow: inset 3px 0 0 var(--color-selected);
|
||||
}
|
||||
|
||||
.sidebar-footer {
|
||||
background: var(--color-bg-subtle);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
padding: var(--space-3);
|
||||
}
|
||||
|
||||
.sidebar-footer span {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
|
||||
.sidebar-footer strong {
|
||||
color: var(--color-text-strong);
|
||||
font-size: var(--font-size-sm);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .sidebar {
|
||||
align-items: center;
|
||||
padding-left: var(--space-3);
|
||||
padding-right: var(--space-3);
|
||||
}
|
||||
|
||||
.app-shell--collapsed .brand-copy,
|
||||
.app-shell--collapsed .side-nav-section p,
|
||||
.app-shell--collapsed .side-nav-group-label,
|
||||
.app-shell--collapsed .side-nav-group-chevron,
|
||||
.app-shell--collapsed .side-nav a span,
|
||||
.app-shell--collapsed .sidebar-footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .brand-block {
|
||||
justify-content: center;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .brand-logo--full {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .brand-logo--compact {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav {
|
||||
gap: var(--space-2);
|
||||
margin-right: 0;
|
||||
overflow-y: auto;
|
||||
padding-right: 0;
|
||||
scrollbar-width: none;
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav-section {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav-group-toggle {
|
||||
border-radius: var(--radius-md);
|
||||
display: inline-flex;
|
||||
height: 38px;
|
||||
justify-content: center;
|
||||
margin-bottom: 0;
|
||||
min-height: 38px;
|
||||
padding: 0;
|
||||
width: 38px;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav-list {
|
||||
gap: 6px;
|
||||
justify-items: center;
|
||||
padding-left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav-section:has(.side-nav-group-toggle) .side-nav-list {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav a {
|
||||
height: 44px;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
width: 44px;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav a svg {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav a.active {
|
||||
box-shadow: inset 0 -3px 0 var(--color-accent);
|
||||
}
|
||||
|
||||
.main-area {
|
||||
display: grid;
|
||||
grid-template-rows: var(--topbar-height) minmax(0, 1fr);
|
||||
height: 100vh;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
align-items: center;
|
||||
background: var(--color-surface);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
height: var(--topbar-height);
|
||||
justify-content: space-between;
|
||||
padding: 0 var(--space-7);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
.topbar-left,
|
||||
.topbar-actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.topbar span {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.notice-menu-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.notice-count {
|
||||
align-items: center;
|
||||
background: var(--color-danger);
|
||||
border: 2px solid var(--color-surface);
|
||||
border-radius: var(--radius-full);
|
||||
color: var(--color-text-inverse) !important;
|
||||
display: inline-flex;
|
||||
font-size: 10px;
|
||||
font-weight: var(--font-weight-bold);
|
||||
height: 20px;
|
||||
justify-content: center;
|
||||
min-width: 20px;
|
||||
padding: 0 4px;
|
||||
position: absolute;
|
||||
right: -7px;
|
||||
top: -7px;
|
||||
}
|
||||
|
||||
.notice-popover {
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-lg);
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
min-width: 238px;
|
||||
padding: var(--space-3);
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: calc(100% + 8px);
|
||||
z-index: var(--z-dropdown);
|
||||
}
|
||||
|
||||
.notice-popover__header {
|
||||
align-items: center;
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: var(--space-1);
|
||||
padding: 0 var(--space-1) var(--space-2);
|
||||
}
|
||||
|
||||
.notice-popover__header strong {
|
||||
color: var(--color-text-strong);
|
||||
}
|
||||
|
||||
.notice-popover__header span {
|
||||
color: var(--color-danger);
|
||||
font-weight: var(--font-weight-semibold);
|
||||
}
|
||||
|
||||
.notice-popover__header span.is-zero,
|
||||
.notice-popover a strong.is-zero {
|
||||
background: var(--color-surface-muted);
|
||||
color: var(--color-text-strong);
|
||||
}
|
||||
|
||||
.notice-popover__header span.is-zero {
|
||||
border-radius: var(--radius-full);
|
||||
padding: 2px 8px;
|
||||
}
|
||||
|
||||
.notice-popover a,
|
||||
.notice-popover p {
|
||||
align-items: center;
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--color-text);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
min-height: 38px;
|
||||
padding: 0 var(--space-3);
|
||||
}
|
||||
|
||||
.notice-popover a:hover {
|
||||
background: var(--color-selected-soft);
|
||||
color: var(--color-selected);
|
||||
}
|
||||
|
||||
.notice-popover a strong {
|
||||
background: var(--color-danger-soft);
|
||||
border-radius: var(--radius-full);
|
||||
color: var(--color-danger);
|
||||
min-width: 28px;
|
||||
padding: 2px 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.user-menu {
|
||||
align-items: center;
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-full);
|
||||
color: var(--color-text);
|
||||
display: flex;
|
||||
gap: var(--space-2);
|
||||
height: 42px;
|
||||
padding: 0 var(--space-3) 0 var(--space-1);
|
||||
}
|
||||
|
||||
.user-menu-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.user-menu-popover {
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-lg);
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
min-width: 164px;
|
||||
padding: var(--space-2);
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: calc(100% + 8px);
|
||||
z-index: var(--z-dropdown);
|
||||
}
|
||||
|
||||
.user-menu-popover button {
|
||||
align-items: center;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
border-radius: var(--radius-sm);
|
||||
color: var(--color-text);
|
||||
display: flex;
|
||||
gap: var(--space-2);
|
||||
min-height: 36px;
|
||||
padding: 0 var(--space-3);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.user-menu-popover button:hover {
|
||||
background: var(--color-selected-soft);
|
||||
color: var(--color-selected);
|
||||
}
|
||||
|
||||
.user-avatar {
|
||||
align-items: center;
|
||||
background: var(--color-brand);
|
||||
border-radius: var(--radius-full);
|
||||
color: var(--color-accent);
|
||||
display: inline-flex;
|
||||
font-weight: var(--font-weight-bold);
|
||||
height: 32px;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
.user-menu span:not(.user-avatar) {
|
||||
display: grid;
|
||||
gap: 1px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.user-menu strong {
|
||||
color: var(--color-text-strong);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.user-menu small {
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-xs);
|
||||
}
|
||||
|
||||
.page-content {
|
||||
margin: 0 auto;
|
||||
max-width: var(--content-max-width);
|
||||
overflow-y: auto;
|
||||
padding: var(--space-7);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.page-stack {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
|
||||
.page-heading {
|
||||
align-items: end;
|
||||
display: flex;
|
||||
gap: var(--space-5);
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.page-heading > p {
|
||||
max-width: 460px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.page-heading__actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.surface {
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-sm);
|
||||
min-width: 0;
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.page-actions {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
|
||||
.section-stack {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: var(--space-4);
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
@media (min-width: 781px) {
|
||||
.mobile-nav-close {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
.app-shell {
|
||||
grid-template-columns: 1fr;
|
||||
height: 100dvh;
|
||||
min-height: 100dvh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.app-shell--collapsed {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
align-items: stretch;
|
||||
bottom: 0;
|
||||
box-shadow: 18px 0 48px rgba(15, 23, 42, 0.18);
|
||||
height: 100dvh;
|
||||
left: 0;
|
||||
max-width: 320px;
|
||||
padding: var(--space-4);
|
||||
position: fixed;
|
||||
top: 0;
|
||||
transform: translateX(-105%);
|
||||
transition: transform 180ms ease;
|
||||
width: 82vw;
|
||||
z-index: 70;
|
||||
}
|
||||
|
||||
.sidebar--mobile-open {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
.app-shell--collapsed .sidebar {
|
||||
align-items: stretch;
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.sidebar-brand-row {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.mobile-nav-close {
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.mobile-nav-backdrop {
|
||||
background: rgba(15, 23, 42, 0.56);
|
||||
border: 0;
|
||||
display: block;
|
||||
inset: 0;
|
||||
padding: 0;
|
||||
position: fixed;
|
||||
z-index: 60;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .brand-copy,
|
||||
.app-shell--collapsed .side-nav-section p,
|
||||
.app-shell--collapsed .side-nav-group-label,
|
||||
.app-shell--collapsed .side-nav-group-chevron,
|
||||
.app-shell--collapsed .side-nav a span,
|
||||
.app-shell--collapsed .sidebar-footer {
|
||||
display: revert;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .brand-block {
|
||||
justify-content: flex-start;
|
||||
padding: 0 var(--space-2) var(--space-2);
|
||||
}
|
||||
|
||||
.app-shell--collapsed .brand-logo--full {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .brand-logo--compact {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav a {
|
||||
height: auto;
|
||||
justify-content: flex-start;
|
||||
padding: 10px var(--space-3);
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav-list {
|
||||
justify-items: stretch;
|
||||
padding-left: var(--space-6);
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav-group-toggle {
|
||||
display: flex;
|
||||
height: auto;
|
||||
justify-content: flex-start;
|
||||
min-height: 42px;
|
||||
padding: 10px var(--space-3);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.app-shell--collapsed .side-nav-section:has(.side-nav-group-toggle) .side-nav-list {
|
||||
padding-left: var(--space-6);
|
||||
}
|
||||
|
||||
.side-nav {
|
||||
max-height: none;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
.main-area {
|
||||
grid-template-rows: 56px minmax(0, 1fr);
|
||||
height: 100dvh;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
gap: var(--space-2);
|
||||
height: 56px;
|
||||
padding: 0 var(--space-3);
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.desktop-nav-toggle,
|
||||
.topbar-help {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-nav-toggle {
|
||||
display: inline-flex;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.topbar-left {
|
||||
flex: 1;
|
||||
gap: var(--space-2);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.mobile-topbar-brand {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.mobile-topbar-brand img {
|
||||
display: block;
|
||||
height: 38px;
|
||||
max-width: 124px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.topbar-actions {
|
||||
gap: var(--space-2);
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.user-menu span:not(.user-avatar),
|
||||
.user-menu > svg,
|
||||
.user-menu small {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.user-menu {
|
||||
height: 40px;
|
||||
padding: 3px;
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
.page-content {
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.page-heading {
|
||||
align-items: start;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.page-heading > p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.section-heading,
|
||||
.page-actions {
|
||||
align-items: stretch;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.sidebar {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user