This repository has been archived on 2025-03-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gardev-startpage/src/components/widgets/Search.module.css
Georgi Gardev 8c19e4e66c Redesign
2023-11-18 15:06:28 +02:00

27 lines
565 B
CSS

.Search {
padding: 10px 20px;
width: max(40vw, 300px);
border: 0;
font-size: 1rem;
backdrop-filter: blur(10px);
background-color: rgba(0, 0, 0, 0.2);
border-bottom: 2px solid rgba(0, 0, 0, 0.2);
color: var(--color-text);
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.Search::placeholder {
color: var(--color-text);
color: rgba(255, 255, 255, 0.4);
}
.Search:focus-within {
outline: 0;
}
.Search:focus-within, .Search:hover {
border-color: var(--color-text);
background-color: rgba(0, 0, 0, 0.6);
}