Files: 8a1eb0ef17ecc818851e316893ea845d9442655f / styles / profile-list.mcss
1264 bytesRaw
1 | ProfileList { |
2 | a.profile { |
3 | display: flex; |
4 | padding: 4px; |
5 | font-size: 110%; |
6 | margin: 4px 0; |
7 | background: rgba(255, 255, 255, 0.74); |
8 | border-radius: 5px; |
9 | position: relative |
10 | text-decoration: none |
11 | transition: background-color 0.2s |
12 | |
13 | background-repeat: no-repeat |
14 | background-position: right |
15 | |
16 | -connected { |
17 | background-image: svg(connected) |
18 | } |
19 | |
20 | @svg connected { |
21 | width: 20px |
22 | height: 12px |
23 | content: "<circle cx='6' stroke='none' fill='green' cy='6' r='5' />" |
24 | } |
25 | |
26 | :hover { |
27 | background-color: rgba(255, 255, 255, 0.4); |
28 | } |
29 | |
30 | div.avatar { |
31 | img { |
32 | width: 40px |
33 | height: 40px |
34 | display: block |
35 | } |
36 | } |
37 | |
38 | div.main { |
39 | display: flex |
40 | flex-direction: column |
41 | flex: 1 |
42 | margin-left: 10px |
43 | justify-content: center |
44 | div.name { |
45 | font-weight: bold |
46 | font-size: 110% |
47 | color: #636363 |
48 | -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 90%, rgba(0,0,0,0)) |
49 | } |
50 | } |
51 | |
52 | div.progress { |
53 | display: flex |
54 | flex-direction: column |
55 | svg { |
56 | transition: opacity 0.2s |
57 | opacity: 0 |
58 | -pending { |
59 | opacity: 1 |
60 | } |
61 | width: 20px |
62 | flex: 1 |
63 | } |
64 | } |
65 | } |
66 | } |
67 |
Built with git-ssb-web