Compare commits

...

137 Commits

Author SHA1 Message Date
313968fafd Form fine tuning and link list add 2020-08-21 12:08:51 +02:00
8fa8033be4 LinkList add LInk 2020-08-21 10:51:07 +02:00
b64724b586 Converted indentation to spaces globally. 2020-08-17 15:39:17 +02:00
e80e93bcaa Pagination disabled class 2020-08-16 20:56:34 +02:00
384cdcaae7 More Paginatoin Styling, responsive 2020-08-16 17:50:55 +02:00
427ce11adb Removed JS, using transition instead of animation for sidebar menu sliding 2020-08-16 17:22:08 +02:00
15b4bc7880 Padding fix 2020-08-16 12:26:10 +02:00
9ebfef6c6e Sidebar height fix 2020-08-16 11:56:21 +02:00
3f69ff8f0d No absolute icon paths 2020-08-16 11:42:13 +02:00
5f4b72f9be Sidebar animation is not triggered when loading page 2020-08-16 11:40:40 +02:00
57afcbdffb Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-16 10:31:01 +02:00
681cdad1cb Responsive Sidebarmenu 2020-08-16 10:30:55 +02:00
a613d9a069 Made inactive pag-items gray and non-hover. 2020-08-15 20:47:40 +02:00
fb72b00456 Aligned page numbers to the rest again. 2020-08-14 13:56:11 +02:00
3970aed176 Added beautiful navigation icons to pagination nav-css. 2020-08-14 13:41:27 +02:00
0eacea8243 Added fest/previous next/last again incl text for alignment. 2020-08-14 11:31:35 +02:00
14ea0910ef Added first/last pagination item. 2020-08-14 11:21:13 +02:00
0e3f005639 Using grid for master layout 2020-08-13 23:44:06 +02:00
fc0a96b167 Unbugged nav 2020-08-13 23:43:49 +02:00
8edcf77d44 Removed after content for prev/next 2020-08-13 23:43:34 +02:00
f973dccd27 Minor tweaks 2020-08-13 11:17:33 +02:00
a55b02825e Color adjustment 2020-08-12 22:31:48 +02:00
7ceddb736f Pagnation in place list 2020-08-12 22:30:14 +02:00
2243c7ed9e Centered Pagination 2020-08-12 22:29:18 +02:00
1507a0b01e Small tweak 2020-08-12 22:27:31 +02:00
c8c21869c4 Pagnination Component 2020-08-12 22:27:18 +02:00
09a6377901 Some Tweaks 2020-08-12 21:31:13 +02:00
f0b3839e73 MessageList Component 2020-08-12 21:31:04 +02:00
72c8febfc4 CSS for Messages 2020-08-12 20:11:22 +02:00
4120155a1c New Icons 2020-08-12 20:11:12 +02:00
fba48603b6 Ye 2020-08-12 18:29:27 +02:00
16f0e10d89 Minor fix 2020-08-12 18:29:20 +02:00
e431d9a1a0 Form squishiness and Button layout 2020-08-12 18:29:08 +02:00
f9233249a3 Styled submit input 2020-08-12 18:28:47 +02:00
2e48395076 Neater cancle button 2020-08-12 18:28:37 +02:00
fb20b555c4 More Dynamic modifier rendering 2020-08-09 23:52:15 +02:00
67fe74d67e Added Wrapper for Component 2020-08-09 23:52:04 +02:00
b335e7a587 Removed remnants 2020-08-09 23:48:51 +02:00
b497e10584 Current build 2020-08-09 23:44:55 +02:00
bd9df610e7 Renaming 2020-08-09 23:44:50 +02:00
448358531c Mayor restrukturing 2020-08-09 23:44:23 +02:00
9c85c44d2b Minor width fix 2020-08-09 23:43:57 +02:00
6d69fb6c29 New Component 2020-08-09 23:43:40 +02:00
f663864c29 Resetting 2020-08-09 23:43:21 +02:00
1230f140d0 Adjusted padding/margin 2020-08-09 23:43:03 +02:00
1a92521029 Layout defintion 2020-08-09 23:42:48 +02:00
02b1c39e9e Mysterious whitespace difference after npm install. 2020-08-08 09:46:01 +02:00
039bb7d427 Sync 2020-08-07 11:24:00 +02:00
abb072dfcf Added missing trailing newline. 2020-08-06 20:24:18 +02:00
178394ed10 Added padding to placegrid. 2020-08-05 20:44:52 +02:00
5844871862 Added max-height to hero image css. 2020-08-05 20:16:07 +02:00
bb7d3b1a2f Limited image in hight dimension to deal with vertical photos. 2020-08-05 20:08:37 +02:00
8f7e03cda9 Sidebar and Content the same height 2020-08-05 18:38:22 +02:00
33c8b302b3 More consistent alignment 2020-08-05 18:38:22 +02:00
08872806d2 Dirty fix for SCSS bug(?) 2020-08-05 18:38:22 +02:00
8d99205575 Replaced .otf with .ttf fonts as referenced in .css. 2020-08-05 18:20:24 +02:00
450395fa01 Removed unused fonts. 2020-08-05 18:18:22 +02:00
6547569d78 Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-05 13:46:55 +02:00
e79c61c63c updated dependencies 2020-08-05 13:46:41 +02:00
af634294e2 Refactoring and uncluttering 2020-08-05 13:19:00 +02:00
cf5e804e50 Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-04 23:48:00 +02:00
0ca397071a uff 2020-08-04 23:47:51 +02:00
ba56976420 zam rumfrickelei 2020-08-04 23:47:39 +02:00
8f2e607b61 Styling sidebar navigation 2020-08-04 23:47:14 +02:00
8c412db0e9 Reseting of html, body 2020-08-04 23:46:44 +02:00
43def15caa Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-04 23:41:19 +02:00
0ad042487f Changed otf font references by correct ttf ones. 2020-08-04 23:41:15 +02:00
93341886d6 Other behavior for sidebar links 2020-08-04 20:05:12 +02:00
9e061f9566 Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-04 20:00:44 +02:00
6f3fb3850f Minor improvements 2020-08-04 19:42:13 +02:00
8af6803dcc More stuff 2020-08-04 19:41:55 +02:00
19c7bc9442 fixes and first steps towards navigation on the side 2020-08-04 19:41:47 +02:00
862582c7ba Changed font of link 2020-08-04 19:40:55 +02:00
ad17e48049 Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-04 18:36:34 +02:00
706004d2d0 Fixed Distance from headline to text 2020-08-04 18:36:25 +02:00
600361d6f9 Small tweaks for forms 2020-08-03 17:26:23 +02:00
b7486db8ef Optimized for smaller viewports 2020-08-03 17:26:11 +02:00
f469520885 Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-02 23:12:25 +02:00
2b079e39e3 Build 2020-08-02 23:11:52 +02:00
fa5cf10104 Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-02 23:03:24 +02:00
00d01b0abf More context 2020-08-02 23:03:11 +02:00
09d1ab522b Move responseive 2020-08-02 23:02:56 +02:00
96882aef12 Optimized header for small viewports 2020-08-02 23:02:25 +02:00
e2addb919f Fixed Markup 2020-08-02 23:02:11 +02:00
aa2a5cf3cc Made Image more responsive 2020-08-02 23:02:06 +02:00
0bb23d6a71 Removed Navigation 2020-08-02 23:01:39 +02:00
e004d2ea7f Defined new viewports 2020-08-02 23:00:55 +02:00
76e8a64a2e Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-02 09:22:03 +02:00
b286781cb9 Fixed bug when hovering 2020-08-01 12:45:59 +02:00
12aae47371 Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-01 12:29:03 +02:00
f1dcbc19db Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-08-01 11:09:00 +02:00
ed6527925b PlaceGrid and PlaceList look on small viewport the same 2020-08-01 11:07:29 +02:00
d174d59197 Placelist small viewport 2020-08-01 11:04:49 +02:00
f898b49d05 Ignored npm package-lock file as it is a uniqe to each system. 2020-08-01 11:04:26 +02:00
bf3ebf0e02 Minor fix 2020-08-01 10:59:01 +02:00
1195aef920 Using extended version of placeteaesr 2020-08-01 10:57:49 +02:00
3f29a83f3f Extended Version of the placeteaser 2020-08-01 10:57:00 +02:00
3404c1fd28 Fixed renaming 2020-08-01 10:30:38 +02:00
1eeb187efa Reconfig of placegrid 2020-08-01 10:28:08 +02:00
488d773f00 Adjusted Image fit 2020-08-01 10:27:50 +02:00
97282fd1af Context for the button 2020-08-01 10:27:36 +02:00
d90646c9d0 Color Renaming 2020-08-01 10:27:23 +02:00
254e6aa2bd Parametrized TextSection 2020-08-01 10:26:47 +02:00
d6ba2cf41b Renamed SecurityMeasure to Tag 2020-08-01 10:26:05 +02:00
fdd93d1f1b Renamed colors 2020-08-01 10:25:30 +02:00
f7e3f96228 Removed component introduction 2020-08-01 10:25:12 +02:00
6215b8dd7c Using Scope instead of modifier 2020-08-01 09:29:27 +02:00
71fda3ddbf Cleaned out preview 2020-08-01 00:27:55 +02:00
a20d599e3f Restructured PlaceTeaser 2020-08-01 00:27:38 +02:00
48d32a8dac Moving 2020-08-01 00:27:15 +02:00
915a70e270 Renamed teaser to detail 2020-08-01 00:26:57 +02:00
5c6303f653 Cleaned Molecules 2020-08-01 00:26:35 +02:00
906e037c5c Moved Styles and included other components 2020-08-01 00:10:10 +02:00
0ffb2d5bc6 Moved cases to variants 2020-08-01 00:09:34 +02:00
8048aea9df Renamed text to paragraph 2020-08-01 00:09:09 +02:00
afb1397f4a Adding a another variation of headline 2020-08-01 00:08:07 +02:00
ac0951ba6e added neat image 2020-07-31 23:35:50 +02:00
e525df9347 Fixed stupid copy pasta mistake 2020-07-31 23:35:41 +02:00
60e231d1ca Form Tweaking 2020-07-31 23:35:17 +02:00
013769597d Adding Image Component 2020-07-31 23:35:01 +02:00
07830c671d Renaming place to placeTeaser 2020-07-31 23:34:39 +02:00
907e0602ce Refactoring markup 2020-07-31 23:12:40 +02:00
ab7c6c8d84 Providing context and variations of input 2020-07-31 23:12:29 +02:00
c05a286f84 Styling disabled input 2020-07-31 23:12:06 +02:00
e49803cb81 Deleting obsolete components 2020-07-31 23:11:38 +02:00
5e5e9691dc Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-07-31 22:30:03 +02:00
c97a757691 Several Form elements 2020-07-31 22:22:17 +02:00
Leonhard Strohmidel
6413492586 sync 2020-07-31 19:52:57 +02:00
Leonhard Strohmidel
10c3b3179e Using New Input classes in Forms 2020-07-31 16:54:59 +02:00
Leonhard Strohmidel
7eaa41c0e9 Base style for input 2020-07-31 16:54:35 +02:00
Leonhard Strohmidel
f20fd20936 added sans serif font 2020-07-31 16:54:15 +02:00
Leonhard Strohmidel
89e39c8e8e Moved Fonts 2020-07-31 16:54:03 +02:00
Leonhard Strohmidel
fd5e87b9ad Added Serif Font 2020-07-31 15:10:38 +02:00
Leonhard Strohmidel
cda2398fee Fixed copy pasta project name 2020-07-31 13:15:04 +02:00
Leonhard Strohmidel
1c295e92f4 Proper form HTML layout 2020-07-31 13:14:45 +02:00
3d82d59d6c Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend 2020-07-27 23:10:50 +02:00
205be6e85d Fixed Wrap for SecurityMeasureList 2020-07-27 23:10:08 +02:00
112 changed files with 2610 additions and 6476 deletions

