Converted indentation to spaces globally.

This commit is contained in:
Marcus Scholz 2020-08-17 15:39:17 +02:00
parent e80e93bcaa
commit b64724b586
57 changed files with 857 additions and 857 deletions

View File

@ -1,23 +1,23 @@
.LP-Button{ .LP-Button{
background-color: $-light-brown; background-color: $-light-brown;
color: $-grey; color: $-grey;
border: none; border: none;
padding: 8px 14px; padding: 8px 14px;
border-radius: 2px; border-radius: 2px;
font-weight: bold; font-weight: bold;
cursor: pointer; cursor: pointer;
&:active{ &:active{
background-color: $-wine-red; background-color: $-wine-red;
color:$-almost-white; color:$-almost-white;
} }
&--cancel{ &--cancel{
background-color: $-grey; background-color: $-grey;
color: $-almost-white; color: $-almost-white;
&:active{ &:active{
color: $-grey; color: $-grey;
background-color: $-almost-white; background-color: $-almost-white;
} }
} }
} }

View File

@ -1,14 +1,14 @@
{ {
"title": "Button", "title": "Button",
"context":{ "context":{
"text": "Click me" "text": "Click me"
}, },
"variants": [ "variants": [
{ {
"name": "Cancel Button", "name": "Cancel Button",
"context": { "context": {
"modifier": "--cancel" "modifier": "--cancel"
} }
} }
] ]
} }

View File

@ -1,13 +1,13 @@
.LP-Form{ .LP-Form{
.LP-Form__Checkbox{ .LP-Form__Checkbox{
display: none; display: none;
} }
.LP-Form__CheckBox__CheckMark{ .LP-Form__CheckBox__CheckMark{
height: 1em; height: 1em;
width: 1em; width: 1em;
border: 1px solid black; border: 1px solid black;
padding: 0 calc(.5em + 2px); padding: 0 calc(.5em + 2px);
margin-right: .7em; margin-right: .7em;
} }
} }

View File

@ -1,3 +1,3 @@
<form class="LP-Form"> <form class="LP-Form">
<label for="wurstwasser" class="LP-Form__Label"><span class="LP-Form__CheckBox__CheckMark"></span><input id="wurstwasser" type="checkbox" class="LP-Form__Checkbox"/>Check me</label> <label for="wurstwasser" class="LP-Form__Label"><span class="LP-Form__CheckBox__CheckMark"></span><input id="wurstwasser" type="checkbox" class="LP-Form__Checkbox"/>Check me</label>
</form> </form>

View File

@ -15,5 +15,5 @@
&--inline{ &--inline{
display: inline; display: inline;
} }
} }

View File

@ -9,6 +9,6 @@
"context": { "context": {
"modifier": "--main" "modifier": "--main"
} }
} }
] ]
} }

View File

@ -1,8 +1,8 @@
.LP-Image{ .LP-Image{
object-fit: cover; object-fit: cover;
width: 100%; width: 100%;
height: auto; height: auto;
vertical-align: top; vertical-align: top;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }

View File

@ -1,5 +1,5 @@
{ {
"context":{ "context":{
"source": "/images/photo_2020-05-02_18-11-21.jpg" "source": "/images/photo_2020-05-02_18-11-21.jpg"
} }
} }

View File

@ -3,7 +3,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-bottom: -$-margin-bottom; margin-bottom: -$-margin-bottom;
padding: 10px 0; padding: 10px 0;
.LP-Input__Field{ .LP-Input__Field{
border: none; border: none;
@ -15,30 +15,30 @@
margin-bottom: $-margin-bottom - 1px; margin-bottom: $-margin-bottom - 1px;
border-bottom: 2px solid $-wine-red; border-bottom: 2px solid $-wine-red;
background-color: $-almost-white; background-color: $-almost-white;
border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0;
box-shadow: none; box-shadow: none;
} }
&[type=submit]{ &[type=submit]{
background-color: $-light-brown; background-color: $-light-brown;
color: $-grey; color: $-grey;
border: none; border: none;
padding: 8px 14px; padding: 8px 14px;
border-radius: 2px; border-radius: 2px;
font-weight: bold; font-weight: bold;
cursor: pointer; cursor: pointer;
&:active{ &:active{
background-color: $-wine-red; background-color: $-wine-red;
color:$-almost-white; color:$-almost-white;
} }
} }
} }
.LP-Input__Label{ .LP-Input__Label{
font-family: $-primary-sans-serif-font; font-family: $-primary-sans-serif-font;
font-size: 16px; font-size: 16px;
} }
.LP-Input__Message{ .LP-Input__Message{
@ -60,30 +60,30 @@
.LP-Input__Message{ .LP-Input__Message{
color: $-wine-red; color: $-wine-red;
} }
} }
&--disabled{ &--disabled{
.LP-Input__Field, .LP-Input__Field:disabled{ .LP-Input__Field, .LP-Input__Field:disabled{
background-color: transparent; background-color: transparent;
border-bottom: 1px dashed $-grey; border-bottom: 1px dashed $-grey;
cursor: not-allowed; cursor: not-allowed;
label + &{ label + &{
color: red; color: red;
} }
&:focus, &:active{ &:focus, &:active{
margin-bottom: $-margin-bottom; margin-bottom: $-margin-bottom;
border-radius: 0; border-radius: 0;
} }
~.LP-Input__Message{ ~.LP-Input__Message{
visibility: hidden; visibility: hidden;
} }
} }
.LP-Input__Label{ .LP-Input__Label{
color: $-grey; color: $-grey;
} }
} }
} }

View File

