From 2b079e39e3b8710de923711ff8ccf571db895506 Mon Sep 17 00:00:00 2001 From: reverend Date: Sun, 2 Aug 2020 23:11:52 +0200 Subject: [PATCH] Build --- public/components.css | 237 +++++++++++++++++++++++++----------------- 1 file changed, 142 insertions(+), 95 deletions(-) diff --git a/public/components.css b/public/components.css index b3a3cac..c70bfc2 100644 --- a/public/components.css +++ b/public/components.css @@ -62,7 +62,9 @@ font-weight: bold; } .LP-Button:active { background-color: #76323F; - color: #C09F80; } + color: #f9f9f9; } + .LP-Button--cancel { + background-color: #f9f9f9; } .LP-Form .LP-Form__Checkbox { display: none; } @@ -122,8 +124,10 @@ color: #565656; } .LP-Image { - max-width: 100%; - max-height: 100%; } + object-fit: cover; + width: 100%; + height: auto; + vertical-align: top; } .LP-Logo { max-width: 100%; @@ -131,6 +135,18 @@ width: auto; object-fit: contain; } +.LP-Tag { + padding: 8px 14px; + background-color: #D7CEC7; + border-radius: 2px; + width: max-content; } + .LP-Tag .LP-Paragraph { + padding: 0; + margin: 0; + font-family: Montserrat, Helvetica, sans-serif; + font-size: 1em; + display: inline; } + .LP-Content { padding: 35px; } @@ -141,68 +157,90 @@ .LP-TextSection .LP-Text { line-height: 1.4rem; } -.LP-Place { +.LP-PlaceTeaser { width: 280px; } - .LP-Place .LP-Place__Image { + .LP-PlaceTeaser .LP-PlaceTeaser__Image { height: 165px; - object-fit: fill; } - .LP-Place .LP-Place__Meta { + width: 280px; + overflow: hidden; } + .LP-PlaceTeaser .LP-PlaceTeaser__Image .LP-Image { + max-width: unset; + max-height: unset; + object-fit: cover; } + .LP-PlaceTeaser .LP-PlaceTeaser__Meta { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; } - .LP-Place .LP-Place__Meta .LP-Paragraph { + .LP-PlaceTeaser .LP-PlaceTeaser__Meta .LP-Paragraph { font-family: Montserrat, Helvetica, sans-serif; padding: 0; margin: 0; margin-top: 5px; font-size: 0.9rem; } - .LP-Place .LP-Place__Meta .LP-Headline { + .LP-PlaceTeaser .LP-PlaceTeaser__Meta .LP-Headline { font-family: Montserrat, Helvetica, sans-serif; color: #565656; font-size: 1rem; padding: 0px; margin: 0px; } - .LP-Place .LP-Place__Description { + .LP-PlaceTeaser .LP-PlaceTeaser__Description { font-family: Roboto, Arial, sans-serif; color: #565656; display: none; } -.LP-SecurityMeasure__List { +@media (min-width: 650px) { + .LP-PlaceTeaser--extended { + display: flex; + flex-direction: row; + width: auto; + padding-right: 25px; + height: 165px; } + .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta { + margin: 0; + padding: 5px; + padding-left: 25px; + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: flex-start; } + .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Info .LP-Headline { + font-size: 28px; } + .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Icons { + margin-top: auto; } + .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Icons ul { + padding: 0; + margin: 0; } + .LP-PlaceTeaser--extended .LP-PlaceTeaser__Description { + display: block; + max-height: 55px; + overflow: hidden; } + .LP-PlaceTeaser--extended .LP-PlaceTeaser__Image { + height: 165px; + width: 280px; + flex-shrink: 0; + flex-grow: 0; } } + +.LP-TagList .LP-TagList__List { list-style-type: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; } - .LP-SecurityMeasure__List .LP-SecurityMeasure__Item { - margin: 5px 5px; - padding: 5px 8px; - background-color: #D7CEC7; - border-radius: 2px; } - .LP-SecurityMeasure__List .LP-SecurityMeasure__Item .LP-Text { - font-family: Montserrat, Helvetica, sans-serif; - font-size: 1.2rem; } + .LP-TagList .LP-TagList__List .LP-TagList__Item { + margin: 6px; } -.LP-Header { - display: flex; - align-items: center; - justify-content: space-between; - margin-bottom: 70px; } - .LP-Header__Logo { - max-width: 300px; - width: 35%; - object-fit: contain; } - .LP-Header .LP-Header__Logo { - margin: 25px; } - -.LP-Menu__List { +.LP-Menu .LP-Menu__List { list-style-type: none; - display: inline-flex; - justify-content: space-around; } + display: flex; + flex-direction: row; + justify-content: space-between; + padding: 0; + margin: 0; } -.LP-Menu__Item { - padding: 10px 15px; - margin: 0 15px; +.LP-Menu .LP-Menu__Item { + padding: 15px 0; + margin: 0; width: 100px; text-align: center; background-color: transparent; } @@ -214,72 +252,80 @@ .LP-Menu .LP-Link__Text:hover { color: #76323F; } -.LP-Introduction .LP-Headline { - font-size: 2rem; } +@media (max-width: 750px) { + .LP-Menu .LP-Menu__List { + display: flex; + flex-direction: row; + justify-content: flex-start; } } -.LP-Introduction .LP-Text { - font-size: 1.3rem; } +@media (max-width: 450px) { + .LP-Menu .LP-Menu__List { + justify-content: space-between; } } -.LP-Place__Grid { +.LP-Header { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 70px; + height: 60px; } + .LP-Header__Logo { + height: 60px; + margin: 25px; + object-fit: cover; + max-height: 100%; + overflow: hidden; } + .LP-Header__Logo .LP-Image { + height: 60px; } + +@media (max-width: 750px) { + .LP-Header__Logo { + width: 60px; } + .LP-Header__Logo .LP-Image { + object-position: 0 0; + object-fit: cover; } } + +@media (max-width: 450px) { + .LP-Header__Logo { + display: none; } + .LP-Header__Navigation { + width: 100%; } } + +.LP-PlaceGrid .LP-PlaceGrid__Grid { margin: 0; padding: 0; list-style-type: none; display: flex; flex-direction: row; flex-wrap: wrap; } - .LP-Place__Grid > .LP-Place__Item { - margin: 0 15px; - margin-bottom: 50px; } - .LP-Place__Grid .LP-Link .LP-Place__Description { - display: none; } - .LP-Place__Grid .LP-Link .LP-Place:hover { - box-shadow: 0 0 8px #565656; } + .LP-PlaceGrid .LP-PlaceGrid__Grid .LP-PlaceGrid__Item { + margin: 18px; } + .LP-PlaceGrid .LP-PlaceGrid__Grid .LP-Link .LP-PlaceTeaser:hover { + box-shadow: 0 0 2px #565656; } -.LP-Place__List { +.LP-PlaceList .LP-PlaceList__List { list-style-type: none; } - .LP-Place__List .LP-Link .LP-Place:hover { + .LP-PlaceList .LP-PlaceList__List .LP-Link .LP-Place:hover { color: #565656; background-color: #f9f9f9; position: relative; left: -2px; } - .LP-Place__List .LP-Link .LP-Place:hover > .LP-Place__Image { + .LP-PlaceList .LP-PlaceList__List .LP-Link .LP-Place:hover > .LP-Place__Image { border-left: 2px #565656 solid; } - .LP-Place__List .LP-Place__Item { + .LP-PlaceList .LP-PlaceList__List .LP-PlaceList__Item { max-width: 900px; min-width: 450px; margin: 18px 0; } - .LP-Place__List .LP-Place__Item .LP-Place { - display: flex; - flex-direction: row; - width: auto; - padding-right: 25px; } - .LP-Place__List .LP-Place__Item .LP-Place .LP-Place__Assets { - margin: 0; - padding: 0; - padding-left: 25px; - display: flex; - flex-direction: column; - justify-content: space-between; - align-items: flex-start; } - .LP-Place__List .LP-Place__Item .LP-Place .LP-Place__Assets .LP-Place__Info .LP-Place__Title { - font-size: 28px; } - .LP-Place__List .LP-Place__Item .LP-Place .LP-Place__Assets .LP-Icon__List { - justify-self: flex-end; } - .LP-Place__List .LP-Place__Item .LP-Place > .LP-Place__Image { - height: 168px; - width: 280px; } .LP-LinkList__List { list-style-type: none; display: grid; - grid-template-columns: repeat(auto-fit, 300px); + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin: 0; padding: 0; } .LP-LinkList__List .LP-LinkList__Item { border-left: 1px solid #C09F80; width: 100%; - margin-top: 12px; - height: 55px; } + margin-top: 12px; } .LP-LinkList__List .LP-LinkList__Item .LP-Link { padding: 1em 0 1em 1em; width: calc(100% - $-link-padding); @@ -379,43 +425,44 @@ .LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image { width: 700px; - height: 450px; box-shadow: 0 0 10px #565656; object-fit: cover; + object-position: 0 0; float: right; margin-left: 35px; - margin-bottom: 35px; } + margin-bottom: 35px; + overflow: hidden; } .LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOverView__Description { padding: 0px; position: relative; top: -15px; } + .LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOverView__Description .LP-Headline { + position: relative; + top: 15px; } .LP-PlaceOverview .LP-PlaceOverView__ImageList { list-style-type: none; display: grid; - grid-template-columns: repeat(auto-fit, 300px); + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin: 0px; padding: 0px; } - .LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem img { - box-shadow: 0 0 5px #565656; - height: 200px; - width: 290px; - object-fit: cover; + .LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem { margin-top: 10px; } + .LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem .LP-Link { + overflow: hidden; } + .LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem .LP-Image { + box-shadow: 0 0 5px #565656; + height: 200px; + width: 290px; + object-fit: cover; } -@media (max-width: 1290px) { +@media (max-width: 1000px) { .LP-PlaceOverview .LP-PlaceOverview__Info .LP-TextSection { - margin-top: -100px; } - .LP-PlaceOverview .LP-PlaceOverview__Info .LP-Headline { - position: relative; - top: -400px; - margin-bottom: 100px; - width: 100vw; - display: block; } + margin-top: 30px; } .LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image { float: none; - width: calc(100vw - 30px); + width: 100%; + height: auto; margin: 0; - padding: 0; - margin-left: 7px; } } + padding: 0; } }