49 lines
759 B
SCSS
49 lines
759 B
SCSS
.search-bar {
|
|
input[type='text'] {
|
|
background-color: var(--background-2);
|
|
border: 1px solid var(--foreground-1);
|
|
color: inherit;
|
|
padding: 0.5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
ul {
|
|
border: 1px solid var(--foreground-1);
|
|
border-top: none;
|
|
list-style: none;
|
|
margin: 0;
|
|
max-height: 50vh;
|
|
overflow-y: scroll;
|
|
padding: 0;
|
|
}
|
|
|
|
li {
|
|
&:nth-child(even) {
|
|
background-color: var(--background-2);
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.search-result,
|
|
.search-state {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.search-result {
|
|
display: block;
|
|
text-decoration: none;
|
|
|
|
.display {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.disambiguation {
|
|
font-size: 60%;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
}
|