| |
| 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; |
| } |
| `; |
|
|