lostplaces-frontend/components/02_Molecules/navigation/_navigation.scss

99 lines
2.1 KiB
SCSS

.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-Paragraph {
margin-bottom: 0;
}
.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;
transition: background .2s;
&--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;
}
}
}