Compare commits
No commits in common. "6f3fb3850f5a3c84f74034ba664b2f594d6cf8e8" and "ad17e48049bbfea462d74e2c7af2f7131d9ee226" have entirely different histories.
6f3fb3850f
...
ad17e48049
@ -1,13 +1,13 @@
|
||||
.LP-Link {
|
||||
color: $-grey;
|
||||
text-decoration: none;
|
||||
font-family: $-primary-sans-serif-font;
|
||||
font-family: $-primary-sans-serif-accent-font;
|
||||
&:hover {
|
||||
color: $-light-brown;
|
||||
}
|
||||
|
||||
.LP-Paragraph{
|
||||
font-family: $-primary-sans-serif-font;
|
||||
.LP-Text{
|
||||
font-family: $-primary-sans-serif-accent-font;
|
||||
&:hover{
|
||||
color: $-light-brown;
|
||||
}
|
||||
|
@ -1,10 +1,9 @@
|
||||
.LP-Menu{
|
||||
border-left: 1px solid $-light-brown;
|
||||
.LP-Menu__List {
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
justify-content: space-between;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
@ -12,6 +11,7 @@
|
||||
.LP-Menu__Item {
|
||||
padding: 15px 0;
|
||||
margin: 0;
|
||||
width: 100px;
|
||||
text-align: center;
|
||||
background-color: transparent;
|
||||
}
|
||||
@ -24,24 +24,6 @@
|
||||
color: $-wine-red;
|
||||
}
|
||||
}
|
||||
|
||||
&--sidebar{
|
||||
border: none;
|
||||
min-width: 80px;
|
||||
.LP-Menu__List{
|
||||
flex-direction: column;
|
||||
|
||||
.LP-Menu__Item{
|
||||
text-align: left;
|
||||
border-left: 1px solid $-light-brown;
|
||||
margin-bottom: 10px;
|
||||
|
||||
&:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $-viewport-medium){
|
||||
@ -50,11 +32,7 @@
|
||||
.LP-Menu__List{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
|
||||
.LP-Menu__Item{
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
justify-content: flex-start
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,11 +1,3 @@
|
||||
{
|
||||
"title": "Navigation",
|
||||
"variants": [
|
||||
{
|
||||
"name": "Sidebar",
|
||||
"context":{
|
||||
"modifier": "--sidebar"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
<nav class="LP-Menu LP-Menu{{modifier}}">
|
||||
<nav class="LP-Menu">
|
||||
<ul class="LP-Menu__List">
|
||||
<li class="LP-Menu__Item">{{> @link text='Home'}}</li>
|
||||
<li class="LP-Menu__Item">{{> @link text='About'}}</li>
|
||||
|
@ -5,17 +5,12 @@
|
||||
margin-bottom: 70px;
|
||||
height: 60px;
|
||||
|
||||
&__Navigation{
|
||||
flex-grow: 2;
|
||||
}
|
||||
|
||||
&__Logo {
|
||||
height: 60px;
|
||||
margin: 25px;
|
||||
object-fit:cover;
|
||||
max-height: 100%;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
|
||||
.LP-Image{
|
||||
height: 60px;
|
||||
@ -23,19 +18,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.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: 60px;
|
||||
|
@ -2,11 +2,6 @@
|
||||
<div class="LP-Header__Logo">
|
||||
{{> @image source='/images/logo.png'}}
|
||||
</div>
|
||||
<div class="LP-Header__UserInformation">
|
||||
<span class="LP-Paragraph">
|
||||
Hi there!{{> @link url="#" text="Login"}} or {{> @link url="#" text="Sign up"}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="LP-Header__Navigation">
|
||||
{{> @navigation}}
|
||||
</div>
|
||||
|
@ -9,12 +9,12 @@
|
||||
.LP-Link {
|
||||
color: #565656;
|
||||
text-decoration: none;
|
||||
font-family: Montserrat, Helvetica, sans-serif; }
|
||||
font-family: Roboto, Arial, sans-serif; }
|
||||
.LP-Link:hover {
|
||||
color: #C09F80; }
|
||||
.LP-Link .LP-Paragraph {
|
||||
font-family: Montserrat, Helvetica, sans-serif; }
|
||||
.LP-Link .LP-Paragraph:hover {
|
||||
.LP-Link .LP-Text {
|
||||
font-family: Roboto, Arial, sans-serif; }
|
||||
.LP-Link .LP-Text:hover {
|
||||
color: #C09F80; }
|
||||
|
||||
.LP-Link__IconWrapper {
|
||||
@ -229,45 +229,33 @@
|
||||
.LP-TagList .LP-TagList__List .LP-TagList__Item {
|
||||
margin: 6px; }
|
||||
|
||||
.LP-Menu {
|
||||
border-left: 1px solid #C09F80; }
|
||||
.LP-Menu .LP-Menu__List {
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-around;
|
||||
justify-content: space-between;
|
||||
padding: 0;
|
||||
margin: 0; }
|
||||
|
||||
.LP-Menu .LP-Menu__Item {
|
||||
padding: 15px 0;
|
||||
margin: 0;
|
||||
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-Menu--sidebar {
|
||||
border: none;
|
||||
min-width: 80px; }
|
||||
.LP-Menu--sidebar .LP-Menu__List {
|
||||
flex-direction: column; }
|
||||
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item {
|
||||
text-align: left;
|
||||
border-left: 1px solid #C09F80;
|
||||
margin-bottom: 10px; }
|
||||
.LP-Menu--sidebar .LP-Menu__List .LP-Menu__Item:last-child {
|
||||
margin-bottom: 0; }
|
||||
|
||||
@media (max-width: 750px) {
|
||||
.LP-Menu .LP-Menu__List {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start; }
|
||||
.LP-Menu .LP-Menu__List .LP-Menu__Item {
|
||||
flex: 1 1 auto; } }
|
||||
justify-content: flex-start; } }
|
||||
|
||||
@media (max-width: 450px) {
|
||||
.LP-Menu .LP-Menu__List {
|
||||
@ -279,27 +267,15 @@
|
||||
justify-content: space-between;
|
||||
margin-bottom: 70px;
|
||||
height: 60px; }
|
||||
.LP-Header__Navigation {
|
||||
flex-grow: 2; }
|
||||
.LP-Header__Logo {
|
||||
height: 60px;
|
||||
margin: 25px;
|
||||
object-fit: cover;
|
||||
max-height: 100%;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0; }
|
||||
overflow: hidden; }
|
||||
.LP-Header__Logo .LP-Image {
|
||||
height: 60px; }
|
||||
|
||||
.LP-Header__UserInformation {
|
||||
margin-right: 3%; }
|
||||
.LP-Header__UserInformation .LP-Paragraph {
|
||||
font-family: Montserrat, Helvetica, sans-serif;
|
||||
white-space: nowrap; }
|
||||
.LP-Header__UserInformation .LP-Link {
|
||||
margin: 0 3px;
|
||||
padding: 4px 4px; }
|
||||
|
||||
@media (max-width: 750px) {
|
||||
.LP-Header__Logo {
|
||||
width: 60px; }
|
||||
|
Loading…
Reference in New Issue
Block a user