File size: 1,719 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 |
// @flow
import theme from 'shared/theme';
import styled from 'styled-components';
import { FlexRow, FlexCol } from 'src/components/globals';
import { MEDIA_BREAK } from 'src/components/layout';
export const Row = styled(FlexRow)`
padding: 8px 16px;
align-items: center;
width: 100%;
color: ${theme.text.alt};
div {
margin-top: 2px;
margin-right: 8px;
color: inherit;
}
span {
line-height: 1;
color: inherit;
}
&:hover {
background-color: ${theme.brand.alt};
color: ${theme.text.reverse};
}
`;
export const Col = styled(FlexCol)`
width: 100%;
a + a > div {
border-top: 2px solid ${theme.bg.wash};
}
`;
export const RowLabel = styled.span`
font-weight: 600;
`;
const Column = styled.div`
display: flex;
flex-direction: column;
`;
export const Meta = styled(Column)`
grid-area: meta;
> button,
> a > button {
margin-top: 16px;
margin-left: 32px;
width: calc(100% - 32px);
@media (max-width: ${MEDIA_BREAK}px) {
margin-left: 0;
width: 100%;
}
}
@media (max-width: ${MEDIA_BREAK}px) {
padding: 0 16px;
> div {
margin-left: 0;
}
}
`;
export const MetaMemberships = styled.div`
margin-left: 32px;
@media (min-width: 1279px) {
display: none;
}
@media (max-width: ${MEDIA_BREAK}px) {
display: none;
}
`;
export const ColumnHeading = styled.div`
display: flex;
align-items: center;
font-size: 18px;
line-height: 1;
font-weight: 500;
padding: 8px 16px 12px;
margin-top: 24px;
border-bottom: 2px solid ${theme.bg.border};
`;
export const FeedsContainer = styled.section`
display: flex;
flex-direction: column;
background: ${theme.bg.default};
`;
|