1
.gitignore vendored
View File

@@ -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

View File

@@ -1,4 +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';

View File

@@ -0,0 +1,23 @@
.LP-Button{
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;
}
&--cancel{
background-color: $-grey;
color: $-almost-white;
&:active{
color: $-grey;
background-color: $-almost-white;
}
}
}

View File

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

View File

@@ -0,0 +1 @@
<button class="LP-Button LP-Button{{modifier}}">Click Me</button>

View File

@@ -0,0 +1,13 @@
.LP-Form{
.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;
}
}

View File

@@ -0,0 +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>
</form>

View File

@@ -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;

View File

@@ -1 +1 @@
<h1 class="LP-Headline LP-Headline{{modifier}}">{{headline}}</h1>
<h1 class="LP-Headline{{#if modifier}} LP-Headline{{modifier}}{{/if}}">{{headline}}</h1>

View File

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

View File

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

View File

@@ -0,0 +1 @@
<img src="{{source}}" class="LP-Image"/>

View File

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

View File

@@ -0,0 +1,28 @@
{
"context": {
"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"
}
}
]
}

View File

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

View File

@@ -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;
}
}
}

View 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>

View 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;
}
}

View 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"
}
}
]
}

View 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>

View 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;
}
}
}
}

View File

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

View 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>

