mirror of
https://github.com/mue/mue.git
synced 2026-07-08 21:24:57 +02:00
39 lines
643 B
SCSS
39 lines
643 B
SCSS
.suggestions {
|
|
text-align: left;
|
|
font-size: calc(5px + 1.2vmin);
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
border-top-width: 0;
|
|
list-style: none;
|
|
margin-top: 40px;
|
|
max-height: 143px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
display: inline-block;
|
|
margin-left: 40px;
|
|
border-radius: 24px;
|
|
width: 430px;
|
|
opacity: 0;
|
|
|
|
li {
|
|
padding: 0.5rem;
|
|
padding-left: 20px;
|
|
|
|
&:hover {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.searchBar {
|
|
input[type=text]:focus+.suggestions {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1400px) {
|
|
.suggestions {
|
|
margin-top: 50px;
|
|
}
|
|
}
|