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

93 lines
1.9 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;
2020-08-16 10:30:55 +02:00
}
2020-08-02 23:01:39 +02:00
.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{
2020-08-05 13:19:00 +02:00
border-top: 1px solid $-light-brown;
border-left: none;
2020-08-04 23:47:14 +02:00
min-width: 60px;
background-color: $-almost-white;
2020-08-05 18:23:08 +02:00
padding-top: 25px;
2020-08-05 13:19:00 +02:00
.LP-Menu__List{
flex-direction: column;
.LP-Menu__Item{
text-align: left;
margin-bottom: 10px;
2020-08-04 23:47:14 +02:00
padding-left: 25px;
2020-08-07 11:24:00 +02:00
&--additional{
background-color: #ccc;
}
2020-08-05 13:19:00 +02:00
.LP-Link{
line-height: 1em;
}
&:last-child{
margin-bottom: 0;
}
2020-08-04 20:05:12 +02:00
2020-08-04 23:47:14 +02:00
&:hover{
2020-08-05 13:19:00 +02:00
border-right: 2px solid $-light-brown;
2020-08-04 23:47:14 +02:00
position: relative;
background-color: $-beige;
2020-08-07 11:24:00 +02:00
color: $-wine-red;
2020-08-04 20:05:12 +02:00
}
2020-08-07 11:24:00 +02:00
}
}
}
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;
}
}
}