2020-06-06 01:14:21 +02:00
|
|
|
#searchBoxContainer {
|
2020-06-06 03:18:08 +02:00
|
|
|
|
|
|
|
width: 100%;
|
2020-06-06 01:14:21 +02:00
|
|
|
height: auto;
|
2020-06-06 03:18:08 +02:00
|
|
|
top: 60%;
|
2020-06-06 01:14:21 +02:00
|
|
|
|
2020-06-04 03:13:56 +02:00
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
2020-06-06 01:14:21 +02:00
|
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
2020-06-04 03:54:39 +02:00
|
|
|
transition: opacity var(--transition-speed),
|
|
|
|
top var(--transition-speed),
|
|
|
|
pointer-events var(--transition-speed);
|
2020-06-04 03:13:56 +02:00
|
|
|
}
|
|
|
|
|
2020-06-06 01:14:21 +02:00
|
|
|
#searchBox {
|
|
|
|
width: 30vw;
|
|
|
|
height: 48px;
|
|
|
|
|
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
|
|
|
|
2020-06-06 03:18:08 +02:00
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
/*Center horizontally*/
|
|
|
|
position: relative;
|
|
|
|
left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
2020-06-06 01:14:21 +02:00
|
|
|
background: var(--base-bg);
|
|
|
|
color: var(--base-color);
|
|
|
|
text-align: center;
|
|
|
|
font-family: roboto-bold, sans-serif;
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
border-radius: 24px;
|
|
|
|
|
|
|
|
backdrop-filter: blur(var(--blur-strength));
|
|
|
|
}
|
|
|
|
|
2020-06-05 04:39:40 +02:00
|
|
|
#searchBox::placeholder {
|
2020-06-05 05:13:41 +02:00
|
|
|
font-family: roboto-bold, fantasque-sans-mono, sans-serif;
|
2020-06-05 04:39:40 +02:00
|
|
|
}
|
|
|
|
|
2020-06-04 03:54:39 +02:00
|
|
|
.showSearchBox {
|
|
|
|
opacity: 1 !important;
|
2020-06-06 03:18:08 +02:00
|
|
|
top: 90% !important;
|
2020-06-04 03:54:39 +02:00
|
|
|
pointer-events: initial !important;
|
2020-06-04 03:13:56 +02:00
|
|
|
}
|
2020-06-04 06:44:21 +02:00
|
|
|
|
|
|
|
@media screen and (max-width: 580px) {
|
|
|
|
#searchBox {
|
|
|
|
width: 50vw;
|
|
|
|
}
|
2020-06-06 03:18:08 +02:00
|
|
|
|
|
|
|
.showSearchBox {
|
|
|
|
opacity: 1 !important;
|
|
|
|
top: 70% !important;
|
|
|
|
pointer-events: initial !important;
|
|
|
|
}
|
2020-06-04 06:44:21 +02:00
|
|
|
}
|
|
|
|
|