2023-01-03 16:15:22 +01:00
|
|
|
import { styled, Tab } from '@mui/material';
|
|
|
|
import { FavoriteIconButton } from 'component/common/FavoriteIconButton/FavoriteIconButton';
|
|
|
|
|
|
|
|
export const StyledDiv = styled('div')(() => ({
|
|
|
|
display: 'flex',
|
|
|
|
}));
|
|
|
|
|
|
|
|
export const StyledTopRow = styled('div')(() => ({
|
2024-07-11 10:00:38 +02:00
|
|
|
display: 'grid',
|
2024-07-29 17:03:47 +02:00
|
|
|
gridTemplateColumns: 'minmax(0, 1fr) auto',
|
2023-01-03 16:15:22 +01:00
|
|
|
width: '100%',
|
|
|
|
}));
|
|
|
|
|
|
|
|
export const StyledColumn = styled('div')(() => ({
|
|
|
|
display: 'flex',
|
|
|
|
flexDirection: 'column',
|
|
|
|
}));
|
|
|
|
|
2023-02-06 15:46:25 +01:00
|
|
|
export const StyledName = styled('span')(({ theme }) => ({
|
2023-01-03 16:15:22 +01:00
|
|
|
textOverflow: 'ellipsis',
|
|
|
|
whiteSpace: 'nowrap',
|
2024-07-11 10:00:38 +02:00
|
|
|
overflow: 'hidden',
|
2023-01-03 16:15:22 +01:00
|
|
|
}));
|
|
|
|
|
|
|
|
export const StyledTitle = styled('span')(({ theme }) => ({
|
|
|
|
fontSize: theme.fontSizes.smallBody,
|
|
|
|
fontWeight: 'normal',
|
|
|
|
}));
|
|
|
|
|
|
|
|
export const StyledText = styled(StyledTitle)(({ theme }) => ({
|
|
|
|
color: theme.palette.neutral.dark,
|
|
|
|
}));
|
|
|
|
|
|
|
|
export const StyledFavoriteIconButton = styled(FavoriteIconButton)(
|
|
|
|
({ theme }) => ({
|
|
|
|
marginLeft: theme.spacing(-1.5),
|
2023-10-02 14:25:46 +02:00
|
|
|
}),
|
2023-01-03 16:15:22 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
export const StyledHeader = styled('div')(({ theme }) => ({
|
|
|
|
backgroundColor: theme.palette.background.paper,
|
|
|
|
borderRadius: theme.shape.borderRadiusLarge,
|
|
|
|
marginBottom: theme.spacing(2),
|
|
|
|
}));
|
|
|
|
|
|
|
|
export const StyledInnerContainer = styled('div')(({ theme }) => ({
|
|
|
|
padding: theme.spacing(2.5, 5),
|
|
|
|
display: 'flex',
|
|
|
|
flexDirection: 'column',
|
|
|
|
alignItems: 'start',
|
|
|
|
}));
|
|
|
|
|
2023-02-07 08:57:28 +01:00
|
|
|
export const StyledProjectTitle = styled('span')(({ theme }) => ({
|
2023-01-03 16:15:22 +01:00
|
|
|
margin: 0,
|
|
|
|
width: '100%',
|
2024-07-29 17:03:47 +02:00
|
|
|
fontSize: theme.typography.h1.fontSize,
|
2023-01-03 16:15:22 +01:00
|
|
|
fontWeight: 'bold',
|
|
|
|
display: 'flex',
|
|
|
|
alignItems: 'center',
|
|
|
|
gap: theme.spacing(2),
|
2024-07-11 10:00:38 +02:00
|
|
|
overflow: 'hidden',
|
2023-01-03 16:15:22 +01:00
|
|
|
}));
|
|
|
|
|
|
|
|
export const StyledSeparator = styled('div')(({ theme }) => ({
|
|
|
|
width: '100%',
|
2023-03-22 15:37:40 +01:00
|
|
|
backgroundColor: theme.palette.divider,
|
2023-01-03 16:15:22 +01:00
|
|
|
height: '1px',
|
|
|
|
}));
|
|
|
|
|
|
|
|
export const StyledTabContainer = styled('div')(({ theme }) => ({
|
|
|
|
padding: theme.spacing(0, 4),
|
|
|
|
}));
|
|
|
|
|
|
|
|
export const StyledTab = styled(Tab)(({ theme }) => ({
|
|
|
|
textTransform: 'none',
|
|
|
|
fontSize: theme.fontSizes.bodySize,
|
|
|
|
flexGrow: 1,
|
|
|
|
flexBasis: 0,
|
|
|
|
[theme.breakpoints.down('md')]: {
|
|
|
|
paddingLeft: theme.spacing(1),
|
|
|
|
paddingRight: theme.spacing(1),
|
2022-02-15 10:57:57 +01:00
|
|
|
},
|
2023-01-03 16:15:22 +01:00
|
|
|
[theme.breakpoints.up('md')]: {
|
|
|
|
minWidth: 160,
|
2022-02-15 10:57:57 +01:00
|
|
|
},
|
2021-07-16 15:41:54 +02:00
|
|
|
}));
|