feat: manage owner usage history records
This commit is contained in:
144
styles.css
144
styles.css
@@ -100,6 +100,7 @@ svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; strok
|
||||
.nav-item:hover { color: #fff; background: rgba(255,255,255,.07); }
|
||||
.nav-item.active { color: #fff; background: rgba(255,255,255,.12); box-shadow: inset 3px 0 0 #7ea0ff; }
|
||||
.sidebar-bottom { min-height: 126px; margin-top: auto; padding: 0 2px 88px; }
|
||||
.sidebar-session { position: relative; margin-top: auto; padding: 0 2px 124px; }
|
||||
.language-dock { position: fixed; left: 10px; bottom: 16px; z-index: 90; width: calc(var(--sidebar-width) - 20px); pointer-events: none; }
|
||||
.language-switch { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); height: 108px; padding: 3px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(6,13,24,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 10px 24px rgba(4,10,20,.16); pointer-events: auto; }
|
||||
.language-switch::before { content: ""; position: absolute; top: 3px; left: 3px; right: 3px; z-index: 0; height: calc(33.3333% - 3px); border: 1px solid rgba(255,255,255,.55); border-radius: 9px; background: #f4f7fb; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 3px 10px rgba(3,8,18,.22); transition: transform .18s cubic-bezier(.2,.8,.2,1); }
|
||||
@@ -116,23 +117,19 @@ svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; strok
|
||||
.language-option:focus-visible { outline: 2px solid #8ba7ef; outline-offset: -1px; }
|
||||
.sidebar-footer { padding: 0 2px; overflow-wrap: anywhere; color: #8995a8; font-size: 9px; line-height: 1.4; text-align: center; }
|
||||
|
||||
.main-column { min-width: 0; }
|
||||
.topbar { position: sticky; top: 0; z-index: 20; height: 60px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
|
||||
.main-column { position: relative; min-width: 0; }
|
||||
.topbar { position: absolute; inset: 0 0 auto; z-index: 20; height: 0; display: flex; align-items: flex-start; justify-content: flex-start; padding: 0; border: 0; background: transparent; pointer-events: none; }
|
||||
.mobile-menu { display: none !important; }
|
||||
.period-display { margin-left: auto; min-width: 132px; height: 44px; display: grid; align-content: center; gap: 1px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
|
||||
.period-display span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
|
||||
.period-display strong { font-size: 13px; }
|
||||
.session-area { position: relative; display: flex; align-items: center; gap: 12px; }
|
||||
.session-identity { display: grid; gap: 1px; padding-left: 2px; }
|
||||
.session-identity span { color: var(--muted); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
|
||||
.session-identity strong { max-width: 150px; overflow: hidden; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.session-logout { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--body); font-size: 11px; font-weight: 620; transition: border-color .18s ease, background .18s ease, color .18s ease; }
|
||||
.session-logout:hover { border-color: #adb6c5; background: var(--surface-soft); color: var(--ink); }
|
||||
.session-logout:disabled { cursor: wait; opacity: .6; }
|
||||
.session-logout svg { width: 16px; height: 16px; }
|
||||
.sidebar-logout { width: 100%; min-height: 40px; border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #dce4f2; }
|
||||
.sidebar-logout:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.12); color: #fff; }
|
||||
.session-error { position: absolute; top: calc(100% + 10px); right: 0; width: max-content; max-width: min(320px, calc(100vw - 28px)); padding: 9px 11px; border: 1px solid #f1c3be; border-radius: 8px; background: var(--error-soft); box-shadow: 0 10px 28px rgba(17,24,39,.12); color: var(--error); font-size: 10px; }
|
||||
.sidebar-session .session-error { top: auto; right: auto; bottom: calc(100% + 10px); left: 2px; }
|
||||
|
||||
.content { width: 100%; max-width: 1540px; margin: 0 auto; padding: 22px 28px 64px; }
|
||||
.content { width: 100%; max-width: none; margin: 0; padding: 18px 32px 64px; }
|
||||
.connection-banner { min-height: 48px; display: flex; align-items: center; gap: 11px; margin: -10px 0 24px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.78); }
|
||||
.connection-banner > div { min-width: 0; display: grid; gap: 1px; }
|
||||
.connection-banner strong { font-size: 12px; font-weight: 650; }
|
||||
@@ -168,7 +165,10 @@ svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; strok
|
||||
.icon-button:hover { background: var(--surface-soft); }
|
||||
.icon-button svg { width: 19px; height: 19px; }
|
||||
|
||||
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
|
||||
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
|
||||
.dashboard-title-card { min-height: 158px; display: flex; flex-direction: column; justify-content: center; padding: 22px; overflow: hidden; border: 1px solid var(--nav); border-radius: var(--radius-md); background: var(--nav); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
|
||||
.dashboard-title-card .eyebrow { color: #aebbd1; }
|
||||
.dashboard-title-card h1 { margin: 8px 0 0; color: #fff; font-size: clamp(31px, 3vw, 43px); line-height: 1; letter-spacing: -.052em; font-weight: 650; }
|
||||
.metric-card { position: relative; min-height: 158px; display: flex; flex-direction: column; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
|
||||
.metric-icon { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--surface-soft); }
|
||||
.metric-icon svg { width: 17px; height: 17px; }
|
||||
@@ -236,60 +236,63 @@ svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; strok
|
||||
.owner-workspace-tab > span:last-child { min-width: 26px; color: var(--faint); font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; }
|
||||
.owner-workspace-tab.active > span:last-child { color: var(--primary); }
|
||||
.owner-workspace-tab .tab-label { min-width: 0; color: inherit; font-size: inherit; text-align: left; }
|
||||
.content:has(.page[data-page-content="owners"].active) { padding-bottom: 18px; }
|
||||
.page[data-page-content="owners"].active { min-height: calc(100dvh - 36px); display: flex; flex-direction: column; }
|
||||
.owner-workspace-header { flex: 0 0 auto; }
|
||||
.owner-workspace-view { display: none; }
|
||||
.owner-workspace-view.active { display: block; }
|
||||
.owner-workspace-view.active { min-height: 0; display: flex; flex: 1 1 auto; flex-direction: column; }
|
||||
|
||||
.table-panel { overflow: hidden; }
|
||||
.table-panel { min-height: 0; display: flex; flex: 1 1 auto; flex-direction: column; overflow: hidden; }
|
||||
.table-panel > .panel-heading { padding: 20px 22px 16px; }
|
||||
.table-wrap { width: 100%; overflow-x: auto; }
|
||||
.owners-panel .table-wrap, .usage-panel .table-wrap { max-height: calc(100dvh - 318px); overflow: auto; }
|
||||
.owners-panel > .toolbar, .usage-panel > .toolbar { flex: 0 0 auto; }
|
||||
.owners-panel .table-wrap, .usage-panel .table-wrap { min-height: 0; flex: 1 1 auto; max-height: none; overflow: auto; }
|
||||
.owners-panel thead, .usage-panel thead { position: sticky; top: 0; z-index: 2; }
|
||||
.owner-table { min-width: 960px; table-layout: fixed; }
|
||||
.owner-table th { height: 48px; line-height: 1.2; white-space: normal; }
|
||||
.owner-table th:nth-child(1) { width: 6%; }
|
||||
.owner-table th:nth-child(2) { width: 14%; }
|
||||
.owner-table th:nth-child(3) { width: 18%; }
|
||||
.owner-table th:nth-child(4) { width: 10%; }
|
||||
.owner-table th:nth-child(2) { width: 18%; }
|
||||
.owner-table th:nth-child(3) { width: 10%; }
|
||||
.owner-table th:nth-child(4) { width: 11%; }
|
||||
.owner-table th:nth-child(5) { width: 11%; }
|
||||
.owner-table th:nth-child(6) { width: 11%; }
|
||||
.owner-table th:nth-child(7) { width: 12%; }
|
||||
.owner-table th:nth-child(6) { width: 12%; }
|
||||
.owner-table th:nth-child(7) { width: 14%; }
|
||||
.owner-table th:nth-child(8) { width: 14%; }
|
||||
.owner-table th:nth-child(9) { width: 4%; }
|
||||
.owner-table td:nth-child(3) { line-height: 1.35; white-space: normal; }
|
||||
.owner-table td:nth-child(2) { line-height: 1.35; white-space: normal; }
|
||||
.usage-table { min-width: 1100px; table-layout: fixed; }
|
||||
.usage-table th { height: 48px; line-height: 1.2; white-space: normal; }
|
||||
.usage-table th,
|
||||
.usage-table td { padding-right: 12px; padding-left: 12px; }
|
||||
.usage-table th:nth-child(1),
|
||||
.usage-table td:nth-child(1) { width: 10%; }
|
||||
.usage-table td:nth-child(1) { width: 9%; }
|
||||
.usage-table th:nth-child(2),
|
||||
.usage-table td:nth-child(2) { width: 20%; }
|
||||
.usage-table td:nth-child(2) { width: 18%; }
|
||||
.usage-table th:nth-child(3),
|
||||
.usage-table td:nth-child(3),
|
||||
.usage-table th:nth-child(4),
|
||||
.usage-table td:nth-child(4) { width: 9%; }
|
||||
.usage-table td:nth-child(4) { width: 8.5%; }
|
||||
.usage-table th:nth-child(5),
|
||||
.usage-table td:nth-child(5),
|
||||
.usage-table th:nth-child(6),
|
||||
.usage-table td:nth-child(6) { width: 6%; }
|
||||
.usage-table td:nth-child(6) { width: 5%; }
|
||||
.usage-table th:nth-child(7),
|
||||
.usage-table td:nth-child(7) { width: 10%; text-align: center; }
|
||||
.usage-table td:nth-child(7) { width: 9%; text-align: center; }
|
||||
.usage-table th:nth-child(8),
|
||||
.usage-table td:nth-child(8) { width: 14%; }
|
||||
.usage-table td:nth-child(8) { width: 21%; }
|
||||
.usage-table th:nth-child(9),
|
||||
.usage-table td:nth-child(9) { width: 12%; }
|
||||
.usage-table td:nth-child(9) { width: 8%; }
|
||||
.usage-table th:nth-child(10),
|
||||
.usage-table td:nth-child(10) { width: 4%; }
|
||||
.usage-table td:nth-child(10) { width: 8%; }
|
||||
.usage-table td:nth-child(2), .usage-table td:nth-child(9) { white-space: normal; }
|
||||
.history-room-type {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
justify-content: center;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
border-radius: 8px;
|
||||
color: var(--ink);
|
||||
font-weight: 650;
|
||||
line-height: 1.25;
|
||||
overflow-wrap: break-word;
|
||||
text-align: center;
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
}
|
||||
.record-remark { display: -webkit-box; overflow: hidden; color: var(--muted); line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
||||
@@ -306,6 +309,11 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
.align-right { text-align: right; }
|
||||
.row-action { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--muted); }
|
||||
.row-action:hover { background: #eef1f5; color: var(--ink); }
|
||||
.row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
|
||||
.delete-usage-action { width: 28px; height: 28px; margin-left: 3px; color: var(--faint); opacity: .52; }
|
||||
.delete-usage-action:hover { background: transparent; color: var(--error); opacity: 1; }
|
||||
.delete-usage-action:focus-visible { opacity: 1; }
|
||||
.delete-usage-action:disabled { cursor: wait; opacity: .45; }
|
||||
.row-action svg { width: 16px; height: 16px; }
|
||||
.clickable-row { cursor: pointer; }
|
||||
.toolbar { min-height: 67px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
|
||||
@@ -315,11 +323,33 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
.input-with-icon input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); }
|
||||
.toolbar select { height: 40px; min-width: 165px; padding: 0 32px 0 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--body); }
|
||||
.toolbar-count { margin-left: auto; color: var(--muted); font-size: 12px; }
|
||||
.table-pagination { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--surface-soft); }
|
||||
.pagination-status { min-width: 180px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; }
|
||||
.pagination-pages { display: flex; align-items: center; justify-content: center; gap: 3px; }
|
||||
.pagination-number { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; transition: border-color .18s ease, background .18s ease, color .18s ease; }
|
||||
.pagination-number:hover { border-color: #b7c7ed; background: var(--primary-soft); color: var(--primary); }
|
||||
.pagination-number[aria-current="page"] { border-color: #b6c7ef; background: var(--primary-soft); color: var(--primary); font-weight: 720; }
|
||||
.table-empty { min-height: 160px; display: grid; align-content: center; justify-items: center; gap: 5px; color: var(--muted); text-align: center; }
|
||||
.table-empty strong { color: var(--ink); font-size: 13px; }
|
||||
.table-empty span { font-size: 11px; }
|
||||
|
||||
/* Layer scale: navigation 30, scrims 70, drawers 80, toast 100, confirmation 110. */
|
||||
.drawer-scrim, .mobile-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(10,16,26,.42); backdrop-filter: blur(2px); }
|
||||
.confirm-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(17,24,39,.34); backdrop-filter: blur(3px); }
|
||||
.confirm-dialog { position: fixed; top: 50%; left: 50%; z-index: 111; width: min(440px, calc(100vw - 32px)); padding: 24px; border: 1px solid rgba(36,84,211,.2); border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(17,24,39,.22), inset 0 1px 0 rgba(255,255,255,.8); opacity: 0; visibility: hidden; transform: translate(-50%, -48%) scale(.985); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
|
||||
.confirm-dialog.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
|
||||
.confirm-dialog-header { display: flex; align-items: flex-start; gap: 12px; }
|
||||
.confirm-dialog-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: var(--error-soft); color: var(--error); }
|
||||
.confirm-dialog-icon svg { width: 18px; height: 18px; }
|
||||
.confirm-dialog .eyebrow { color: var(--error); letter-spacing: .12em; }
|
||||
.confirm-dialog h2 { margin: 4px 0 0; color: var(--ink); font-size: 19px; line-height: 1.2; letter-spacing: -.025em; font-weight: 650; }
|
||||
.confirm-dialog-message { margin: 18px 0 0; color: var(--body); font-size: 13px; line-height: 1.58; }
|
||||
.confirm-dialog-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); color: var(--muted); font-size: 10px; }
|
||||
.confirm-dialog-summary strong { color: var(--ink); font-size: 12px; font-variant-numeric: tabular-nums; }
|
||||
.confirm-dialog-footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
|
||||
.confirm-dialog-footer .primary-button, .confirm-dialog-footer .secondary-button { min-height: 40px; }
|
||||
.confirm-danger-button { border-color: var(--error); background: var(--error); }
|
||||
.confirm-danger-button:hover { border-color: #961d14; background: #961d14; }
|
||||
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(560px, 100vw); display: flex; flex-direction: column; border-left: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transform: translateX(102%); visibility: hidden; transition: transform .24s ease, visibility .24s ease; }
|
||||
.wide-drawer { width: min(1440px, 100vw); }
|
||||
.drawer.open { transform: translateX(0); visibility: visible; }
|
||||
@@ -385,9 +415,18 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
.detail-section { min-width: 0; }
|
||||
.detail-history-wrap { margin-top: 10px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
|
||||
.detail-history-table { min-width: 1120px; table-layout: fixed; }
|
||||
.detail-history-table th { width: 12.5%; height: 42px; border-top: 0; padding: 0 10px; white-space: nowrap; line-height: 1.2; }
|
||||
.detail-history-table th { height: 42px; border-top: 0; padding: 0 10px; white-space: nowrap; line-height: 1.2; }
|
||||
.detail-history-table th:nth-child(1), .detail-history-table td:nth-child(1) { width: 12%; }
|
||||
.detail-history-table th:nth-child(2), .detail-history-table td:nth-child(2),
|
||||
.detail-history-table th:nth-child(3), .detail-history-table td:nth-child(3) { width: 10%; }
|
||||
.detail-history-table th:nth-child(4), .detail-history-table td:nth-child(4),
|
||||
.detail-history-table th:nth-child(5), .detail-history-table td:nth-child(5) { width: 7%; }
|
||||
.detail-history-table th:nth-child(6), .detail-history-table td:nth-child(6) { width: 16.5%; }
|
||||
.detail-history-table th:nth-child(7), .detail-history-table td:nth-child(7) { width: 10%; }
|
||||
.detail-history-table td { height: 58px; padding: 9px 10px; font-size: 11px; }
|
||||
.detail-history-table td:nth-child(8) { white-space: normal; }
|
||||
.detail-history-table th:nth-child(8), .detail-history-table td:nth-child(8) { width: 23%; white-space: normal; }
|
||||
.detail-history-table th:nth-child(9), .detail-history-table td:nth-child(9) { width: 4.5%; }
|
||||
.detail-history-actions { padding-right: 6px !important; text-align: right; }
|
||||
.detail-history-remark { display: block; color: var(--body); line-height: 1.4; overflow-wrap: anywhere; }
|
||||
.detail-empty { min-height: 120px; display: grid; align-content: center; justify-items: center; gap: 4px; margin-top: 10px; border: 1px dashed var(--line-strong); border-radius: 10px; color: var(--muted); text-align: center; }
|
||||
.detail-empty strong { color: var(--ink); font-size: 12px; }
|
||||
@@ -401,7 +440,8 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
|
||||
|
||||
@media (max-width: 1120px) {
|
||||
.metric-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
|
||||
.metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
|
||||
.dashboard-title-card { min-height: 135px; }
|
||||
.metric-card { min-height: 135px; }
|
||||
.dashboard-grid { grid-template-columns: 1fr; }
|
||||
.room-mix-panel { min-height: auto; }
|
||||
@@ -418,6 +458,8 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
.nav-item { min-height: 44px; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 12px; font-size: 14px; line-height: 1.45; text-align: left; }
|
||||
.nav-item svg { width: 18px; height: 18px; }
|
||||
.sidebar-bottom { min-height: 81px; padding: 56px 0 0; }
|
||||
.sidebar-session { padding: 0 0 60px; }
|
||||
.sidebar-logout { justify-content: flex-start; min-height: 44px; padding: 0 12px; }
|
||||
.sidebar-footer { padding: 12px 10px 0; font-size: 11px; line-height: 1.45; text-align: left; }
|
||||
.sidebar.open { transform: translateX(0); }
|
||||
.language-dock { left: 16px; bottom: 45px; width: calc(var(--mobile-sidebar-width) - 32px); opacity: 0; visibility: hidden; transform: translateX(-120%); transition: opacity .16s ease, transform .2s ease, visibility .2s ease; }
|
||||
@@ -438,10 +480,10 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
body:has(#stayDrawer.open) .language-name { display: none; }
|
||||
body:has(#stayDrawer.open) .language-code { display: inline; }
|
||||
.mobile-scrim { z-index: 25; }
|
||||
.mobile-menu { display: grid !important; flex: 0 0 auto; }
|
||||
.topbar { height: 60px; padding: 0 20px; }
|
||||
.mobile-menu { margin-right: auto; }
|
||||
.content { padding: 24px 20px 52px; }
|
||||
.mobile-menu { position: absolute; top: 14px; left: 20px; display: grid !important; flex: 0 0 auto; pointer-events: auto; }
|
||||
.content:has(.page[data-page-content="owners"].active) { padding-bottom: 18px; }
|
||||
.page[data-page-content="owners"].active { min-height: calc(100dvh - 86px); }
|
||||
.content { padding: 68px 20px 52px; }
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
@@ -464,14 +506,10 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
}
|
||||
|
||||
@media (max-width: 680px) {
|
||||
.topbar { gap: 10px; padding: 0 14px; }
|
||||
.period-display { min-width: 58px; width: 58px; padding: 0; place-items: center; }
|
||||
.period-display span { display: none; }
|
||||
.session-identity { display: none; }
|
||||
.session-area { gap: 0; }
|
||||
.session-logout { width: 40px; height: 40px; padding: 0; }
|
||||
.session-logout span { display: none; }
|
||||
.content { padding: 18px 14px 44px; }
|
||||
.mobile-menu { top: 14px; left: 14px; }
|
||||
.content:has(.page[data-page-content="owners"].active) { padding-bottom: 14px; }
|
||||
.page[data-page-content="owners"].active { min-height: calc(100dvh - 82px); }
|
||||
.content { padding: 68px 14px 44px; }
|
||||
.connection-banner { align-items: flex-start; margin-top: -14px; }
|
||||
.connection-banner span:not(.connection-dot) { white-space: normal; }
|
||||
.page-heading { align-items: flex-start; }
|
||||
@@ -485,6 +523,8 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
.owner-workspace-header .primary-button { align-self: flex-end; margin-bottom: 0; }
|
||||
.metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
|
||||
.metric-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
|
||||
.dashboard-title-card { min-height: 128px; padding: 16px; }
|
||||
.dashboard-title-card h1 { font-size: 32px; }
|
||||
.metric-card { min-height: 128px; padding: 16px; }
|
||||
.metric-card > strong { font-size: 25px; }
|
||||
.metric-icon { top: 14px; right: 14px; width: 30px; height: 30px; }
|
||||
@@ -500,6 +540,9 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
.toolbar-count { margin-left: 0; }
|
||||
.table-wrap { padding: 0 12px 12px; }
|
||||
.owners-panel .table-wrap, .usage-panel .table-wrap { max-height: none; }
|
||||
.table-pagination { flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 12px; }
|
||||
.pagination-status { min-width: 0; font-size: 10px; }
|
||||
.pagination-pages { flex-basis: 100%; margin-top: 2px; }
|
||||
.owner-table, .usage-table, .detail-history-table { min-width: 0; table-layout: auto; }
|
||||
.owner-workspace-view .usage-table th,
|
||||
.owner-workspace-view .usage-table td { width: 100%; }
|
||||
@@ -519,6 +562,7 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
td::before { content: attr(data-label); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: left; }
|
||||
td.owner-cell { align-items: flex-start; }
|
||||
td:last-child:not([data-label]) { position: absolute; top: 7px; right: 7px; width: 32px; }
|
||||
.usage-table td.usage-row-actions { width: 68px; }
|
||||
.empty-table-row { padding: 0; }
|
||||
.empty-table-row td { display: block; padding: 0; text-align: center; }
|
||||
.empty-table-row td::before { display: none; }
|
||||
@@ -537,6 +581,9 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
.detail-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
.detail-history-wrap { overflow: visible; border: 0; }
|
||||
.balance-line { align-items: flex-start; }
|
||||
.confirm-dialog { width: calc(100vw - 28px); padding: 20px; border-radius: 14px; }
|
||||
.confirm-dialog-footer { flex-direction: column-reverse; }
|
||||
.confirm-dialog-footer .primary-button, .confirm-dialog-footer .secondary-button { width: 100%; }
|
||||
.toast { left: 14px; right: 14px; bottom: 14px; min-width: 0; }
|
||||
}
|
||||
|
||||
@@ -558,6 +605,7 @@ td strong, .owner-name { color: var(--ink); font-weight: 610; }
|
||||
@media (max-width: 410px) {
|
||||
.metric-grid { grid-template-columns: 1fr; }
|
||||
.metric-grid > :last-child:nth-child(odd) { grid-column: auto; }
|
||||
.dashboard-title-card { min-height: 118px; }
|
||||
.metric-card { min-height: 118px; }
|
||||
.room-mix-legend { grid-template-columns: 1fr; gap: 9px; }
|
||||
.room-mix-series { grid-template-columns: 7px minmax(0,1fr) 62px; gap: 7px; }
|
||||
|
||||
Reference in New Issue
Block a user