forked from extern/the-glorious-startpage
* fix paddings on screen * fix test Variable Assigned to Object Injection Sink * fix parse int missing base * fix security issues(regex not included) * fix missing base * fixes padding * minor fixes * regex * cleanup * minor cleanup in webmenu * cleanups * cleanups spaces to tab * cleanups * spacing tabs fixes test * cleanup * cleanup * multitransition new line * cleanup * cleanup * cleanup * cleanup * readme * comments * cleanup * Avoid assignments in operands * cleanup
67 lines
1.1 KiB
CSS
67 lines
1.1 KiB
CSS
.searchBoxContainer {
|
|
width: 100%;
|
|
height: auto;
|
|
top: 40%;
|
|
|
|
opacity: 0;
|
|
position: absolute;
|
|
|
|
pointer-events: none;
|
|
|
|
transition:
|
|
opacity var(--transition-speed),
|
|
top var(--transition-speed),
|
|
pointer-events var(--transition-speed);
|
|
}
|
|
|
|
#searchBox {
|
|
width: 350px;
|
|
height: 48px;
|
|
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
/* Center horizontally */
|
|
position: relative;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
|
|
background: var(--base-bg);
|
|
color: var(--base-color);
|
|
text-align: center;
|
|
font-family: roboto-bold, sans-serif;
|
|
font-weight: 700;
|
|
|
|
border: none;
|
|
border-radius: 24px;
|
|
|
|
transition: all var(--transition-speed);
|
|
|
|
backdrop-filter: blur(var(--blur-strength));
|
|
}
|
|
|
|
#searchBox::placeholder {
|
|
font-family: roboto-bold, fantasque-sans-mono, sans-serif;
|
|
font-weight: 700;
|
|
}
|
|
|
|
#searchBoxContainer.showSearchBox {
|
|
opacity: 1;
|
|
top: 70%;
|
|
pointer-events: initial;
|
|
}
|
|
|
|
@media screen and (max-width: 470px) {
|
|
#searchBox {
|
|
width: 50vw;
|
|
}
|
|
|
|
#searchBoxContainer.showSearchBox {
|
|
opacity: 1;
|
|
top: 65%;
|
|
pointer-events: initial;
|
|
}
|
|
}
|