ETHReport/components/searchBar/style.scss

52 lines
918 B
SCSS

@import './assets/styles/global.scss';
.search-bar {
background-color: #efefef;
margin-bottom: calculateRem(56);
h3 {
padding: calculateRem(32) 0 0;
text-align: center;
text-transform: uppercase;
font-family: $secondary-font;
font-size: calculateRem(36);
}
}
.search-form {
position: relative;
bottom: calculateRem(-24);
}
.search-input {
width: 100%;
height: calculateRem(48);
border: 5px solid #efefef;
padding: calculateRem(12) calculateRem(100) calculateRem(12) calculateRem(12);
font-size: calculateRem(16);
&:focus,
&:active {
outline: none;
}
}
.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;
}
}