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

71 lines
1.3 KiB
SCSS

$-logo-height: 45px;
.LP-Header {
display: flex;
align-items: center;
justify-content: space-between;
height: 60px;
box-shadow: 0 0 2px $-light-brown;
grid-area: header;
background-color: white;
padding-left: 25px;
&__Navigation{
flex-grow: 2;
}
&__Logo {
height: $-logo-height;
object-fit:cover;
max-height: 100%;
width: 225px;
overflow: hidden;
flex-shrink: 0;
.LP-Image{
height: 100%;
}
}
}
.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;
}
}
@media(max-width: $-viewport-medium){
.LP-Header__Logo{
width: $-logo-height;
.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%;
}
}
@media(max-width: $-viewport-toggle-sidebar){
.LP-Header{
padding-left: 60px;
width: calc(100% - 60px);
position: fixed;
z-index: 10;
}
}