uff
This commit is contained in:
parent
ba56976420
commit
0ca397071a
@ -7,7 +7,4 @@
|
|||||||
Hi there!{{> @link url="#" text="Login"}} or {{> @link url="#" text="Sign up"}}
|
Hi there!{{> @link url="#" text="Login"}} or {{> @link url="#" text="Sign up"}}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="LP-Header__Navigation">
|
|
||||||
{{> @navigation}}
|
|
||||||
</div>
|
|
||||||
</header>
|
</header>
|
22
components/05_Pages/_pages.scss
Normal file
22
components/05_Pages/_pages.scss
Normal 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';
|
0
components/05_Pages/placeDetail/_placeDetail.scss
Normal file
0
components/05_Pages/placeDetail/_placeDetail.scss
Normal file
1
components/05_Pages/placeDetail/placeDetail.config.json
Normal file
1
components/05_Pages/placeDetail/placeDetail.config.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
9
components/05_Pages/placeDetail/placeDetail.hbs
Normal file
9
components/05_Pages/placeDetail/placeDetail.hbs
Normal 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>
|
@ -6,6 +6,15 @@
|
|||||||
font-family: Montserrat;
|
font-family: Montserrat;
|
||||||
src: url("fonts/Montserrat/Montserrat-Regular.otf"), url("fonts/Montserrat/Montserrat-Bold.otf"), url("fonts/Montserrat/Montserrat-Italic.otf"); }
|
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 {
|
.LP-Link {
|
||||||
color: #565656;
|
color: #565656;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -252,18 +261,26 @@
|
|||||||
.LP-Menu .LP-Link__Text:hover {
|
.LP-Menu .LP-Link__Text:hover {
|
||||||
color: #76323F; }
|
color: #76323F; }
|
||||||
.LP-Menu--sidebar {
|
.LP-Menu--sidebar {
|
||||||
border: none;
|
border-top: 1px solid #C09F80;
|
||||||
min-width: 80px; }
|
min-width: 60px;
|
||||||
|
background-color: #f9f9f9;
|
||||||
|
height: 100%; }
|
||||||
.LP-Menu--sidebar .LP-Menu__List {
|
.LP-Menu--sidebar .LP-Menu__List {
|
||||||
|
margin-left: 25px;
|
||||||
|
margin-top: 25px;
|
||||||
flex-direction: column; }
|
flex-direction: column; }
|
||||||
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item {
|
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item {
|
||||||
text-align: left;
|
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 {
|
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item:last-child {
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0; }
|
||||||
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item .LP-Link:hover {
|
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item:hover {
|
||||||
background-color: #f9f9f9; }
|
border-left: 2px solid #C09F80;
|
||||||
|
position: relative;
|
||||||
|
background-color: #D7CEC7;
|
||||||
|
left: -2px; }
|
||||||
|
|
||||||
@media (max-width: 750px) {
|
@media (max-width: 750px) {
|
||||||
.LP-Menu:not(.LP-Menu--sidebar) .LP-Menu__List {
|
.LP-Menu:not(.LP-Menu--sidebar) .LP-Menu__List {
|
||||||
@ -281,19 +298,20 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 70px;
|
height: 60px;
|
||||||
height: 60px; }
|
box-shadow: 0 0 2px #C09F80; }
|
||||||
.LP-Header__Navigation {
|
.LP-Header__Navigation {
|
||||||
flex-grow: 2; }
|
flex-grow: 2; }
|
||||||
.LP-Header__Logo {
|
.LP-Header__Logo {
|
||||||
height: 60px;
|
height: 45px;
|
||||||
margin: 25px;
|
margin: 25px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
max-height: 100%;
|
max-height: 100%;
|
||||||
|
width: 225px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
flex-shrink: 0; }
|
flex-shrink: 0; }
|
||||||
.LP-Header__Logo .LP-Image {
|
.LP-Header__Logo .LP-Image {
|
||||||
height: 60px; }
|
height: 100%; }
|
||||||
|
|
||||||
.LP-Header__UserInformation {
|
.LP-Header__UserInformation {
|
||||||
margin-right: 3%; }
|
margin-right: 3%; }
|
||||||
@ -306,7 +324,7 @@
|
|||||||
|
|
||||||
@media (max-width: 750px) {
|
@media (max-width: 750px) {
|
||||||
.LP-Header__Logo {
|
.LP-Header__Logo {
|
||||||
width: 60px; }
|
width: 45px; }
|
||||||
.LP-Header__Logo .LP-Image {
|
.LP-Header__Logo .LP-Image {
|
||||||
object-position: 0 0;
|
object-position: 0 0;
|
||||||
object-fit: cover; } }
|
object-fit: cover; } }
|
||||||
@ -496,3 +514,17 @@
|
|||||||
height: auto;
|
height: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 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%; }
|
||||||
|
Loading…
Reference in New Issue
Block a user