@ -1,27 +1,27 @@
{ {
"context": { "context": {
"label": "Enter your value here", "label": "Enter your value here",
"placeholder": "A sample value" "placeholder": "A sample value"
}, },
"variants": [ "variants": [
{ {
"name": "With message", "name": "With message",
"context":{ "context":{
"message": "Please fill in anything valuable" "message": "Please fill in anything valuable"
} }
}, },
{ {
"name": "disabled", "name": "disabled",
"context": { "context": {
"modifier": "--disabled", "modifier": "--disabled",
"disabled": true "disabled": true
} }
}, },
{ {
"name": "error", "name": "error",
"context": { "context": {
"modifier": "--error", "modifier": "--error",
"message": "This field is required" "message": "This field is required"
} }
} }
] ]

View File

@ -1,11 +1,11 @@
<div class="LP-Input LP-Input{{modifier}}"> <div class="LP-Input LP-Input{{modifier}}">
<label for="input123" class="LP-Input__Label">{{label}}</label> <label for="input123" class="LP-Input__Label">{{label}}</label>
<input type="text" id="input123" class="LP-Input__Field" placeholder="{{placeholder}}" <input type="text" id="input123" class="LP-Input__Field" placeholder="{{placeholder}}"
{{#if disabled}} {{#if disabled}}
disabled="disabled" disabled="disabled"
{{/if}} {{/if}}
/> />
{{#if message}} {{#if message}}
<span class="LP-Input__Message">{{message}}</span> <span class="LP-Input__Message">{{message}}</span>
{{/if}} {{/if}}
</div> </div>

View File

@ -1,69 +1,69 @@
.LP-Message{ .LP-Message{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
align-items: stretch; align-items: stretch;
background-color: $-almost-white; background-color: $-almost-white;
font-family: $-primary-sans-serif-font; font-family: $-primary-sans-serif-font;
border-radius: 3px; border-radius: 3px;
font-weight: bold; font-weight: bold;
box-shadow: 0 0 2px $-grey; box-shadow: 0 0 2px $-grey;
overflow: hidden; overflow: hidden;
&--error{ &--error{
.LP-Message__Icon{ .LP-Message__Icon{
background-color: invert(#fd6861); background-color: invert(#fd6861);
background-image: url('icons/error.png'); background-image: url('icons/error.png');
} }
} }
&--warning{ &--warning{
.LP-Message__Icon{ .LP-Message__Icon{
background-color:invert(#ffb818); background-color:invert(#ffb818);
background-image: url('icons/error.png'); background-image: url('icons/error.png');
} }
} }
&--info{ &--info{
.LP-Message__Icon{ .LP-Message__Icon{
background-color: invert(lightblue); background-color: invert(lightblue);
background-image: url('icons/information.svg'); background-image: url('icons/information.svg');
} }
} }
&--success{ &--success{
.LP-Message__Icon{ .LP-Message__Icon{
background-color: invert(#96c800); background-color: invert(#96c800);
background-image: url('icons/success.svg'); background-image: url('icons/success.svg');
} }
} }
&--debug{ &--debug{
.LP-Message__Icon{ .LP-Message__Icon{
background-color: invert(#fb95d0); background-color: invert(#fb95d0);
background-image: url('icons/debug.png'); background-image: url('icons/debug.png');
} }
} }
.LP-Message__Icon{ .LP-Message__Icon{
background-size: 40px 40px; background-size: 40px 40px;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
height: 100%; height: 100%;
min-height: 50px; min-height: 50px;
width: 50px; width: 50px;
filter: invert(1); filter: invert(1);
flex-shrink: 0; flex-shrink: 0;
flex-grow: 0; flex-grow: 0;
} }
.LP-Message__Text{ .LP-Message__Text{
padding: 0 15px; padding: 0 15px;
flex-grow: 1; flex-grow: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
padding: 8px; padding: 8px;
} }
} }

View File

@ -1,39 +1,39 @@
{ {
"title": "Message", "title": "Message",
"context": { "context": {
"messageText": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.", "messageText": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.",
"modifier": "--info" "modifier": "--info"
}, },
"variants": [ "variants": [
{ {
"name": "Information", "name": "Information",
"context": { "context": {
"modifier": "--info" "modifier": "--info"
} }
}, },
{ {
"name": "Warning", "name": "Warning",
"context": { "context": {
"modifier": "--warning" "modifier": "--warning"
} }
}, },
{ {
"name": "Error", "name": "Error",
"context": { "context": {
"modifier": "--error" "modifier": "--error"
} }
}, },
{ {
"name": "Success", "name": "Success",
"context": { "context": {
"modifier": "--success" "modifier": "--success"
} }
}, },
{ {
"name": "Debug", "name": "Debug",
"context": { "context": {
"modifier": "--debug" "modifier": "--debug"
} }
} }
] ]
} }

View File

@ -1,10 +1,10 @@
<div class="LP-Message {{#if modifier}}LP-Message{{modifier}}{{/if}}"> <div class="LP-Message {{#if modifier}}LP-Message{{modifier}}{{/if}}">
<div> <div>
<div class="LP-Message__Icon"> <div class="LP-Message__Icon">
</div> </div>
</div> </div>
<div class="LP-Message__Text"> <div class="LP-Message__Text">
{{messageText}} {{messageText}}
</div> </div>
</div> </div>

View File

@ -8,24 +8,24 @@
.LP-Pagination__List{ .LP-Pagination__List{
list-style-type: none; list-style-type: none;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
.LP-Pagination__Item{ .LP-Pagination__Item{
margin: 0 4px; margin: 0 4px;
&--disabled{ &--disabled{
color: rgb(182, 182, 182); color: rgb(182, 182, 182);
.LP-Link{ .LP-Link{
color: rgb(182, 182, 182); color: rgb(182, 182, 182);
cursor: default; cursor: default;
&:hover{ &:hover{
background-color: unset; background-color: unset;
color: unset; color: unset;
} }
} }
} }
&--current{ &--current{
@ -39,54 +39,54 @@
} }
} }
} }
} }
.LP-Link{ .LP-Link{
padding: 15px 20px; padding: 15px 20px;
vertical-align: sub; vertical-align: sub;
border-radius: 2px; border-radius: 2px;
&:active, &:hover{ &:active, &:hover{
background-color: $-beige; background-color: $-beige;
color: $-grey; color: $-grey;
} }
} }
.LP-Icon{ .LP-Icon{
font-size: larger; font-size: larger;
} }
} }
@media(max-width: $-viewport-normal){ @media(max-width: $-viewport-normal){
.LP-Pagination{ .LP-Pagination{
.LP-Link{ .LP-Link{
padding: 10px 15px; padding: 10px 15px;
} }
.LP-Pagination__Item--other{ .LP-Pagination__Item--other{
.LP-Text{ .LP-Text{
display: none; display: none;
} }
} }
} }
} }
@media(max-width: $-viewport-small){ @media(max-width: $-viewport-small){
.LP-Pagination{ .LP-Pagination{
.LP-Pagination__Item{ .LP-Pagination__Item{
margin: 0 1px; margin: 0 1px;
.LP-Link{ .LP-Link{
padding: 13px 16px; padding: 13px 16px;
} }
} }
} }
} }
@media(max-width: $-viewport-extra-small){ @media(max-width: $-viewport-extra-small){
.LP-Pagination{ .LP-Pagination{
.LP-Pagination__Item{ .LP-Pagination__Item{
.LP-Link{ .LP-Link{
padding: 8px 11px; padding: 8px 11px;
} }
} }
} }
} }

View File

@ -1,3 +1,3 @@
{ {
"title": "Pagnination" "title": "Pagnination"
} }

View File

@ -1,54 +1,54 @@
<div class="LP-Pagination"> <div class="LP-Pagination">
<ul class="LP-Pagination__List"> <ul class="LP-Pagination__List">
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--first"> <li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--first">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
<span class="LP-Icon">⟪</span> <span class="LP-Icon">⟪</span>
<span class="LP-Text">First</span> <span class="LP-Text">First</span>
</a> </a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--disabled LP-Pagination__Item--previous"> <li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--disabled LP-Pagination__Item--previous">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
<span class="LP-Icon">⟨</span> <span class="LP-Icon">⟨</span>
<span class="LP-Text">Previous</span> <span class="LP-Text">Previous</span>
</a> </a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor"> <li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
<span class="LP-Text">1</span> <span class="LP-Text">1</span>
</a> </a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor"> <li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
<span class="LP-Text">2</span> <span class="LP-Text">2</span>
</a> </a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor"> <li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
<span class="LP-Text">3</span> <span class="LP-Text">3</span>
</a> </a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--current"> <li class="LP-Pagination__Item LP-Pagination__Item--current">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
<span class="LP-Text">4</span> <span class="LP-Text">4</span>
</a> </a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor"> <li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
<span class="LP-Text">5</span> <span class="LP-Text">5</span>
</a> </a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--next"> <li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--next">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
<span class="LP-Text">Next</span> <span class="LP-Text">Next</span>
<span class="LP-Icon">⟩</span> <span class="LP-Icon">⟩</span>
</a> </a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--last"> <li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--last">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
<span class="LP-Text">Last</span> <span class="LP-Text">Last</span>
<span class="LP-Icon">⟫</span> <span class="LP-Icon">⟫</span>
</a> </a>
</li> </li>
</ul> </ul>
</div> </div>

View File

@ -1,7 +1,7 @@
.LP-Paragraph { .LP-Paragraph {
color: black; color: black;
font-family: $-primary-serif-font; font-family: $-primary-serif-font;
font-size: 1.2rem; font-size: 1.2rem;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }

View File

@ -1,8 +1,8 @@
{ {
"context": { "context": {
"text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
}, },
"variants": [ "variants": [
] ]
} }

View File

@ -1,14 +1,14 @@
.LP-Tag{ .LP-Tag{
padding: 8px 14px; padding: 8px 14px;
background-color: #D7CEC7; background-color: #D7CEC7;
border-radius: 2px; border-radius: 2px;
width: max-content; width: max-content;
.LP-Paragraph{ .LP-Paragraph{
padding: 0; padding: 0;
margin: 0; margin: 0;
font-family: $-primary-sans-serif-font; font-family: $-primary-sans-serif-font;
font-size: 1em; font-size: 1em;
display: inline; display: inline;
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"title": "Tag", "title": "Tag",
"context": { "context": {
"text": "Im a tag" "text": "Im a tag"
} }
} }

View File

@ -1,3 +1,3 @@
<div class="LP-Tag"> <div class="LP-Tag">
{{> @paragraph text=text}} {{> @paragraph text=text}}
</div> </div>

View File

@ -1,15 +1,15 @@
.LP-MessageList{ .LP-MessageList{
padding: 25px; padding: 25px;
.LP-MessageList__List{ .LP-MessageList__List{
padding: 0; padding: 0;
margin: 0; margin: 0;
list-style-type: none; list-style-type: none;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
} }
.LP-MessageList__Item{ .LP-MessageList__Item{
margin: 5px 0; margin: 5px 0;
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"title": "Message List", "title": "Message List",
"context": { "context": {
"text": "At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." "text": "At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
} }
} }

View File

@ -1,9 +1,9 @@
<div class="LP-MessageList"> <div class="LP-MessageList">
<ul class="LP-MessageList__List"> <ul class="LP-MessageList__List">
<li class="LP-MessageList__Item">{{> @message messageText=text modifier='--info'}}</li> <li class="LP-MessageList__Item">{{> @message messageText=text modifier='--info'}}</li>
<li class="LP-MessageList__Item">{{> @message messageText=text modifier='--warning'}}</li> <li class="LP-MessageList__Item">{{> @message messageText=text modifier='--warning'}}</li>
<li class="LP-MessageList__Item">{{> @message messageText=text modifier='--error'}}</li> <li class="LP-MessageList__Item">{{> @message messageText=text modifier='--error'}}</li>
<li class="LP-MessageList__Item">{{> @message messageText=text modifier='--success'}}</li> <li class="LP-MessageList__Item">{{> @message messageText=text modifier='--success'}}</li>
<li class="LP-MessageList__Item">{{> @message messageText=text modifier='--debug'}}</li> <li class="LP-MessageList__Item">{{> @message messageText=text modifier='--debug'}}</li>
</ul> </ul>
</div> </div>

View File

@ -7,7 +7,7 @@
justify-content: space-around; justify-content: space-around;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
.LP-Menu__Item { .LP-Menu__Item {
margin: 0; margin: 0;
@ -30,8 +30,8 @@
} }
&--sidebar{ &--sidebar{
border-top: 1px solid $-light-brown; border-top: 1px solid $-light-brown;
border-left: none; border-left: none;
min-width: 60px; min-width: 60px;
background-color: $-almost-white; background-color: $-almost-white;
padding-top: 25px; padding-top: 25px;
@ -44,13 +44,13 @@
margin-bottom: 10px; margin-bottom: 10px;
padding-left: 25px; padding-left: 25px;
&--additional{ &--additional{
background-color: #ccc; background-color: #ccc;
} }
.LP-Link{ .LP-Link{
line-height: 1em; line-height: 1em;
} }
&:last-child{ &:last-child{
margin-bottom: 0; margin-bottom: 0;
@ -60,9 +60,9 @@
border-right: 2px solid $-light-brown; border-right: 2px solid $-light-brown;
position: relative; position: relative;
background-color: $-beige; background-color: $-beige;
color: $-wine-red; color: $-wine-red;
} }
} }
} }
} }

View File

@ -1,10 +1,10 @@
{ {
"title": "Navigation", "title": "Navigation",
"context": { "context": {
"additionalItems": [ "additionalItems": [
"Hello" "Hello"
] ]
}, },
"variants": [ "variants": [
{ {
"name": "Sidebar", "name": "Sidebar",

View File

@ -1,8 +1,8 @@
<nav class="LP-Menu LP-Menu{{modifier}}"> <nav class="LP-Menu LP-Menu{{modifier}}">
<ul class="LP-Menu__List"> <ul class="LP-Menu__List">
{{#each additionalItems}} {{#each additionalItems}}
<li class="LP-Menu__Item LP-Menu__Item--additional">{{> @link text=this}}</li> <li class="LP-Menu__Item LP-Menu__Item--additional">{{> @link text=this}}</li>
{{/each}} {{/each}}
<li class="LP-Menu__Item">{{> @link text='Home'}}</li> <li class="LP-Menu__Item">{{> @link text='Home'}}</li>
<li class="LP-Menu__Item">{{> @link text='About'}}</li> <li class="LP-Menu__Item">{{> @link text='About'}}</li>
<li class="LP-Menu__Item">{{> @link text='Contact'}}</li> <li class="LP-Menu__Item">{{> @link text='Contact'}}</li>

View File

@ -2,15 +2,15 @@
"context": { "context": {
"image": "/images/photo_2020-05-02_18-11-21.jpg", "image": "/images/photo_2020-05-02_18-11-21.jpg",
"title": "Kokerei Wiescherhöfen", "title": "Kokerei Wiescherhöfen",
"location": "Hamm (Westfalen)", "location": "Hamm (Westfalen)",
"description": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. " "description": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. "
}, },
"variants": [ "variants": [
{ {
"name": "Extended", "name": "Extended",
"context": { "context": {
"modifier": "--extended" "modifier": "--extended"
} }
} }
] ]
} }

View File

@ -1,21 +1,21 @@
<article class="LP-PlaceTeaser LP-PlaceTeaser{{modifier}}"> <article class="LP-PlaceTeaser LP-PlaceTeaser{{modifier}}">
<div class="LP-PlaceTeaser__Image"> <div class="LP-PlaceTeaser__Image">
<img class="LP-Image" src="{{image}}"/> <img class="LP-Image" src="{{image}}"/>
</div> </div>
<div class="LP-PlaceTeaser__Meta"> <div class="LP-PlaceTeaser__Meta">
<div class="LP-PlaceTeaser__Info"> <div class="LP-PlaceTeaser__Info">
<span class="LP-PlaceTeaser__Title">{{> @headline headline=title modifier='--teaser'}}</span> <span class="LP-PlaceTeaser__Title">{{> @headline headline=title modifier='--teaser'}}</span>
<span class="LP-PlaceTeaser__Detail" >{{> @paragraph text=location}}</span> <span class="LP-PlaceTeaser__Detail" >{{> @paragraph text=location}}</span>
</div> </div>
<div class="LP-PlaceTeaser__Description"> <div class="LP-PlaceTeaser__Description">
{{> @paragraph text=description}} {{> @paragraph text=description}}
</div> </div>
<div class="LP-PlaceTeaser__Icons"> <div class="LP-PlaceTeaser__Icons">
<ul class="LP-Icon__List"> <ul class="LP-Icon__List">
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/favourite.svg"/></li> <li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/favourite.svg"/></li>
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/location.svg"/></li> <li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/location.svg"/></li>
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/flag.svg"/></li> <li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/flag.svg"/></li>
</ul> </ul>
</div> </div>
</div> </div>
</article> </article>

View File

@ -1,13 +1,13 @@
.LP-TagList{ .LP-TagList{
.LP-TagList__List{ .LP-TagList__List{
list-style-type: none; list-style-type: none;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
padding:0; padding:0;
margin: 0; margin: 0;
.LP-TagList__Item{ .LP-TagList__Item{
margin: 6px; margin: 6px;
} }
} }
} }

View File

@ -1,11 +1,11 @@
{ {
"title": "TagList", "title": "TagList",
"context": { "context": {
"tags": [ "tags": [
"Kamera", "Kamera",
"Wachhund", "Wachhund",
"Zaun", "Zaun",
"Security" "Security"
] ]
} }
} }

View File

@ -1,7 +1,7 @@
<div class="LP-TagList"> <div class="LP-TagList">
<ul class="LP-TagList__List"> <ul class="LP-TagList__List">
{{#each tags}} {{#each tags}}
<li class="LP-TagList__Item">{{> @tag text=this}}</li> <li class="LP-TagList__Item">{{> @tag text=this}}</li>
{{/each}} {{/each}}
</ul> </ul>
</div> </div>

View File

@ -1,6 +1,6 @@
{ {
"context": { "context": {
"headline": "At vero eos et accusam et justo duo dolores", "headline": "At vero eos et accusam et justo duo dolores",
"text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." "text": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
} }
} }

View File

@ -1,8 +1,8 @@
<article class="LP-TextSection"> <article class="LP-TextSection">
<header class="LP-TextSection__Headline"> <header class="LP-TextSection__Headline">
{{> @headline headline=headline}} {{> @headline headline=headline}}
</header> </header>
<div class="LP-TextSection__Text"> <div class="LP-TextSection__Text">
{{> @paragraph text=text}} {{> @paragraph text=text}}
</div> </div>
</article> </article>

View File

@ -1,26 +1,26 @@
.LP-Form{ .LP-Form{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
.LP-Form__Fieldset{ .LP-Form__Fieldset{
border: none; border: none;
max-width: 1200px; max-width: 1200px;
min-width: $-viewport-medium; min-width: $-viewport-medium;
.LP-Form__Legend{ .LP-Form__Legend{
margin: 0; margin: 0;
padding: 0; padding: 0;
font-family: $-primary-sans-serif-font; font-family: $-primary-sans-serif-font;
font-size: 21px; font-size: 21px;
} }
.LP-Form__Composition{ .LP-Form__Composition{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
.LP-Form__Field{ .LP-Form__Field{
flex: 3 2 100px; flex: 3 2 100px;
@ -41,37 +41,37 @@
&--narrower{ &--narrower{
flex: 1 2; flex: 1 2;
} }
} }
&--buttons{ &--buttons{
justify-content: flex-end; justify-content: flex-end;
} }
.LP-Form__Button{ .LP-Form__Button{
flex-grow: 0; flex-grow: 0;
padding-left: 0; padding-left: 0;
min-width: 130px; min-width: 130px;
.LP-Link{ .LP-Link{
display:contents; display:contents;
} }
} }
.LP-Form__InfoText{ .LP-Form__InfoText{
.LP-Paragraph{ .LP-Paragraph{
font-family: $-primary-sans-serif-font; font-family: $-primary-sans-serif-font;
color: $-grey; color: $-grey;
} }
} }
} }
} }
} }
@media(max-width: $-viewport-medium){ @media(max-width: $-viewport-medium){
.LP-Form{ .LP-Form{
.LP-Form__Fieldset{ .LP-Form__Fieldset{
min-width: unset; min-width: unset;
} }
} }
} }
@ -81,7 +81,7 @@
.LP-Form__Composition--breakable{ .LP-Form__Composition--breakable{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
} }
} }
} }
@ -97,19 +97,19 @@
.LP-Form__Field{ .LP-Form__Field{
&:not(.LP-Form__Button){ &:not(.LP-Form__Button){
flex: 3 1 100px; flex: 3 1 100px;
padding: 12px 15px; padding: 12px 15px;
} }
} }
.LP-Form__Button{ .LP-Form__Button{
padding: 0 15px; padding: 0 15px;
} }
&--buttons{ &--buttons{
justify-content: flex-end; justify-content: flex-end;
} }
} }
} }
} }

View File

@ -4,25 +4,25 @@
<div class="LP-Form__Composition LP-Form__Composition--breakable"> <div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field"> <div class="LP-Form__Field">
<div class="LP-Input LP-Input--error"> <div class="LP-Input LP-Input--error">
<label for="input123" class="LP-Input__Label">First name</label> <label for="input123" class="LP-Input__Label">First name</label>
<input type="text" id="input123" class="LP-Input__Field" placeholder="Peter"/> <input type="text" id="input123" class="LP-Input__Field" placeholder="Peter"/>
<span class="LP-Input__Message">Field is required</span> <span class="LP-Input__Message">Field is required</span>
</div> </div>
</div> </div>
<div class="LP-Form__Field"> <div class="LP-Form__Field">
<div class="LP-Input"> <div class="LP-Input">
<label for="input123" class="LP-Input__Label">Last name</label> <label for="input123" class="LP-Input__Label">Last name</label>
<input type="text" id="input123" class="LP-Input__Field"/> <input type="text" id="input123" class="LP-Input__Field"/>
</div> </div>
</div> </div>
<div class="LP-Form__Field LP-Form__Field--narrower"> <div class="LP-Form__Field LP-Form__Field--narrower">
<div class="LP-Input LP-Input--disabled"> <div class="LP-Input LP-Input--disabled">
<label for="input123" class="LP-Input__Label">Age</label> <label for="input123" class="LP-Input__Label">Age</label>
<input type="text" id="input123" class="LP-Input__Field" disabled="disabled"/> <input type="text" id="input123" class="LP-Input__Field" disabled="disabled"/>
</div> </div>
</div> </div>
</div> </div>
<div class="LP-Form__Composition"> <div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__Field--wider LP-Input"> <div class="LP-Form__Field LP-Form__Field--wider LP-Input">
@ -37,11 +37,11 @@
</div> </div>
</div> </div>
<div class="LP-Form__Composition"> <div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__InfoText"> <div class="LP-Form__Field LP-Form__InfoText">
<p class="LP-Paragraph">At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. </p> <p class="LP-Paragraph">At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. </p>
</div> </div>
</div> </div>
<div class="LP-Form__Composition"> <div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__Field--narrow LP-Input"> <div class="LP-Form__Field LP-Form__Field--narrow LP-Input">
@ -54,12 +54,12 @@
</div> </div>
</div> </div>
<div class="LP-Form__Composition LP-Form__Composition--buttons"> <div class="LP-Form__Composition LP-Form__Composition--buttons">
<div class="LP-Form__Field LP-Form__Button LP-Input"> <div class="LP-Form__Field LP-Form__Button LP-Input">
<input type="submit" class="LP-Button" value="Submit"/> <input type="submit" class="LP-Button" value="Submit"/>
</div> </div>
<div class="LP-Form__Field LP-Form__Button LP-Input LP-Input"> <div class="LP-Form__Field LP-Form__Button LP-Input LP-Input">
<button class="LP-Button LP-Button--cancel">Kenschäll</button> <button class="LP-Button LP-Button--cancel">Kenschäll</button>
</div> </div>
</div> </div>

View File

@ -5,10 +5,10 @@ $-logo-height: 45px;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
height: 60px; height: 60px;
box-shadow: 0 0 2px $-light-brown; box-shadow: 0 0 2px $-light-brown;
grid-area: header; grid-area: header;
background-color: white; background-color: white;
padding-left: 25px; padding-left: 25px;
&__Navigation{ &__Navigation{
flex-grow: 2; flex-grow: 2;
@ -62,10 +62,10 @@ $-logo-height: 45px;
} }
@media(max-width: $-viewport-toggle-sidebar){ @media(max-width: $-viewport-toggle-sidebar){
.LP-Header{ .LP-Header{
padding-left: 60px; padding-left: 60px;
width: calc(100% - 60px); width: calc(100% - 60px);
position: fixed; position: fixed;
z-index: 10; z-index: 10;
} }
} }

View File

@ -1,42 +1,42 @@
.LP-ImageGrid{ .LP-ImageGrid{
.LP-ImageGrid__List{ .LP-ImageGrid__List{
list-style-type: none; list-style-type: none;
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, 300px); grid-template-columns: repeat(auto-fit, 300px);
align-content: space-around; align-content: space-around;
justify-content: center; justify-content: center;
margin: 0px; margin: 0px;
padding: 0px; padding: 0px;
} }
.LP-ImageGrid__Item{ .LP-ImageGrid__Item{
margin-top:10px; margin-top:10px;
} }
.LP-Link{ .LP-Link{
overflow: hidden; overflow: hidden;
} }
.LP-Image { .LP-Image {
box-shadow: 0 0 5px $-grey; box-shadow: 0 0 5px $-grey;
height: 200px; height: 200px;
width: 290px; width: 290px;
object-fit: cover; object-fit: cover;
} }
} }
@media(max-width: $-viewport-small){ @media(max-width: $-viewport-small){
.LP-ImageGrid{ .LP-ImageGrid{
.LP-ImageGrid__List{ .LP-ImageGrid__List{
grid-template-columns: 1fr; grid-template-columns: 1fr;
.LP-Image{ .LP-Image{
box-shadow: 0 0 5px $-grey; box-shadow: 0 0 5px $-grey;
height: auto; height: auto;
width: 100%; width: 100%;
object-fit: cover; object-fit: cover;
} }
} }
} }
} }

View File

@ -1,10 +1,10 @@
<div class="LP-ImageGrid"> <div class="LP-ImageGrid">
<ul class="LP-ImageGrid__List"> <ul class="LP-ImageGrid__List">
{{#each images}} {{#each images}}
<li class="LP-ImageGrid__Item"> <li class="LP-ImageGrid__Item">
<a href="#" class="LP-Link"><img class="LP-Image" src="{{this}}"></a> <a href="#" class="LP-Link"><img class="LP-Image" src="{{this}}"></a>
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</div> </div>

View File

@ -1,22 +1,22 @@
<div class="LP-LinkList"> <div class="LP-LinkList">
<ul class="LP-LinkList__List"> <ul class="LP-LinkList__List">
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li> <li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li> <li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">TIM Online</span></a></li> <li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">TIM Online</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li> <li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li> <li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link LP-Link--iconized"> <li class="LP-LinkList__Item"><a href="#" class="LP-Link LP-Link--iconized">
<div class="LP-Link__IconWrapper"> <div class="LP-Link__IconWrapper">
<svg class="LP-Link__Icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" <svg class="LP-Link__Icon" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512"
xml:space="preserve"> xml:space="preserve">
<g> <g>
<path d="M492,236H276V20c0-11.046-8.954-20-20-20c-11.046,0-20,8.954-20,20v216H20c-11.046,0-20,8.954-20,20s8.954,20,20,20h216 <path d="M492,236H276V20c0-11.046-8.954-20-20-20c-11.046,0-20,8.954-20,20v216H20c-11.046,0-20,8.954-20,20s8.954,20,20,20h216
v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512,244.954,503.046,236,492,236z" /> v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512,244.954,503.046,236,492,236z" />
</g> </g>
</svg> </svg>
</div> </div>
<span class="LP-Text">Link hinzufügen</span></a></li> <span class="LP-Text">Link hinzufügen</span></a></li>
</ul> </ul>
</div> </div>

View File

@ -1,22 +1,22 @@
.LP-PlaceGrid{ .LP-PlaceGrid{
.LP-PlaceGrid__Grid{ .LP-PlaceGrid__Grid{
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style-type: none; list-style-type: none;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
.LP-PlaceGrid__Item{ .LP-PlaceGrid__Item{
margin: 18px; margin: 18px;
} }
.LP-Link{ .LP-Link{
.LP-PlaceTeaser{ .LP-PlaceTeaser{
&:hover{ &:hover{
box-shadow: 0 0 2px $-grey; box-shadow: 0 0 2px $-grey;
} }
} }
} }
} }
} }

View File

@ -1,31 +1,31 @@
{ {
"title": "PlaceGrid", "title": "PlaceGrid",
"context":{ "context":{
"places": [ "places": [
{ {
"image": "/images/photo_2020-04-09_18-27-13.jpg", "image": "/images/photo_2020-04-09_18-27-13.jpg",
"name": "Haus Maikotten", "name": "Haus Maikotten",
"location": "Münster (westfalen)", "location": "Münster (westfalen)",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
}, },
{ {
"image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png", "image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
"name": "Kokerei in Hamm", "name": "Kokerei in Hamm",
"location": "Hamm (westfalen)", "location": "Hamm (westfalen)",
"description": "" "description": ""
}, },
{ {
"image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png", "image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
"name": "Noch ein Zementwerk", "name": "Noch ein Zementwerk",
"location": "Beckum (Westfalen)", "location": "Beckum (Westfalen)",
"description": "" "description": ""
}, },
{ {
"image": "/images/photo_2020-05-02_18-11-21.jpg", "image": "/images/photo_2020-05-02_18-11-21.jpg",
"name": "Zementwerk Mersmann", "name": "Zementwerk Mersmann",
"location": "Beckum (Westfalen)", "location": "Beckum (Westfalen)",
"description": "" "description": ""
} }
] ]
} }
} }

View File

@ -1,12 +1,12 @@
<div class="LP-PlaceGrid"> <div class="LP-PlaceGrid">
{{> @headline headline='Explorere the latest locations'}} {{> @headline headline='Explorere the latest locations'}}
<ul class="LP-PlaceGrid__Grid"> <ul class="LP-PlaceGrid__Grid">
{{#each places}} {{#each places}}
<li class="LP-PlaceGrid__Item"> <li class="LP-PlaceGrid__Item">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
{{> @placeteaser image=this.image title=this.name location=this.location description=this.description}} {{> @placeteaser image=this.image title=this.name location=this.location description=this.description}}
</a> </a>
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
</div> </div>

View File

@ -24,9 +24,9 @@
//min-width: 450px; //min-width: 450px;
margin: 18px 0; margin: 18px 0;
} }
} }
.LP-Pagination{ .LP-Pagination{
margin-top: 50px; margin-top: 50px;
} }
} }

View File

@ -1,31 +1,31 @@
{ {
"title": "PlaceList", "title": "PlaceList",
"context": { "context": {
"places": [ "places": [
{ {
"image": "/images/photo_2020-04-09_18-27-13.jpg", "image": "/images/photo_2020-04-09_18-27-13.jpg",
"name": "Haus Maikotten", "name": "Haus Maikotten",
"location": "Münster (westfalen)", "location": "Münster (westfalen)",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
}, },
{ {
"image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png", "image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
"name": "Kokerei in Hamm", "name": "Kokerei in Hamm",
"location": "Hamm (westfalen)", "location": "Hamm (westfalen)",
"description": "" "description": ""
}, },
{ {
"image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png", "image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
"name": "Noch ein Zementwerk", "name": "Noch ein Zementwerk",
"location": "Beckum (Westfalen)", "location": "Beckum (Westfalen)",
"description": "" "description": ""
}, },
{ {
"image": "/images/photo_2020-05-02_18-11-21.jpg", "image": "/images/photo_2020-05-02_18-11-21.jpg",
"name": "Zementwerk Mersmann", "name": "Zementwerk Mersmann",
"location": "Beckum (Westfalen)", "location": "Beckum (Westfalen)",
"description": "" "description": ""
} }
] ]
} }
} }

View File

@ -1,13 +1,13 @@
<div class="LP-PlaceList"> <div class="LP-PlaceList">
{{> @headline headline='Listing our places'}} {{> @headline headline='Listing our places'}}
<ul class="LP-PlaceList__List"> <ul class="LP-PlaceList__List">
{{#each places}} {{#each places}}
<li class="LP-PlaceList__Item"> <li class="LP-PlaceList__Item">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">
{{> @placeteaser image=this.image title=this.name location=this.location description=this.description modifier='--extended'}} {{> @placeteaser image=this.image title=this.name location=this.location description=this.description modifier='--extended'}}
</a> </a>
</li> </li>
{{/each}} {{/each}}
</ul> </ul>
{{> @pagination}} {{> @pagination}}
</div> </div>

View File

@ -1,6 +1,6 @@
.LP-MainContainer { .LP-MainContainer {
margin: 0 auto; margin: 0 auto;
max-width: 1280px; max-width: 1280px;
} }
.LP-HorizontalLine{ .LP-HorizontalLine{
@ -8,8 +8,8 @@
} }
@media(max-width: $-viewport-small){ @media(max-width: $-viewport-small){
.LP-MainContainer { .LP-MainContainer {
width: 100%; width: 100%;
} }
} }

View File

@ -1,30 +1,30 @@
{ {
"context":{ "context":{
"places": [ "places": [
{ {
"image": "/images/photo_2020-04-09_18-27-13.jpg", "image": "/images/photo_2020-04-09_18-27-13.jpg",
"name": "Haus Maikotten", "name": "Haus Maikotten",
"location": "Münster (westfalen)", "location": "Münster (westfalen)",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
}, },
{ {
"image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png", "image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
"name": "Kokerei in Hamm", "name": "Kokerei in Hamm",
"location": "Hamm (westfalen)", "location": "Hamm (westfalen)",
"description": "" "description": ""
}, },
{ {
"image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png", "image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
"name": "Noch ein Zementwerk", "name": "Noch ein Zementwerk",
"location": "Beckum (Westfalen)", "location": "Beckum (Westfalen)",
"description": "" "description": ""
}, },
{ {
"image": "/images/photo_2020-05-02_18-11-21.jpg", "image": "/images/photo_2020-05-02_18-11-21.jpg",
"name": "Zementwerk Mersmann", "name": "Zementwerk Mersmann",
"location": "Beckum (Westfalen)", "location": "Beckum (Westfalen)",
"description": "" "description": ""
} }
] ]
} }
} }

View File

@ -1,21 +1,21 @@
.LP-PlaceDetail{ .LP-PlaceDetail{
.LP-PlaceDetail__Image{ .LP-PlaceDetail__Image{
width: 700px; width: 700px;
max-height: 500px; max-height: 500px;
box-shadow: 0 0 10px $-grey; box-shadow: 0 0 10px $-grey;
object-fit: cover; object-fit: cover;
object-position: 0 0; object-position: 0 0;
margin: 0; margin: 0;
padding: 0; padding: 0;
float: right; float: right;
margin-left: 35px; margin-left: 35px;
margin-bottom: 35px; margin-bottom: 35px;
margin-right: 35px; margin-right: 35px;
overflow: hidden; overflow: hidden;
} }
} }
@media (max-width: $-viewport-normal){ @media (max-width: $-viewport-normal){
@ -26,9 +26,9 @@
width: 100%; width: 100%;
height: auto; height: auto;
margin: 0; margin: 0;
padding: 0; padding: 0;
margin-bottom: 25px; margin-bottom: 25px;
} }
} }
} }

