git ssb

10+

Matt McKegg / patchwork



Tree: e1c938e079d739f9e8511262531b1d04e30effab

Files: e1c938e079d739f9e8511262531b1d04e30effab / styles / light / all-channels.mcss

1786 bytesRaw
1AllChannels {
2 display: flex;
3 flex-wrap: wrap;
4 justify-content: center;
5 overflow-y: auto
6 padding: 10px;
7
8 a.channel {
9 display: flex;
10 padding: 8px 10px;
11 font-size: 110%;
12 margin: 4px;
13 background: rgba(255, 255, 255, 0.66);
14 color: #333;
15 border-radius: 5px;
16 position: relative
17 transition: background-color 0.2s
18 width: 200px;
19 overflow: hidden;
20 text-overflow: ellipsis;
21
22 background-repeat: no-repeat
23 background-position: right
24
25 -subscribed {
26 background-image: svg(subscribed)
27 span.name {
28 font-weight: bold
29 }
30 }
31
32 @svg subscribed {
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
38 :hover {
39 background: rgba(255, 255, 255, 0.4);
40 text-decoration: none;
41 a {
42 transition: opacity 0.05s
43 opacity: 1
44 }
45 }
46
47 span.name {
48 flex: 1
49 white-space: nowrap;
50 min-width: 0;
51 -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 90%, rgba(0,0,0,0));
52 }
53
54 a {
55 display: inline
56 opacity: 0;
57 font-size: 80%;
58 background-color: rgb(112, 112, 112);
59 transition: opacity 0.2s, background-color 0.4s
60 padding: 9px 10px;
61 color: white;
62 border-radius: 4px;
63 font-weight: bold;
64 margin: -8px -10px -8px 4px;
65 border-top-left-radius: 0;
66 border-bottom-left-radius: 0;
67 border-left: 2px solid rgba(255, 255, 255, 0.9);
68 text-decoration: none
69
70 -subscribe {
71 :hover {
72 background-color: rgb(112, 184, 212);
73 }
74 }
75
76 -unsubscribe {
77 :hover {
78 background: rgb(212, 112, 112);
79 }
80 }
81 }
82 }
83}
84}
85

Built with git-ssb-web