hubl/src/styles/header.scss

106 lines
1.6 KiB
SCSS
Raw Normal View History

#header {
background-color: $color-white;
color: $color-dark-lava;
//position: relative;
//@include border-shadow(bottom);
2018-12-07 09:05:33 +00:00
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;
2018-12-07 16:25:05 +00:00
position: relative;
z-index: 1;
> * {
padding: 0 1.8rem;
}
}
#button-toggle {
@include icon('menu');
display: none;
color: $color-dark-lava;
font-size: 2em;
padding: 0.72em;
cursor: pointer;
}
#logo {
flex: 1 1 0;
}
details summary::-webkit-details-marker {
display:none;
}
#notifications-button {
@include icon(bell);
font-size: 2em;
cursor: pointer;
list-style-type: none;
2018-12-06 18:47:32 +00:00
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 {
2018-12-16 00:28:51 +00:00
div {
display: flex;
flex-direction: row-reverse;
2018-12-16 00:28:51 +00:00
> * {
vertical-align: middle;
}
img {
width: 48px;
height: 48px;
object-fit: cover;
object-position: center;
border-radius: 100%;
margin-right: 1rem;
}
sib-display-div[name='first_name'] {
align-items: center;
display: flex;
div[name='first_name'] {
font-size: 16px;
font-weight: 600;
@include icon('arrow-down');
&::before {
color: color-dark-lava;
margin-left: 10px;
}
2018-12-16 00:28:51 +00:00
}
2018-12-16 00:28:51 +00:00
}
}
}