ORIENT/themes/modern2/template/css (old)/components/2-layout/header.scss

75 lines
1.8 KiB
SCSS

.header {
position: relative;
.mobileSearch {
display: none;
}
&::before {
position: absolute;
content: "";
top: 0;
left: 0;
width: 100%;
height: 4px;
background: #00822c;
}
&__inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px 0;
}
&__logo {
width: 120px;
}
&__search {
display: flex;
align-items: center;
&-input {
width: 350px;
position: relative;
input {
width: calc(100% - 60px);
font-family: "roboto";
padding: 14px 40px 14px 20px;
font-size: $h4-size;
line-height: $h4-size;
color: rgba($color: $text-light-black, $alpha: 0.3);
border-radius: 5px;
border: 1px solid #c9c9c9;
&::placeholder {
font-family: "roboto";
font-size: $h4-size;
line-height: $h4-size;
color: rgba($color: $text-light-black, $alpha: 0.3);
}
}
}
&-btn {
position: absolute;
top: 50%;
right: 20px;
@include transformY;
svg {
width: 18px;
height: 18px;
fill: $text-light-black;
}
}
}
&__slogan {
font-family: "Oswald", sans-serif;
color: $main-color;
font-weight: 700;
font-size: 40px;
line-height: 40px;
margin-right: 20px;
letter-spacing: -1.5px;
}
.hamBtn {
display: none;
}
}
.searchModal {
display: none;
}