This commit is contained in:
reverend 2020-08-04 23:47:51 +02:00
parent ba56976420
commit 0ca397071a
6 changed files with 75 additions and 14 deletions

View File

@ -7,7 +7,4 @@
Hi there!{{> @link url="#" text="Login"}} or {{> @link url="#" text="Sign up"}}
</span>
</div>
<div class="LP-Header__Navigation">
{{> @navigation}}
</div>
</header>

View File

@ -0,0 +1,22 @@
$-sidebar-width: 250px;
.LP-Main{
display: flex;
flex-direction: row-reverse;
height: calc(100% - 61px);
.LP-Main__Content{
flex-grow: 1;
width: calc(100% -300px);
min-height: 1px;
}
.LP-Main__Navigation{
flex-shrink: 0;
width: $-sidebar-width;
flex-grow: 0;
height: 100%;
}
}
@import 'placeDetail/placeDetail';

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,9 @@
{{> @header}}
<article class="LP-Main">
<section class="LP-Main__Content">
</section>
<section class="LP-Main__Navigation">
{{> @navigation modifier='--sidebar'}}
</section>
</article>

View File

@ -6,6 +6,15 @@
font-family: Montserrat;
src: url("fonts/Montserrat/Montserrat-Regular.otf"), url("fonts/Montserrat/Montserrat-Bold.otf"), url("fonts/Montserrat/Montserrat-Italic.otf"); }
html {
height: 100%;
margin: 0;
padding: 0; }
body {
height: 100%;
margin: 0; }
.LP-Link {
color: #565656;
text-decoration: none;
@ -252,18 +261,26 @@
.LP-Menu .LP-Link__Text:hover {
color: #76323F; }
.LP-Menu--sidebar {
border: none;
min-width: 80px; }
border-top: 1px solid #C09F80;
min-width: 60px;
background-color: #f9f9f9;
height: 100%; }
.LP-Menu--sidebar .LP-Menu__List {
margin-left: 25px;
margin-top: 25px;
flex-direction: column; }
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item {
text-align: left;
border-left: 1px solid #C09F80;
margin-bottom: 10px; }
margin-bottom: 10px;
padding: 5px;
padding-left: 25px; }
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item:last-child {
margin-bottom: 0; }
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item .LP-Link:hover {
background-color: #f9f9f9; }
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item:hover {
border-left: 2px solid #C09F80;
position: relative;
background-color: #D7CEC7;
left: -2px; }
@media (max-width: 750px) {
.LP-Menu:not(.LP-Menu--sidebar) .LP-Menu__List {
@ -281,19 +298,20 @@
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 70px;
height: 60px; }
height: 60px;
box-shadow: 0 0 2px #C09F80; }
.LP-Header__Navigation {
flex-grow: 2; }
.LP-Header__Logo {
height: 60px;
height: 45px;
margin: 25px;
object-fit: cover;
max-height: 100%;
width: 225px;
overflow: hidden;
flex-shrink: 0; }
.LP-Header__Logo .LP-Image {
height: 60px; }
height: 100%; }
.LP-Header__UserInformation {
margin-right: 3%; }
@ -306,7 +324,7 @@
@media (max-width: 750px) {
.LP-Header__Logo {
width: 60px; }
width: 45px; }
.LP-Header__Logo .LP-Image {
object-position: 0 0;
object-fit: cover; } }
@ -496,3 +514,17 @@
height: auto;
margin: 0;
padding: 0; } }
.LP-Main {
display: flex;
flex-direction: row-reverse;
height: calc(100% - 61px); }
.LP-Main .LP-Main__Content {
flex-grow: 1;
width: calc(100% -300px);
min-height: 1px; }
.LP-Main .LP-Main__Navigation {
flex-shrink: 0;
width: 250px;
flex-grow: 0;
height: 100%; }