git ssb

1+

Daan Patchwork / patchwork



Tree: 8ccc9fb88d1bc2aa39a121fca766f8ba30115656

Files: 8ccc9fb88d1bc2aa39a121fca766f8ba30115656 / styles / base / taggers-list.mcss

2254 bytesRaw
1TaggersList {
2 a.profile {
3 display: flex
4 padding: 4px
5 font-size: 110%
6 margin: 4px 0
7 border-radius: 5px
8 position: relative
9 text-decoration: none
10 background-repeat: no-repeat
11 background-position: right
12 -more {
13 padding-top: 10px
14 padding-bottom: 10px
15 div.main {
16 div.name {
17 font-weight: normal
18 }
19 }
20 }
21 -following {
22 background-image: svg(following)
23 }
24 -connected {
25 background-image: svg(connected)
26 }
27 @svg connected {
28 width: 20px
29 height: 12px
30 content: "<circle cx='6' stroke='none' fill='green' cy='6' r='5' />"
31 }
32 @svg following {
33 width: 20px
34 height: 12px
35 content: "<circle cx='6' stroke='#888' fill='none' cy='6' r='5' /> <circle cx='6' cy='6' r='3' fill='#888'/>"
36 }
37 div.avatar {
38 img {
39 width: 40px
40 height: 40px
41 display: block
42 object-fit: cover
43 }
44 }
45 div.main {
46 display: flex
47 flex-direction: column
48 flex: 1
49 margin-left: 10px
50 justify-content: center
51 min-width: 0px
52 div.name {
53 white-space: nowrap
54 -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 90%, rgba(0,0,0,0))
55 }
56 }
57 div.progress {
58 display: flex
59 flex-direction: column
60 svg {
61 transition: opacity 0.2s
62 opacity: 0
63 width: 20px
64 flex: 1
65 -pending {
66 opacity: 1
67 }
68 }
69 }
70 div.controls {
71 opacity: 0
72 position: absolute
73 right: 7px
74 top: 0
75 bottom: 0
76 display: flex
77 justify-content: center
78 flex-direction: column
79 width: 15px
80 transition: opacity 0.2s
81 a.disconnect {
82 color: white
83 border-radius: 10px
84 height: 16px
85 width: 16px
86 background-color: #777
87 text-align: center
88 vertical-align: middle
89 font-size: 14px
90 overflow: hidden
91 :hover {
92 text-decoration: none
93 background-color: #f77
94 }
95 }
96 }
97 div.buttons {
98 display: flex
99 align-items: center
100 padding-right: 10px
101 }
102 :hover {
103 div.controls {
104 opacity: 1
105 }
106 }
107 }
108}
109

Built with git-ssb-web