View File

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

View File

@@ -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": [
]
}

View File

@@ -0,0 +1 @@
<p class="LP-Paragraph{{#if modifier}} LP-Paragraph{{modifier}}{{/if}}">{{text}}</p>

View 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;
}
}

View File

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

View File

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

View File

@@ -1 +0,0 @@
<p class="LP-Text LP-Content">{{text}}</p>

View File

@@ -1,4 +1,5 @@
@import 'logo/logo';
@import 'textSection/textSection';
@import 'place/place';
@import 'securityMeasureList/securityMeasureList';
@import 'placeTeaser/placeTeaser';
@import 'tagList/tagList';
@import 'navigation/navigation';
@import 'messageList/messageList';

View File

@@ -1,3 +0,0 @@
<a href="LP-Link" href="#">
<img class="LP-Logo" src="{{ path '/images/logo.png' }}"/>
</a>

View 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;
}
}

View File

@@ -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."
}
}

View 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>

View 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;
}
}
}

View File

@@ -0,0 +1,16 @@
{
"title": "Navigation",
"context": {
"additionalItems": [
"Hello"
]
},
"variants": [
{
"name": "Sidebar",
"context":{
"modifier": "--sidebar"
}
}
]
}

View File

@@ -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>

View File

@@ -1,42 +0,0 @@
.LP-Place{
.LP-Place__Image{
width: 280px;
height: 165px;
object-fit: fill;
}
.LP-Place__Assets{
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 0.8rem;
padding: 0 10px;
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{
font-family: $-primary-sans-serif-font;
padding: 0;
margin: 0;
margin-top: 5px;
font-size: 0.9rem;
}
}
}

