File size: 3,315 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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
// @flow
import theme from 'shared/theme';
import styled from 'styled-components';
import { TextButton } from 'src/components/button';
export const Heading = styled.h1`
margin-left: 16px;
font-size: 32px;
color: ${theme.text.default};
font-weight: 800;
`;
export const Subheading = styled.h3`
margin-left: 16px;
font-size: 16px;
color: ${theme.text.alt};
font-weight: 500;
line-height: 1;
margin-bottom: 8px;
`;
export const StyledHeader = styled.div`
display: flex;
padding: 32px;
border-bottom: 1px solid ${theme.bg.border};
background: ${theme.bg.default};
width: 100%;
align-items: center;
`;
export const HeaderText = styled.div`
display: flex;
flex-direction: column;
justify-content: space-around;
`;
export const StyledThreadListItem = styled.div`
display: flex;
border-bottom: 1px solid ${theme.bg.border};
padding: 16px 0;
flex-direction: column;
&:last-of-type {
border-bottom: 0;
padding-bottom: 0;
}
`;
export const ThreadListItemTitle = styled.h4`
font-size: 16px;
color: ${theme.text.default};
line-height: 1.28;
font-weight: 500;
&:hover {
color: ${theme.brand.alt};
}
`;
export const ThreadListItemSubtitle = styled.h5`
font-size: 14px;
color: ${theme.text.alt};
line-height: 1.28;
margin-top: 4px;
a:hover {
color: ${theme.text.default};
}
`;
export const CustomMessageToggle = styled.h4`
font-size: 14px;
color: ${theme.text.alt};
margin-top: 16px;
&:hover {
color: ${theme.brand.default};
cursor: pointer;
}
div {
position: relative;
top: 5px;
margin-right: 4px;
}
`;
export const CustomMessageTextAreaStyles = {
width: '100%',
borderRadius: '8px',
padding: '16px',
marginTop: '8px',
fontSize: '14px',
};
export const Filters = styled.ul`
display: flex;
margin: 0 -16px 16px;
padding: 0 16px;
flex: 1;
border-bottom: 1px solid ${theme.bg.border};
`;
export const Filter = styled.li`
color: ${props =>
props.active ? props.theme.text.default : props.theme.text.alt};
font-weight: 400;
font-size: 16px;
list-style-type: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
padding: 12px 16px;
margin-bottom: -1px;
border-bottom: 1px solid
${props => (props.active ? props.theme.text.default : 'transparent')};
&:hover {
color: ${theme.text.default};
}
`;
export const FetchMore = styled(TextButton)`
display: flex;
flex: 1;
justify-content: center;
padding: 8px 16px;
align-items: center;
font-size: 14px;
color: ${theme.text.alt};
cursor: pointer;
&:hover {
color: ${theme.brand.alt};
}
`;
export const TokenInputWrapper = styled.div`
position: relative;
cursor: pointer;
input {
cursor: pointer;
}
&:after {
content: 'Copy link';
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
font-size: 10px;
text-transform: uppercase;
color: ${theme.text.reverse};
background: ${theme.text.alt};
padding: 4px 8px;
border-radius: 4px;
font-weight: 700;
}
&:hover {
&:after {
background: ${theme.success.alt};
}
}
`;
export const Row = styled.div`
display: flex;
align-items: flex-start;
a {
display: flex;
flex: 1 1 auto;
}
`;
|