Newer
Older
.button--search {
align-items: center;
background: transparent;
border: 0 none;
display: flex;
padding: 12px;
flex-direction: row;
@include breakpoint($narrow) {
padding: 15px 5px;
}
@include breakpoint($wide) {
flex-direction: row-reverse;
&:focus {
outline: solid 2px var(--additional-yellow);
outline-offset: 2px;
}
}
&.is-open--menu {
position: absolute;
right: 50px;
top: 15px;
z-index: 101;
}
&__label {
@include font-size(14px, 14px);
@include font-weight($bold);
color: var(--site-logo-color);
display: none;
font-family: var(--main-font-family);
letter-spacing: -0.9px;
margin-left: 4px;
text-transform: uppercase;
}
@include breakpoint($wide) {
@include breakpoint($xlarge) {
@include font-size(14px, 24px);
letter-spacing: -0.5px;
}
}
svg {
height: 20px;
width: 20px;
@include breakpoint($wide) {
height: 16px;
width: 16px;
}
@include breakpoint($extrawide) {
height: 12px;
width: 12px;
}
@include breakpoint($xlarge) {
.site-search {
&__panel {
display: none;
&__is-open {
background-color: var(--grayscale-white);
border: 1px solid rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
left: 0;
position: absolute;
width: 100%;
z-index: 520;
}
&__title {
background-color: #f8f8f8;
display: flex;
flex-direction: row;
justify-content: space-between;
.label {
}
.site-search__panel__panel-toggle {
}
}
}
}