108 lines
10 KiB
CSS
108 lines
10 KiB
CSS
.stats-page { padding-bottom: 32px !important; }
|
|
.stats-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
|
|
.stats-period { display: flex; padding: 4px; margin: 0; min-width: 0; gap: 4px; border: 1px solid var(--ops-line); border-radius: 10px; background: var(--ops-panel); }
|
|
.stats-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
|
.stats-period button { min-height: 38px; padding: 8px 16px; border: 0; border-radius: 6px; background: transparent !important; color: var(--ops-muted) !important; font-size: 13px; text-transform: none; }
|
|
.stats-period button[aria-pressed=true] { background: #c7bdff !important; color: #211a36 !important; font-weight: 700; }
|
|
.stats-source { margin: 0; font-size: 12px; color: var(--ops-muted); }
|
|
.stats-source-dot { display: inline-block; height: 6px; width: 6px; margin-right: 8px; border-radius: 50%; background: var(--ops-faint); }
|
|
.stats-source-dot.is-ready { background: #95d5b2; }
|
|
.stats-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
|
|
.stats-metric { display: grid; align-content: start; gap: 12px; padding: 24px; border: 1px solid var(--ops-line); border-radius: 12px; background: var(--ops-panel); }
|
|
.stats-metric > span { font-size: 13px; color: var(--ops-muted); }
|
|
.stats-metric > strong { font: 600 clamp(28px, 3vw, 42px)/1.15 "DM Sans", sans-serif; color: var(--ops-text); letter-spacing: -.03em; }
|
|
.stats-metric > small { color: var(--ops-faint); font-size: 12px; line-height: 1.6; }
|
|
.stats-metric-accent { border-color: #655987; background: linear-gradient(135deg, #2f2940, var(--ops-panel)); }
|
|
.stats-metric-accent > strong { color: #d5cbff; }
|
|
.stats-main-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; }
|
|
.stats-three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
|
|
.stats-panel { min-width: 0; padding: 24px; border: 1px solid var(--ops-line); border-radius: 12px; background: var(--ops-panel); }
|
|
.stats-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
|
|
.stats-panel h2 { margin: 0; color: var(--ops-text); font-size: 17px; font-weight: 600; }
|
|
.stats-panel-heading p { margin: 8px 0 0; color: var(--ops-faint); font-size: 12px; }
|
|
.stats-panel-heading a { font-size: 12px; white-space: nowrap; color: #c7bdff; }
|
|
.stats-unit { color: var(--ops-faint); font-size: 11px; white-space: nowrap; }
|
|
.stats-chart-detail { min-height: 28px; color: var(--ops-muted); font-size: 12px; }
|
|
.stats-chart { height: 180px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; margin-top: 12px; }
|
|
.stats-chart-scale { display: flex; flex-direction: column; justify-content: space-between; text-align: right; font: 10px "JetBrains Mono", monospace; color: var(--ops-faint); }
|
|
.stats-chart-bars { display: flex; align-items: stretch; gap: clamp(2px, .5vw, 8px); background: repeating-linear-gradient(to top, var(--ops-line-soft) 0px, var(--ops-line-soft) 1px, transparent 1px, transparent 50%); }
|
|
.stats-chart-bars button { display: flex; align-items: flex-end; justify-content: center; padding: 0; min-width: 0; flex: 1; border: 0; background: transparent !important; border-radius: 3px; }
|
|
.stats-chart-bars button > span { display: block; width: 100%; max-width: 44px; background: #9085b8; border-radius: 3px 3px 0 0; }
|
|
.stats-chart-bars button:is(:hover, :focus-visible, .is-selected) > span { background: #d1c6ff; }
|
|
.stats-chart-axis { display: flex; justify-content: space-between; padding-left: 50px; margin-top: 12px; color: var(--ops-faint); font-size: 11px; }
|
|
.stats-highlight { display: grid; grid-template-columns: 85px minmax(0, 1fr); gap: 16px; align-items: center; padding: 19px 0; border-top: 1px solid var(--ops-line-soft); }
|
|
.stats-highlight:first-of-type { border-top: 0; }
|
|
.stats-highlight-number { font-size: 28px; color: #d1c6ff; font-weight: 600; }
|
|
.stats-highlight-number small { font-size: 11px; color: var(--ops-faint); font-weight: 400; }
|
|
.stats-highlight strong { font-size: 13px; color: var(--ops-text); }
|
|
.stats-highlight p { margin: 6px 0 0; color: var(--ops-faint); font-size: 12px; line-height: 1.5; }
|
|
.stats-top-titles { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
|
|
.stats-top-titles li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
|
|
.stats-rank { font: 11px "JetBrains Mono", monospace; color: var(--ops-faint); }
|
|
.stats-top-titles strong { display: block; font-size: 13px; font-weight: 500; color: var(--ops-text); overflow-wrap: anywhere; }
|
|
.stats-top-titles small { display: block; margin-top: 5px; font-size: 11px; color: var(--ops-faint); }
|
|
.stats-top-titles li > span:last-child { text-align: right; font-size: 13px; color: var(--ops-muted); }
|
|
.stats-breakdown { display: grid; gap: 24px; }
|
|
.stats-breakdown-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 12px; }
|
|
.stats-breakdown-label span { color: var(--ops-muted); overflow-wrap: anywhere; }
|
|
.stats-breakdown-label strong { white-space: nowrap; font-size: 11px; color: var(--ops-faint); font-weight: 400; }
|
|
.stats-meter { height: 5px; background: var(--ops-line-soft); border-radius: 5px; overflow: hidden; }
|
|
.stats-meter > span { display: block; height: 100%; background: #a497c9; border-radius: 5px; }
|
|
.stats-history-list { display: grid; }
|
|
.stats-history-list article { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-top: 1px solid var(--ops-line-soft); }
|
|
.stats-history-list article:first-child { padding-top: 0; border-top: 0; }
|
|
.stats-media-icon { display: grid; place-items: center; flex: 0 0 44px; height: 66px; border-radius: 6px; overflow: hidden; background: #373043; color: #cfc1eb; font: 10px "JetBrains Mono", monospace; }
|
|
.stats-media-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
.stats-transcoding { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ops-line-soft); }
|
|
.stats-transcoding h3 { margin: 0 0 16px; color: var(--ops-text); font-size: 13px; font-weight: 500; }
|
|
.stats-transcode-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
|
|
.stats-transcode-metrics > div { display: grid; align-content: start; gap: 8px; min-width: 0; }
|
|
.stats-transcode-metrics span { color: var(--ops-muted); font-size: 11px; }
|
|
.stats-transcode-metrics strong { color: #d1c6ff; font-size: 20px; font-weight: 500; overflow-wrap: anywhere; }
|
|
.stats-transcode-metrics small { color: var(--ops-faint); font-size: 10px; line-height: 1.7; overflow-wrap: anywhere; }
|
|
.stats-transcode-details { display: grid; gap: 10px; margin: 20px 0 12px; }
|
|
.stats-transcode-details > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--ops-muted); }
|
|
.stats-transcode-details dd { margin: 0; white-space: nowrap; color: var(--ops-faint); }
|
|
.stats-transcoding > p { margin: 12px 0 0; font-size: 10px; }
|
|
.stats-media-icon-movie { background: #3c322c; color: #e5bfa8; }
|
|
.stats-history-title { flex: 1; min-width: 0; }
|
|
.stats-history-title strong { display: block; color: var(--ops-text); font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
|
|
.stats-history-title small, .stats-history-title > span { display: block; color: var(--ops-faint); font-size: 11px; line-height: 1.6; margin-top: 3px; overflow-wrap: anywhere; }
|
|
.stats-history-title > span { font-size: 10px; }
|
|
.stats-history-time { display: grid; gap: 8px; text-align: right; flex-shrink: 0; }
|
|
.stats-history-time strong { font-size: 12px; color: var(--ops-muted); font-weight: 500; }
|
|
.stats-history-time time { font-size: 11px; color: var(--ops-faint); }
|
|
.stats-requests { align-self: start; }
|
|
.stats-request-total { display: flex; align-items: center; gap: 16px; }
|
|
.stats-request-total > strong { font-size: 36px; color: var(--ops-text); }
|
|
.stats-request-total > span { max-width: 15ch; color: var(--ops-muted); font-size: 12px; line-height: 1.6; }
|
|
.stats-request-counts { display: flex; justify-content: space-between; gap: 8px; padding: 20px 0; margin-top: 16px; border-block: 1px solid var(--ops-line-soft); }
|
|
.stats-request-counts > span { font-size: 11px; color: var(--ops-faint); }
|
|
.stats-request-counts strong { display: block; margin-bottom: 8px; color: var(--ops-text); font-size: 18px; font-weight: 500; }
|
|
.stats-request-list { list-style: none; margin: 10px 0 0; padding: 0; }
|
|
.stats-request-list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; color: var(--ops-muted); font-size: 12px; text-decoration: none; overflow-wrap: anywhere; }
|
|
.stats-request-list a:hover { color: #d1c6ff; }
|
|
.stats-request-list a > span { color: var(--ops-faint); }
|
|
.stats-state { display: grid; justify-items: center; gap: 14px; padding: 56px 24px; border: 1px solid var(--ops-line); border-radius: 12px; background: var(--ops-panel); text-align: center; }
|
|
.stats-state h2 { margin: 0; font-size: 22px; color: var(--ops-text); }
|
|
.stats-state p { margin: 0; max-width: 60ch; font-size: 14px; color: var(--ops-muted); line-height: 1.8; }
|
|
.stats-state-symbol { margin-bottom: 8px; color: #c7bdff; font-size: 36px; }
|
|
.stats-action { display: inline-block; margin-top: 8px; padding: 12px 20px; background: #c7bdff; color: #211a36; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; }
|
|
.stats-notice { padding: 16px 20px; border: 1px solid var(--ops-line); border-radius: 8px; color: var(--ops-muted); font-size: 13px; line-height: 1.6; }
|
|
.stats-muted, .stats-footnote { color: var(--ops-faint); font-size: 12px; line-height: 1.8; }
|
|
.stats-footnote { margin: 0; }
|
|
@media (max-width: 1100px) {
|
|
.stats-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.stats-main-grid { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); }
|
|
.stats-three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.stats-three-grid > :first-child { grid-column: 1 / -1; }
|
|
}
|
|
@media (max-width: 760px) {
|
|
.stats-main-grid, .stats-three-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
|
|
.stats-metric { padding: 18px; gap: 10px; }
|
|
.stats-panel { padding: 20px; }
|
|
.stats-period { width: 100%; }
|
|
.stats-period button { flex: 1; padding-inline: 8px; }
|
|
.stats-metrics { gap: 12px; }
|
|
}
|