ETHReport/components/searchBar/style.scss

63 lines
1.1 KiB
SCSS
Raw Normal View History

@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;
margin-bottom: calculateRem(56);
h3 {
2018-07-11 09:18:07 +00:00
padding: calculateRem(24) 0 0;
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 14:29:57 +00:00
.search-form {
position: relative;
bottom: calculateRem(-24);
}
.search-input {
width: 100%;
height: calculateRem(48);
border: 5px solid #efefef;
2018-07-11 09:18:07 +00:00
padding: calculateRem(12);
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;
}
}