123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- import { Box, IconButton, styled } from "@mui/material";
- export const VerticallyCentered = styled(Box)`
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- text-align: center;
- overflow: auto;
- `;
- export const Row = styled("div")`
- min-height: 32px;
- display: flex;
- align-items: center;
- margin-bottom: ${({ theme }) => theme.spacing(2)};
- flex: 1;
- `;
- export const Value = styled("div")<{ width?: string }>`
- display: flex;
- justify-content: flex-start;
- align-items: center;
- width: ${(props) => props.width ?? "30%"};
- `;
- export const FlexWrapper = styled(Box)`
- display: flex;
- width: 100%;
- align-items: center;
- `;
- export const FreeFlowText = styled("div")`
- word-break: break-word;
- min-width: 30%;
- text-align: left;
- `;
- export const SpaceBetweenFlex = styled(FlexWrapper)`
- justify-content: space-between;
- `;
- export const CenteredFlex = styled(FlexWrapper)`
- justify-content: center;
- `;
- export const FluidContainer = styled(FlexWrapper)`
- flex: 1;
- `;
- export const Overlay = styled(Box)`
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- `;
- export const IconButtonWithBG = styled(IconButton)(({ theme }) => ({
- backgroundColor: theme.colors.fill.faint,
- }));
- export const HorizontalFlex = styled(Box)({
- display: "flex",
- });
- export const VerticalFlex = styled(HorizontalFlex)({
- flexDirection: "column",
- });
- export const VerticallyCenteredFlex = styled(HorizontalFlex)({
- alignItems: "center",
- display: "flex",
- });
|