-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.css
48 lines (43 loc) · 946 Bytes
/
search.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* Hide the modal by default */
.modal {
display: none;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: var(--modal-background);
justify-content: center;
align-items: center;
}
/* Style the modal content */
.modal-content {
background-color: var(--modal-content-background);
padding: 20px;
width: 600px;
max-height: 70%;
overflow-y: auto;
}
/* Style the search input */
#searchInput {
width: 100%;
padding: 10px;
margin-bottom: 10px;
box-sizing: border-box;
background-color: var(--input-background);
color: var(--input-text-color);
}
/* Style the results list */
#results {
list-style-type: none;
padding: 0;
margin: 0;
}
#results li {
padding: 5px;
border-bottom: 1px solid var(--border-color);
}
/* Style for the selected result */
#results li.selected {
background-color: var(--selected-background);
}