mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
76 lines
1.9 KiB
TypeScript
76 lines
1.9 KiB
TypeScript
|
import { makeStyles } from '@material-ui/core/styles';
|
||
|
|
||
|
export const useStyles = makeStyles(theme => ({
|
||
|
container: {
|
||
|
minHeight: '80vh',
|
||
|
width: '100%',
|
||
|
display: 'flex',
|
||
|
margin: '0 auto',
|
||
|
[theme.breakpoints.down(900)]: {
|
||
|
flexDirection: 'column',
|
||
|
},
|
||
|
},
|
||
|
sidebar: {
|
||
|
backgroundColor: theme.palette.primary.light,
|
||
|
padding: '2rem',
|
||
|
width: '35%',
|
||
|
borderTopLeftRadius: '12.5px',
|
||
|
borderBottomLeftRadius: '12.5px',
|
||
|
[theme.breakpoints.down(900)]: {
|
||
|
width: '100%',
|
||
|
borderBottomLeftRadius: '0',
|
||
|
borderTopRightRadius: '12.5px',
|
||
|
},
|
||
|
[theme.breakpoints.down(500)]: {
|
||
|
padding: '2rem 1rem',
|
||
|
},
|
||
|
},
|
||
|
title: {
|
||
|
color: '#fff',
|
||
|
marginBottom: '1rem',
|
||
|
fontWeight: 'normal',
|
||
|
},
|
||
|
subtitle: {
|
||
|
color: '#fff',
|
||
|
marginBottom: '1rem',
|
||
|
display: 'flex',
|
||
|
justifyContent: 'space-between',
|
||
|
alignItems: 'center',
|
||
|
fontWeight: 'normal',
|
||
|
},
|
||
|
description: {
|
||
|
color: '#fff',
|
||
|
},
|
||
|
linkContainer: {
|
||
|
margin: '1.5rem 0',
|
||
|
display: 'flex',
|
||
|
alignItems: 'center',
|
||
|
},
|
||
|
linkIcon: {
|
||
|
marginRight: '0.5rem',
|
||
|
color: '#fff',
|
||
|
},
|
||
|
documentationLink: {
|
||
|
color: '#fff',
|
||
|
display: 'block',
|
||
|
},
|
||
|
formContent: {
|
||
|
backgroundColor: '#fff',
|
||
|
display: 'flex',
|
||
|
flexDirection: 'column',
|
||
|
padding: '2rem',
|
||
|
width: '65%',
|
||
|
borderTopRightRadius: '12.5px',
|
||
|
borderBottomRightRadius: '12.5px',
|
||
|
[theme.breakpoints.down(900)]: {
|
||
|
width: '100%',
|
||
|
borderBottomLeftRadius: '12.5px',
|
||
|
borderTopRightRadius: '0',
|
||
|
},
|
||
|
[theme.breakpoints.down(500)]: {
|
||
|
padding: '2rem 1rem',
|
||
|
},
|
||
|
},
|
||
|
icon: { fill: '#fff' },
|
||
|
}));
|