mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
25 lines
738 B
TypeScript
25 lines
738 B
TypeScript
import StyledWindow from "components/system/Window/StyledWindow";
|
|
import styled from "styled-components";
|
|
|
|
const StyledFileManager = styled.ol`
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-template-columns: ${({ theme }) =>
|
|
`repeat(auto-fill, ${theme.sizes.fileManager.gridEntryWidth})`};
|
|
grid-template-rows: ${({ theme }) =>
|
|
`repeat(auto-fill, ${theme.sizes.fileManager.gridEntryHeight})`};
|
|
height: ${({ theme }) => `calc(100% - ${theme.sizes.taskbar.height})`};
|
|
padding: ${({ theme }) => theme.sizes.fileManager.padding};
|
|
row-gap: ${({ theme }) => theme.sizes.fileManager.rowGap};
|
|
|
|
main > & {
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
${StyledWindow} & {
|
|
grid-auto-flow: row;
|
|
}
|
|
`;
|
|
|
|
export default StyledFileManager;
|