git ssb

10+

Matt McKegg / patchwork



Tree: d3822aadfe8e7501ded08bca709a22dc48512806

Files: d3822aadfe8e7501ded08bca709a22dc48512806 / styles / profile-list.mcss

1033 bytesRaw
1ProfileList {
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}
53

Built with git-ssb-web