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

58 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%',
minWidth: 0,
},
header: {
backgroundColor: theme.palette.background.paper,
borderRadius: theme.shape.borderRadiusLarge,
marginBottom: '1rem',
},
innerContainer: {
padding: '1.25rem 2rem',
display: 'flex',
alignItems: 'center',
},
separator: {
width: '100%',
backgroundColor: theme.palette.grey[200],
height: '1px',
},
tabContainer: {
padding: '0 2rem',
},
tabButton: {
textTransform: 'none',
width: 'auto',
fontSize: '1rem',
[theme.breakpoints.up('md')]: {
minWidth: 160,
},
},
title: {
margin: 0,
width: '100%',
fontSize: theme.fontSizes.mainHeader,
fontWeight: 'bold',
marginBottom: '0.5rem',
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center',
gap: '1rem',
},
titleText: {
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
},
}));