This commit is contained in:
Mateusz Gruszczyński
2026-08-30 23:00:29 +02:00
parent 6465ba1125
commit 4054fe3f76
32 changed files with 3722 additions and 3272 deletions
+23 -3
View File
@@ -423,8 +423,12 @@ legend { padding: 0 5px; color: var(--muted); font-size: 11px; }
#historyTemperatureChart, #historyOperationChart { width: 100%; min-width: 720px; }
#historyTemperatureChart { height: 360px; }
#historyOperationChart { height: 260px; }
.legend { flex-wrap: wrap; gap: 9px 18px; }
.legend-line { width: 18px; height: 3px; border-radius: 999px; background: var(--legend-color, var(--accent)); }
.legend { flex-wrap: wrap; gap: 7px 10px; }
.legend-item { display:inline-flex; align-items:center; gap:7px; min-height:30px; padding:5px 8px; border:1px solid transparent; border-radius:9px; background:transparent; color:var(--muted); font:inherit; cursor:pointer; }
.legend-item:hover { border-color:var(--line); background:var(--surface-muted); color:var(--text-soft); }
.legend-item.is-hidden { opacity:.42; text-decoration:line-through; }
.legend-item:focus-visible { outline:2px solid color-mix(in srgb,var(--accent) 55%,transparent); outline-offset:1px; }
.legend-line { flex:0 0 18px; width: 18px; height: 3px; border-radius: 999px; background: var(--legend-color, var(--accent)); }
@media (max-width: 620px) {
.history-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chart-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
@@ -1264,7 +1268,9 @@ textarea[aria-invalid="true"] {
.chart-zoom-controls button:disabled { cursor: default; opacity: .34; }
.chart-zoom-reset { color: var(--muted) !important; font-size: 10px !important; font-variant-numeric: tabular-nums; }
.chart-wrap { overscroll-behavior-inline: contain; scroll-behavior: smooth; }
.chart-wrap canvas { touch-action: pan-x pan-y; }
.chart-wrap canvas { touch-action: pan-y; user-select:none; -webkit-user-select:none; }
.chart-selection { position:absolute; z-index:4; border:1px solid color-mix(in srgb,var(--accent) 76%,transparent); border-radius:4px; background:color-mix(in srgb,var(--accent) 16%,transparent); pointer-events:none; }
@media (hover:hover) and (pointer:fine) { .history-chart-card .chart-wrap canvas { cursor:crosshair; } }
@media (max-width: 700px) {
.toolbar-picker { flex-basis: 38px; width: 38px; height: 38px; border-radius: 10px; gap: 2px; }
@@ -1302,3 +1308,17 @@ textarea[aria-invalid="true"] {
border-color: color-mix(in srgb, var(--accent) 48%, var(--line-strong));
box-shadow: 0 8px 30px rgba(0,0,0,.18), 0 0 0 1px color-mix(in srgb, var(--accent) 10%, transparent);
}
/* Standalone HTTP error pages */
.error-page { min-height: 100dvh; }
.error-topbar { grid-template-columns: 1fr; }
.error-main { display: grid; place-items: center; min-height: calc(100dvh - 72px); padding: 32px 18px max(48px, env(safe-area-inset-bottom)); }
.error-card { width: min(620px, 100%); padding: clamp(28px, 7vw, 52px); border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: 30px; background: var(--surface); box-shadow: 0 24px 80px rgba(0, 0, 0, .18); }
.error-code { margin: 12px 0 -4px; color: var(--accent); font-size: clamp(72px, 20vw, 132px); font-weight: 250; line-height: .92; letter-spacing: -.075em; }
.error-card h1 { margin-bottom: 10px; }
.error-card .lead { margin-bottom: 0; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 11px 15px; border-radius: 13px; text-decoration: none; transition: transform .15s ease, background .15s ease, opacity .15s ease; }
.button-link:active { transform: scale(.97); }
.button-link.primary { background: var(--accent); color: var(--accent-text); font-weight: 800; }
.button-link.primary:hover { background: var(--accent-strong); }