File size: 981 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// @flow
import theme from 'shared/theme';
import styled from 'styled-components';
import { Truncate } from 'src/components/globals';
import { Link } from 'react-router-dom';

export const ChannelContainer = styled.div`
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  color: ${theme.text.secondary};
  min-width: 0;

  border-top: 1px solid ${theme.bg.wash};

  &:first-of-type {
    border-top: 0;
  }

  &:hover {
    color: ${theme.text.default};
  }

  .icon {
    color: ${theme.text.alt};
  }
`;

export const ChannelNameLink = styled(Link)`
  display: flex;
  align-items: center;
  flex: 1;
  padding: 8px 0;
  min-width: 0;
`;

export const ChannelName = styled.span`
  font-size: 16px;
  font-weight: 600;
  color: ${theme.text.default};

  ${Truncate};
`;

export const ChannelActions = styled.div`
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;

  a {
    display: flex;
    align-items: center;
  }
`;