View File

@ -1,21 +1,21 @@
{ {
"context": { "context": {
"tags": [ "tags": [
"Kamera", "Kamera",
"Wachhund", "Wachhund",
"Zaun", "Zaun",
"Security" "Security"
], ],
"images": [ "images": [
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png", "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
"/images/photo_2020-05-02_18-11-21.jpg", "/images/photo_2020-05-02_18-11-21.jpg",
"/images/Bildschirmfoto_von_2020-07-13_20-15-00.png", "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
"/images/photo_2020-05-02_18-11-21.jpg", "/images/photo_2020-05-02_18-11-21.jpg",
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png" "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"
], ],
"additionalItems": [ "additionalItems": [
"Edit Place", "Edit Place",
"Delete Place" "Delete Place"
] ]
} }
} }

View File

@ -1,15 +1,15 @@
<article class="LP-PlaceDetail"> <article class="LP-PlaceDetail">
<header class="LP-PlaceDetail__Header"> <header class="LP-PlaceDetail__Header">
{{> @headline--main headline='Kokerei Wiescherhöfen'}} {{> @headline--main headline='Kokerei Wiescherhöfen'}}
<figure class="LP-PlaceDetail__Image"> <figure class="LP-PlaceDetail__Image">
{{> @image source='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png'}} {{> @image source='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png'}}
</figure> </figure>
</header> </header>
<div class="LP-PlaceDetail__Description"> <div class="LP-PlaceDetail__Description">
{{> @paragraph text='Lorem ipsum dolor sit amet, '}} {{> @paragraph text='Lorem ipsum dolor sit amet, '}}
</div> </div>
<section class="LP-Section"> <section class="LP-Section">
{{> @headline headline='Sicherheitsmaßnahmen'}} {{> @headline headline='Sicherheitsmaßnahmen'}}
@ -21,6 +21,6 @@
</section> </section>
<section class="LP-Section"> <section class="LP-Section">
{{> @headline headline='Bilder'}} {{> @headline headline='Bilder'}}
{{> @imagegrid images=images}} {{> @imagegrid images=images}}
</section> </section>
</article> </article>

