import styled from 'styled-components'; import { Typography } from '@mui/material'; import { Divider } from '@mui/material'; import Logout from '@mui/icons-material/Logout'; import Dashboard from '@mui/icons-material/Dashboard'; import SupervisorAccount from '@mui/icons-material/SupervisorAccount'; import AccountCircleIcon from '@mui/icons-material/AccountCircle'; export const Container = styled.div` display: flex; flex-direction: row; height: 100%; flex: 1; `; export const Header = styled.div` display: flex; width: 100%; flex-direction: row; justify-content: space-between; padding: 10px 30px; `; export const DividerUnderHeader = styled(Divider).attrs({ variant: 'middle', sx: { margin: '0 25px', borderWidth: '2px', borderBottomWidth: 'thin', }, })``; export const TitleAndLogoWrapper = styled.div` display: flex; flex-direction: row; `; export const HeaderTitle = styled(Typography).attrs({ variant: 'h1', fontWeight: 600, })` color: ${(props) => props.theme.palette.primary.main}; font-size: 2.5rem; display: flex; `; export const Logo = styled.img` width: 100%; height: 100%; `; export const LogoWrapper = styled.div` height: 100%; width: 50px; `; export const UserNameAndLogoutWrapper = styled.div` display: flex; flex-direction: row; align-items: center; `; export const UserName = styled(Typography).attrs({ variant: 'h3', })` margin-left: 10px; margin-right: 20px; font-size: 1.5rem; font-weight: 600; color: ${(props) => props.theme.palette.primary.main}; `; export const LogoutIcon = styled(Logout).attrs((props) => ({ sx: { fontSize: 30, color: `${props.theme.palette.error.light}`, }, }))``; export const HeaderAndMainSectionWrapper = styled.div` display: flex; flex-direction: column; height: 100%; width: 100%; background-color: ${(props) => props.theme.palette.background.whiteSmoke}; `; export const SideMenu = styled.div` flex-direction: column; height: 100%; width: 70px; padding: 20px 10px 0 10px; border-right: 1px solid grey; background-color: ${(props) => props.theme.palette.primary.main}; `; export const DashboardIcon = styled(Dashboard).attrs((props) => ({ sx: { fontSize: 35, color: props.theme.palette.background.white, }, }))` margin-bottom: 15px; `; export const SupervisorAccountIcon = styled(SupervisorAccount).attrs( (props) => ({ sx: { fontSize: 35, color: props.theme.palette.background.white, }, }) )``; export const UserIcon = styled(AccountCircleIcon).attrs((props) => ({ sx: { fontSize: 30, color: `${props.theme.palette.primary.main}`, }, }))``; export const MainSection = styled.div` width: 100%; height: 100%; padding: 20px 0px; display: flex; flex-direction: column; `;