2018-07-09 08:22:48 +00:00
|
|
|
@import './assets/styles/global.scss';
|
|
|
|
|
|
|
|
.search-bar {
|
2018-07-11 09:18:07 +00:00
|
|
|
background-color: $blue;
|
|
|
|
background-image: url('/static/img/header-bg.jpg');
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
2018-07-09 08:22:48 +00:00
|
|
|
margin-bottom: calculateRem(56);
|
|
|
|
|
|
|
|
h3 {
|
2018-07-11 09:18:07 +00:00
|
|
|
padding: calculateRem(24) 0 0;
|
2018-07-09 08:22:48 +00:00
|
|
|
text-transform: uppercase;
|
|
|
|
font-family: $secondary-font;
|
2018-07-11 09:18:07 +00:00
|
|
|
font-size: calculateRem(40);
|
|
|
|
color: $red;
|
|
|
|
letter-spacing: 4px;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1.1;
|
|
|
|
|
|
|
|
@media (min-width: $desktop) {
|
|
|
|
font-size: calculateRem(50);
|
|
|
|
letter-spacing: 10px;
|
|
|
|
}
|
2018-07-09 08:22:48 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-07-09 14:29:57 +00:00
|
|
|
.search-form {
|
|
|
|
position: relative;
|
|
|
|
bottom: calculateRem(-24);
|
|
|
|
}
|
|
|
|
|
2018-07-09 08:22:48 +00:00
|
|
|
.search-input {
|
|
|
|
width: 100%;
|
|
|
|
height: calculateRem(48);
|
|
|
|
border: 5px solid #efefef;
|
2018-07-11 09:18:07 +00:00
|
|
|
padding: calculateRem(12);
|
2018-07-09 08:22:48 +00:00
|
|
|
font-size: calculateRem(16);
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
2018-07-09 14:29:57 +00:00
|
|
|
|
|
|
|
.search-clear-button {
|
|
|
|
position: absolute;
|
|
|
|
top: 10%;
|
|
|
|
right: calculateRem(4);
|
|
|
|
height: 80%;
|
|
|
|
border: 0;
|
|
|
|
padding: 0 calculateRem(16);
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: calculateRem(14);
|
|
|
|
background-color: #fff;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|