1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/component/project/Project/Project.styles.ts

53 lines
1.3 KiB
TypeScript
Raw Normal View History

import { makeStyles } from 'tss-react/mui';
export const useStyles = makeStyles()(theme => ({
containerStyles: {
marginTop: '1.5rem',
display: 'flex',
[theme.breakpoints.down('md')]: {
flexDirection: 'column',
},
},
projectToggles: { width: '100%', minHeight: '100%' },
header: {
backgroundColor: '#fff',
borderRadius: '10px',
marginBottom: '1rem',
},
innerContainer: {
padding: '1rem 2rem',
display: 'flex',
alignItems: 'center',
},
separator: {
width: '100%',
backgroundColor: theme.palette.grey[200],
height: '1px',
},
tabContainer: {
padding: '1rem 2rem',
},
tabButton: {
textTransform: 'none',
width: 'auto',
fontSize: '1rem',
[theme.breakpoints.up('md')]: {
minWidth: 160,
},
},
title: {
fontSize: theme.fontSizes.mainHeader,
fontWeight: 'bold',
marginBottom: '0.5rem',
display: 'grid',
gridTemplateColumns: '1fr auto',
alignItems: 'center',
gridGap: '1rem',
},
titleText: {
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
},
}));