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