hubl/src/styles/header.scss

87 lines
1.3 KiB
SCSS

#header {
background-color: $color-white;
color: $color-black;
//position: relative;
//@include border-shadow(bottom);
box-shadow: 0 2px 4px rgba(148, 98, 98, 0.09);
border: solid $color-white;
border-width: 1px 0;
display: flex;
//flex-grow: 0;
//flex-basis : 150px;
flex-shrink: 0;
align-items: center;
padding: 1em 0.4em;
position: relative;
> * {
padding: 0 1.8rem;
}
}
#button-toggle {
@include icon('menu');
display: none;
color: $color-black;
font-size: 2em;
padding: 0.72em;
cursor: pointer;
}
#logo {
flex: 1 1 0;
}
#notifications-button {
@include icon(bell);
font-size: 2em;
cursor: pointer;
list-style-type: none;
position: relative;
.menu-notification {
position: absolute;
top: -3px;
left: 3px;
}
}
#notifications {
position: absolute;
right: 0;
bottom: 0;
height: 0;
left: 0;
z-index: 1;
> div {
position: absolute;
top: 0;
right: 0;
}
}
#profile {
> * {
vertical-align: middle;
}
img {
width: 48px;
height: 48px;
object-fit: cover;
object-position: center;
border-radius: 100%;
margin-right: 1rem;
}
span {
color: $color-black;
font-size: 16px;
font-weight: 600;
letter-spacing: 0.38px;
padding: 0 0.5rem;
}
}