2023-10-12 07:17:15 +00:00
|
|
|
import styled from "styled-components";
|
2021-03-12 10:52:30 +00:00
|
|
|
|
2023-12-27 14:45:22 +00:00
|
|
|
import { Base } from "@docspace/shared/themes";
|
2023-10-12 07:17:15 +00:00
|
|
|
|
2024-02-12 12:49:29 +00:00
|
|
|
export const StyledContainer = styled.div`
|
2024-03-14 07:43:43 +00:00
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
|
2024-02-27 07:30:46 +00:00
|
|
|
display: flex;
|
|
|
|
align-item: center;
|
|
|
|
justify-content: center;
|
2023-10-12 07:17:15 +00:00
|
|
|
overflow: hidden;
|
|
|
|
background: ${(props) => props.theme.backgroundColor};
|
|
|
|
z-index: 5000;
|
|
|
|
position: fixed;
|
2024-03-14 07:43:43 +00:00
|
|
|
top: 0;
|
2023-10-12 07:17:15 +00:00
|
|
|
left: 0;
|
2024-03-14 07:43:43 +00:00
|
|
|
|
|
|
|
.pageLoader {
|
|
|
|
position: fixed;
|
|
|
|
inset-inline-start: calc(50%-20px);
|
|
|
|
top: 35%;
|
|
|
|
}
|
2023-10-12 07:17:15 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
StyledContainer.defaultProps = { theme: Base };
|