Compare commits
118 Commits
ac0951ba6e
...
linklist-a
Author | SHA1 | Date | |
---|---|---|---|
313968fafd | |||
8fa8033be4 | |||
b64724b586 | |||
e80e93bcaa | |||
384cdcaae7 | |||
427ce11adb | |||
15b4bc7880 | |||
9ebfef6c6e | |||
3f69ff8f0d | |||
5f4b72f9be | |||
57afcbdffb | |||
681cdad1cb | |||
a613d9a069 | |||
fb72b00456 | |||
3970aed176 | |||
0eacea8243 | |||
14ea0910ef | |||
0e3f005639 | |||
fc0a96b167 | |||
8edcf77d44 | |||
f973dccd27 | |||
a55b02825e | |||
7ceddb736f | |||
2243c7ed9e | |||
1507a0b01e | |||
c8c21869c4 | |||
09a6377901 | |||
f0b3839e73 | |||
72c8febfc4 | |||
4120155a1c | |||
fba48603b6 | |||
16f0e10d89 | |||
e431d9a1a0 | |||
f9233249a3 | |||
2e48395076 | |||
fb20b555c4 | |||
67fe74d67e | |||
b335e7a587 | |||
b497e10584 | |||
bd9df610e7 | |||
448358531c | |||
9c85c44d2b | |||
6d69fb6c29 | |||
f663864c29 | |||
1230f140d0 | |||
1a92521029 | |||
02b1c39e9e | |||
039bb7d427 | |||
abb072dfcf | |||
178394ed10 | |||
5844871862 | |||
bb7d3b1a2f | |||
8f7e03cda9 | |||
33c8b302b3 | |||
08872806d2 | |||
8d99205575 | |||
450395fa01 | |||
6547569d78 | |||
e79c61c63c | |||
af634294e2 | |||
cf5e804e50 | |||
0ca397071a | |||
ba56976420 | |||
8f2e607b61 | |||
8c412db0e9 | |||
43def15caa | |||
0ad042487f | |||
93341886d6 | |||
9e061f9566 | |||
6f3fb3850f | |||
8af6803dcc | |||
19c7bc9442 | |||
862582c7ba | |||
ad17e48049 | |||
706004d2d0 | |||
600361d6f9 | |||
b7486db8ef | |||
f469520885 | |||
2b079e39e3 | |||
fa5cf10104 | |||
00d01b0abf | |||
09d1ab522b | |||
96882aef12 | |||
e2addb919f | |||
aa2a5cf3cc | |||
0bb23d6a71 | |||
e004d2ea7f | |||
76e8a64a2e | |||
b286781cb9 | |||
12aae47371 | |||
f1dcbc19db | |||
ed6527925b | |||
d174d59197 | |||
f898b49d05 | |||
bf3ebf0e02 | |||
1195aef920 | |||
3f29a83f3f | |||
3404c1fd28 | |||
1eeb187efa | |||
488d773f00 | |||
97282fd1af | |||
d90646c9d0 | |||
254e6aa2bd | |||
d6ba2cf41b | |||
fdd93d1f1b | |||
f7e3f96228 | |||
6215b8dd7c | |||
71fda3ddbf | |||
a20d599e3f | |||
48d32a8dac | |||
915a70e270 | |||
5c6303f653 | |||
906e037c5c | |||
0ffb2d5bc6 | |||
8048aea9df | |||
afb1397f4a | |||
3d82d59d6c | |||
205be6e85d |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,6 +10,7 @@ npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
lerna-debug.log*
|
||||
package-lock.json
|
||||
|
||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||
|
@@ -1,8 +1,12 @@
|
||||
@import 'link/link';
|
||||
@import 'headline/headline';
|
||||
@import 'text/text';
|
||||
@import 'paragraph/paragraph';
|
||||
@import 'icon/icon';
|
||||
@import 'button/button';
|
||||
@import 'checkbox/checkbox';
|
||||
@import 'input/input';
|
||||
@import 'image/image';
|
||||
@import 'logo/logo';
|
||||
@import 'tag/tag';
|
||||
@import 'message/message';
|
||||
@import 'pagination/pagination';
|
@@ -1,13 +1,23 @@
|
||||
.LP-Button{
|
||||
background-color: $-secondary-accent-color;
|
||||
color: $-secondary-color;
|
||||
border: none;
|
||||
padding: 8px 14px;
|
||||
border-radius: 2px;
|
||||
font-weight: bold;
|
||||
background-color: $-light-brown;
|
||||
color: $-grey;
|
||||
border: none;
|
||||
padding: 8px 14px;
|
||||
border-radius: 2px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
|
||||
&:active {
|
||||
background-color: $-primary-accent-color;
|
||||
color: $-secondary-accent-color;
|
||||
}
|
||||
&:active{
|
||||
background-color: $-wine-red;
|
||||
color:$-almost-white;
|
||||
}
|
||||
|
||||
&--cancel{
|
||||
background-color: $-grey;
|
||||
color: $-almost-white;
|
||||
&:active{
|
||||
color: $-grey;
|
||||
background-color: $-almost-white;
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,3 +1,14 @@
|
||||
{
|
||||
|
||||
"title": "Button",
|
||||
"context":{
|
||||
"text": "Click me"
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Cancel Button",
|
||||
"context": {
|
||||
"modifier": "--cancel"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -1 +1 @@
|
||||
<button class="LP-Button">Click Me</button>
|
||||
<button class="LP-Button LP-Button{{modifier}}">Click Me</button>
|
@@ -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>
|
@@ -1,11 +1,11 @@
|
||||
.LP-Headline{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
color: $-secondary-color;
|
||||
color: $-grey;
|
||||
font-size: 1.7rem;
|
||||
padding-top: 0px;
|
||||
margin-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
margin-bottom: 0px;
|
||||
margin-bottom: 25px;
|
||||
|
||||
&--main{
|
||||
position: relative;
|
||||
|
@@ -1 +1 @@
|
||||
<h1 class="LP-Headline LP-Headline{{modifier}}">{{headline}}</h1>
|
||||
<h1 class="LP-Headline{{#if modifier}} LP-Headline{{modifier}}{{/if}}">{{headline}}</h1>
|
@@ -1,4 +1,8 @@
|
||||
.LP-Image{
|
||||
max-width:100%;
|
||||
max-height:100%;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
vertical-align: top;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
@@ -1,3 +1,5 @@
|
||||
{
|
||||
|
||||
"context":{
|
||||
"source": "/images/photo_2020-05-02_18-11-21.jpg"
|
||||
}
|
||||
}
|
@@ -1,23 +1 @@
|
||||
<img src="/images/photo_2020-05-02_18-11-21.jpg" class="LP-Image"/>
|
||||
|
||||
<div style="height: 80px;width: 40px; background-color: green;">
|
||||
<img src="/images/photo_2020-05-02_18-11-21.jpg" class="LP-Image"/>
|
||||
</div>
|
||||
|
||||
<p></p>
|
||||
|
||||
<div style="height: 40px;width: 80px;background-color: green;">
|
||||
<img src="/images/photo_2020-05-02_18-11-21.jpg" class="LP-Image"/>
|
||||
</div>
|
||||
|
||||
<p></p>
|
||||
|
||||
<div style="height: 80px;width: 40px;background-color: green;">
|
||||
<img src="/images/ice-vertical-panorama.jpg" class="LP-Image"/>
|
||||
</div>
|
||||
|
||||
<p></p>
|
||||
|
||||
<div style="height: 40px;width: 80px;background-color: green;">
|
||||
<img src="/images/ice-vertical-panorama.jpg" class="LP-Image"/>
|
||||
</div>
|
||||
<img src="{{source}}" class="LP-Image"/>
|
@@ -7,21 +7,38 @@
|
||||
|
||||
.LP-Input__Field{
|
||||
border: none;
|
||||
border-bottom: 1px solid $-secondary-color;
|
||||
padding: 8px;
|
||||
border-bottom: 1px solid $-grey;
|
||||
padding: 8px 0;
|
||||
margin-bottom: $-margin-bottom;
|
||||
|
||||
&:focus, &:active{
|
||||
&:focus, &:active, &:invalid{
|
||||
margin-bottom: $-margin-bottom - 1px;
|
||||
border-bottom: 2px solid $-primary-accent-color;
|
||||
background-color: $-secondary-background-color;
|
||||
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;
|
||||
|
||||
&: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{
|
||||
@@ -31,46 +48,42 @@
|
||||
padding: 3px;
|
||||
position: relative;
|
||||
top: -$-margin-bottom;
|
||||
|
||||
&:before{
|
||||
content: '* ';
|
||||
}
|
||||
}
|
||||
|
||||
&--error{
|
||||
.LP-Input__Field{
|
||||
margin-bottom: 25px;
|
||||
border-bottom: 2px solid $-primary-accent-color;
|
||||
border-bottom: 2px solid $-wine-red;
|
||||
margin-bottom: $-margin-bottom - 1px;
|
||||
}
|
||||
|
||||
.LP-Input__Message{
|
||||
color: $-primary-accent-color;
|
||||
color: $-wine-red;
|
||||
}
|
||||
}
|
||||
|
||||
&--disabled{
|
||||
.LP-Input__Field, .LP-Input__Field:disabled{
|
||||
background-color: transparent;
|
||||
border-bottom: 1px dashed $-secondary-color;
|
||||
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: $-secondary-color;
|
||||
}
|
||||
}
|
||||
.LP-Input__Label{
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,7 +1,28 @@
|
||||
{
|
||||
"context": {
|
||||
"label": "Enter your value here",
|
||||
"placeholder": "A sample value",
|
||||
"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
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "error",
|
||||
"context": {
|
||||
"modifier": "--error",
|
||||
"message": "This field is required"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,28 +1,11 @@
|
||||
<h3>Regular with message</h3>
|
||||
<div class="LP-Input">
|
||||
<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}}"/>
|
||||
<span class="LP-Input__Message">{{message}}</span>
|
||||
</div>
|
||||
<h3>Regular without message</h3>
|
||||
<div class="LP-Input">
|
||||
<label for="input123" class="LP-Input__Label">{{label}}</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field" placeholder="{{placeholder}}"/>
|
||||
</div>
|
||||
<h3>Regular without placeholder</h3>
|
||||
<div class="LP-Input">
|
||||
<label for="input123" class="LP-Input__Label">{{label}}</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field" placeholder=""/>
|
||||
<span class="LP-Input__Message">{{message}}</span>
|
||||
</div>
|
||||
<h3>Disabled</h3>
|
||||
<div class="LP-Input LP-Input--disabled">
|
||||
<label for="input123" class="LP-Input__Label">{{label}}</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field" placeholder="{{placeholder}}" disabled="disabled"/>
|
||||
</div>
|
||||
<h3>Error</h3>
|
||||
<div class="LP-Input LP-Input--error">
|
||||
<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}}
|
||||
disabled="disabled"
|
||||
{{/if}}
|
||||
/>
|
||||
{{#if message}}
|
||||
<span class="LP-Input__Message">{{message}}</span>
|
||||
{{/if}}
|
||||
</div>
|
@@ -1,15 +1,15 @@
|
||||
.LP-Link {
|
||||
color: $-secondary-color;
|
||||
color: $-grey;
|
||||
text-decoration: none;
|
||||
font-family: $-primary-sans-serif-accent-font;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
&:hover {
|
||||
color: $-secondary-accent-color;
|
||||
color: $-light-brown;
|
||||
}
|
||||
|
||||
.LP-Text{
|
||||
font-family: $-primary-sans-serif-accent-font;
|
||||
.LP-Paragraph{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
&:hover{
|
||||
color: $-secondary-accent-color;
|
||||
color: $-light-brown;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
5
components/01_Atoms/logo/logo.hbs
Normal file
5
components/01_Atoms/logo/logo.hbs
Normal file
@@ -0,0 +1,5 @@
|
||||
<a href="LP-Link" href="#">
|
||||
<div class="LP-Image">
|
||||
<img class="LP-Logo" src="{{ path '/images/logo.png' }}"/>
|
||||
</div>
|
||||
</a>
|
69
components/01_Atoms/message/_message.scss
Normal file
69
components/01_Atoms/message/_message.scss
Normal file
@@ -0,0 +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;
|
||||
|
||||
&--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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&--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');
|
||||
}
|
||||
}
|
||||
|
||||
&--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__Text{
|
||||
padding: 0 15px;
|
||||
flex-grow: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 8px;
|
||||
}
|
||||
}
|
39
components/01_Atoms/message/message.config.json
Normal file
39
components/01_Atoms/message/message.config.json
Normal file
@@ -0,0 +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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
10
components/01_Atoms/message/message.hbs
Normal file
10
components/01_Atoms/message/message.hbs
Normal file
@@ -0,0 +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>
|
92
components/01_Atoms/pagination/_pagination.scss
Normal file
92
components/01_Atoms/pagination/_pagination.scss
Normal file
@@ -0,0 +1,92 @@
|
||||
.LP-Pagination{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
|
||||
.LP-Pagination__List{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--current{
|
||||
|
||||
.LP-Link{
|
||||
background-color: $-beige;
|
||||
|
||||
&:hover{
|
||||
background-color: $-beige;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
padding: 15px 20px;
|
||||
vertical-align: sub;
|
||||
border-radius: 2px;
|
||||
|
||||
&:active, &:hover{
|
||||
background-color: $-beige;
|
||||
color: $-grey;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-small){
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
3
components/01_Atoms/pagination/pagination.config.json
Normal file
3
components/01_Atoms/pagination/pagination.config.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"title": "Pagnination"
|
||||
}
|
54
components/01_Atoms/pagination/pagination.hbs
Normal file
54
components/01_Atoms/pagination/pagination.hbs
Normal file
@@ -0,0 +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>
|
||||
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
@@ -1,5 +1,7 @@
|
||||
.LP-Text {
|
||||
.LP-Paragraph {
|
||||
color: black;
|
||||
font-family: $-primary-serif-font;
|
||||
font-size: 1.2rem;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
@@ -1,5 +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": [
|
||||
|
||||
]
|
||||
}
|
1
components/01_Atoms/paragraph/paragraph.hbs
Normal file
1
components/01_Atoms/paragraph/paragraph.hbs
Normal file
@@ -0,0 +1 @@
|
||||
<p class="LP-Paragraph{{#if modifier}} LP-Paragraph{{modifier}}{{/if}}">{{text}}</p>
|
14
components/01_Atoms/tag/_tag.scss
Normal file
14
components/01_Atoms/tag/_tag.scss
Normal file
@@ -0,0 +1,14 @@
|
||||
.LP-Tag{
|
||||
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;
|
||||
}
|
||||
}
|
6
components/01_Atoms/tag/tag.config.json
Normal file
6
components/01_Atoms/tag/tag.config.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"title": "Tag",
|
||||
"context": {
|
||||
"text": "Im a tag"
|
||||
}
|
||||
}
|
3
components/01_Atoms/tag/tag.hbs
Normal file
3
components/01_Atoms/tag/tag.hbs
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="LP-Tag">
|
||||
{{> @paragraph text=text}}
|
||||
</div>
|
@@ -1 +0,0 @@
|
||||
<p class="LP-Text LP-Content">{{text}}</p>
|
@@ -1,5 +1,5 @@
|
||||
@import 'logo/logo';
|
||||
@import 'textSection/textSection';
|
||||
@import 'placeTeaser/placeTeaser';
|
||||
@import 'securityMeasureList/securityMeasureList';
|
||||
@import 'form/form';
|
||||
@import 'tagList/tagList';
|
||||
@import 'navigation/navigation';
|
||||
@import 'messageList/messageList';
|
@@ -1,71 +0,0 @@
|
||||
.LP-Form{
|
||||
max-width: 900px;
|
||||
.LP-Form__Fieldset{
|
||||
border: none;
|
||||
|
||||
.LP-Form__Legend{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.LP-Form__Composition{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
|
||||
.LP-Form__Field{
|
||||
flex: 3 1 100px;
|
||||
padding: 6px 15px;
|
||||
|
||||
&--wider{
|
||||
flex: 5 1 200px;
|
||||
}
|
||||
|
||||
&--wide{
|
||||
flex: 4 1 150px;
|
||||
}
|
||||
|
||||
&--narrow{
|
||||
flex: 2 0 50px;
|
||||
}
|
||||
|
||||
&--narrower{
|
||||
flex: 1 0 25px;
|
||||
}
|
||||
|
||||
input{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-small){
|
||||
.LP-Form{
|
||||
.LP-Form__Fieldset{
|
||||
.LP-Form__Composition--breakable{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-extra-small){
|
||||
.LP-Form{
|
||||
.LP-Form__Fieldset{
|
||||
.LP-Form__Composition{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
.LP-Form__Field{
|
||||
flex: 3 1 100px;
|
||||
padding: 12px 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,52 +0,0 @@
|
||||
<form class="LP-Form">
|
||||
<fieldset class="LP-Form__Fieldset">
|
||||
<legend class="LP-Form__Legend">Basic data</legend>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
<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">
|
||||
<label for="input123" class="LP-Input__Label">Street</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
<span class="LP-Input__Message">We won't send any stalkers, promise</span>
|
||||
</div>
|
||||
<div class="LP-Form__Field LP-Form__Field--narrow LP-Input">
|
||||
<label for="input123" class="LP-Input__Label">House no</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
<span class="LP-Input__Message">Field is required</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="LP-Form__Composition">
|
||||
<div class="LP-Form__Field LP-Form__Field--narrow LP-Input">
|
||||
<label for="input123" class="LP-Input__Label">Postal Code</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
</div>
|
||||
<div class="LP-Form__Field LP-Form__Field--wide LP-Input">
|
||||
<label for="input123" class="LP-Input__Label">Town</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
@@ -1,3 +0,0 @@
|
||||
<a href="LP-Link" href="#">
|
||||
<img class="LP-Logo" src="{{ path '/images/logo.png' }}"/>
|
||||
</a>
|
15
components/02_Molecules/messageList/_messageList.scss
Normal file
15
components/02_Molecules/messageList/_messageList.scss
Normal file
@@ -0,0 +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;
|
||||
}
|
||||
|
||||
.LP-MessageList__Item{
|
||||
margin: 5px 0;
|
||||
}
|
||||
}
|
@@ -0,0 +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."
|
||||
}
|
||||
}
|
9
components/02_Molecules/messageList/messageList.hbs
Normal file
9
components/02_Molecules/messageList/messageList.hbs
Normal file
@@ -0,0 +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>
|
||||
</div>
|
93
components/02_Molecules/navigation/_navigation.scss
Normal file
93
components/02_Molecules/navigation/_navigation.scss
Normal file
@@ -0,0 +1,93 @@
|
||||
.LP-Menu{
|
||||
border-left: 1px solid $-light-brown;
|
||||
.LP-Menu__List {
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.LP-Menu__Item {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
background-color: transparent;
|
||||
|
||||
.LP-Link{
|
||||
display: block;
|
||||
padding: 15px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Link__Text {
|
||||
color: $-grey;
|
||||
font-weight: bold;
|
||||
text-shadow: 0px 0px 20px white;
|
||||
&:hover{
|
||||
color: $-wine-red;
|
||||
}
|
||||
}
|
||||
|
||||
&--sidebar{
|
||||
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;
|
||||
|
||||
.LP-Menu__Item{
|
||||
text-align: left;
|
||||
margin-bottom: 10px;
|
||||
padding-left: 25px;
|
||||
|
||||
&--additional{
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
&:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&:hover{
|
||||
border-right: 2px solid $-light-brown;
|
||||
position: relative;
|
||||
background-color: $-beige;
|
||||
color: $-wine-red;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-medium){
|
||||
.LP-Menu{
|
||||
&:not(&--sidebar){
|
||||
.LP-Menu__List{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
|
||||
.LP-Menu__Item{
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-extra-small){
|
||||
.LP-Menu{
|
||||
.LP-Menu__List {
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
}
|
16
components/02_Molecules/navigation/navigation.config.json
Normal file
16
components/02_Molecules/navigation/navigation.config.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"title": "Navigation",
|
||||
"context": {
|
||||
"additionalItems": [
|
||||
"Hello"
|
||||
]
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Sidebar",
|
||||
"context":{
|
||||
"modifier": "--sidebar"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,5 +1,8 @@
|
||||
<nav class="LP-Menu">
|
||||
<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}}
|
||||
<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>
|
@@ -1,42 +1,95 @@
|
||||
.LP-Place{
|
||||
.LP-Place__Image{
|
||||
width: 280px;
|
||||
.LP-PlaceTeaser{
|
||||
width: 280px;
|
||||
|
||||
.LP-PlaceTeaser__Image{
|
||||
height: 165px;
|
||||
object-fit: fill;
|
||||
width: 280px;
|
||||
overflow: hidden;
|
||||
|
||||
.LP-Image{
|
||||
max-width:unset;
|
||||
max-height:unset;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Place__Assets{
|
||||
.LP-PlaceTeaser__Meta{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.8rem;
|
||||
|
||||
padding: 0 10px;
|
||||
padding: 5px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.LP-Place__Info{
|
||||
|
||||
.LP-Place__Title{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
color: $-secondary-color;
|
||||
font-size: 1rem;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.LP-Place__Description{
|
||||
font-family: $-primary-sans-serif-accent-font;
|
||||
color: $-secondary-color;
|
||||
}
|
||||
|
||||
.LP-Place__Detail{
|
||||
padding-top: 10px;
|
||||
|
||||
.LP-Paragraph{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-top: 5px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.LP-Headline{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
color: $-grey;
|
||||
font-size: 1rem;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-PlaceTeaser__Description{
|
||||
font-family: $-primary-sans-serif-accent-font;
|
||||
color: $-grey;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media(min-width: $-viewport-small){
|
||||
.LP-PlaceTeaser--extended{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: auto;
|
||||
padding-right: 25px;
|
||||
height: 165px;
|
||||
|
||||
.LP-PlaceTeaser__Meta{
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
padding-left: 25px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
|
||||
.LP-PlaceTeaser__Info{
|
||||
.LP-Headline{
|
||||
font-size: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-PlaceTeaser__Icons{
|
||||
margin-top: auto;
|
||||
|
||||
ul{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-PlaceTeaser__Description{
|
||||
display: block;
|
||||
max-height: 55px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.LP-PlaceTeaser__Image{
|
||||
height:165px;
|
||||
width: 280px;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@@ -2,6 +2,15 @@
|
||||
"context": {
|
||||
"image": "/images/photo_2020-05-02_18-11-21.jpg",
|
||||
"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. "
|
||||
},
|
||||
"variants": [
|
||||
{
|
||||
"name": "Extended",
|
||||
"context": {
|
||||
"modifier": "--extended"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,22 +1,21 @@
|
||||
<article class="LP-Place">
|
||||
<div class="LP-Place__Image">
|
||||
<img class="LP-Image" src="{{image}}"/>
|
||||
</div>
|
||||
<div class="LP-Place__Detail">
|
||||
<div class="LP-Place__Info">
|
||||
<h3 class="LP-Place__Title">{{title}}</h3>
|
||||
<p class="LP-Place__Detail" >{{location}}</p>
|
||||
<article class="LP-PlaceTeaser LP-PlaceTeaser{{modifier}}">
|
||||
<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>
|
||||
{{# if description}}
|
||||
<p class="LP-Place__Description">
|
||||
{{description}}
|
||||
</p>
|
||||
{{/if}}
|
||||
|
||||
<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>
|
||||
</article>
|
@@ -1,17 +0,0 @@
|
||||
.LP-SecurityMeasure__List{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
padding:0;
|
||||
margin: 0;
|
||||
|
||||
.LP-SecurityMeasure__Item{
|
||||
margin: 0 8px;
|
||||
padding: 8px 14px;
|
||||
background-color: #D7CEC7;
|
||||
border-radius: 2px;
|
||||
.LP-Text{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
{}
|
@@ -1,7 +0,0 @@
|
||||
<ul class="LP-SecurityMeasure__List">
|
||||
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Kameras</span></li>
|
||||
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Zaun</span></li>
|
||||
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Wachhund</span></li>
|
||||
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Alarmanlage</span></li>
|
||||
<li class="LP-SecurityMeasure__Item"><span class="LP-Text">Selbstschussanlage</span></li>
|
||||
</ul>
|
13
components/02_Molecules/tagList/_tagList.scss
Normal file
13
components/02_Molecules/tagList/_tagList.scss
Normal file
@@ -0,0 +1,13 @@
|
||||
.LP-TagList{
|
||||
.LP-TagList__List{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
padding:0;
|
||||
margin: 0;
|
||||
|
||||
.LP-TagList__Item{
|
||||
margin: 6px;
|
||||
}
|
||||
}
|
||||
}
|
11
components/02_Molecules/tagList/tagList.config.json
Normal file
11
components/02_Molecules/tagList/tagList.config.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"title": "TagList",
|
||||
"context": {
|
||||
"tags": [
|
||||
"Kamera",
|
||||
"Wachhund",
|
||||
"Zaun",
|
||||
"Security"
|
||||
]
|
||||
}
|
||||
}
|
7
components/02_Molecules/tagList/tagList.hbs
Normal file
7
components/02_Molecules/tagList/tagList.hbs
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="LP-TagList">
|
||||
<ul class="LP-TagList__List">
|
||||
{{#each tags}}
|
||||
<li class="LP-TagList__Item">{{> @tag text=this}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
@@ -1 +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."
|
||||
}
|
||||
}
|
@@ -1,4 +1,8 @@
|
||||
<article class="LP-TextSection">
|
||||
{{> @headline headline=headline}}
|
||||
{{> @text text=text}}
|
||||
<header class="LP-TextSection__Headline">
|
||||
{{> @headline headline=headline}}
|
||||
</header>
|
||||
<div class="LP-TextSection__Text">
|
||||
{{> @paragraph text=text}}
|
||||
</div>
|
||||
</article>
|
@@ -1,7 +1,7 @@
|
||||
@import 'header/header';
|
||||
@import 'navigation/navigation';
|
||||
@import 'introduction/introduction';
|
||||
@import 'placeGrid/placeGrid';
|
||||
@import 'placeList/placeList';
|
||||
@import 'linkList/linkList';
|
||||
@import 'footer/footer';
|
||||
@import 'footer/footer';
|
||||
@import 'form/form';
|
||||
@import 'imageGrid/imageGrid';
|
@@ -1,7 +1,7 @@
|
||||
.LP-Footer{
|
||||
margin-top: 75px;
|
||||
width: 100%;
|
||||
background-color: $-secondary-color;
|
||||
background-color: $-grey;
|
||||
padding: 25px;
|
||||
|
||||
.LP-LinkList__List{
|
||||
@@ -14,7 +14,7 @@
|
||||
width: auto;
|
||||
|
||||
.LP-Text{
|
||||
color: $-secondary-background-color;
|
||||
color: $-almost-white;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
|
134
components/03_Organisms/form/_form.scss
Normal file
134
components/03_Organisms/form/_form.scss
Normal file
@@ -0,0 +1,134 @@
|
||||
.LP-Form{
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
&--inline{
|
||||
padding: 0 10px;
|
||||
.LP-Form__Fieldset{
|
||||
.LP-Form__Composition{
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Form__Fieldset{
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
max-width: 1200px;
|
||||
min-width: $-viewport-medium;
|
||||
|
||||
.LP-Form__Legend{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.LP-Form__Composition{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
gap: 30px;
|
||||
|
||||
&--buttons{
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.LP-Form__Field{
|
||||
flex: 3 2 100px;
|
||||
padding: 6px 0;
|
||||
|
||||
&--wider{
|
||||
flex: 5 2;
|
||||
}
|
||||
|
||||
&--wide{
|
||||
flex: 4 2;
|
||||
}
|
||||
|
||||
&--narrow{
|
||||
flex: 2 1;
|
||||
}
|
||||
|
||||
&--narrower{
|
||||
flex: 1 2;
|
||||
}
|
||||
|
||||
&--static{
|
||||
flex: 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
&--buttons{
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-medium){
|
||||
.LP-Form{
|
||||
.LP-Form__Fieldset{
|
||||
min-width: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-small){
|
||||
.LP-Form{
|
||||
.LP-Form__Fieldset{
|
||||
.LP-Form__Composition--breakable{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-extra-small){
|
||||
.LP-Form :not(.LP-Form--inline){
|
||||
.LP-Form__Fieldset{
|
||||
.LP-Form__Composition{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
67
components/03_Organisms/form/form.hbs
Normal file
67
components/03_Organisms/form/form.hbs
Normal file
@@ -0,0 +1,67 @@
|
||||
<form class="LP-Form">
|
||||
<fieldset class="LP-Form__Fieldset">
|
||||
<legend class="LP-Form__Legend">Basic data</legend>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
<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">
|
||||
<label for="input123" class="LP-Input__Label">Street</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
<span class="LP-Input__Message">We won't send any stalkers, promise</span>
|
||||
</div>
|
||||
<div class="LP-Form__Field LP-Form__Field--narrow LP-Input">
|
||||
<label for="input123" class="LP-Input__Label">House no</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
<span class="LP-Input__Message">Field is required</span>
|
||||
</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">
|
||||
<label for="input123" class="LP-Input__Label">Postal Code</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
</div>
|
||||
<div class="LP-Form__Field LP-Form__Field--wide LP-Input">
|
||||
<label for="input123" class="LP-Input__Label">Town</label>
|
||||
<input type="text" id="input123" class="LP-Input__Field"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
@@ -1,16 +1,71 @@
|
||||
|
||||
$-logo-height: 45px;
|
||||
.LP-Header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 70px;
|
||||
height: 60px;
|
||||
box-shadow: 0 0 2px $-light-brown;
|
||||
grid-area: header;
|
||||
background-color: white;
|
||||
padding-left: 25px;
|
||||
|
||||
&__Navigation{
|
||||
flex-grow: 2;
|
||||
}
|
||||
|
||||
&__Logo {
|
||||
max-width: 300px;
|
||||
width: 35%;
|
||||
object-fit:contain;
|
||||
height: $-logo-height;
|
||||
object-fit:cover;
|
||||
max-height: 100%;
|
||||
width: 225px;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
|
||||
.LP-Image{
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Header__UserInformation{
|
||||
margin-right: 3%;
|
||||
.LP-Paragraph{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
margin: 0 3px;
|
||||
padding: 4px 4px;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-medium){
|
||||
.LP-Header__Logo{
|
||||
margin: 25px;
|
||||
width: $-logo-height;
|
||||
.LP-Image{
|
||||
object-position: 0 0;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-extra-small){
|
||||
.LP-Header__Logo{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.LP-Header__Navigation{
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-toggle-sidebar){
|
||||
.LP-Header{
|
||||
padding-left: 60px;
|
||||
width: calc(100% - 60px);
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
}
|
||||
}
|
@@ -1,8 +1,10 @@
|
||||
<header class="LP-Header">
|
||||
<div class="LP-Header__Logo">
|
||||
{{render '@logo'}}
|
||||
{{> @image source='/images/logo.png'}}
|
||||
</div>
|
||||
<div class="LP-Header__Navigation">
|
||||
{{> @navigation}}
|
||||
<div class="LP-Header__UserInformation">
|
||||
<span class="LP-Paragraph">
|
||||
Hi there!{{> @link url="#" text="Login"}} or {{> @link url="#" text="Sign up"}}
|
||||
</span>
|
||||
</div>
|
||||
</header>
|
42
components/03_Organisms/imageGrid/_imageGrid.scss
Normal file
42
components/03_Organisms/imageGrid/_imageGrid.scss
Normal file
@@ -0,0 +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__Item{
|
||||
margin-top:10px;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.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-Image{
|
||||
box-shadow: 0 0 5px $-grey;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
11
components/03_Organisms/imageGrid/imageGrid.config.json
Normal file
11
components/03_Organisms/imageGrid/imageGrid.config.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"context": {
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
10
components/03_Organisms/imageGrid/imageGrid.hbs
Normal file
10
components/03_Organisms/imageGrid/imageGrid.hbs
Normal file
@@ -0,0 +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>
|
||||
</div>
|
@@ -1,10 +0,0 @@
|
||||
.LP-Introduction{
|
||||
|
||||
.LP-Headline{
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.LP-Text{
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"context": {}
|
||||
}
|
@@ -1,4 +0,0 @@
|
||||
|
||||
<div class="LP-Introduction">
|
||||
{{> @textsection headline='Welcome to the urban exploring registry' 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.'}}
|
||||
</div>
|
@@ -1,22 +1,52 @@
|
||||
.LP-LinkList__List{
|
||||
list-style-type: none;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, 300px);
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
.LP-LinkList__Item{
|
||||
border-left: 1px solid $-secondary-accent-color;
|
||||
width: 100%;
|
||||
border-left: 1px solid $-light-brown;
|
||||
width: calc(100% - 1px);
|
||||
margin-top: 12px;
|
||||
height: 55px;
|
||||
position: relative;
|
||||
|
||||
&--add{
|
||||
.LP-LinkList__AddTrigger{
|
||||
display: none;
|
||||
&:checked{
|
||||
& ~ .LP-LinkList__AddPlaceHolder{
|
||||
visibility: hidden;
|
||||
}
|
||||
& ~ .LP-LinkList__Add{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-LinkList__Add{
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
display: none;
|
||||
width: 100%;
|
||||
|
||||
.LP-Form__Fieldset{
|
||||
min-width:unset;
|
||||
}
|
||||
|
||||
.LP-Form{
|
||||
display: block;
|
||||
min-width: 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
$-link-padding: 1em;
|
||||
padding: $-link-padding 0 $-link-padding $-link-padding;
|
||||
width: calc(100% - $-link-padding);
|
||||
width: calc(100% - 1em);
|
||||
display: block;
|
||||
color: $-secondary-color;
|
||||
color: $-grey;
|
||||
|
||||
|
||||
&--iconized{
|
||||
@@ -34,8 +64,8 @@
|
||||
|
||||
|
||||
&:hover{
|
||||
background-color: $-secondary-background-color;
|
||||
color: $-primary-accent-color;
|
||||
background-color: $-almost-white;
|
||||
color: $-wine-red;
|
||||
}
|
||||
|
||||
.LP-Text{
|
||||
@@ -48,7 +78,7 @@
|
||||
.LP-Link__Icon{
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
fill: $-primary-accent-color;
|
||||
fill: $-wine-red;
|
||||
line-height: 5em;
|
||||
}
|
||||
|
||||
|
@@ -1,19 +1,43 @@
|
||||
<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 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 LP-LinkList__Item--add">
|
||||
<input type="checkbox" id="wurstwurst" class="LP-LinkList__AddTrigger"/>
|
||||
<label for="wurstwurst" class="LP-LinkList__AddPlaceHolder">
|
||||
<span 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>
|
||||
</span>
|
||||
</label>
|
||||
<span class="LP-LinkList__Add">
|
||||
<form class="LP-Form LP-Form--inline">
|
||||
<fieldset class="LP-Form__Fieldset">
|
||||
<div class="LP-Form__Composition LP-Form__Composition">
|
||||
<div class="LP-Form__Field LP-Form__Field--static LP-Input">
|
||||
<button class="LP-Button">Add</button>
|
||||
</div>
|
||||
<div class="LP-Form__Field LP-Form__Field--wide LP-Input">
|
||||
<input class="LP-Input__Field" type="url"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
@@ -1,24 +0,0 @@
|
||||
.LP-Menu{
|
||||
&__List {
|
||||
list-style-type: none;
|
||||
display: inline-flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
&__Item {
|
||||
padding: 10px 15px;
|
||||
margin: 0 15px;
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.LP-Link__Text {
|
||||
color: $-secondary-color;
|
||||
font-weight: bold;
|
||||
text-shadow: 0px 0px 20px white;
|
||||
&:hover{
|
||||
color: $-primary-accent-color;
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
{
|
||||
|
||||
}
|
@@ -1,25 +1,21 @@
|
||||
.LP-Place__Grid{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
.LP-PlaceGrid{
|
||||
.LP-PlaceGrid__Grid{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
|
||||
>.LP-Place__Item{
|
||||
margin: 0 15px;
|
||||
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.LP-Link{
|
||||
.LP-Place__Description{
|
||||
display:none;
|
||||
.LP-PlaceGrid__Item{
|
||||
margin: 18px;
|
||||
}
|
||||
|
||||
.LP-Place{
|
||||
&:hover{
|
||||
box-shadow: 0 0 8px $-secondary-color;
|
||||
.LP-Link{
|
||||
.LP-PlaceTeaser{
|
||||
&:hover{
|
||||
box-shadow: 0 0 2px $-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1 +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": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -1,37 +1,12 @@
|
||||
<div class="LP-Content__Wrapper">
|
||||
<div class="LP-Content">
|
||||
{{> @headline headline='Explorere the latest locations'}}
|
||||
<ul class="LP-Place__Grid">
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/photo_2020-04-09_18-27-13.jpg' title='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.'}}</a>
|
||||
<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>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_11-03-07.png' title='Kokerei in Hamm' location='Hamm (westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png' title='Noch ein Zementwerk' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/photo_2020-05-02_18-11-21.jpg' title='Zementwerk Mersmann' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png' title='Noch ein Zementwerk' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/photo_2020-04-09_18-27-13.jpg' title='Haus Maikotten' location='Münster (westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png' title='Noch ein Zementwerk' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/photo_2020-05-02_18-11-21.jpg' title='Zementwerk Mersmann' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png' title='Noch ein Zementwerk' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_11-03-07.png' title='Kokerei in Hamm' location='Hamm (westfalen)' }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
@@ -1,58 +1,32 @@
|
||||
.LP-Place__List{
|
||||
list-style-type: none;
|
||||
|
||||
.LP-Link{
|
||||
.LP-Place{
|
||||
&:hover{
|
||||
color: $-secondary-color;
|
||||
background-color: $-secondary-background-color;
|
||||
|
||||
.LP-PlaceList{
|
||||
.LP-PlaceList__List{
|
||||
list-style-type: none;
|
||||
|
||||
$-hover-offset: 2px;
|
||||
position: relative;
|
||||
left: -$-hover-offset;
|
||||
>.LP-Place__Image{
|
||||
border-left: $-hover-offset $-secondary-color solid;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Place__Item{
|
||||
max-width: 900px;
|
||||
min-width: 450px;
|
||||
margin: 18px 0;
|
||||
.LP-Place{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: auto;
|
||||
padding-right: 25px;
|
||||
|
||||
.LP-Place__Assets{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-left: 25px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
|
||||
.LP-Place__Info{
|
||||
.LP-Place__Title{
|
||||
font-size: 28px;
|
||||
.LP-Link{
|
||||
.LP-Place{
|
||||
&:hover{
|
||||
color: $-grey;
|
||||
background-color: $-almost-white;
|
||||
|
||||
|
||||
$-hover-offset: 2px;
|
||||
position: relative;
|
||||
left: -$-hover-offset;
|
||||
>.LP-Place__Image{
|
||||
border-left: $-hover-offset $-grey solid;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Icon__List{
|
||||
justify-self: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
>.LP-Place__Image{
|
||||
height:168px;
|
||||
width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.LP-PlaceList__Item{
|
||||
max-width: 900px;
|
||||
//min-width: 450px;
|
||||
margin: 18px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Pagination{
|
||||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
|
@@ -1 +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": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -1,32 +1,13 @@
|
||||
<ul class="LP-Place__List">
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/photo_2020-04-09_18-27-13.jpg' title='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.'}}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_11-03-07.png' title='Kokerei in Hamm' location='Hamm (westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png' title='Noch ein Zementwerk' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/photo_2020-05-02_18-11-21.jpg' title='Zementwerk Mersmann' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png' title='Noch ein Zementwerk' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/photo_2020-04-09_18-27-13.jpg' title='Haus Maikotten' location='Münster (westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png' title='Noch ein Zementwerk' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/photo_2020-05-02_18-11-21.jpg' title='Zementwerk Mersmann' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_20-15-00.png' title='Noch ein Zementwerk' location='Beckum (Westfalen)' }}</a>
|
||||
</li>
|
||||
<li class="LP-Place__Item">
|
||||
<a href="#" class="LP-Link">{{> @place image='/images/Bildschirmfoto_von_2020-07-13_11-03-07.png' title='Kokerei in Hamm' location='Hamm (westfalen)' }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<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}}
|
||||
</div>
|
@@ -1,2 +1,2 @@
|
||||
@import 'home/home';
|
||||
@import 'placeOverview/placeOverview';
|
||||
@import 'placeDetail/placeDetail';
|
@@ -4,5 +4,12 @@
|
||||
}
|
||||
|
||||
.LP-HorizontalLine{
|
||||
color: $-secondary-color;
|
||||
color: $-grey;
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-small){
|
||||
.LP-MainContainer {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
}
|
@@ -1 +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": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
|
||||
{{> @introduction}}
|
||||
{{> @placegrid}}
|
||||
{{> @textsection 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.'}}
|
||||
{{> @placegrid places=places}}
|
||||
|
||||
Icons made by <a class="LP-Link" href="https://www.flaticon.com/authors/freepik" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon"> www.flaticon.com</a>
|
35
components/04_Templates/placeDetail/_placeDetail.scss
Normal file
35
components/04_Templates/placeDetail/_placeDetail.scss
Normal file
@@ -0,0 +1,35 @@
|
||||
.LP-PlaceDetail{
|
||||
|
||||
.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;
|
||||
|
||||
float: right;
|
||||
margin-left: 35px;
|
||||
margin-bottom: 35px;
|
||||
margin-right: 35px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $-viewport-normal){
|
||||
.LP-PlaceDetail{
|
||||
.LP-PlaceDetail__Header{
|
||||
.LP-PlaceDetail__Image{
|
||||
float: none;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
21
components/04_Templates/placeDetail/placeDetail.config.json
Normal file
21
components/04_Templates/placeDetail/placeDetail.config.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
26
components/04_Templates/placeDetail/placeDetail.hbs
Normal file
26
components/04_Templates/placeDetail/placeDetail.hbs
Normal file
@@ -0,0 +1,26 @@
|
||||
<article class="LP-PlaceDetail">
|
||||
|
||||
<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>
|
||||
|
||||
<div class="LP-PlaceDetail__Description">
|
||||
{{> @paragraph text='Lorem ipsum dolor sit amet, '}}
|
||||
</div>
|
||||
|
||||
<section class="LP-Section">
|
||||
{{> @headline headline='Sicherheitsmaßnahmen'}}
|
||||
{{> @taglist}}
|
||||
</section>
|
||||
<section class="LP-Section">
|
||||
{{> @headline headline='Links'}}
|
||||
{{> @linklist}}
|
||||
</section>
|
||||
<section class="LP-Section">
|
||||
{{> @headline headline='Bilder'}}
|
||||
{{> @imagegrid images=images}}
|
||||
</section>
|
||||
</article>
|
@@ -1,67 +0,0 @@
|
||||
.LP-PlaceOverview{
|
||||
.LP-PlaceOverview__Info{
|
||||
|
||||
.LP-PlaceOveriew__Image{
|
||||
width: 700px;
|
||||
height: 450px;
|
||||
box-shadow: 0 0 10px $-secondary-color;
|
||||
object-fit: cover;
|
||||
|
||||
float: right;
|
||||
margin-left: 35px;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
.LP-PlaceOverView__Description{
|
||||
padding: 0px;
|
||||
position: relative;
|
||||
top: -15px;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-PlaceOverView__ImageList{
|
||||
list-style-type: none;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit,300px);
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
|
||||
.LP-PlaceOverView__ImageItem{
|
||||
|
||||
img {
|
||||
box-shadow: 0 0 5px $-secondary-color;
|
||||
height: 200px;
|
||||
width: 290px;
|
||||
object-fit: cover;
|
||||
margin-top:10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 1290px){
|
||||
.LP-PlaceOverview{
|
||||
.LP-PlaceOverview__Info{
|
||||
|
||||
.LP-TextSection{
|
||||
margin-top: -100px;
|
||||
}
|
||||
|
||||
.LP-Headline{
|
||||
position: relative;
|
||||
top: -400px;
|
||||
margin-bottom: 100px;
|
||||
width: 100vw;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.LP-PlaceOveriew__Image{
|
||||
float: none;
|
||||
width: calc(100vw - 30px);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-left: 7px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
{}
|
@@ -1,58 +0,0 @@
|
||||
<article class="LP-PlaceOverview">
|
||||
<div class="LP-PlaceOverview__Info">
|
||||
<img class="LP-PlaceOveriew__Image" src="/images/Bildschirmfoto_von_2020-07-13_20-15-00.png">
|
||||
<article class="LP-PlaceOverView__Description">
|
||||
<div class="LP-TextSection">
|
||||
{{> @headline--main headline='Kokerei Wiescherhöfen'}}
|
||||
{{> @text text='Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb. My moneys in that office, right? If she start giving me some bullshit about it aint there, and we got to go someplace else and get it, Im gonna shoot you in the head then and there. Then Im gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when Im talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand?
|
||||
|
||||
Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb.Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb. My moneys in that office, right? If she start giving me some bullshit about it aint there, and we got to go someplace else and get it, Im gonna shoot you in the head then and there. Then Im gonna shoot that bitch in the kneecaps, find out where my goddamn money is. She gonna tell me too. Hey, look at me when Im talking to you, motherfucker. You listen: we go in there, and that nigga Winston or anybody else is in there, you the first motherfucker to get shot. You understand?
|
||||
|
||||
Do you see any Teletubbies in here? Do you see a slender plastic tag clipped to my shirt with my name printed on it? Do you see a little Asian child with a blank expression on his face sitting outside on a mechanical helicopter that shakes when you put quarters in it? No? Well, thats what you see at a toy store. And you must think youre in a toy store, because youre here shopping for an infant named Jeb.'}}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
<article>
|
||||
{{> @headline headline='Sicherheitsmaßnahmen'}}
|
||||
<div class="LP-Content__Wrapper">
|
||||
<div class="LP-Content">
|
||||
{{> @securitymeasurelist}}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article>
|
||||
{{> @headline headline='Links'}}
|
||||
<div class="LP-Content__Wrapper">
|
||||
<div class="LP-Content">
|
||||
{{> @linklist}}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<article class="">
|
||||
{{> @headline headline='Bilder'}}
|
||||
<div class="LP-Content__Wrapper">
|
||||
<div class=" LP-Content">
|
||||
<ul class="LP-PlaceOverView__ImageList">
|
||||
<li class="LP-PlaceOverView__ImageItem">
|
||||
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
|
||||
</li>
|
||||
<li class="LP-PlaceOverView__ImageItem">
|
||||
<a href="#"><img src="/images/photo_2020-05-02_18-11-21.jpg"></a>
|
||||
</li>
|
||||
<li class="LP-PlaceOverView__ImageItem">
|
||||
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
|
||||
</li>
|
||||
<li class="LP-PlaceOverView__ImageItem">
|
||||
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_20-15-00.png"></a>
|
||||
</li>
|
||||
<li class="LP-PlaceOverView__ImageItem">
|
||||
<a href="#"><img src="/images/Bildschirmfoto_von_2020-07-13_11-03-07.png"></a>
|
||||
</li>
|
||||
<li class="LP-PlaceOverView__ImageItem">
|
||||
<a href="#"><img src="/images/photo_2020-05-02_18-11-21.jpg"></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</article>
|
1
components/05_Pages/_pages.scss
Normal file
1
components/05_Pages/_pages.scss
Normal file
@@ -0,0 +1 @@
|
||||
@import 'place/place';
|
0
components/05_Pages/place/_place.scss
Normal file
0
components/05_Pages/place/_place.scss
Normal file
22
components/05_Pages/place/place.config.json
Normal file
22
components/05_Pages/place/place.config.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
11
components/05_Pages/place/place.hbs
Normal file
11
components/05_Pages/place/place.hbs
Normal file
@@ -0,0 +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>
|
||||
</div>
|
@@ -2,14 +2,10 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="{{ path '/components.css' }}">
|
||||
<link rel="stylesheet" href="{{ path '/main.css' }}">
|
||||
<title>Preview</title>
|
||||
</head>
|
||||
<body>
|
||||
{{> @header}}
|
||||
<article class="LP-MainContainer">
|
||||
{{{ yield }}}
|
||||
</article>
|
||||
{{> @footer}}
|
||||
{{{ yield }}}
|
||||
</body>
|
||||
</html>
|
@@ -1,36 +0,0 @@
|
||||
@font-face {
|
||||
font-family: Crimson;
|
||||
src:
|
||||
url('fonts/Crimson/CrimsonText-Regular.ttf'),
|
||||
url('fonts/Crimson/CrimsonText-Bold.ttf'),
|
||||
url('fonts/Crimson/CrimsonText-Italic.ttf')
|
||||
;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Montserrat;
|
||||
src:
|
||||
url('fonts/Montserrat/Montserrat-Regular.otf'),
|
||||
url('fonts/Montserrat/Montserrat-Bold.otf'),
|
||||
url('fonts/Montserrat/Montserrat-Italic.otf')
|
||||
;
|
||||
}
|
||||
|
||||
$-primary-color: #D7CEC7;
|
||||
$-secondary-color: #565656;
|
||||
$-primary-accent-color: #76323F;
|
||||
$-secondary-accent-color: #C09F80;
|
||||
$-secondary-background-color: #f9f9f9;
|
||||
|
||||
$-primary-sans-serif-font: Montserrat, Helvetica, sans-serif;
|
||||
$-primary-serif-font: Crimson, Times, serif;
|
||||
$-primary-sans-serif-accent-font: Roboto, Arial, sans-serif;
|
||||
|
||||
$-viewport-small: 650px;
|
||||
$-viewport-extra-small: 450px;
|
||||
|
||||
|
||||
@import '01_Atoms/atoms';
|
||||
@import '02_Molecules/molecules';
|
||||
@import '03_Organisms/organisms';
|
||||
@import '04_Templates/templates';
|
162
components/main.scss
Normal file
162
components/main.scss
Normal file
@@ -0,0 +1,162 @@
|
||||
@font-face {
|
||||
font-family: Crimson;
|
||||
src:
|
||||
url('fonts/Crimson/CrimsonText-Regular.ttf'),
|
||||
url('fonts/Crimson/CrimsonText-Bold.ttf'),
|
||||
url('fonts/Crimson/CrimsonText-Italic.ttf')
|
||||
;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: Montserrat;
|
||||
src:
|
||||
url('fonts/Montserrat/Montserrat-Regular.ttf'),
|
||||
url('fonts/Montserrat/Montserrat-Bold.ttf'),
|
||||
url('fonts/Montserrat/Montserrat-Italic.ttf')
|
||||
;
|
||||
}
|
||||
|
||||
$-beige: #D7CEC7;
|
||||
$-grey: #565656;
|
||||
$-wine-red: #76323F;
|
||||
$-light-brown: #C09F80;
|
||||
$-almost-white: #f9f9f9;
|
||||
|
||||
$-primary-sans-serif-font: Montserrat, Helvetica, sans-serif;
|
||||
$-primary-serif-font: Crimson, Times, serif;
|
||||
$-primary-sans-serif-accent-font: Roboto, Arial, sans-serif;
|
||||
|
||||
$-viewport-extra-small: 450px;
|
||||
$-viewport-small: 650px;
|
||||
$-viewport-medium: 750px;
|
||||
$-viewport-normal: 1000px;
|
||||
|
||||
$-viewport-toggle-sidebar: $-viewport-small;
|
||||
|
||||
$-sidebar-width: 250px;
|
||||
|
||||
html{
|
||||
height:100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body{
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.LP-Main__Content{
|
||||
min-height: 1px;
|
||||
padding: 25px;
|
||||
grid-area: content;
|
||||
}
|
||||
|
||||
.LP-Main__Sidebar{
|
||||
grid-area: sidebar;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.LP-Section{
|
||||
clear: both;
|
||||
padding: 25px 0px;
|
||||
padding-left: 25px;
|
||||
|
||||
.LP-Headline{
|
||||
margin-left: -25px;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Menu__Trigger{
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-normal){
|
||||
.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-Headline{
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-extra-small){
|
||||
.LP-Main__Sidebar{
|
||||
max-width: 100vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-toggle-sidebar){
|
||||
.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;
|
||||
|
||||
&--hidden{
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
#toggle_sidebar:checked ~ .LP-Main__Sidebar{
|
||||
left: 0 ;
|
||||
}
|
||||
|
||||
#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__Trigger:checked ~ .LP-Menu__TriggerLabel{
|
||||
background-color: invert($-grey);
|
||||
filter: invert(1);
|
||||
}
|
||||
|
||||
.LP-Main__Content{
|
||||
margin-top: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
@import '01_Atoms/atoms';
|
||||
@import '02_Molecules/molecules';
|
||||
@import '03_Organisms/organisms';
|
||||
@import '04_Templates/templates';
|
||||
@import '05_Pages/pages';
|
5678
package-lock.json
generated
5678
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -3,10 +3,12 @@
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@frctl/fractal": "^1.2.1",
|
||||
"node-sass": "^4.13.1"
|
||||
"fractal": "0.0.3",
|
||||
"node-sass": "^4.14.1",
|
||||
"sass": "^1.26.10"
|
||||
},
|
||||
"scripts": {
|
||||
"sass": "node-sass -w components/components.scss -o public/ --recursive",
|
||||
"sass": "node-sass -w components/main.scss -o public/ --recursive",
|
||||
"styleguide": "fractal start --sync",
|
||||
"suite": "npm run sass & npm run styleguide"
|
||||
}
|
||||
|
@@ -1,407 +0,0 @@
|
||||
@font-face {
|
||||
font-family: Crimson;
|
||||
src: url("fonts/Crimson/CrimsonText-Regular.ttf"), url("fonts/Crimson/CrimsonText-Bold.ttf"), url("fonts/Crimson/CrimsonText-Italic.ttf"); }
|
||||
|
||||
@font-face {
|
||||
font-family: Montserrat;
|
||||
src: url("fonts/Montserrat/Montserrat-Regular.ttf"), url("fonts/Montserrat/Montserrat-Bold.ttf"), url("fonts/Montserrat/Montserrat-Italic.ttf"); }
|
||||
|
||||
.LP-Link {
|
||||
color: #565656;
|
||||
text-decoration: none;
|
||||
font-family: Roboto, Arial, sans-serif; }
|
||||
.LP-Link:hover {
|
||||
color: #C09F80; }
|
||||
.LP-Link .LP-Text {
|
||||
font-family: Roboto, Arial, sans-serif; }
|
||||
.LP-Link .LP-Text:hover {
|
||||
color: #C09F80; }
|
||||
|
||||
.LP-Link__IconWrapper {
|
||||
display: inline; }
|
||||
|
||||
.LP-Headline {
|
||||
font-family: Montserrat, Helvetica, sans-serif;
|
||||
color: #565656;
|
||||
font-size: 1.7rem;
|
||||
padding-top: 0px;
|
||||
margin-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
margin-bottom: 0px; }
|
||||
.LP-Headline--main {
|
||||
position: relative;
|
||||
top: 2rem;
|
||||
font-size: 2rem; }
|
||||
.LP-Headline--inline {
|
||||
display: inline; }
|
||||
|
||||
.LP-Text {
|
||||
color: black;
|
||||
font-family: Crimson, Times, serif;
|
||||
font-size: 1.2rem; }
|
||||
|
||||
.LP-Icon {
|
||||
height: 20px;
|
||||
width: 20px; }
|
||||
|
||||
.LP-Icon__List {
|
||||
list-style-type: none;
|
||||
display: inline-flex;
|
||||
justify-content: space-between;
|
||||
justify-items: stretch;
|
||||
padding: 0; }
|
||||
.LP-Icon__List .LP-Icon__Item {
|
||||
padding: 0 3px; }
|
||||
|
||||
.LP-Input:has(.LP-Input__Field:disabled) {
|
||||
background-color: red; }
|
||||
|
||||
.LP-Input {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: -30px;
|
||||
padding: 10px 0; }
|
||||
.LP-Input .LP-Input__Field {
|
||||
border: none;
|
||||
border-bottom: 1px solid #565656;
|
||||
padding: 8px;
|
||||
margin-bottom: 30px; }
|
||||
.LP-Input .LP-Input__Field:focus, .LP-Input .LP-Input__Field:active {
|
||||
margin-bottom: 29px;
|
||||
border-bottom: 2px solid #76323F;
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 3px 3px 0 0; }
|
||||
.LP-Input .LP-Input__Field:disabled {
|
||||
background-color: transparent;
|
||||
border-bottom: 1px dashed #565656;
|
||||
cursor: not-allowed; }
|
||||
.LP-Input .LP-Input__Field:disabled:active {
|
||||
margin-bottom: 30px;
|
||||
border-radius: 0; }
|
||||
.LP-Input .LP-Input__Field:disabled ~ .LP-Input__Message {
|
||||
visibility: hidden; }
|
||||
.LP-Input .LP-Input__Label {
|
||||
font-family: Montserrat, Helvetica, sans-serif;
|
||||
font-size: 18px; }
|
||||
.LP-Input .LP-Input__Message {
|
||||
font-family: Montserrat, Helvetica, sans-serif;
|
||||
font-style: italic;
|
||||
font-size: 13px;
|
||||
padding: 3px;
|
||||
position: relative;
|
||||
top: -30px; }
|
||||
.LP-Input .LP-Input__Message:before {
|
||||
content: '* '; }
|
||||
.LP-Input--error .LP-Input__Field {
|
||||
margin-bottom: 25px;
|
||||
border-bottom: 2px solid #76323F;
|
||||
margin-bottom: 29px; }
|
||||
.LP-Input--error .LP-Input__Message {
|
||||
color: #76323F; }
|
||||
|
||||
@media (max-width: 650px) {
|
||||
.LP-Input .LP-Input__Label {
|
||||
font-family: Montserrat, Helvetica, sans-serif;
|
||||
font-size: 2.5vw; } }
|
||||
|
||||
@media (max-width: 390px) {
|
||||
.LP-Input .LP-Input__Label {
|
||||
font-family: Montserrat, Helvetica, sans-serif;
|
||||
font-size: 18px; } }
|
||||
|
||||
.LP-Logo {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
width: auto;
|
||||
object-fit: contain; }
|
||||
|
||||
.LP-Content {
|
||||
padding: 35px; }
|
||||
|
||||
@media (max-width: 1290px) {
|
||||
.LP-Content {
|
||||
padding: 15px; } }
|
||||
|
||||
.LP-TextSection .LP-Text {
|
||||
line-height: 1.4rem; }
|
||||
|
||||
.LP-Place .LP-Place__Image {
|
||||
width: 280px;
|
||||
height: 165px;
|
||||
object-fit: fill; }
|
||||
|
||||
.LP-Place .LP-Place__Assets {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.8rem;
|
||||
padding: 0 10px;
|
||||
padding-bottom: 10px; }
|
||||
|
||||
.LP-Place .LP-Place__Info .LP-Place__Title {
|
||||
font-family: Montserrat, Helvetica, sans-serif;
|
||||
color: #565656;
|
||||
font-size: 1rem;
|
||||
padding: 0px;
|
||||
margin: 0px; }
|
||||
|
||||
.LP-Place .LP-Place__Info .LP-Place__Description {
|
||||
font-family: Roboto, Arial, sans-serif;
|
||||
color: #565656; }
|
||||
|
||||
.LP-Place .LP-Place__Info .LP-Place__Detail {
|
||||
font-family: Montserrat, Helvetica, sans-serif;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
margin-top: 5px;
|
||||
font-size: 0.9rem; }
|
||||
|
||||
.LP-SecurityMeasure__List {
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
padding: 0;
|
||||
margin: 0; }
|
||||
.LP-SecurityMeasure__List .LP-SecurityMeasure__Item {
|
||||
margin: 0 8px;
|
||||
padding: 8px 14px;
|
||||
background-color: #D7CEC7;
|
||||
border-radius: 2px; }
|
||||
.LP-SecurityMeasure__List .LP-SecurityMeasure__Item .LP-Text {
|
||||
font-family: Montserrat, Helvetica, sans-serif;
|
||||
font-size: 1.2rem; }
|
||||
|
||||
.LP-Form {
|
||||
max-width: 900px; }
|
||||
.LP-Form .LP-Form__Fieldset {
|
||||
border: none; }
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Legend {
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between; }
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field {
|
||||
flex: 3 1 100px;
|
||||
padding: 0 15px; }
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--wider {
|
||||
flex: 5 1 200px; }
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--wide {
|
||||
flex: 4 1 150px; }
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrow {
|
||||
flex: 2 0 50px; }
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field--narrower {
|
||||
flex: 1 0 25px; }
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field input {
|
||||
width: 100%; }
|
||||
|
||||
@media (max-width: 650px) {
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition--breakable {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between; } }
|
||||
|
||||
@media (max-width: 390px) {
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between; }
|
||||
.LP-Form .LP-Form__Fieldset .LP-Form__Composition .LP-Form__Field {
|
||||
flex: 3 1 100px; } }
|
||||
|
||||
.LP-Header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 70px; }
|
||||
.LP-Header__Logo {
|
||||
max-width: 300px;
|
||||
width: 35%;
|
||||
object-fit: contain; }
|
||||
.LP-Header .LP-Header__Logo {
|
||||
margin: 25px; }
|
||||
|
||||
.LP-Menu__List {
|
||||
list-style-type: none;
|
||||
display: inline-flex;
|
||||
justify-content: space-around; }
|
||||
|
||||
.LP-Menu__Item {
|
||||
padding: 10px 15px;
|
||||
margin: 0 15px;
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
background-color: transparent; }
|
||||
|
||||
.LP-Menu .LP-Link__Text {
|
||||
color: #565656;
|
||||
font-weight: bold;
|
||||
text-shadow: 0px 0px 20px white; }
|
||||
.LP-Menu .LP-Link__Text:hover {
|
||||
color: #76323F; }
|
||||
|
||||
.LP-Introduction .LP-Headline {
|
||||
font-size: 2rem; }
|
||||
|
||||
.LP-Introduction .LP-Text {
|
||||
font-size: 1.3rem; }
|
||||
|
||||
.LP-Place__Grid {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap; }
|
||||
.LP-Place__Grid > .LP-Place__Item {
|
||||
margin: 0 15px;
|
||||
margin-bottom: 50px; }
|
||||
.LP-Place__Grid .LP-Link .LP-Place__Description {
|
||||
display: none; }
|
||||
.LP-Place__Grid .LP-Link .LP-Place:hover {
|
||||
box-shadow: 0 0 8px #565656; }
|
||||
|
||||
.LP-Place__List {
|
||||
list-style-type: none; }
|
||||
.LP-Place__List .LP-Link .LP-Place:hover {
|
||||
color: #565656;
|
||||
background-color: #f9f9f9;
|
||||
position: relative;
|
||||
left: -2px; }
|
||||
.LP-Place__List .LP-Link .LP-Place:hover > .LP-Place__Image {
|
||||
border-left: 2px #565656 solid; }
|
||||
.LP-Place__List .LP-Place__Item {
|
||||
max-width: 900px;
|
||||
min-width: 450px;
|
||||
margin: 18px 0; }
|
||||
.LP-Place__List .LP-Place__Item .LP-Place {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: auto;
|
||||
padding-right: 25px; }
|
||||
.LP-Place__List .LP-Place__Item .LP-Place .LP-Place__Assets {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
padding-left: 25px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start; }
|
||||
.LP-Place__List .LP-Place__Item .LP-Place .LP-Place__Assets .LP-Place__Info .LP-Place__Title {
|
||||
font-size: 28px; }
|
||||
.LP-Place__List .LP-Place__Item .LP-Place .LP-Place__Assets .LP-Icon__List {
|
||||
justify-self: flex-end; }
|
||||
.LP-Place__List .LP-Place__Item .LP-Place > .LP-Place__Image {
|
||||
height: 168px;
|
||||
width: 280px; }
|
||||
|
||||
.LP-LinkList__List {
|
||||
list-style-type: none;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, 300px);
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
.LP-LinkList__List .LP-LinkList__Item {
|
||||
border-left: 1px solid #C09F80;
|
||||
width: 100%;
|
||||
margin-top: 12px;
|
||||
height: 55px; }
|
||||
.LP-LinkList__List .LP-LinkList__Item .LP-Link {
|
||||
padding: 1em 0 1em 1em;
|
||||
width: calc(100% - $-link-padding);
|
||||
display: block;
|
||||
color: #565656; }
|
||||
.LP-LinkList__List .LP-LinkList__Item .LP-Link--iconized {
|
||||
padding-top: 0;
|
||||
padding-bottom: 1.1em; }
|
||||
.LP-LinkList__List .LP-LinkList__Item .LP-Link--iconized:hover {
|
||||
background-color: #ccc !important; }
|
||||
.LP-LinkList__List .LP-LinkList__Item .LP-Link--iconized .LP-Text {
|
||||
padding-top: .1em; }
|
||||
.LP-LinkList__List .LP-LinkList__Item .LP-Link:hover {
|
||||
background-color: #f9f9f9;
|
||||
color: #76323F; }
|
||||
.LP-LinkList__List .LP-LinkList__Item .LP-Link .LP-Text {
|
||||
color: inherit; }
|
||||
|
||||
.LP-Link__Icon {
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
fill: #76323F;
|
||||
line-height: 5em; }
|
||||
|
||||
.LP-LinkList__Item .LP-Link__Icon {
|
||||
position: relative;
|
||||
top: .7em;
|
||||
margin-right: .6em; }
|
||||
|
||||
.LP-Footer {
|
||||
margin-top: 75px;
|
||||
width: 100%;
|
||||
background-color: #565656;
|
||||
padding: 25px; }
|
||||
.LP-Footer .LP-LinkList__List {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center; }
|
||||
.LP-Footer .LP-LinkList__List .LP-LinkList__Item {
|
||||
border: none;
|
||||
padding: 5px;
|
||||
width: auto; }
|
||||
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Text {
|
||||
color: #f9f9f9;
|
||||
font-size: 17px; }
|
||||
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Link {
|
||||
display: inline; }
|
||||
.LP-Footer .LP-LinkList__List .LP-LinkList__Item .LP-Link:hover {
|
||||
background-color: inherit; }
|
||||
|
||||
.LP-MainContainer {
|
||||
margin: 0 auto;
|
||||
max-width: 1280px; }
|
||||
|
||||
.LP-HorizontalLine {
|
||||
color: #565656; }
|
||||
|
||||
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image {
|
||||
width: 700px;
|
||||
height: 450px;
|
||||
box-shadow: 0 0 10px #565656;
|
||||
object-fit: cover;
|
||||
float: right;
|
||||
margin-left: 35px;
|
||||
margin-bottom: 35px; }
|
||||
|
||||
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOverView__Description {
|
||||
padding: 0px;
|
||||
position: relative;
|
||||
top: -15px; }
|
||||
|
||||
.LP-PlaceOverview .LP-PlaceOverView__ImageList {
|
||||
list-style-type: none;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, 300px);
|
||||
margin: 0px;
|
||||
padding: 0px; }
|
||||
.LP-PlaceOverview .LP-PlaceOverView__ImageList .LP-PlaceOverView__ImageItem img {
|
||||
box-shadow: 0 0 5px #565656;
|
||||
height: 200px;
|
||||
width: 290px;
|
||||
object-fit: cover;
|
||||
margin-top: 10px; }
|
||||
|
||||
@media (max-width: 1290px) {
|
||||
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-TextSection {
|
||||
margin-top: -100px; }
|
||||
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-Headline {
|
||||
position: relative;
|
||||
top: -400px;
|
||||
margin-bottom: 100px;
|
||||
width: 100vw;
|
||||
display: block; }
|
||||
.LP-PlaceOverview .LP-PlaceOverview__Info .LP-PlaceOveriew__Image {
|
||||
float: none;
|
||||
width: calc(100vw - 30px);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-left: 7px; } }
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user