View File

@@ -1,7 +0,0 @@
{
"context": {
"image": "/images/photo_2020-05-02_18-11-21.jpg",
"title": "Kokerei Wiescherhöfen",
"location": "Hamm (Westfalen)"
}
}

View File

@@ -1,20 +0,0 @@
<article class="LP-Place">
<img class="LP-Place__Image" src="{{image}}"/>
<div class="LP-Place__Assets">
<div class="LP-Place__Info">
<h3 class="LP-Place__Title">{{title}}</h3>
<p class="LP-Place__Detail" >{{location}}</p>
</div>
{{# if description}}
<p class="LP-TextSection 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>

View File

@@ -0,0 +1,95 @@
.LP-PlaceTeaser{
width: 280px;
.LP-PlaceTeaser__Image{
height: 165px;
width: 280px;
overflow: hidden;
.LP-Image{
max-width:unset;
max-height:unset;
object-fit: cover;
}
}
.LP-PlaceTeaser__Meta{
display: flex;
align-items: center;
justify-content: space-between;
padding: 5px;
padding-bottom: 10px;
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;
}
}
}

View File

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

View File

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

View File

@@ -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;
}
}
}

View File

@@ -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>

View 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;
}
}
}

View File

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

View 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>

View File

@@ -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."
}
}

View File

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

View File

@@ -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 'form/form';
@import 'imageGrid/imageGrid';

View File

@@ -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;
}

View 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;
}
}
}
}
}

View File

@@ -0,0 +1,3 @@
{
}

View 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>

View File

@@ -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-Header__Logo{
margin: 25px;
.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{
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;
}
}

View File

@@ -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>

View 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;
}
}
}
}

View 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"
]
}
}

View 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>

View File

@@ -1,10 +0,0 @@
.LP-Introduction{
.LP-Headline{
font-size: 2rem;
}
.LP-Text{
font-size: 1.3rem;
}
}

View File

@@ -1,3 +0,0 @@
{
"context": {}
}

View File

@@ -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>

View File

@@ -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;
}

View File

@@ -1,10 +1,15 @@
<ul class="LP-LinkList__List">
<div class="LP-LinkList">
<ul class="LP-LinkList__List">
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">TIM Online</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">Google Maps</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link"><span class="LP-Text">OSM</span></a></li>
<li class="LP-LinkList__Item"><a href="#" class="LP-Link LP-Link--iconized">
<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"
@@ -15,5 +20,24 @@
</g>
</svg>
</div>
<span class="LP-Text">Link hinzufügen</span></a></li>
</ul>
<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>

