diff --git a/web/static/public.css b/web/static/public.css index 2e31b99..1977512 100644 --- a/web/static/public.css +++ b/web/static/public.css @@ -767,7 +767,7 @@ dt { } .campsite_type_booking { - margin-top: 2.5rem; + margin-top: 5rem; display: flex; gap: 5rem; } @@ -838,7 +838,7 @@ dt { } .campsite_type_prices { - padding: 2.5rem; + padding: 2.5rem 2.5rem 2.5rem 0; border-radius: .6rem; flex: .5; } @@ -1094,7 +1094,7 @@ dt { .checkin-checkout div { min-height: 0; flex-basis: 100%; - padding: .75rem; + padding: .75rem 2rem; display: flex; gap: .25em; border: 2px solid #383127; @@ -1104,6 +1104,16 @@ dt { background-size: 3.2rem; } +.checkin-checkout div:first-child { + border-top-left-radius: .6rem; + border-top-right-radius: .6rem; +} + +.checkin-checkout div:last-child { + border-bottom-left-radius: .6rem; + border-bottom-right-radius: .6rem; +} + .checkin-checkout div:hover { background-color: initial; } @@ -1454,10 +1464,16 @@ address { font-size: 2rem !important; } -/* camping map */ +/* campground page */ + +.map-legend { + display: flex; + gap: 5rem; +} #campground_map { - border-radius: .6rem; + width: 70vw; + border-radius: .6rem; } #arbres { @@ -1470,6 +1486,56 @@ address { opacity: .3; } +.legend-directory { + width: 30vw; + background: #fff; + border-radius: .6rem; + padding: 1rem 2rem; +} + +.legend-directory h4 { + border-bottom: solid 1px; + margin: 1rem 0; +} + +.legend-column { +column-count: 2; +column-gap: 2rem; +} + +.legend_item { + display: flex; + align-items: center; + gap: 10px; + color: var(--contrast); + margin: 1rem; +} + +.legend_item svg { + width: 2rem; + height: 2rem; + min-width: 2rem; + min-height: 2rem; + fill: var(--contrast); +} + +@media (max-width: 64rem) { +.map-legend { + display: flex; + flex-direction: column; +} + +#campground_map { + width: 100%; +} + +.legend-directory { +width: 100%; +} +} + + + /* surrounding */ #surroundings-ad { diff --git a/web/templates/public/campground.gohtml b/web/templates/public/campground.gohtml index 4bef288..7b177f6 100644 --- a/web/templates/public/campground.gohtml +++ b/web/templates/public/campground.gohtml @@ -14,8 +14,50 @@ {{ define "content" -}} {{- /*gotype: dev.tandem.ws/tandem/camper/pkg/app.campgroundPage*/ -}}