| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- import { Typography } from "@mui/material";
- import { Box } from "@mui/system";
- import styled from "styled-components";
- import { PrimaryButton } from "../../Buttons/PrimaryButton/PrimaryButton";
- import { Icon } from "../../Icon/Icon";
- import { ReactComponent as Remove } from "../../../assets/images/svg/trash-gold.svg";
- import selectedTheme from "../../../themes";
- import { IconButton } from "../../Buttons/IconButton/IconButton";
-
- export const DeleteOfferContainer = styled(Box)`
- width: 537px;
- height: 309px;
- position: fixed;
- top: calc(50% - 155px);
- left: calc(50% - 268px);
- background-color: #fff;
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 0 80px;
- z-index: 150;
-
- @media screen and (max-width: 600px) {
- width: 350px;
- display: block;
- padding: 0 18px;
- left: calc(50% - 175px);
- }
- `;
-
- export const OfferInfo = styled(Box)`
- width: 211px;
- height: 90px;
- border: 1px solid #d4d4d4;
- display: flex;
- align-items: center;
- padding: 18px;
- margin-top: 36px;
-
- @media screen and (max-width: 600px) {
- margin-left: calc(50% - 105px) !important;
- }
- `;
-
- export const OfferImageContainer = styled(Box)`
- width: 54px;
- height: 54px;
- border-radius: 2px;
-
- @media screen and (max-width: 600px) {
- margin-right: 13px;
- }
- `;
-
- export const OfferImage = styled.img`
- width: 100%;
- height: 100%;
- object-fit: cover;
- border-radius: 2px;
- `;
-
- export const OfferDescription = styled(Box)`
- display: flex;
- flex-direction: column;
- margin-left: 9px;
- `;
-
- export const OfferDescriptionTitle = styled(Typography)`
- font-size: 16px;
- font-weight: 600;
- color: ${selectedTheme.primaryPurple};
- `;
-
- export const OfferDescriptionCategory = styled(Typography)`
- font-size: 12px;
- `;
-
- export const CategoryIcon = styled(Icon)`
- & svg {
- width: 14px;
- position: relative;
- top: -1px;
- }
- `;
-
- export const DeleteQuestion = styled(Typography)`
- font-family: "Open Sans";
- font-size: 16px;
- font-weight: 600;
- text-align: center;
- margin: 36px 0;
-
- @media screen and (max-width: 600px) {
- margin-left: calc(50% - 104px);
- }
- `;
-
- export const RemoveIconBorder = styled(IconButton)`
- width: 40px;
- height: 40px;
- position: absolute;
- top: 16px;
- right: 143px;
- background-color: ${selectedTheme.primaryPurple};
- border-radius: 100%;
- padding-top: 2px;
- text-align: center;
-
- @media screen and (max-width: 600px) {
- right: 50px;
- }
- `;
-
- export const RemoveIconContainer = styled(RemoveIconBorder)``;
-
- export const RemoveIcon = styled(Remove)``;
-
- export const ButtonsContainer = styled(Box)`
- display: flex;
- width: 100%;
- justify-content: space-between;
- `;
-
- export const CancelButton = styled(PrimaryButton)`
- @media screen and (max-width: 600px) {
- width: 140px;
- }
- `;
-
- export const SaveButton = styled(PrimaryButton)`
- @media screen and (max-width: 600px) {
- width: 140px;
- }
- `;
|