89 lines
7.4 KiB
CSS
89 lines
7.4 KiB
CSS
/* BUILD190 — journal viewer. Styles are scoped to avoid affecting the on-air UI. */
|
|
.hpl-launcher { width: auto !important; min-width: 64px; padding: 0 10px !important; font-size: 11px !important; font-weight: 750; white-space: nowrap; }
|
|
.hpl-launcher[hidden] { display: none !important; }
|
|
body.hpl-is-open { overflow: hidden; }
|
|
.hpl-dialog {
|
|
--hpl-bg: #0b1522; --hpl-panel: #101e2e; --hpl-line: #2a4057; --hpl-text: #e3edf7; --hpl-muted: #9db0c5; --hpl-accent: #73d9b6;
|
|
width: min(1140px, calc(100vw - 32px)); height: min(920px, calc(100dvh - 32px)); max-width: none; max-height: calc(100dvh - 32px);
|
|
padding: 0; margin: auto; border: 1px solid var(--hpl-line); border-radius: 16px;
|
|
background: var(--hpl-bg); color: var(--hpl-text); box-shadow: 0 26px 100px #0009;
|
|
font: 13px/1.45 Inter, "Segoe UI", Arial, sans-serif; color-scheme: dark; overflow: hidden;
|
|
}
|
|
.hpl-dialog[open] { display: flex; flex-direction: column; }
|
|
.hpl-dialog::backdrop { background: #020710b8; backdrop-filter: blur(4px); }
|
|
.hpl-dialog *, .hpl-dialog *::before, .hpl-dialog *::after { box-sizing: border-box; }
|
|
.hpl-dialog button, .hpl-dialog input, .hpl-dialog select, .hpl-dialog a { font: inherit; }
|
|
.hpl-header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 22px; border-bottom: 1px solid var(--hpl-line); }
|
|
.hpl-eyebrow { font-size: 9px; font-weight: 800; letter-spacing: .13em; color: var(--hpl-accent); }
|
|
.hpl-header h2 { margin: 3px 0 0; font-size: 22px; font-weight: 750; line-height: 1.2; }
|
|
.hpl-close { flex: none; width: 38px; height: 38px; border: 1px solid var(--hpl-line); border-radius: 10px; background: var(--hpl-panel); color: var(--hpl-text); font-size: 25px !important; cursor: pointer; }
|
|
.hpl-content { flex: 1 1 auto; min-height: 0; max-height: calc(100dvh - 120px); padding: 16px 22px 20px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
|
|
.hpl-retention { margin: 0 0 15px; color: var(--hpl-muted); font-size: 11px; }
|
|
.hpl-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
|
|
.hpl-preset, .hpl-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; padding: 7px 11px; border: 1px solid var(--hpl-line); border-radius: 8px; color: var(--hpl-text); background: var(--hpl-panel); text-decoration: none; cursor: pointer; white-space: nowrap; }
|
|
.hpl-preset[aria-pressed="true"], .hpl-primary { border-color: #4eaa8c; background: #183b34; color: #a7f3d6; }
|
|
.hpl-dialog button:hover:not(:disabled), .hpl-dialog a:hover { border-color: #7996b1; }
|
|
.hpl-dialog :focus-visible { outline: 2px solid var(--hpl-accent); outline-offset: 3px; }
|
|
.hpl-dialog button:disabled, .hpl-dialog a[aria-disabled="true"] { opacity: .45; cursor: default; pointer-events: none; }
|
|
.hpl-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px 12px; padding: 14px; border: 1px solid var(--hpl-line); border-radius: 12px; background: #0e1a29; }
|
|
.hpl-field { display: grid; gap: 5px; min-width: 0; margin: 0; color: var(--hpl-muted); font-size: 11px; }
|
|
.hpl-field input, .hpl-field select { width: 100%; min-width: 0; min-height: 36px; padding: 7px 9px; border: 1px solid var(--hpl-line); border-radius: 7px; background: #091321; color: var(--hpl-text); }
|
|
.hpl-field select { appearance: auto; -webkit-appearance: auto; }
|
|
.hpl-field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 1; filter: none; cursor: pointer; }
|
|
.hpl-field input::placeholder { color: #6f849c; opacity: 1; }
|
|
.hpl-field-q { grid-column: span 3; }
|
|
.hpl-filter-actions { display: flex; align-items: end; gap: 7px; flex-wrap: wrap; }
|
|
.hpl-filter-actions .hpl-button { flex: 1; }
|
|
.hpl-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; margin: 15px 0 8px; }
|
|
.hpl-live { display: inline-flex; align-items: center; gap: 7px; color: var(--hpl-muted); font-size: 11px; cursor: pointer; }
|
|
.hpl-live input { width: 16px; height: 16px; accent-color: #58b996; }
|
|
.hpl-downloads { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
|
|
.hpl-status { margin: 0 0 10px; min-height: 17px; font-size: 11px; color: var(--hpl-muted); }
|
|
.hpl-error { margin: 10px 0; padding: 11px 13px; border: 1px solid #874155; border-radius: 8px; background: #40232c; color: #ffd3dc; overflow-wrap: anywhere; }
|
|
.hpl-error[hidden] { display: none; }
|
|
.hpl-list { display: grid; gap: 7px; min-height: 90px; }
|
|
.hpl-list[aria-busy="true"] { opacity: .65; }
|
|
.hpl-entry { min-width: 0; padding: 11px 13px 10px; border: 1px solid #24384d; border-left: 3px solid #477a9d; border-radius: 8px; background: #0f1c2b; }
|
|
.hpl-entry-head { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; color: var(--hpl-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
|
|
.hpl-entry-head time { white-space: nowrap; }
|
|
.hpl-level { min-width: 59px; font-size: 9px; font-weight: 850; letter-spacing: .04em; color: #8fc6ef; }
|
|
.hpl-category { color: #b7c6d8; overflow-wrap: anywhere; }
|
|
.hpl-level-warning { border-left-color: #d8a345; }
|
|
.hpl-level-warning .hpl-level { color: #f1c777; }
|
|
.hpl-level-error, .hpl-level-critical { border-left-color: #f16a83; background: #241d2b; }
|
|
.hpl-level-error .hpl-level, .hpl-level-critical .hpl-level { color: #ff9db0; }
|
|
.hpl-level-debug { border-left-color: #657589; }
|
|
.hpl-level-debug .hpl-level { color: #9aa7b7; }
|
|
.hpl-message { margin: 5px 0 3px; font-size: 12px; color: var(--hpl-text); overflow-wrap: anywhere; white-space: pre-wrap; }
|
|
.hpl-meta { margin: 2px 0 0; color: var(--hpl-muted); font-size: 10px; overflow-wrap: anywhere; }
|
|
.hpl-details { margin-top: 7px; font-size: 11px; }
|
|
.hpl-details summary { display: list-item; width: fit-content; color: #8fbbd9; cursor: pointer; }
|
|
.hpl-details pre { margin: 7px 0 0; padding: 10px; border: 1px solid var(--hpl-line); border-radius: 7px; background: #070f1c; color: #b9cadd; font: 11px/1.5 Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 300px; overflow: auto; }
|
|
.hpl-empty { padding: 35px 15px; text-align: center; color: var(--hpl-muted); border: 1px dashed var(--hpl-line); border-radius: 9px; }
|
|
.hpl-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; }
|
|
.hpl-page { color: var(--hpl-muted); font-size: 11px; text-align: center; }
|
|
@media (max-width: 900px) {
|
|
.hpl-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.hpl-field-q { grid-column: span 2; }
|
|
.hpl-filter-actions { grid-column: span 2; justify-content: flex-end; }
|
|
.hpl-filter-actions .hpl-button { flex: 0 1 auto; }
|
|
}
|
|
@media (max-width: 600px) {
|
|
.hpl-dialog { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; margin: 0; }
|
|
.hpl-header { padding: 13px 14px; }
|
|
.hpl-header h2 { font-size: 20px; }
|
|
.hpl-content { padding: 13px 12px 22px; max-height: calc(100dvh - 79px); }
|
|
.hpl-filters { padding: 11px; gap: 10px 8px; }
|
|
.hpl-field input, .hpl-field select { font-size: 16px; min-height: 42px; padding: 7px; }
|
|
.hpl-preset, .hpl-button { min-height: 40px; }
|
|
.hpl-downloads { margin-left: 0; width: 100%; }
|
|
.hpl-downloads .hpl-button:first-child { flex: 1; }
|
|
.hpl-live { font-size: 12px; }
|
|
.hpl-entry { padding: 10px; }
|
|
.hpl-entry-head { gap: 5px 8px; }
|
|
.hpl-pager { gap: 7px; }
|
|
.hpl-pager .hpl-button { padding-inline: 9px; }
|
|
.hpl-launcher { min-width: 54px; padding-inline: 6px !important; font-size: 10px !important; }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) { .hpl-dialog * { scroll-behavior: auto !important; } }
|