git ssb

10+

Matt McKegg / patchwork



Tree: 4c3279a881a3983b1e7b4f4bc960633975fe77d6

Files: 4c3279a881a3983b1e7b4f4bc960633975fe77d6 / styles / profile-list.mcss

1007 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.22);
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 }
35 }
36
37 div.main {
38 display: flex
39 flex-direction: column
40 flex: 1
41 margin-left: 10px
42 justify-content: center
43 div.name {
44 font-weight: bold
45 font-size: 110%
46 color: #333
47 -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 90%, rgba(0,0,0,0))
48 }
49 }
50 }
51}
52

Built with git-ssb-web