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

78 lines
1.6 KiB
SCSS
Raw Normal View History

2020-08-02 23:01:39 +02:00
.LP-Menu{
border-left: 1px solid $-light-brown;
2020-08-02 23:01:39 +02:00
.LP-Menu__List {
list-style-type: none;
display: flex;
flex-direction: row;
justify-content: space-around;
2020-08-02 23:01:39 +02:00
padding: 0;
margin: 0;
}
.LP-Menu__Item {
margin: 0;
text-align: center;
background-color: transparent;
2020-08-04 20:05:12 +02:00
.LP-Link{
display: block;
padding: 15px 0;
}
2020-08-02 23:01:39 +02:00
}
.LP-Link__Text {
color: $-grey;
font-weight: bold;
text-shadow: 0px 0px 20px white;
&:hover{
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;
}
2020-08-04 20:05:12 +02:00
.LP-Link:hover{
background-color: $-almost-white;
}
}
}
}
2020-08-02 23:01:39 +02:00
}
@media(max-width: $-viewport-medium){
.LP-Menu{
2020-08-04 20:05:12 +02:00
&:not(&--sidebar){
.LP-Menu__List{
display: flex;
flex-direction: row;
justify-content: flex-start;
2020-08-02 23:01:39 +02:00
2020-08-04 20:05:12 +02:00
.LP-Menu__Item{
flex: 1 1 auto;
}
}
2020-08-02 23:01:39 +02:00
}
}
}
@media(max-width: $-viewport-extra-small){
.LP-Menu{
.LP-Menu__List {
justify-content: space-between;
}
}
}