Rev 6635 | Rev 6709 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@use "../../../../styles/breakpoints.scss";
.header {
align-items: center;
background-color: $bg-color;
border-bottom: solid 1px $border-primary;
box-shadow: $shadow;
display: flex;
flex-wrap: wrap;
gap: 1rem;
height: auto;
justify-content: space-between;
margin-bottom: 1rem;
padding: 1rem 5% 0;
position: relative;
width: 100%;
}
.logo {
height: 65px;
order: 1;
img {
height: 100%;
}
}
.hamburgerIcon {
color: $font-color;
font-size: 1.5rem;
order: 3;
}
.badge {
top: 0%;
left: 50%;
font-size: 0.7rem;
transform: translateX(-80%);
background-color: $danger;
color: #fff;
border-radius: 100px;
position: absolute;
}
.searchInputContainer {
font-size: 0.9rem;
min-width: 65%;
flex: 1;
order: 1;
form {
display: flex;
align-items: center;
width: 100%;
position: relative;
}
input {
width: 100%;
padding: 0.2rem 1rem 0.2rem 2rem;
border-radius: 30px;
background-color: $bg-color;
color: $font-color;
border: 1px solid $border-primary;
&::placeholder {
color: $font-color;
}
}
button {
font-size: 1rem;
color: $font-color;
border: none;
position: absolute;
left: 0.5rem;
top: 50%;
transform: translateY(-50%);
}
}
@include breakpoints.maxwidth("medium") {
.logo {
max-width: 317px;
}
.searchInputContainer input {
padding: 0.4rem 1rem 0.4rem 2rem;
}
}
@include breakpoints.maxwidth("desktop") {
.searchInputContainer {
order: 3;
min-width: auto;
flex: inherit;
}
.header {
padding: 0 5%;
flex-wrap: nowrap;
}
}