Compare commits

..

No commits in common. "1bd17972815da71afc843262a21785006f2fa659" and "66a420741e31991e117b5a2f1c553943278fd4c1" have entirely different histories.

4 changed files with 19 additions and 85 deletions

View File

@ -1,8 +1,9 @@
.LP-PlaceTeaser{ .LP-PlaceTeaser{
width: 100%; width: 280px;
.LP-PlaceTeaser__Image{ .LP-PlaceTeaser__Image{
width: 100%; height: 165px;
width: 280px;
overflow: hidden; overflow: hidden;
.LP-Image{ .LP-Image{
@ -14,8 +15,6 @@
.LP-PlaceTeaser__Meta{ .LP-PlaceTeaser__Meta{
display: flex; display: flex;
flex-wrap: wrap;
gap: $-spacing-small;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 5px; padding: 5px;
@ -27,43 +26,26 @@
padding: 0; padding: 0;
margin: 0; margin: 0;
margin-top: 5px; margin-top: 5px;
font-size: 1.3rem; font-size: 0.9rem;
} }
.LP-Headline{ .LP-Headline{
font-family: $-primary-sans-serif-font; font-family: $-primary-sans-serif-font;
color: $-grey; color: $-grey;
font-size: 2rem; font-size: 1rem;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
} }
.LP-Icon {
height: 2em;
width: 2em;
}
} }
.LP-PlaceTeaser__Description{ .LP-PlaceTeaser__Description{
font-family: $-primary-sans-serif-font; font-family: $-primary-sans-serif-font;
color: $-grey; color: $-grey;
order: 3; display: none;
flex-basis: 100%;
.LP-Paragraph {
font-size: 22px;
}
} }
} }
@media(min-width: $-viewport-small){ @media(min-width: $-viewport-small){
.LP-PlaceTeaser {
width: 280px;
&__Image {
width: 280px;
height: 165px;
}
}
.LP-PlaceTeaser--extended{ .LP-PlaceTeaser--extended{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -73,17 +55,12 @@
.LP-PlaceTeaser__Meta{ .LP-PlaceTeaser__Meta{
margin: 0; margin: 0;
padding: 5px;
padding-left: 25px; padding-left: 25px;
display: flex; display: flex;
flex-wrap: nowrap;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: flex-start;
gap: unset;
.LP-Headline, .LP-Paragraph {
font-size: unset;
}
.LP-PlaceTeaser__Info{ .LP-PlaceTeaser__Info{
.LP-Headline{ .LP-Headline{
@ -99,22 +76,12 @@
margin: 0; margin: 0;
} }
} }
.LP-Icon {
height: 20px;
width: 20px;
}
} }
.LP-PlaceTeaser__Description{ .LP-PlaceTeaser__Description{
display: block; display: block;
max-height: 55px; max-height: 55px;
overflow: hidden; overflow: hidden;
order: unset;
.LP-Paragraph {
font-size: unset;
}
} }
.LP-PlaceTeaser__Image{ .LP-PlaceTeaser__Image{

View File

@ -1,8 +1,6 @@
.LP-PlaceList{ .LP-PlaceList{
.LP-PlaceList__List{ .LP-PlaceList__List{
list-style-type: none; list-style-type: none;
padding: 0;
margin: 0;
.LP-Link{ .LP-Link{
.LP-Place{ .LP-Place{
@ -25,10 +23,6 @@
max-width: 900px; max-width: 900px;
//min-width: 450px; //min-width: 450px;
margin: 18px 0; margin: 18px 0;
@media (max-width: $-viewport-medium) {
width: 100%;
margin-bottom: $-spacing-large;
}
} }
} }

View File

@ -20,7 +20,7 @@
} }
} }
@media (max-width: $-viewport-medium){ @media (max-width: $-viewport-normal){
.LP-PlaceDetail{ .LP-PlaceDetail{
.LP-PlaceDetail__Header{ .LP-PlaceDetail__Header{
.LP-PlaceDetail__Image{ .LP-PlaceDetail__Image{

View File

@ -862,9 +862,10 @@ body {
margin: 0 3px; } margin: 0 3px; }
.LP-PlaceTeaser { .LP-PlaceTeaser {
width: 100%; } width: 280px; }
.LP-PlaceTeaser .LP-PlaceTeaser__Image { .LP-PlaceTeaser .LP-PlaceTeaser__Image {
width: 100%; height: 165px;
width: 280px;
overflow: hidden; } overflow: hidden; }
.LP-PlaceTeaser .LP-PlaceTeaser__Image .LP-Image { .LP-PlaceTeaser .LP-PlaceTeaser__Image .LP-Image {
max-width: unset; max-width: unset;
@ -872,8 +873,6 @@ body {
object-fit: cover; } object-fit: cover; }
.LP-PlaceTeaser .LP-PlaceTeaser__Meta { .LP-PlaceTeaser .LP-PlaceTeaser__Meta {
display: flex; display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 5px; padding: 5px;
@ -884,30 +883,19 @@ body {
padding: 0; padding: 0;
margin: 0; margin: 0;
margin-top: 5px; margin-top: 5px;
font-size: 1.3rem; } font-size: 0.9rem; }
.LP-PlaceTeaser .LP-PlaceTeaser__Meta .LP-Headline { .LP-PlaceTeaser .LP-PlaceTeaser__Meta .LP-Headline {
font-family: "Montserrat", Helvetica, sans-serif; font-family: "Montserrat", Helvetica, sans-serif;
color: #565656; color: #565656;
font-size: 2rem; font-size: 1rem;
padding: 0px; padding: 0px;
margin: 0px; } margin: 0px; }
.LP-PlaceTeaser .LP-PlaceTeaser__Meta .LP-Icon {
height: 2em;
width: 2em; }
.LP-PlaceTeaser .LP-PlaceTeaser__Description { .LP-PlaceTeaser .LP-PlaceTeaser__Description {
font-family: "Montserrat", Helvetica, sans-serif; font-family: "Montserrat", Helvetica, sans-serif;
color: #565656; color: #565656;
order: 3; display: none; }
flex-basis: 100%; }
.LP-PlaceTeaser .LP-PlaceTeaser__Description .LP-Paragraph {
font-size: 22px; }
@media (min-width: 650px) { @media (min-width: 650px) {
.LP-PlaceTeaser {
width: 280px; }
.LP-PlaceTeaser__Image {
width: 280px;
height: 165px; }
.LP-PlaceTeaser--extended { .LP-PlaceTeaser--extended {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -916,15 +904,12 @@ body {
height: 165px; } height: 165px; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta {
margin: 0; margin: 0;
padding: 5px;
padding-left: 25px; padding-left: 25px;
display: flex; display: flex;
flex-wrap: nowrap;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: flex-start; }
gap: unset; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-Headline, .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-Paragraph {
font-size: unset; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Info .LP-Headline { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Info .LP-Headline {
font-size: 28px; } font-size: 28px; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Icons { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Icons {
@ -932,16 +917,10 @@ body {
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Icons ul { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-PlaceTeaser__Icons ul {
padding: 0; padding: 0;
margin: 0; } margin: 0; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Meta .LP-Icon {
height: 20px;
width: 20px; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Description { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Description {
display: block; display: block;
max-height: 55px; max-height: 55px;
overflow: hidden; overflow: hidden; }
order: unset; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Description .LP-Paragraph {
font-size: unset; }
.LP-PlaceTeaser--extended .LP-PlaceTeaser__Image { .LP-PlaceTeaser--extended .LP-PlaceTeaser__Image {
height: 165px; height: 165px;
width: 280px; width: 280px;
@ -1090,9 +1069,7 @@ body {
box-shadow: 0 0 2px #565656; } box-shadow: 0 0 2px #565656; }
.LP-PlaceList .LP-PlaceList__List { .LP-PlaceList .LP-PlaceList__List {
list-style-type: none; list-style-type: none; }
padding: 0;
margin: 0; }
.LP-PlaceList .LP-PlaceList__List .LP-Link .LP-Place:hover { .LP-PlaceList .LP-PlaceList__List .LP-Link .LP-Place:hover {
color: #565656; color: #565656;
background-color: #f9f9f9; background-color: #f9f9f9;
@ -1103,10 +1080,6 @@ body {
.LP-PlaceList .LP-PlaceList__List .LP-PlaceList__Item { .LP-PlaceList .LP-PlaceList__List .LP-PlaceList__Item {
max-width: 900px; max-width: 900px;
margin: 18px 0; } margin: 18px 0; }
@media (max-width: 750px) {
.LP-PlaceList .LP-PlaceList__List .LP-PlaceList__Item {
width: 100%;
margin-bottom: 35px; } }
.LP-PlaceList .LP-Pagination { .LP-PlaceList .LP-Pagination {
margin-top: 50px; } margin-top: 50px; }
@ -1715,7 +1688,7 @@ body {
margin-right: 25px; margin-right: 25px;
overflow: hidden; } overflow: hidden; }
@media (max-width: 750px) { @media (max-width: 1000px) {
.LP-PlaceDetail .LP-PlaceDetail__Header .LP-PlaceDetail__Image { .LP-PlaceDetail .LP-PlaceDetail__Header .LP-PlaceDetail__Image {
float: none; float: none;
width: 100%; width: 100%;