View File

@ -1,22 +1,22 @@
{ {
"title": "PlaceDetail", "title": "PlaceDetail",
"context": { "context": {
"tags": [ "tags": [
"Kamera", "Kamera",
"Wachhund", "Wachhund",
"Zaun", "Zaun",
"Security" "Security"
], ],
"images": [ "images": [
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png", "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
"/images/photo_2020-05-02_18-11-21.jpg", "/images/photo_2020-05-02_18-11-21.jpg",
"/images/Bildschirmfoto_von_2020-07-13_20-15-00.png", "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
"/images/photo_2020-05-02_18-11-21.jpg", "/images/photo_2020-05-02_18-11-21.jpg",
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png" "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"
], ],
"additionalItems": [ "additionalItems": [
"Edit Place", "Edit Place",
"Delete Place" "Delete Place"
] ]
} }
} }

View File

@ -1,11 +1,11 @@
<div class="LP-Wrapper__Site"> <div class="LP-Wrapper__Site">
{{> @header}} {{> @header}}
<input id="toggle_sidebar" class="LP-Menu__Trigger" type="checkbox"/> <input id="toggle_sidebar" class="LP-Menu__Trigger" type="checkbox"/>
<label id="toggle_sidebar_label" for="toggle_sidebar" class="LP-Menu__TriggerLabel"></label> <label id="toggle_sidebar_label" for="toggle_sidebar" class="LP-Menu__TriggerLabel"></label>
<aside class="LP-Main__Sidebar"> <aside class="LP-Main__Sidebar">
{{> @navigation modifier='--sidebar'}} {{> @navigation modifier='--sidebar'}}
</aside> </aside>
<main class="LP-Main__Content"> <main class="LP-Main__Content">
{{> @placedetail}} {{> @placedetail}}
</main> </main>
</div> </div>

