From 6203e3da75b2284870ae587516ed76631723ccd1 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 3 Apr 2026 19:07:20 +0000 Subject: [PATCH] Add nuisance style, fix header on non-home district pages --- html/template/rmo/nuisance.html | 1 - scss/rmo/nuisance.scss | 93 -------------------------------- ts/components/HeaderDistrict.vue | 46 +++++++--------- ts/rmo/content/Nuisance.vue | 93 ++++++++++++++++++++++++++++++++ ts/rmo/view/district/Home.vue | 29 +++++++++- 5 files changed, 140 insertions(+), 122 deletions(-) diff --git a/html/template/rmo/nuisance.html b/html/template/rmo/nuisance.html index 76bc2b3e..c79e982d 100644 --- a/html/template/rmo/nuisance.html +++ b/html/template/rmo/nuisance.html @@ -7,7 +7,6 @@ type="text/javascript" src="//unpkg.com/maplibre-gl@5.0.1/dist/maplibre-gl.js" > - diff --git a/scss/rmo/nuisance.scss b/scss/rmo/nuisance.scss index c65dba40..e69de29b 100644 --- a/scss/rmo/nuisance.scss +++ b/scss/rmo/nuisance.scss @@ -1,93 +0,0 @@ -.district-logo { - max-height: 80px; - width: auto; -} -.form-section { - margin-bottom: 2.5rem; - padding-bottom: 2rem; - border-bottom: 1px solid #dee2e6; -} -.form-section:last-child { - border-bottom: none; - margin-bottom: 1rem; - padding-bottom: 0; -} -.section-heading { - margin-bottom: 1.5rem; - display: flex; - align-items: center; -} -.section-heading i { - margin-right: 10px; - font-size: 1.5rem; - color: #0d6efd; -} -.submit-container { - background-color: #f8f9fa; - padding: 20px; - border-radius: 5px; - margin-top: 2rem; -} -.source-card { - height: 100%; - transition: transform 0.3s; -} -.source-card:hover { - transform: translateY(-5px); - box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); -} -.source-icon { - font-size: 2rem; - margin-bottom: 1rem; - color: #0d6efd; -} -.time-of-day-btn { - width: 100%; - margin-bottom: 10px; - display: flex; - flex-direction: column; - align-items: center; - padding: 15px 0; -} -.time-of-day-icon { - font-size: 1.5rem; - margin-bottom: 8px; -} -.time-label { - font-size: 0.9rem; -} -select.tall { - height: 160px; -} -.severity-item { - text-align: center; - padding: 10px; -} -.severity-scale { - display: flex; - justify-content: space-between; - margin: 20px 0; -} -.btn-check:checked + .btn.time-of-day-btn { - background-color: $info; - color: white; -} -.inspection-type-card { - cursor: pointer; - border: 1px solid #dee2e6; - padding: 20px; - border-radius: 5px; - height: 100%; - transition: all 0.3s; -} -.inspection-type-card.selected { - border-color: #0d6efd; - background-color: rgba(13, 110, 253, 0.05); -} -.inspection-type-card:hover { - border-color: #0d6efd; -} -.card-highlight { - border-left: 4px solid #0d6efd; - background-color: #f8f9fa; -} diff --git a/ts/components/HeaderDistrict.vue b/ts/components/HeaderDistrict.vue index 99b02bca..4f52268b 100644 --- a/ts/components/HeaderDistrict.vue +++ b/ts/components/HeaderDistrict.vue @@ -8,33 +8,27 @@ }