2022-01-03 17:21:21 +00:00
|
|
|
.search-bar {
|
2022-01-18 12:10:29 +00:00
|
|
|
max-width: 70rem;
|
|
|
|
|
2022-01-03 17:21:21 +00:00
|
|
|
input[type='text'] {
|
|
|
|
background-color: var(--background-2);
|
2022-01-31 11:08:54 +00:00
|
|
|
border: var(--border-size) solid var(--foreground-1);
|
2022-01-03 17:21:21 +00:00
|
|
|
color: inherit;
|
|
|
|
padding: 0.5rem;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2022-01-31 11:08:54 +00:00
|
|
|
border: var(--border-size) solid var(--foreground-1);
|
2022-01-03 17:21:21 +00:00
|
|
|
border-top: none;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
max-height: 50vh;
|
2022-01-17 12:38:35 +00:00
|
|
|
overflow-y: auto;
|
2022-01-03 17:21:21 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2022-02-04 11:57:11 +00:00
|
|
|
|
|
|
|
.load-more {
|
|
|
|
background-color: var(--background-1);
|
|
|
|
border: var(--border-size) solid var(--foreground-1);
|
|
|
|
color: var(--foreground-1);
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0.5rem;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--foreground-1);
|
|
|
|
color: var(--background-1);
|
|
|
|
}
|
|
|
|
}
|
2022-01-03 17:21:21 +00:00
|
|
|
}
|