| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- import { Box, Typography } from "@mui/material";
- import styled from "styled-components";
- import selectedTheme from "../../../themes";
- import { IconButton } from "../../Buttons/IconButton/IconButton";
-
- export const DropdownListContainer = styled(Box)`
- width: ${(props) =>
- props.fullWidth ? "100%" : props.width ? props.width : "250px"};
- padding: 8px;
- `;
-
- export const DropdownTitle = styled(Typography)`
- display: flex;
- flex: 1;
- cursor: pointer;
- padding-left: 9px;
- font-size: 16px;
- font-weight: 400;
- padding-bottom: 10px;
- padding-top: 5px;
- font-family: "Open Sans";
- color: ${props => props.textcolor ? props.textcolor : selectedTheme.primaryText};
- `;
-
- export const ToggleIconOpened = styled(IconButton)`
- cursor: pointer;
- color: ${selectedTheme.primaryPurple};
- `;
-
- export const ToggleIconClosed = styled(IconButton)`
- cursor: pointer;
- color: ${selectedTheme.primaryPurple};
- `;
-
- export const DropdownIcon = styled(IconButton)`
- font-size: 22px !important;
-
- & span {
- font-size: 22px;
- & svg {
- font-size: 22px;
- }
- }
- `;
-
- export const ListContainer = styled(Box)`
- padding-left: 15px;
- `;
-
- export const DropdownHeader = styled(Box)`
- display: flex;
- flex-direction: row;
- `;
- export const DropdownOptions = styled(Box)`
- padding-left: 7px;
- `;
- export const ToggleContainer = styled(Box)`
- display: ${(props) => (props.shouldShow ? "block" : "none")};
- `;
|