View File

@ -48,111 +48,111 @@ body{
} }
.LP-Wrapper__Site{ .LP-Wrapper__Site{
display: grid; display: grid;
grid-template-columns: $-sidebar-width 1fr; grid-template-columns: $-sidebar-width 1fr;
grid-template-rows: auto 1fr; grid-template-rows: auto 1fr;
grid-template-areas: "header header" "sidebar content"; grid-template-areas: "header header" "sidebar content";
margin: 0; margin: 0;
padding: 0; padding: 0;
min-height: 100vh; min-height: 100vh;
} }
.LP-Main__Content{ .LP-Main__Content{
min-height: 1px; min-height: 1px;
padding: 25px; padding: 25px;
grid-area: content; grid-area: content;
} }
.LP-Main__Sidebar{ .LP-Main__Sidebar{
grid-area: sidebar; grid-area: sidebar;
background-color: #f9f9f9; background-color: #f9f9f9;
} }
.LP-Section{ .LP-Section{
clear: both; clear: both;
padding: 25px 0px; padding: 25px 0px;
padding-left: 25px; padding-left: 25px;
.LP-Headline{ .LP-Headline{
margin-left: -25px; margin-left: -25px;
} }
} }
.LP-Menu__Trigger{ .LP-Menu__Trigger{
display: none; display: none;
} }
@media(max-width: $-viewport-normal){ @media(max-width: $-viewport-normal){
.LP-Wrapper__Site{ .LP-Wrapper__Site{
grid-template-columns: (0.75 * $-sidebar-width) 1fr; grid-template-columns: (0.75 * $-sidebar-width) 1fr;
} }
} }
@media(max-width: $-viewport-small){ @media(max-width: $-viewport-small){
.LP-Section{ .LP-Section{
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
.LP-Headline{ .LP-Headline{
margin: 0; margin: 0;
} }
} }
} }
@media(max-width: $-viewport-extra-small){ @media(max-width: $-viewport-extra-small){
.LP-Main__Sidebar{ .LP-Main__Sidebar{
max-width: 100vw; max-width: 100vw;
} }
} }
@media(max-width: $-viewport-toggle-sidebar){ @media(max-width: $-viewport-toggle-sidebar){
.LP-Wrapper__Site{ .LP-Wrapper__Site{
grid-template-columns: 0 1fr; grid-template-columns: 0 1fr;
} }
.LP-Main__Sidebar{ .LP-Main__Sidebar{
grid-area:unset; grid-area:unset;
width: $-sidebar-width; width: $-sidebar-width;
z-index: 15; z-index: 15;
position: fixed; position: fixed;
left: -1 * $-sidebar-width - 1; left: -1 * $-sidebar-width - 1;
height: 100vh; height: 100vh;
top: 60px; top: 60px;
border-right: 1px solid $-light-brown; border-right: 1px solid $-light-brown;
transition: left 0.3s; transition: left 0.3s;
&--hidden{ &--hidden{
visibility: hidden; visibility: hidden;
} }
} }
#toggle_sidebar:checked ~ .LP-Main__Sidebar{ #toggle_sidebar:checked ~ .LP-Main__Sidebar{
left: 0 ; left: 0 ;
} }
#toggle_sidebar ~ .LP-Main__Sidebar{ #toggle_sidebar ~ .LP-Main__Sidebar{
left: -1 * $-sidebar-width - 1; left: -1 * $-sidebar-width - 1;
} }
.LP-Menu__TriggerLabel{ .LP-Menu__TriggerLabel{
z-index: 20; z-index: 20;
height: 60px; height: 60px;
width: 60px; width: 60px;
background-image: url('icons/hamburger_menu.svg'); background-image: url('icons/hamburger_menu.svg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-clip: content-box; background-clip: content-box;
background-position: center; background-position: center;
position: fixed; position: fixed;
} }
.LP-Menu__Trigger:checked ~ .LP-Menu__TriggerLabel{ .LP-Menu__Trigger:checked ~ .LP-Menu__TriggerLabel{
background-color: invert($-grey); background-color: invert($-grey);
filter: invert(1); filter: invert(1);
} }
.LP-Main__Content{ .LP-Main__Content{
margin-top: 60px; margin-top: 60px;
} }
} }
@import '01_Atoms/atoms'; @import '01_Atoms/atoms';

