lostplaces-frontend/components/03_Organisms/header/_header.scss

61 lines
1.0 KiB
SCSS
Raw Normal View History

2020-08-04 23:47:39 +02:00
$-logo-height: 45px;
2020-07-17 17:55:46 +02:00
.LP-Header {
display: flex;
align-items: center;
justify-content: space-between;
2020-08-02 23:02:25 +02:00
height: 60px;
2020-08-13 23:44:06 +02:00
box-shadow: 0 0 2px $-light-brown;
grid-area: header;
2020-08-04 19:42:13 +02:00
&__Navigation{
flex-grow: 2;
}
2020-08-02 23:02:25 +02:00
2020-07-17 17:55:46 +02:00
&__Logo {
2020-08-04 23:47:39 +02:00
height: $-logo-height;
2020-08-02 23:02:25 +02:00
margin: 25px;
object-fit:cover;
max-height: 100%;
2020-08-04 23:47:39 +02:00
width: 225px;
2020-08-02 23:02:25 +02:00
overflow: hidden;
2020-08-04 19:42:13 +02:00
flex-shrink: 0;
2020-08-02 23:02:25 +02:00
.LP-Image{
2020-08-04 23:47:39 +02:00
height: 100%;
2020-08-02 23:02:25 +02:00
}
2020-07-17 17:55:46 +02:00
}
2020-08-02 23:02:25 +02:00
}
2020-07-17 17:55:46 +02:00
2020-08-04 19:42:13 +02:00
.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;
}
}
2020-08-02 23:02:25 +02:00
@media(max-width: $-viewport-medium){
2020-07-27 10:23:58 +02:00
.LP-Header__Logo{
2020-08-04 23:47:39 +02:00
width: $-logo-height;
2020-08-02 23:02:25 +02:00
.LP-Image{
object-position: 0 0;
object-fit: cover;
}
}
}
@media(max-width: $-viewport-extra-small){
.LP-Header__Logo{
display: none;
}
.LP-Header__Navigation{
width: 100%;
2020-07-17 17:55:46 +02:00
}
}