feat(crowd): add automated historical webcam collection and dataset integration

This commit is contained in:
dasemu committed 2026-03-13 10:41:57 +01:00
1 parent e952cea417
commit b4c6041eea
91 files changed
+7957 -40

No files matched your search

+595
View File
@@ -0,0 +1,595 @@
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Source+Serif+4:opsz,wght@8..60,600&display=swap');
:root {
--bg: #f3efe7;
--surface: rgba(255, 251, 245, 0.82);
--surface-strong: rgba(255, 248, 239, 0.95);
--surface-deep: #1a2d2f;
--line: rgba(28, 52, 57, 0.12);
--ink: #173038;
--muted: #577177;
--accent: #f2683c;
--accent-soft: rgba(242, 104, 60, 0.16);
--accent-strong: #ca4d23;
--success: #2f7d63;
--danger: #b5443c;
--shadow: 0 18px 40px rgba(23, 48, 56, 0.12);
--radius: 28px;
--radius-sm: 18px;
--page-width: 100%;
font-family: 'Space Grotesk', 'Avenir Next', sans-serif;
color: var(--ink);
background:
radial-gradient(circle at top left, rgba(242, 104, 60, 0.18), transparent 28%),
radial-gradient(circle at top right, rgba(35, 110, 140, 0.22), transparent 24%),
linear-gradient(180deg, #fffcf7 0%, #edf1ef 48%, #e6eeeb 100%);
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.45;
}
* {
box-sizing: border-box;
}
html,
body,
#root {
min-height: 100%;
}
body {
margin: 0;
min-height: 100svh;
}
a {
color: inherit;
text-decoration: none;
}
button,
input {
font: inherit;
}
button {
cursor: pointer;
}
code {
font-family: 'IBM Plex Mono', 'Cascadia Code', monospace;
background: rgba(23, 48, 56, 0.08);
padding: 0.1rem 0.35rem;
border-radius: 0.5rem;
}
#root {
width: 100%;
}
h1,
h2,
h3 {
margin: 0;
color: var(--ink);
}
h1,
h2 {
font-family: 'Source Serif 4', Georgia, serif;
line-height: 1.02;
}
p {
margin: 0;
}
.auth-shell,
.app-shell {
width: min(100%, 540px);
margin: 0 auto;
min-height: 100svh;
padding: 1.1rem 1rem 6.5rem;
}
.auth-shell--splash {
display: grid;
place-items: center;
}
.auth-card,
.settings-panel,
.forecast-card,
.station-card,
.hero-panel,
.preview-card,
.topbar,
.tabbar,
.notice-banner,
.state-block {
border: 1px solid var(--line);
box-shadow: var(--shadow);
background: var(--surface);
backdrop-filter: blur(18px);
}
.auth-card {
margin-top: 1.5rem;
padding: 1.5rem;
border-radius: var(--radius);
display: grid;
gap: 1rem;
}
.auth-card h1 {
font-size: clamp(2.5rem, 6vw, 4rem);
}
.auth-card__hint,
.auth-card__footer,
.page-header__subtitle,
.topbar__meta,
.metric-label,
.settings-caption,
.state-block p,
.station-card__summary {
color: var(--muted);
}
.auth-card__footer {
display: grid;
gap: 0.35rem;
font-size: 0.92rem;
}
.segmented-control {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.5rem;
padding: 0.35rem;
border-radius: 999px;
background: rgba(23, 48, 56, 0.06);
}
.segment,
.primary-button,
.ghost-button,
.date-chip,
.weekday-chip,
.selection-pill,
.tabbar__item {
border-radius: 999px;
border: 1px solid transparent;
transition:
transform 180ms ease,
background-color 180ms ease,
border-color 180ms ease,
color 180ms ease;
}
.segment {
padding: 0.8rem 1rem;
background: transparent;
color: var(--muted);
}
.segment--active {
background: var(--surface-strong);
color: var(--ink);
border-color: rgba(23, 48, 56, 0.08);
}
.auth-form,
.page-stack,
.forecast-list {
display: grid;
gap: 1rem;
}
.field {
display: grid;
gap: 0.45rem;
}
.field span {
font-size: 0.92rem;
color: var(--muted);
}
.field input {
width: 100%;
border: 1px solid rgba(23, 48, 56, 0.12);
border-radius: 1rem;
padding: 0.95rem 1rem;
background: rgba(255, 255, 255, 0.7);
color: var(--ink);
}
.field--compact {
flex: 1;
}
.button-row {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.primary-button,
.ghost-button,
.primary-button--link,
.ghost-button--link {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 3rem;
padding: 0.8rem 1.2rem;
}
.primary-button,
.primary-button--link {
background: linear-gradient(135deg, var(--accent) 0%, #ff9b61 100%);
color: #fff8f2;
}
.ghost-button,
.ghost-button--link {
background: rgba(255, 255, 255, 0.5);
color: var(--ink);
border-color: rgba(23, 48, 56, 0.12);
}
.primary-button:hover,
.ghost-button:hover,
.date-chip:hover,
.weekday-chip:hover,
.selection-pill:hover,
.tabbar__item:hover {
transform: translateY(-1px);
}
.primary-button:disabled,
.ghost-button:disabled {
opacity: 0.7;
cursor: default;
transform: none;
}
.eyebrow {
text-transform: uppercase;
letter-spacing: 0.18em;
font-size: 0.76rem;
font-weight: 700;
color: var(--accent-strong);
}
.topbar {
position: sticky;
top: 1rem;
z-index: 10;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
padding: 1.25rem;
border-radius: var(--radius);
margin-top: 0.6rem;
}
.topbar__title {
font-size: clamp(1.6rem, 5vw, 2.4rem);
}
.page-container {
padding-top: 1rem;
}
.page-header {
display: flex;
justify-content: space-between;
gap: 1rem;
align-items: flex-start;
}
.page-header h2 {
font-size: clamp(2rem, 5vw, 2.8rem);
}
.page-header__actions {
display: flex;
align-items: center;
}
.notice-banner {
padding: 0.9rem 1rem;
border-radius: 1.1rem;
}
.notice-banner--error {
border-color: rgba(181, 68, 60, 0.22);
color: var(--danger);
background: rgba(181, 68, 60, 0.08);
}
.notice-banner--info {
border-color: rgba(47, 125, 99, 0.18);
color: var(--success);
background: rgba(47, 125, 99, 0.08);
}
.station-grid,
.forecast-list {
display: grid;
gap: 1rem;
}
.station-card,
.forecast-card,
.settings-panel {
padding: 1.15rem;
border-radius: var(--radius);
}
.station-card {
display: grid;
gap: 0.9rem;
}
.station-card__top,
.station-card__footer,
.settings-panel__header,
.forecast-card__header,
.forecast-card__probability,
.date-adder,
.toggle {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 0.75rem;
}
.station-card__label {
color: var(--accent-strong);
text-transform: uppercase;
letter-spacing: 0.16em;
font-size: 0.72rem;
}
.station-card__stats,
.forecast-card__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.75rem;
}
.topography-pill,
.hero-panel__chip,
.status-pill {
padding: 0.5rem 0.85rem;
border-radius: 999px;
background: rgba(23, 48, 56, 0.08);
color: var(--ink);
font-size: 0.82rem;
}
.station-card__footer {
color: var(--muted);
font-size: 0.82rem;
flex-wrap: wrap;
}
.metric-box {
padding: 0.85rem;
border-radius: 1.1rem;
background: rgba(255, 255, 255, 0.45);
border: 1px solid rgba(23, 48, 56, 0.08);
}
.metric-box strong,
.forecast-card__probability strong,
.station-card__stats strong {
display: block;
margin-top: 0.25rem;
font-size: 1rem;
}
.forecast-card__probability {
align-items: center;
}
.progress-track {
flex: 1;
min-width: 110px;
height: 0.8rem;
border-radius: 999px;
background: rgba(23, 48, 56, 0.08);
overflow: hidden;
}
.progress-fill {
display: block;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #ffd07e 0%, var(--accent) 60%, var(--accent-strong) 100%);
}
.weather-callout {
padding: 0.95rem 1rem;
border-radius: 1.15rem;
background: rgba(23, 48, 56, 0.05);
}
.rule-list,
.preview-list {
margin: 0;
padding-left: 1rem;
display: grid;
gap: 0.45rem;
}
.hero-panel {
display: flex;
flex-wrap: wrap;
gap: 0.65rem;
padding: 1rem;
border-radius: var(--radius);
}
.date-selector {
display: grid;
grid-auto-flow: column;
grid-auto-columns: minmax(11rem, 1fr);
gap: 0.75rem;
overflow-x: auto;
padding-bottom: 0.15rem;
}
.date-chip {
padding: 0.95rem 1rem;
text-align: left;
background: rgba(255, 255, 255, 0.52);
border-color: rgba(23, 48, 56, 0.1);
color: var(--muted);
}
.date-chip strong {
display: block;
color: var(--ink);
font-size: 0.98rem;
}
.date-chip--active {
background: linear-gradient(135deg, rgba(242, 104, 60, 0.2), rgba(35, 110, 140, 0.18));
border-color: rgba(242, 104, 60, 0.28);
color: var(--ink);
}
.weekday-grid,
.selection-list {
display: flex;
gap: 0.6rem;
flex-wrap: wrap;
}
.weekday-chip,
.selection-pill {
background: rgba(255, 255, 255, 0.56);
border-color: rgba(23, 48, 56, 0.1);
padding: 0.75rem 1rem;
color: var(--ink);
}
.weekday-chip--active {
background: var(--accent-soft);
border-color: rgba(242, 104, 60, 0.25);
}
.preview-card {
border-radius: var(--radius-sm);
padding: 1rem;
}
.preview-list li {
display: flex;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.settings-panel {
display: grid;
gap: 1rem;
}
.toggle {
align-items: center;
font-weight: 500;
}
.toggle input {
width: 1.15rem;
height: 1.15rem;
}
.state-block {
min-height: 40svh;
border-radius: var(--radius);
display: grid;
place-items: center;
text-align: center;
gap: 0.75rem;
padding: 2rem;
}
.loader {
width: 3rem;
height: 3rem;
border-radius: 999px;
border: 4px solid rgba(23, 48, 56, 0.12);
border-top-color: var(--accent);
animation: spin 1s linear infinite;
}
.tabbar {
position: fixed;
left: 50%;
bottom: 1rem;
transform: translateX(-50%);
width: min(calc(100% - 1.5rem), 520px);
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.5rem;
padding: 0.5rem;
border-radius: 999px;
}
.tabbar__item {
min-height: 3rem;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--muted);
}
.tabbar__item--active {
color: var(--ink);
background: rgba(255, 255, 255, 0.76);
border-color: rgba(23, 48, 56, 0.1);
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@media (max-width: 520px) {
.auth-shell,
.app-shell {
padding-inline: 0.75rem;
}
.topbar,
.page-header,
.station-card__top,
.settings-panel__header,
.forecast-card__header,
.forecast-card__probability,
.date-adder {
flex-direction: column;
}
.station-card__stats,
.forecast-card__grid {
grid-template-columns: 1fr;
}
.tabbar {
width: calc(100% - 1rem);
bottom: 0.5rem;
}
}