#header { align-items: center; background-color: $color-white; color: $color-dark-lava; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.09); display: flex; flex-shrink: 0; padding: 1.6rem 0.64rem; position: relative; z-index: 1; > *:not(sib-widget) { padding: 0 2.5rem; } } #button-toggle { color: $color-dark-lava; cursor: pointer; display: none; font-size: 3.2rem; padding: 2.3rem; @include icon('menu'); } #logo { flex: 1 1 0; } #search-bar { position: relative; #search-input { border-radius: 10em; padding: 0.64rem 1.28rem; border: 1px solid $color-bombay; height: 3.8rem; width: 28rem; -webkit-appearance: textfield; & ~ #close-search-icon, & ~ #search-icon { color: $color-bombay; display: block; font-size: 1.7rem; margin: auto; position: absolute; right: 3.7rem; top: 50%; transform: translateY(-50%); -webkit-text-stroke: 1px $color-bombay; } & ~ #close-search-icon { opacity: 0; } &:focus { & ~ #close-search-icon { opacity: 1; } & ~ #search-icon { visibility: hidden; } } } } details { cursor: pointer; summary { &::-moz-list-bullet { list-style-type: none; } &::-webkit-details-marker { display: none; } } } details { position: relative; .sib-notifications__button { @include icon('bell'); font-size: 3rem; &::before { margin-left: 0; } img { display: none; } .sib-notifications__counter { left: 2.1rem; position: absolute; top: -3px; } } .sib-notifications__list { position: absolute; right: 0; top: 5.6rem; } } details#user-controls { summary:focus { background-color: $color-purple-dark; color: $color-white; outline: none; } #user-controls__profile { div { display: flex; flex-direction: row-reverse; > * { vertical-align: middle; } img { border-radius: 100%; height: 4.8rem; margin-right: 2rem; object-fit: cover; object-position: center; width: 4.8rem; } sib-display-value[name='first_name'] { @include icon('arrow-down'); align-items: center; display: flex; flex-direction: row-reverse; font-size: 1.8rem; font-weight: 600; &::before { margin-left: 1.5rem; } } } } #user-controls__panel { height: 0; position: absolute; right: 0; z-index: 1; > nav { background-color: $color-white; box-shadow: 0 7px 8px 0 rgba(0, 0, 0, 0.16); position: absolute; right: 0; top: 0; width: 208px; ul { list-style: none; margin: 0; padding: 0; li { border-bottom: 1px solid $color-213-20-91; margin-right: 0; padding: 1.6rem 1.3rem; a { color: $color-text-base; text-decoration: none; } } } button { color: $color-text-base; padding: 1.6rem 1.3rem; text-align: left; width: 100%; } } } &[open] { background-color: $color-purple-dark; color: $color-white; #user-controls__profile { div { sib-display-value[name='first_name'] { @include icon('close'); &::before { margin-left: 1.5rem; } } } } } }