2019-11-23 19:41:14 +07:00
|
|
|
import styled from '@emotion/styled';
|
2019-08-12 12:06:10 +07:00
|
|
|
|
2019-08-09 03:58:15 +07:00
|
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
2019-10-13 02:41:42 +07:00
|
|
|
import Text from '../../muiComponents/Text';
|
2019-10-31 14:12:18 +07:00
|
|
|
import FloatingActionButton from '../../muiComponents/FloatingActionButton';
|
2019-11-23 19:41:14 +07:00
|
|
|
import { Theme } from '../../design-tokens/theme';
|
2019-02-03 17:23:33 +07:00
|
|
|
|
2019-07-15 15:41:12 +07:00
|
|
|
export const Details = styled('span')({
|
|
|
|
display: 'flex',
|
|
|
|
flexDirection: 'column',
|
|
|
|
alignItems: 'center',
|
|
|
|
});
|
2019-02-03 17:23:33 +07:00
|
|
|
|
2019-07-15 16:57:32 +07:00
|
|
|
export const Content = styled('div')({
|
|
|
|
margin: '10px 0 10px 0',
|
|
|
|
display: 'flex',
|
|
|
|
flexWrap: 'wrap',
|
|
|
|
'> *': {
|
|
|
|
margin: '5px',
|
|
|
|
},
|
|
|
|
});
|
2019-02-03 17:23:33 +07:00
|
|
|
|
2019-10-13 02:41:42 +07:00
|
|
|
export const StyledText = styled(Text)({
|
|
|
|
fontWeight: fontWeight.bold,
|
|
|
|
marginBottom: '10px',
|
|
|
|
textTransform: 'capitalize',
|
2019-07-15 16:57:32 +07:00
|
|
|
});
|
2019-02-03 17:23:33 +07:00
|
|
|
|
2019-11-23 19:41:14 +07:00
|
|
|
export const Fab = styled(FloatingActionButton)<{ theme?: Theme }>(props => ({
|
|
|
|
backgroundColor: props.theme && props.theme.palette.primary.main,
|
|
|
|
color: props.theme && props.theme.palette.white,
|
|
|
|
}));
|