View File

@ -1,3 +1,3 @@
<?xml version="1.0" ?><svg style="enable-background:new 0 0 24 24;" version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><style type="text/css"> <?xml version="1.0" ?><svg style="enable-background:new 0 0 24 24;" version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><style type="text/css">
.st0{display:none;} .st0{display:none;}
</style><g class="st0" id="grid"/><g id="icon"><path d="M12,0C5.383,0,0,5.383,0,12s5.383,12,12,12s12-5.383,12-12S18.617,0,12,0z M12,23C5.935,23,1,18.065,1,12S5.935,1,12,1 s11,4.935,11,11S18.065,23,12,23z"/><path d="M16.801,8.403l-6.132,6.133L7.753,11.62c-0.195-0.195-0.512-0.195-0.707,0s-0.195,0.512,0,0.707l3.27,3.27 c0.094,0.094,0.221,0.146,0.354,0.146s0.26-0.053,0.354-0.146l6.485-6.486c0.195-0.195,0.195-0.512,0-0.707 S16.997,8.208,16.801,8.403z"/></g></svg> </style><g class="st0" id="grid"/><g id="icon"><path d="M12,0C5.383,0,0,5.383,0,12s5.383,12,12,12s12-5.383,12-12S18.617,0,12,0z M12,23C5.935,23,1,18.065,1,12S5.935,1,12,1 s11,4.935,11,11S18.065,23,12,23z"/><path d="M16.801,8.403l-6.132,6.133L7.753,11.62c-0.195-0.195-0.512-0.195-0.707,0s-0.195,0.512,0,0.707l3.27,3.27 c0.094,0.094,0.221,0.146,0.354,0.146s0.26-0.053,0.354-0.146l6.485-6.486c0.195-0.195,0.195-0.512,0-0.707 S16.997,8.208,16.801,8.403z"/></g></svg>

Before

Width:  |  Height:  |  Size: 714 B

After

Width:  |  Height:  |  Size: 717 B