Files: 83e73400cbb666a977e7f21d8c6d64570fc569b1 / styles / base / channel-list.mcss
1326 bytesRaw
1 | ChannelList { |
2 | a.channel { |
3 | display: flex |
4 | padding: 8px 10px |
5 | font-size: 110% |
6 | margin: 4px 0 |
7 | border-radius: 5px |
8 | position: relative |
9 | max-width: 250px |
10 | background-repeat: no-repeat |
11 | background-position: right |
12 | -subscribed { |
13 | background-image: svg(subscribed) |
14 | border-left: 2px solid #51c067 |
15 | border-top-left-radius: 0 |
16 | border-bottom-left-radius: 0 |
17 | } |
18 | @svg subscribed { |
19 | width: 20px |
20 | height: 12px |
21 | content: "<circle cx='6' stroke='#888' fill='none' cy='6' r='5' /> <circle cx='6' cy='6' r='3' fill='#888'/>" |
22 | } |
23 | :hover { |
24 | text-decoration: none |
25 | a { |
26 | transition: opacity 0.05s |
27 | opacity: 1 |
28 | } |
29 | } |
30 | span.name { |
31 | flex: 1 |
32 | white-space: nowrap |
33 | min-width: 0 |
34 | -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 90%, rgba(0,0,0,0)) |
35 | } |
36 | a { |
37 | display: inline |
38 | opacity: 0 |
39 | font-size: 80% |
40 | background-color: rgb(112, 112, 112) |
41 | transition: opacity 0.2s, background-color 0.4s |
42 | padding: 9px 10px |
43 | color: white |
44 | margin: -8px -10px -8px 4px |
45 | border-radius: 5px |
46 | border-left: 2px solid rgba(255, 255, 255, 0.9) |
47 | text-decoration: none |
48 | -unsubscribe { |
49 | :hover { |
50 | background: rgb(212, 112, 112) |
51 | } |
52 | } |
53 | } |
54 | } |
55 | } |
56 |
Built with git-ssb-web