fixes and first steps towards navigation on the side

This commit is contained in:
reverend 2020-08-04 19:41:47 +02:00
parent 862582c7ba
commit 19c7bc9442

View File

@ -1,9 +1,10 @@
.LP-Menu{ .LP-Menu{
border-left: 1px solid $-light-brown;
.LP-Menu__List { .LP-Menu__List {
list-style-type: none; list-style-type: none;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-around;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
@ -11,7 +12,6 @@
.LP-Menu__Item { .LP-Menu__Item {
padding: 15px 0; padding: 15px 0;
margin: 0; margin: 0;
width: 100px;
text-align: center; text-align: center;
background-color: transparent; background-color: transparent;
} }
@ -24,6 +24,24 @@
color: $-wine-red; 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){ @media(max-width: $-viewport-medium){
@ -32,7 +50,11 @@
.LP-Menu__List{ .LP-Menu__List{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: flex-start justify-content: flex-start;
.LP-Menu__Item{
flex: 1 1 auto;
}
} }
} }
} }