Files: f35f3abb7b44bd982ed14b0000ec35da8641afe3 / styles / dark / suggest-box.mcss
790 bytesRaw
1 | |
2 | SuggestBox { |
3 | width: max-content; |
4 | max-height: 50vh; |
5 | overflow-y: auto; |
6 | background-color: #333; |
7 | box-shadow: 0 0 5px #111 |
8 | z-index: 1000 |
9 | |
10 | padding: .2rem .5rem; |
11 | margin-top: .35rem; |
12 | |
13 | ul { |
14 | list-style-type: none; |
15 | padding: 0; |
16 | |
17 | li { |
18 | display: flex; |
19 | align-items: center; |
20 | |
21 | padding-right: .2rem; |
22 | margin-bottom: .2rem; |
23 | cursor: pointer |
24 | |
25 | img { |
26 | height: 36px; |
27 | width: 36px; |
28 | padding: .2rem; |
29 | } |
30 | |
31 | strong { |
32 | flex-grow: 1; |
33 | margin-left: .5rem; |
34 | font-weight: 300; |
35 | } |
36 | |
37 | small { |
38 | font-family: monospace; |
39 | margin-left: .5rem; |
40 | padding-right: .2rem; |
41 | font-size: 1rem; |
42 | } |
43 | } |
44 | |
45 | li.selected { |
46 | color: #fff; |
47 | background: #0caaf9; |
48 | } |
49 | } |
50 | |
51 | } |
52 |
Built with git-ssb-web