View File

@@ -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;
}
}
}

View File

@@ -1,4 +1,5 @@
.LP-Place__Grid{
.LP-PlaceGrid{
.LP-PlaceGrid__Grid{
margin: 0;
padding: 0;
list-style-type: none;
@@ -6,20 +7,15 @@
flex-direction: row;
flex-wrap: wrap;
>.LP-Place__Item{
margin: 0 15px;
margin-bottom: 50px;
.LP-PlaceGrid__Item{
margin: 18px;
}
.LP-Link{
.LP-Place__Description{
display:none;
}
.LP-Place{
.LP-PlaceTeaser{
&:hover{
box-shadow: 0 0 8px $-secondary-color;
box-shadow: 0 0 2px $-grey;
}
}
}
}

View File

@@ -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": ""
}
]
}
}

View File

@@ -1,37 +1,12 @@
<div class="LP-Content__Wrapper">
<div class="LP-Content">
<div class="LP-PlaceGrid">
{{> @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>
</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>
<ul class="LP-PlaceGrid__Grid">
{{#each places}}
<li class="LP-PlaceGrid__Item">
<a href="#" class="LP-Link">
{{> @placeteaser image=this.image title=this.name location=this.location description=this.description}}
</a>
</li>
{{/each}}
</ul>
</div>
</div>

View File

@@ -1,58 +1,32 @@
.LP-Place__List{
.LP-PlaceList{
.LP-PlaceList__List{
list-style-type: none;
.LP-Link{
.LP-Place{
&:hover{
color: $-secondary-color;
background-color: $-secondary-background-color;
color: $-grey;
background-color: $-almost-white;
$-hover-offset: 2px;
position: relative;
left: -$-hover-offset;
>.LP-Place__Image{
border-left: $-hover-offset $-secondary-color solid;
border-left: $-hover-offset $-grey solid;
}
}
}
}
.LP-Place__Item{
.LP-PlaceList__Item{
max-width: 900px;
min-width: 450px;
//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-Icon__List{
justify-self: flex-end;
}
}
>.LP-Place__Image{
height:168px;
width: 280px;
}
}
.LP-Pagination{
margin-top: 50px;
}
}

View File

@@ -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": ""
}
]
}
}

View File

@@ -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>
<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>
<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>
{{/each}}
</ul>
{{> @pagination}}
</div>

View File

@@ -1,2 +1,2 @@
@import 'home/home';
@import 'placeOverview/placeOverview';
@import 'placeDetail/placeDetail';

View File

@@ -4,5 +4,12 @@
}
.LP-HorizontalLine{
color: $-secondary-color;
color: $-grey;
}
@media(max-width: $-viewport-small){
.LP-MainContainer {
width: 100%;
}
}

View File

@@ -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": ""
}
]
}
}

View File

@@ -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>

View 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;
}
}
}
}

View 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"
]
}
}

View 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>

View File

@@ -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;
}
}
}
}

View File

@@ -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>

View File

@@ -0,0 +1 @@
@import 'place/place';

View File

View 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"
]
}
}

View 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>

View File

@@ -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}}
</body>
</html>

View File

@@ -1,14 +0,0 @@
$-primary-color: #D7CEC7;
$-secondary-color: #565656;
$-primary-accent-color: #76323F;
$-secondary-accent-color: #C09F80;
$-secondary-background-color: #f9f9f9;
$-primary-sans-serif-font: "Trebuchet MS", Helvetica, sans-serif;
$-primary-serif-font: "Times New Roman", Times, serif;
$-primary-sans-serif-accent-font: Roboto, Arial, sans-serif;
@import '01_Atoms/atoms';
@import '02_Molecules/molecules';
@import '03_Organisms/organisms';
@import '04_Templates/templates';

162
components/main.scss Normal file
View 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

File diff suppressed because it is too large Load Diff

View File

@@ -1,12 +1,14 @@
{
"name": "communitea",
"name": "Lostplaces",
"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"
}

View File

@@ -1,304 +0,0 @@
.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: "Trebuchet MS", 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: "Times New Roman", 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-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: "Trebuchet MS", 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: "Trebuchet MS", 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: "Trebuchet MS", Helvetica, sans-serif;
font-size: 1.2rem; }
.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