Converted indentation to spaces globally.
This commit is contained in:
parent
e80e93bcaa
commit
b64724b586
@ -1,23 +1,23 @@
|
||||
.LP-Button{
|
||||
background-color: $-light-brown;
|
||||
color: $-grey;
|
||||
border: none;
|
||||
padding: 8px 14px;
|
||||
border-radius: 2px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
background-color: $-light-brown;
|
||||
color: $-grey;
|
||||
border: none;
|
||||
padding: 8px 14px;
|
||||
border-radius: 2px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
|
||||
&:active{
|
||||
background-color: $-wine-red;
|
||||
color:$-almost-white;
|
||||
}
|
||||
&:active{
|
||||
background-color: $-wine-red;
|
||||
color:$-almost-white;
|
||||
}
|
||||
|
||||
&--cancel{
|
||||
background-color: $-grey;
|
||||
color: $-almost-white;
|
||||
&:active{
|
||||
color: $-grey;
|
||||
background-color: $-almost-white;
|
||||
}
|
||||
}
|
||||
&--cancel{
|
||||
background-color: $-grey;
|
||||
color: $-almost-white;
|
||||
&:active{
|
||||
color: $-grey;
|
||||
background-color: $-almost-white;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
{
|
||||
"title": "Button",
|
||||
"context":{
|
||||
"text": "Click me"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Cancel Button",
|
||||
"context": {
|
||||
"modifier": "--cancel"
|
||||
}
|
||||
}
|
||||
]
|
||||
"title": "Button",
|
||||
"context":{
|
||||
"text": "Click me"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Cancel Button",
|
||||
"context": {
|
||||
"modifier": "--cancel"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
.LP-Form{
|
||||
.LP-Form__Checkbox{
|
||||
display: none;
|
||||
}
|
||||
.LP-Form__Checkbox{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.LP-Form__CheckBox__CheckMark{
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
border: 1px solid black;
|
||||
padding: 0 calc(.5em + 2px);
|
||||
margin-right: .7em;
|
||||
}
|
||||
.LP-Form__CheckBox__CheckMark{
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
border: 1px solid black;
|
||||
padding: 0 calc(.5em + 2px);
|
||||
margin-right: .7em;
|
||||
}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
|
||||
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
<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>
|
@ -15,5 +15,5 @@
|
||||
|
||||
&--inline{
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
}
|
@ -9,6 +9,6 @@
|
||||
"context": {
|
||||
"modifier": "--main"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
.LP-Image{
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
vertical-align: top;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
vertical-align: top;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"context":{
|
||||
"context":{
|
||||
"source": "/images/photo_2020-05-02_18-11-21.jpg"
|
||||
}
|
||||
}
|
@ -3,7 +3,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: -$-margin-bottom;
|
||||
padding: 10px 0;
|
||||
padding: 10px 0;
|
||||
|
||||
.LP-Input__Field{
|
||||
border: none;
|
||||
@ -15,30 +15,30 @@
|
||||
margin-bottom: $-margin-bottom - 1px;
|
||||
border-bottom: 2px solid $-wine-red;
|
||||
background-color: $-almost-white;
|
||||
border-radius: 3px 3px 0 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&[type=submit]{
|
||||
background-color: $-light-brown;
|
||||
color: $-grey;
|
||||
border: none;
|
||||
padding: 8px 14px;
|
||||
border-radius: 2px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
border-radius: 3px 3px 0 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&[type=submit]{
|
||||
background-color: $-light-brown;
|
||||
color: $-grey;
|
||||
border: none;
|
||||
padding: 8px 14px;
|
||||
border-radius: 2px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
|
||||
&:active{
|
||||
background-color: $-wine-red;
|
||||
color:$-almost-white;
|
||||
}
|
||||
&:active{
|
||||
background-color: $-wine-red;
|
||||
color:$-almost-white;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Input__Label{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-size: 16px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.LP-Input__Message{
|
||||
@ -60,30 +60,30 @@
|
||||
.LP-Input__Message{
|
||||
color: $-wine-red;
|
||||
}
|
||||
}
|
||||
|
||||
&--disabled{
|
||||
.LP-Input__Field, .LP-Input__Field:disabled{
|
||||
background-color: transparent;
|
||||
border-bottom: 1px dashed $-grey;
|
||||
cursor: not-allowed;
|
||||
|
||||
label + &{
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
&--disabled{
|
||||
.LP-Input__Field, .LP-Input__Field:disabled{
|
||||
background-color: transparent;
|
||||
border-bottom: 1px dashed $-grey;
|
||||
cursor: not-allowed;
|
||||
|
||||
label + &{
|
||||
color: red;
|
||||
}
|
||||
|
||||
&:focus, &:active{
|
||||
margin-bottom: $-margin-bottom;
|
||||
border-radius: 0;
|
||||
}
|
||||
&:focus, &:active{
|
||||
margin-bottom: $-margin-bottom;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
~.LP-Input__Message{
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
~.LP-Input__Message{
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Input__Label{
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
.LP-Input__Label{
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,27 +1,27 @@
|
||||
{
|
||||
"context": {
|
||||
"label": "Enter your value here",
|
||||
"placeholder": "A sample value"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "With message",
|
||||
"context":{
|
||||
"message": "Please fill in anything valuable"
|
||||
}
|
||||
},
|
||||
"label": "Enter your value here",
|
||||
"placeholder": "A sample value"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "With message",
|
||||
"context":{
|
||||
"message": "Please fill in anything valuable"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "disabled",
|
||||
"context": {
|
||||
"modifier": "--disabled",
|
||||
"disabled": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"modifier": "--disabled",
|
||||
"disabled": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "error",
|
||||
"context": {
|
||||
"modifier": "--error",
|
||||
"message": "This field is required"
|
||||
"modifier": "--error",
|
||||
"message": "This field is required"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@ -1,11 +1,11 @@
|
||||
<div class="LP-Input LP-Input{{modifier}}">
|
||||
<label for="input123" class="LP-Input__Label">{{label}}</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field" placeholder="{{placeholder}}"
|
||||
{{#if disabled}}
|
||||
disabled="disabled"
|
||||
{{/if}}
|
||||
/>
|
||||
{{#if message}}
|
||||
{{#if disabled}}
|
||||
disabled="disabled"
|
||||
{{/if}}
|
||||
/>
|
||||
{{#if message}}
|
||||
<span class="LP-Input__Message">{{message}}</span>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
@ -1,69 +1,69 @@
|
||||
.LP-Message{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: stretch;
|
||||
background-color: $-almost-white;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
border-radius: 3px;
|
||||
font-weight: bold;
|
||||
box-shadow: 0 0 2px $-grey;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: stretch;
|
||||
background-color: $-almost-white;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
border-radius: 3px;
|
||||
font-weight: bold;
|
||||
box-shadow: 0 0 2px $-grey;
|
||||
overflow: hidden;
|
||||
|
||||
&--error{
|
||||
.LP-Message__Icon{
|
||||
background-color: invert(#fd6861);
|
||||
background-image: url('icons/error.png');
|
||||
}
|
||||
}
|
||||
&--error{
|
||||
.LP-Message__Icon{
|
||||
background-color: invert(#fd6861);
|
||||
background-image: url('icons/error.png');
|
||||
}
|
||||
}
|
||||
|
||||
&--warning{
|
||||
.LP-Message__Icon{
|
||||
background-color:invert(#ffb818);
|
||||
background-image: url('icons/error.png');
|
||||
}
|
||||
}
|
||||
&--warning{
|
||||
.LP-Message__Icon{
|
||||
background-color:invert(#ffb818);
|
||||
background-image: url('icons/error.png');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&--info{
|
||||
.LP-Message__Icon{
|
||||
background-color: invert(lightblue);
|
||||
background-image: url('icons/information.svg');
|
||||
}
|
||||
}
|
||||
&--info{
|
||||
.LP-Message__Icon{
|
||||
background-color: invert(lightblue);
|
||||
background-image: url('icons/information.svg');
|
||||
}
|
||||
}
|
||||
|
||||
&--success{
|
||||
.LP-Message__Icon{
|
||||
background-color: invert(#96c800);
|
||||
background-image: url('icons/success.svg');
|
||||
}
|
||||
}
|
||||
&--success{
|
||||
.LP-Message__Icon{
|
||||
background-color: invert(#96c800);
|
||||
background-image: url('icons/success.svg');
|
||||
}
|
||||
}
|
||||
|
||||
&--debug{
|
||||
.LP-Message__Icon{
|
||||
background-color: invert(#fb95d0);
|
||||
background-image: url('icons/debug.png');
|
||||
}
|
||||
}
|
||||
&--debug{
|
||||
.LP-Message__Icon{
|
||||
background-color: invert(#fb95d0);
|
||||
background-image: url('icons/debug.png');
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Message__Icon{
|
||||
background-size: 40px 40px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
height: 100%;
|
||||
min-height: 50px;
|
||||
width: 50px;
|
||||
filter: invert(1);
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
}
|
||||
.LP-Message__Icon{
|
||||
background-size: 40px 40px;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
height: 100%;
|
||||
min-height: 50px;
|
||||
width: 50px;
|
||||
filter: invert(1);
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
}
|
||||
|
||||
.LP-Message__Text{
|
||||
padding: 0 15px;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 8px;
|
||||
}
|
||||
.LP-Message__Text{
|
||||
padding: 0 15px;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
@ -1,39 +1,39 @@
|
||||
{
|
||||
"title": "Message",
|
||||
"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.",
|
||||
"modifier": "--info"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Information",
|
||||
"context": {
|
||||
"modifier": "--info"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Warning",
|
||||
"context": {
|
||||
"modifier": "--warning"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Error",
|
||||
"context": {
|
||||
"modifier": "--error"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Success",
|
||||
"context": {
|
||||
"modifier": "--success"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Debug",
|
||||
"context": {
|
||||
"modifier": "--debug"
|
||||
}
|
||||
}
|
||||
]
|
||||
"title": "Message",
|
||||
"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.",
|
||||
"modifier": "--info"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Information",
|
||||
"context": {
|
||||
"modifier": "--info"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Warning",
|
||||
"context": {
|
||||
"modifier": "--warning"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Error",
|
||||
"context": {
|
||||
"modifier": "--error"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Success",
|
||||
"context": {
|
||||
"modifier": "--success"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Debug",
|
||||
"context": {
|
||||
"modifier": "--debug"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
<div class="LP-Message {{#if modifier}}LP-Message{{modifier}}{{/if}}">
|
||||
<div>
|
||||
<div class="LP-Message__Icon">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="LP-Message__Text">
|
||||
{{messageText}}
|
||||
</div>
|
||||
<div>
|
||||
<div class="LP-Message__Icon">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="LP-Message__Text">
|
||||
{{messageText}}
|
||||
</div>
|
||||
</div>
|
@ -8,24 +8,24 @@
|
||||
.LP-Pagination__List{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
flex-direction: row;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.LP-Pagination__Item{
|
||||
margin: 0 4px;
|
||||
|
||||
|
||||
&--disabled{
|
||||
color: rgb(182, 182, 182);
|
||||
.LP-Link{
|
||||
color: rgb(182, 182, 182);
|
||||
cursor: default;
|
||||
&:hover{
|
||||
background-color: unset;
|
||||
color: unset;
|
||||
}
|
||||
}
|
||||
color: rgb(182, 182, 182);
|
||||
.LP-Link{
|
||||
color: rgb(182, 182, 182);
|
||||
cursor: default;
|
||||
&:hover{
|
||||
background-color: unset;
|
||||
color: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--current{
|
||||
@ -39,54 +39,54 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
padding: 15px 20px;
|
||||
vertical-align: sub;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
padding: 15px 20px;
|
||||
vertical-align: sub;
|
||||
border-radius: 2px;
|
||||
|
||||
&:active, &:hover{
|
||||
background-color: $-beige;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
&:active, &:hover{
|
||||
background-color: $-beige;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Icon{
|
||||
font-size: larger;
|
||||
}
|
||||
.LP-Icon{
|
||||
font-size: larger;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-normal){
|
||||
.LP-Pagination{
|
||||
.LP-Link{
|
||||
padding: 10px 15px;
|
||||
}
|
||||
.LP-Pagination__Item--other{
|
||||
.LP-Text{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.LP-Pagination{
|
||||
.LP-Link{
|
||||
padding: 10px 15px;
|
||||
}
|
||||
.LP-Pagination__Item--other{
|
||||
.LP-Text{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-small){
|
||||
.LP-Pagination{
|
||||
.LP-Pagination__Item{
|
||||
margin: 0 1px;
|
||||
.LP-Link{
|
||||
padding: 13px 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.LP-Pagination{
|
||||
.LP-Pagination__Item{
|
||||
margin: 0 1px;
|
||||
.LP-Link{
|
||||
padding: 13px 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-extra-small){
|
||||
.LP-Pagination{
|
||||
.LP-Pagination__Item{
|
||||
.LP-Link{
|
||||
padding: 8px 11px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.LP-Pagination{
|
||||
.LP-Pagination__Item{
|
||||
.LP-Link{
|
||||
padding: 8px 11px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"title": "Pagnination"
|
||||
"title": "Pagnination"
|
||||
}
|
@ -1,54 +1,54 @@
|
||||
<div class="LP-Pagination">
|
||||
<ul class="LP-Pagination__List">
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--first">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Icon">⟪</span>
|
||||
<span class="LP-Text">First</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--disabled LP-Pagination__Item--previous">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Icon">⟨</span>
|
||||
<span class="LP-Text">Previous</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">1</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">2</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">3</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--current">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">4</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">5</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--next">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">Next</span>
|
||||
<span class="LP-Icon">⟩</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--last">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">Last</span>
|
||||
<span class="LP-Icon">⟫</span>
|
||||
<ul class="LP-Pagination__List">
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--first">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Icon">⟪</span>
|
||||
<span class="LP-Text">First</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--disabled LP-Pagination__Item--previous">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Icon">⟨</span>
|
||||
<span class="LP-Text">Previous</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">1</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">2</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">3</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--current">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">4</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--neighbor">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">5</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--next">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">Next</span>
|
||||
<span class="LP-Icon">⟩</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="LP-Pagination__Item LP-Pagination__Item--other LP-Pagination__Item--last">
|
||||
<a href="#" class="LP-Link">
|
||||
<span class="LP-Text">Last</span>
|
||||
<span class="LP-Icon">⟫</span>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
@ -1,7 +1,7 @@
|
||||
.LP-Paragraph {
|
||||
color: black;
|
||||
font-family: $-primary-serif-font;
|
||||
font-size: 1.2rem;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 1.2rem;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"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."
|
||||
},
|
||||
"variants": [
|
||||
},
|
||||
"variants": [
|
||||
|
||||
]
|
||||
]
|
||||
}
|
@ -1,14 +1,14 @@
|
||||
.LP-Tag{
|
||||
padding: 8px 14px;
|
||||
background-color: #D7CEC7;
|
||||
border-radius: 2px;
|
||||
width: max-content;
|
||||
padding: 8px 14px;
|
||||
background-color: #D7CEC7;
|
||||
border-radius: 2px;
|
||||
width: max-content;
|
||||
|
||||
.LP-Paragraph{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-size: 1em;
|
||||
display: inline;
|
||||
}
|
||||
.LP-Paragraph{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-size: 1em;
|
||||
display: inline;
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"title": "Tag",
|
||||
"context": {
|
||||
"text": "Im a tag"
|
||||
}
|
||||
"title": "Tag",
|
||||
"context": {
|
||||
"text": "Im a tag"
|
||||
}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
<div class="LP-Tag">
|
||||
{{> @paragraph text=text}}
|
||||
{{> @paragraph text=text}}
|
||||
</div>
|
@ -1,15 +1,15 @@
|
||||
.LP-MessageList{
|
||||
padding: 25px;
|
||||
.LP-MessageList__List{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
padding: 25px;
|
||||
.LP-MessageList__List{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.LP-MessageList__Item{
|
||||
margin: 5px 0;
|
||||
}
|
||||
.LP-MessageList__Item{
|
||||
margin: 5px 0;
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"title": "Message List",
|
||||
"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."
|
||||
}
|
||||
"title": "Message List",
|
||||
"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."
|
||||
}
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
<div class="LP-MessageList">
|
||||
<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='--warning'}}</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='--debug'}}</li>
|
||||
</ul>
|
||||
<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='--warning'}}</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='--debug'}}</li>
|
||||
</ul>
|
||||
</div>
|
@ -7,8 +7,8 @@
|
||||
justify-content: space-around;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.LP-Menu__Item {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
@ -30,12 +30,12 @@
|
||||
}
|
||||
|
||||
&--sidebar{
|
||||
border-top: 1px solid $-light-brown;
|
||||
border-left: none;
|
||||
border-top: 1px solid $-light-brown;
|
||||
border-left: none;
|
||||
min-width: 60px;
|
||||
background-color: $-almost-white;
|
||||
padding-top: 25px;
|
||||
|
||||
|
||||
.LP-Menu__List{
|
||||
flex-direction: column;
|
||||
|
||||
@ -44,14 +44,14 @@
|
||||
margin-bottom: 10px;
|
||||
padding-left: 25px;
|
||||
|
||||
&--additional{
|
||||
background-color: #ccc;
|
||||
}
|
||||
&--additional{
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
&:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@ -60,9 +60,9 @@
|
||||
border-right: 2px solid $-light-brown;
|
||||
position: relative;
|
||||
background-color: $-beige;
|
||||
color: $-wine-red;
|
||||
color: $-wine-red;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"title": "Navigation",
|
||||
"context": {
|
||||
"additionalItems": [
|
||||
"Hello"
|
||||
]
|
||||
},
|
||||
"title": "Navigation",
|
||||
"context": {
|
||||
"additionalItems": [
|
||||
"Hello"
|
||||
]
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Sidebar",
|
||||
|
@ -1,8 +1,8 @@
|
||||
<nav class="LP-Menu LP-Menu{{modifier}}">
|
||||
<ul class="LP-Menu__List">
|
||||
{{#each additionalItems}}
|
||||
<li class="LP-Menu__Item LP-Menu__Item--additional">{{> @link text=this}}</li>
|
||||
{{/each}}
|
||||
{{#each additionalItems}}
|
||||
<li class="LP-Menu__Item LP-Menu__Item--additional">{{> @link text=this}}</li>
|
||||
{{/each}}
|
||||
<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='Contact'}}</li>
|
||||
|
@ -2,15 +2,15 @@
|
||||
"context": {
|
||||
"image": "/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"title": "Kokerei Wiescherhöfen",
|
||||
"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. "
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Extended",
|
||||
"context": {
|
||||
"modifier": "--extended"
|
||||
}
|
||||
}
|
||||
]
|
||||
"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. "
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Extended",
|
||||
"context": {
|
||||
"modifier": "--extended"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -1,21 +1,21 @@
|
||||
<article class="LP-PlaceTeaser LP-PlaceTeaser{{modifier}}">
|
||||
<div class="LP-PlaceTeaser__Image">
|
||||
<img class="LP-Image" src="{{image}}"/>
|
||||
</div>
|
||||
<div class="LP-PlaceTeaser__Image">
|
||||
<img class="LP-Image" src="{{image}}"/>
|
||||
</div>
|
||||
<div class="LP-PlaceTeaser__Meta">
|
||||
<div class="LP-PlaceTeaser__Info">
|
||||
<span class="LP-PlaceTeaser__Title">{{> @headline headline=title modifier='--teaser'}}</span>
|
||||
<span class="LP-PlaceTeaser__Detail" >{{> @paragraph text=location}}</span>
|
||||
</div>
|
||||
<div class="LP-PlaceTeaser__Description">
|
||||
{{> @paragraph text=description}}
|
||||
</div>
|
||||
<div class="LP-PlaceTeaser__Icons">
|
||||
<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/location.svg"/></li>
|
||||
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/flag.svg"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="LP-PlaceTeaser__Description">
|
||||
{{> @paragraph text=description}}
|
||||
</div>
|
||||
<div class="LP-PlaceTeaser__Icons">
|
||||
<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/location.svg"/></li>
|
||||
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/flag.svg"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
@ -1,13 +1,13 @@
|
||||
.LP-TagList{
|
||||
.LP-TagList__List{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding:0;
|
||||
margin: 0;
|
||||
.LP-TagList__List{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding:0;
|
||||
margin: 0;
|
||||
|
||||
.LP-TagList__Item{
|
||||
margin: 6px;
|
||||
}
|
||||
}
|
||||
.LP-TagList__Item{
|
||||
margin: 6px;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
"title": "TagList",
|
||||
"context": {
|
||||
"tags": [
|
||||
"Kamera",
|
||||
"Wachhund",
|
||||
"Zaun",
|
||||
"Security"
|
||||
]
|
||||
}
|
||||
"title": "TagList",
|
||||
"context": {
|
||||
"tags": [
|
||||
"Kamera",
|
||||
"Wachhund",
|
||||
"Zaun",
|
||||
"Security"
|
||||
]
|
||||
}
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
<div class="LP-TagList">
|
||||
<ul class="LP-TagList__List">
|
||||
{{#each tags}}
|
||||
<li class="LP-TagList__Item">{{> @tag text=this}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<ul class="LP-TagList__List">
|
||||
{{#each tags}}
|
||||
<li class="LP-TagList__Item">{{> @tag text=this}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"context": {
|
||||
"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."
|
||||
}
|
||||
"context": {
|
||||
"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."
|
||||
}
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<article class="LP-TextSection">
|
||||
<header class="LP-TextSection__Headline">
|
||||
{{> @headline headline=headline}}
|
||||
</header>
|
||||
<header class="LP-TextSection__Headline">
|
||||
{{> @headline headline=headline}}
|
||||
</header>
|
||||
<div class="LP-TextSection__Text">
|
||||
{{> @paragraph text=text}}
|
||||
</div>
|
||||
{{> @paragraph text=text}}
|
||||
</div>
|
||||
</article>
|
@ -1,27 +1,27 @@
|
||||
.LP-Form{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.LP-Form__Fieldset{
|
||||
border: none;
|
||||
|
||||
max-width: 1200px;
|
||||
min-width: $-viewport-medium;
|
||||
border: none;
|
||||
|
||||
max-width: 1200px;
|
||||
min-width: $-viewport-medium;
|
||||
|
||||
.LP-Form__Legend{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-size: 21px;
|
||||
padding: 0;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
|
||||
.LP-Form__Composition{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
|
||||
justify-content: space-between;
|
||||
|
||||
.LP-Form__Field{
|
||||
flex: 3 2 100px;
|
||||
padding: 6px 15px;
|
||||
@ -41,37 +41,37 @@
|
||||
&--narrower{
|
||||
flex: 1 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--buttons{
|
||||
justify-content: flex-end;
|
||||
}
|
||||
&--buttons{
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.LP-Form__Button{
|
||||
flex-grow: 0;
|
||||
padding-left: 0;
|
||||
min-width: 130px;
|
||||
.LP-Form__Button{
|
||||
flex-grow: 0;
|
||||
padding-left: 0;
|
||||
min-width: 130px;
|
||||
|
||||
.LP-Link{
|
||||
display:contents;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Form__InfoText{
|
||||
.LP-Paragraph{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
.LP-Link{
|
||||
display:contents;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Form__InfoText{
|
||||
.LP-Paragraph{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-medium){
|
||||
.LP-Form{
|
||||
.LP-Form__Fieldset{
|
||||
min-width: unset;
|
||||
}
|
||||
.LP-Form__Fieldset{
|
||||
min-width: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -81,7 +81,7 @@
|
||||
.LP-Form__Composition--breakable{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -96,20 +96,20 @@
|
||||
justify-content: space-between;
|
||||
|
||||
.LP-Form__Field{
|
||||
|
||||
&:not(.LP-Form__Button){
|
||||
flex: 3 1 100px;
|
||||
padding: 12px 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Form__Button{
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
&--buttons{
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
&:not(.LP-Form__Button){
|
||||
flex: 3 1 100px;
|
||||
padding: 12px 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Form__Button{
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
&--buttons{
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4,25 +4,25 @@
|
||||
|
||||
<div class="LP-Form__Composition LP-Form__Composition--breakable">
|
||||
<div class="LP-Form__Field">
|
||||
<div class="LP-Input LP-Input--error">
|
||||
<label for="input123" class="LP-Input__Label">First name</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field" placeholder="Peter"/>
|
||||
<span class="LP-Input__Message">Field is required</span>
|
||||
</div>
|
||||
<div class="LP-Input LP-Input--error">
|
||||
<label for="input123" class="LP-Input__Label">First name</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field" placeholder="Peter"/>
|
||||
<span class="LP-Input__Message">Field is required</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="LP-Form__Field">
|
||||
<div class="LP-Input">
|
||||
<label for="input123" class="LP-Input__Label">Last name</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
</div>
|
||||
<div class="LP-Input">
|
||||
<label for="input123" class="LP-Input__Label">Last name</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="LP-Form__Field LP-Form__Field--narrower">
|
||||
<div class="LP-Input LP-Input--disabled">
|
||||
<label for="input123" class="LP-Input__Label">Age</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field" disabled="disabled"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="LP-Form__Field LP-Form__Field--narrower">
|
||||
<div class="LP-Input LP-Input--disabled">
|
||||
<label for="input123" class="LP-Input__Label">Age</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field" disabled="disabled"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="LP-Form__Composition">
|
||||
<div class="LP-Form__Field LP-Form__Field--wider LP-Input">
|
||||
@ -37,11 +37,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="LP-Form__Composition">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
<div class="LP-Form__Composition">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="LP-Form__Composition">
|
||||
<div class="LP-Form__Field LP-Form__Field--narrow LP-Input">
|
||||
@ -54,12 +54,12 @@
|
||||
</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">
|
||||
<input type="submit" class="LP-Button" value="Submit"/>
|
||||
</div>
|
||||
<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>
|
||||
|
||||
|
@ -5,10 +5,10 @@ $-logo-height: 45px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 60px;
|
||||
box-shadow: 0 0 2px $-light-brown;
|
||||
grid-area: header;
|
||||
background-color: white;
|
||||
padding-left: 25px;
|
||||
box-shadow: 0 0 2px $-light-brown;
|
||||
grid-area: header;
|
||||
background-color: white;
|
||||
padding-left: 25px;
|
||||
|
||||
&__Navigation{
|
||||
flex-grow: 2;
|
||||
@ -62,10 +62,10 @@ $-logo-height: 45px;
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-toggle-sidebar){
|
||||
.LP-Header{
|
||||
padding-left: 60px;
|
||||
width: calc(100% - 60px);
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
}
|
||||
.LP-Header{
|
||||
padding-left: 60px;
|
||||
width: calc(100% - 60px);
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
}
|
||||
}
|
@ -1,42 +1,42 @@
|
||||
.LP-ImageGrid{
|
||||
|
||||
.LP-ImageGrid__List{
|
||||
list-style-type: none;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, 300px);
|
||||
align-content: space-around;
|
||||
justify-content: center;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
.LP-ImageGrid__List{
|
||||
list-style-type: none;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, 300px);
|
||||
align-content: space-around;
|
||||
justify-content: center;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.LP-ImageGrid__Item{
|
||||
margin-top:10px;
|
||||
}
|
||||
.LP-ImageGrid__Item{
|
||||
margin-top:10px;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
overflow: hidden;
|
||||
}
|
||||
.LP-Link{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.LP-Image {
|
||||
box-shadow: 0 0 5px $-grey;
|
||||
height: 200px;
|
||||
width: 290px;
|
||||
object-fit: cover;
|
||||
}
|
||||
.LP-Image {
|
||||
box-shadow: 0 0 5px $-grey;
|
||||
height: 200px;
|
||||
width: 290px;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-small){
|
||||
.LP-ImageGrid{
|
||||
.LP-ImageGrid__List{
|
||||
grid-template-columns: 1fr;
|
||||
.LP-ImageGrid{
|
||||
.LP-ImageGrid__List{
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
.LP-Image{
|
||||
box-shadow: 0 0 5px $-grey;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
.LP-Image{
|
||||
box-shadow: 0 0 5px $-grey;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
|
||||
<div class="LP-ImageGrid">
|
||||
<ul class="LP-ImageGrid__List">
|
||||
{{#each images}}
|
||||
<li class="LP-ImageGrid__Item">
|
||||
<a href="#" class="LP-Link"><img class="LP-Image" src="{{this}}"></a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<ul class="LP-ImageGrid__List">
|
||||
{{#each images}}
|
||||
<li class="LP-ImageGrid__Item">
|
||||
<a href="#" class="LP-Link"><img class="LP-Image" src="{{this}}"></a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
@ -1,22 +1,22 @@
|
||||
|
||||
<div class="LP-LinkList">
|
||||
<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">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">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 LP-Link--iconized">
|
||||
<div class="LP-Link__IconWrapper">
|
||||
<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"
|
||||
xml:space="preserve">
|
||||
<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
|
||||
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>
|
||||
</svg>
|
||||
</div>
|
||||
<span class="LP-Text">Link hinzufügen</span></a></li>
|
||||
</ul>
|
||||
<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">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">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 LP-Link--iconized">
|
||||
<div class="LP-Link__IconWrapper">
|
||||
<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"
|
||||
xml:space="preserve">
|
||||
<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
|
||||
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>
|
||||
</svg>
|
||||
</div>
|
||||
<span class="LP-Text">Link hinzufügen</span></a></li>
|
||||
</ul>
|
||||
</div>
|
@ -1,22 +1,22 @@
|
||||
.LP-PlaceGrid{
|
||||
.LP-PlaceGrid__Grid{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
.LP-PlaceGrid__Grid{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.LP-PlaceGrid__Item{
|
||||
margin: 18px;
|
||||
}
|
||||
.LP-PlaceGrid__Item{
|
||||
margin: 18px;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
.LP-PlaceTeaser{
|
||||
&:hover{
|
||||
box-shadow: 0 0 2px $-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.LP-Link{
|
||||
.LP-PlaceTeaser{
|
||||
&:hover{
|
||||
box-shadow: 0 0 2px $-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,31 +1,31 @@
|
||||
{
|
||||
"title": "PlaceGrid",
|
||||
"context":{
|
||||
"places": [
|
||||
{
|
||||
"image": "/images/photo_2020-04-09_18-27-13.jpg",
|
||||
"name": "Haus Maikotten",
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
|
||||
"name": "Kokerei in Hamm",
|
||||
"location": "Hamm (westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
|
||||
"name": "Noch ein Zementwerk",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"name": "Zementwerk Mersmann",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
"title": "PlaceGrid",
|
||||
"context":{
|
||||
"places": [
|
||||
{
|
||||
"image": "/images/photo_2020-04-09_18-27-13.jpg",
|
||||
"name": "Haus Maikotten",
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
|
||||
"name": "Kokerei in Hamm",
|
||||
"location": "Hamm (westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
|
||||
"name": "Noch ein Zementwerk",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"name": "Zementwerk Mersmann",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
<div class="LP-PlaceGrid">
|
||||
{{> @headline headline='Explorere the latest locations'}}
|
||||
<ul class="LP-PlaceGrid__Grid">
|
||||
{{#each places}}
|
||||
<li class="LP-PlaceGrid__Item">
|
||||
<a href="#" class="LP-Link">
|
||||
{{> @placeteaser image=this.image title=this.name location=this.location description=this.description}}
|
||||
</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{> @headline headline='Explorere the latest locations'}}
|
||||
<ul class="LP-PlaceGrid__Grid">
|
||||
{{#each places}}
|
||||
<li class="LP-PlaceGrid__Item">
|
||||
<a href="#" class="LP-Link">
|
||||
{{> @placeteaser image=this.image title=this.name location=this.location description=this.description}}
|
||||
</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -24,9 +24,9 @@
|
||||
//min-width: 450px;
|
||||
margin: 18px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Pagination{
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Pagination{
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
|
@ -1,31 +1,31 @@
|
||||
{
|
||||
"title": "PlaceList",
|
||||
"context": {
|
||||
"places": [
|
||||
{
|
||||
"image": "/images/photo_2020-04-09_18-27-13.jpg",
|
||||
"name": "Haus Maikotten",
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
|
||||
"name": "Kokerei in Hamm",
|
||||
"location": "Hamm (westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
|
||||
"name": "Noch ein Zementwerk",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"name": "Zementwerk Mersmann",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
"title": "PlaceList",
|
||||
"context": {
|
||||
"places": [
|
||||
{
|
||||
"image": "/images/photo_2020-04-09_18-27-13.jpg",
|
||||
"name": "Haus Maikotten",
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
|
||||
"name": "Kokerei in Hamm",
|
||||
"location": "Hamm (westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
|
||||
"name": "Noch ein Zementwerk",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"name": "Zementwerk Mersmann",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,13 +1,13 @@
|
||||
<div class="LP-PlaceList">
|
||||
{{> @headline headline='Listing our places'}}
|
||||
<ul class="LP-PlaceList__List">
|
||||
{{#each places}}
|
||||
<li class="LP-PlaceList__Item">
|
||||
<a href="#" class="LP-Link">
|
||||
{{> @placeteaser image=this.image title=this.name location=this.location description=this.description modifier='--extended'}}
|
||||
</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{> @pagination}}
|
||||
{{> @headline headline='Listing our places'}}
|
||||
<ul class="LP-PlaceList__List">
|
||||
{{#each places}}
|
||||
<li class="LP-PlaceList__Item">
|
||||
<a href="#" class="LP-Link">
|
||||
{{> @placeteaser image=this.image title=this.name location=this.location description=this.description modifier='--extended'}}
|
||||
</a>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{> @pagination}}
|
||||
</div>
|
@ -1,6 +1,6 @@
|
||||
.LP-MainContainer {
|
||||
margin: 0 auto;
|
||||
max-width: 1280px;
|
||||
max-width: 1280px;
|
||||
}
|
||||
|
||||
.LP-HorizontalLine{
|
||||
@ -8,8 +8,8 @@
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-small){
|
||||
.LP-MainContainer {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.LP-MainContainer {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
@ -1,30 +1,30 @@
|
||||
{
|
||||
"context":{
|
||||
"places": [
|
||||
{
|
||||
"image": "/images/photo_2020-04-09_18-27-13.jpg",
|
||||
"name": "Haus Maikotten",
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
|
||||
"name": "Kokerei in Hamm",
|
||||
"location": "Hamm (westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
|
||||
"name": "Noch ein Zementwerk",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"name": "Zementwerk Mersmann",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
}
|
||||
]
|
||||
{
|
||||
"image": "/images/photo_2020-04-09_18-27-13.jpg",
|
||||
"name": "Haus Maikotten",
|
||||
"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."
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
|
||||
"name": "Kokerei in Hamm",
|
||||
"location": "Hamm (westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
|
||||
"name": "Noch ein Zementwerk",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"image": "/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"name": "Zementwerk Mersmann",
|
||||
"location": "Beckum (Westfalen)",
|
||||
"description": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,21 +1,21 @@
|
||||
.LP-PlaceDetail{
|
||||
|
||||
.LP-PlaceDetail__Image{
|
||||
width: 700px;
|
||||
max-height: 500px;
|
||||
box-shadow: 0 0 10px $-grey;
|
||||
object-fit: cover;
|
||||
object-position: 0 0;
|
||||
.LP-PlaceDetail__Image{
|
||||
width: 700px;
|
||||
max-height: 500px;
|
||||
box-shadow: 0 0 10px $-grey;
|
||||
object-fit: cover;
|
||||
object-position: 0 0;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
float: right;
|
||||
margin-left: 35px;
|
||||
margin-bottom: 35px;
|
||||
margin-right: 35px;
|
||||
overflow: hidden;
|
||||
}
|
||||
float: right;
|
||||
margin-left: 35px;
|
||||
margin-bottom: 35px;
|
||||
margin-right: 35px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $-viewport-normal){
|
||||
@ -26,9 +26,9 @@
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
margin-bottom: 25px;
|
||||
padding: 0;
|
||||
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,21 +1,21 @@
|
||||
{
|
||||
"context": {
|
||||
"tags": [
|
||||
"Kamera",
|
||||
"Wachhund",
|
||||
"Zaun",
|
||||
"Security"
|
||||
],
|
||||
"images": [
|
||||
"tags": [
|
||||
"Kamera",
|
||||
"Wachhund",
|
||||
"Zaun",
|
||||
"Security"
|
||||
],
|
||||
"images": [
|
||||
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
|
||||
"/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
|
||||
"/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"
|
||||
],
|
||||
"additionalItems": [
|
||||
"Edit Place",
|
||||
"Delete Place"
|
||||
]
|
||||
}
|
||||
],
|
||||
"additionalItems": [
|
||||
"Edit Place",
|
||||
"Delete Place"
|
||||
]
|
||||
}
|
||||
}
|
@ -1,15 +1,15 @@
|
||||
<article class="LP-PlaceDetail">
|
||||
|
||||
<header class="LP-PlaceDetail__Header">
|
||||
{{> @headline--main headline='Kokerei Wiescherhöfen'}}
|
||||
<figure class="LP-PlaceDetail__Image">
|
||||
<header class="LP-PlaceDetail__Header">
|
||||
{{> @headline--main headline='Kokerei Wiescherhöfen'}}
|
||||
<figure class="LP-PlaceDetail__Image">
|
||||
{{> @image source='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png'}}
|
||||
</figure>
|
||||
</header>
|
||||
</header>
|
||||
|
||||
<div class="LP-PlaceDetail__Description">
|
||||
{{> @paragraph text='Lorem ipsum dolor sit amet, '}}
|
||||
</div>
|
||||
<div class="LP-PlaceDetail__Description">
|
||||
{{> @paragraph text='Lorem ipsum dolor sit amet, '}}
|
||||
</div>
|
||||
|
||||
<section class="LP-Section">
|
||||
{{> @headline headline='Sicherheitsmaßnahmen'}}
|
||||
@ -21,6 +21,6 @@
|
||||
</section>
|
||||
<section class="LP-Section">
|
||||
{{> @headline headline='Bilder'}}
|
||||
{{> @imagegrid images=images}}
|
||||
{{> @imagegrid images=images}}
|
||||
</section>
|
||||
</article>
|
@ -1,22 +1,22 @@
|
||||
{
|
||||
"title": "PlaceDetail",
|
||||
"context": {
|
||||
"tags": [
|
||||
"Kamera",
|
||||
"Wachhund",
|
||||
"Zaun",
|
||||
"Security"
|
||||
],
|
||||
"images": [
|
||||
"title": "PlaceDetail",
|
||||
"context": {
|
||||
"tags": [
|
||||
"Kamera",
|
||||
"Wachhund",
|
||||
"Zaun",
|
||||
"Security"
|
||||
],
|
||||
"images": [
|
||||
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png",
|
||||
"/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"/images/Bildschirmfoto_von_2020-07-13_20-15-00.png",
|
||||
"/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"
|
||||
],
|
||||
"additionalItems": [
|
||||
"Edit Place",
|
||||
"Delete Place"
|
||||
]
|
||||
}
|
||||
],
|
||||
"additionalItems": [
|
||||
"Edit Place",
|
||||
"Delete Place"
|
||||
]
|
||||
}
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
<div class="LP-Wrapper__Site">
|
||||
{{> @header}}
|
||||
<input id="toggle_sidebar" class="LP-Menu__Trigger" type="checkbox"/>
|
||||
<label id="toggle_sidebar_label" for="toggle_sidebar" class="LP-Menu__TriggerLabel"></label>
|
||||
<aside class="LP-Main__Sidebar">
|
||||
{{> @navigation modifier='--sidebar'}}
|
||||
</aside>
|
||||
<main class="LP-Main__Content">
|
||||
{{> @placedetail}}
|
||||
</main>
|
||||
{{> @header}}
|
||||
<input id="toggle_sidebar" class="LP-Menu__Trigger" type="checkbox"/>
|
||||
<label id="toggle_sidebar_label" for="toggle_sidebar" class="LP-Menu__TriggerLabel"></label>
|
||||
<aside class="LP-Main__Sidebar">
|
||||
{{> @navigation modifier='--sidebar'}}
|
||||
</aside>
|
||||
<main class="LP-Main__Content">
|
||||
{{> @placedetail}}
|
||||
</main>
|
||||
</div>
|
@ -48,111 +48,111 @@ body{
|
||||
}
|
||||
|
||||
.LP-Wrapper__Site{
|
||||
display: grid;
|
||||
grid-template-columns: $-sidebar-width 1fr;
|
||||
grid-template-rows: auto 1fr;
|
||||
grid-template-areas: "header header" "sidebar content";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
grid-template-columns: $-sidebar-width 1fr;
|
||||
grid-template-rows: auto 1fr;
|
||||
grid-template-areas: "header header" "sidebar content";
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.LP-Main__Content{
|
||||
min-height: 1px;
|
||||
padding: 25px;
|
||||
grid-area: content;
|
||||
min-height: 1px;
|
||||
padding: 25px;
|
||||
grid-area: content;
|
||||
}
|
||||
|
||||
.LP-Main__Sidebar{
|
||||
grid-area: sidebar;
|
||||
background-color: #f9f9f9;
|
||||
grid-area: sidebar;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.LP-Section{
|
||||
clear: both;
|
||||
padding: 25px 0px;
|
||||
padding-left: 25px;
|
||||
clear: both;
|
||||
padding: 25px 0px;
|
||||
padding-left: 25px;
|
||||
|
||||
.LP-Headline{
|
||||
margin-left: -25px;
|
||||
}
|
||||
.LP-Headline{
|
||||
margin-left: -25px;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Menu__Trigger{
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-normal){
|
||||
.LP-Wrapper__Site{
|
||||
grid-template-columns: (0.75 * $-sidebar-width) 1fr;
|
||||
}
|
||||
.LP-Wrapper__Site{
|
||||
grid-template-columns: (0.75 * $-sidebar-width) 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-small){
|
||||
.LP-Section{
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
.LP-Section{
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
||||
.LP-Headline{
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.LP-Headline{
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-extra-small){
|
||||
.LP-Main__Sidebar{
|
||||
max-width: 100vw;
|
||||
}
|
||||
.LP-Main__Sidebar{
|
||||
max-width: 100vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-toggle-sidebar){
|
||||
.LP-Wrapper__Site{
|
||||
grid-template-columns: 0 1fr;
|
||||
}
|
||||
.LP-Wrapper__Site{
|
||||
grid-template-columns: 0 1fr;
|
||||
}
|
||||
|
||||
.LP-Main__Sidebar{
|
||||
grid-area:unset;
|
||||
width: $-sidebar-width;
|
||||
z-index: 15;
|
||||
position: fixed;
|
||||
left: -1 * $-sidebar-width - 1;
|
||||
height: 100vh;
|
||||
top: 60px;
|
||||
border-right: 1px solid $-light-brown;
|
||||
transition: left 0.3s;
|
||||
.LP-Main__Sidebar{
|
||||
grid-area:unset;
|
||||
width: $-sidebar-width;
|
||||
z-index: 15;
|
||||
position: fixed;
|
||||
left: -1 * $-sidebar-width - 1;
|
||||
height: 100vh;
|
||||
top: 60px;
|
||||
border-right: 1px solid $-light-brown;
|
||||
transition: left 0.3s;
|
||||
|
||||
&--hidden{
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
&--hidden{
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
#toggle_sidebar:checked ~ .LP-Main__Sidebar{
|
||||
left: 0 ;
|
||||
}
|
||||
#toggle_sidebar:checked ~ .LP-Main__Sidebar{
|
||||
left: 0 ;
|
||||
}
|
||||
|
||||
#toggle_sidebar ~ .LP-Main__Sidebar{
|
||||
left: -1 * $-sidebar-width - 1;
|
||||
}
|
||||
#toggle_sidebar ~ .LP-Main__Sidebar{
|
||||
left: -1 * $-sidebar-width - 1;
|
||||
}
|
||||
|
||||
.LP-Menu__TriggerLabel{
|
||||
z-index: 20;
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
background-image: url('icons/hamburger_menu.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-clip: content-box;
|
||||
background-position: center;
|
||||
position: fixed;
|
||||
}
|
||||
.LP-Menu__TriggerLabel{
|
||||
z-index: 20;
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
background-image: url('icons/hamburger_menu.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-clip: content-box;
|
||||
background-position: center;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.LP-Menu__Trigger:checked ~ .LP-Menu__TriggerLabel{
|
||||
background-color: invert($-grey);
|
||||
filter: invert(1);
|
||||
}
|
||||
.LP-Menu__Trigger:checked ~ .LP-Menu__TriggerLabel{
|
||||
background-color: invert($-grey);
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
.LP-Main__Content{
|
||||
margin-top: 60px;
|
||||
}
|
||||
.LP-Main__Content{
|
||||
margin-top: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
@import '01_Atoms/atoms';
|
||||
|
@ -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">
|
||||
.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>
|
Before Width: | Height: | Size: 714 B After Width: | Height: | Size: 717 B |
Loading…
Reference in New Issue
Block a user