Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

DeleteOffer.styles.js 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. import { Typography } from "@mui/material";
  2. import { Box } from "@mui/system";
  3. import styled from "styled-components";
  4. import { PrimaryButton } from "../../Buttons/PrimaryButton/PrimaryButton";
  5. import { Icon } from "../../Icon/Icon";
  6. import { ReactComponent as Remove } from "../../../assets/images/svg/trash-gold.svg";
  7. import selectedTheme from "../../../themes";
  8. import { IconButton } from "../../Buttons/IconButton/IconButton";
  9. export const DeleteOfferContainer = styled(Box)`
  10. width: 537px;
  11. height: 309px;
  12. position: fixed;
  13. top: calc(50% - 155px);
  14. left: calc(50% - 268px);
  15. background-color: #fff;
  16. display: flex;
  17. flex-direction: column;
  18. align-items: center;
  19. padding: 0 80px;
  20. z-index: 150;
  21. @media screen and (max-width: 600px) {
  22. width: 350px;
  23. display: block;
  24. padding: 0 18px;
  25. left: calc(50% - 175px);
  26. }
  27. `;
  28. export const OfferInfo = styled(Box)`
  29. width: 211px;
  30. height: 90px;
  31. border: 1px solid #d4d4d4;
  32. display: flex;
  33. align-items: center;
  34. padding: 18px;
  35. margin-top: 36px;
  36. @media screen and (max-width: 600px) {
  37. margin-left: calc(50% - 105px) !important;
  38. }
  39. `;
  40. export const OfferImageContainer = styled(Box)`
  41. width: 54px;
  42. height: 54px;
  43. border-radius: 2px;
  44. @media screen and (max-width: 600px) {
  45. margin-right: 13px;
  46. }
  47. `;
  48. export const OfferImage = styled.img`
  49. width: 100%;
  50. height: 100%;
  51. object-fit: cover;
  52. border-radius: 2px;
  53. `;
  54. export const OfferDescription = styled(Box)`
  55. display: flex;
  56. flex-direction: column;
  57. margin-left: 9px;
  58. `;
  59. export const OfferDescriptionTitle = styled(Typography)`
  60. font-size: 16px;
  61. font-weight: 600;
  62. color: ${selectedTheme.primaryPurple};
  63. `;
  64. export const OfferDescriptionCategory = styled(Typography)`
  65. font-size: 12px;
  66. `;
  67. export const CategoryIcon = styled(Icon)`
  68. & svg {
  69. width: 14px;
  70. position: relative;
  71. top: -1px;
  72. }
  73. `;
  74. export const DeleteQuestion = styled(Typography)`
  75. font-family: "Open Sans";
  76. font-size: 16px;
  77. font-weight: 600;
  78. text-align: center;
  79. margin: 36px 0;
  80. @media screen and (max-width: 600px) {
  81. margin-left: calc(50% - 104px);
  82. }
  83. `;
  84. export const RemoveIconBorder = styled(IconButton)`
  85. width: 40px;
  86. height: 40px;
  87. position: absolute;
  88. top: 16px;
  89. right: 143px;
  90. background-color: ${selectedTheme.primaryPurple};
  91. border-radius: 100%;
  92. padding-top: 2px;
  93. text-align: center;
  94. @media screen and (max-width: 600px) {
  95. right: 50px;
  96. }
  97. `;
  98. export const RemoveIconContainer = styled(RemoveIconBorder)``;
  99. export const RemoveIcon = styled(Remove)``;
  100. export const ButtonsContainer = styled(Box)`
  101. display: flex;
  102. width: 100%;
  103. justify-content: space-between;
  104. `;
  105. export const CancelButton = styled(PrimaryButton)`
  106. @media screen and (max-width: 600px) {
  107. width: 140px;
  108. }
  109. `;
  110. export const SaveButton = styled(PrimaryButton)`
  111. @media screen and (max-width: 600px) {
  112. width: 140px;
  113. }
  114. `;