You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DeleteReview.styled.js 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import { Box, Typography } from "@mui/material";
  2. import styled from "styled-components";
  3. import selectedTheme from "../../../themes";
  4. import { ReactComponent as X } from "../../../assets/images/svg/plus.svg";
  5. export const DeleteReviewContainer = styled(Box)`
  6. position: fixed;
  7. width: 100vw;
  8. height: 100vh;
  9. top: 0;
  10. left: 0;
  11. background-color: white;
  12. z-index: 150;
  13. padding: 28px;
  14. & > div {
  15. margin: 0 auto;
  16. background-color: ${selectedTheme.colors.skeletonItemColor};
  17. padding: 18px;
  18. border: 1px solid ${selectedTheme.colors.borderNormal};
  19. border-radius: 2px;
  20. }
  21. & > div::after {
  22. border: 0;
  23. }
  24. @media (max-width: 600px) {
  25. padding: 36px 28px;
  26. }
  27. `;
  28. export const DeleteReviewTitle = styled(Typography)`
  29. font-family: ${selectedTheme.fonts.textFont};
  30. display: block;
  31. font-weight: 700;
  32. font-size: 24px;
  33. line-height: 31px;
  34. text-align: center;
  35. margin-bottom: 36px;
  36. color: ${selectedTheme.colors.primaryPurple};
  37. @media (max-width: 600px) {
  38. font-weight: 700;
  39. font-size: 18px;
  40. line-height: 25px;
  41. }
  42. `;
  43. export const XIcon = styled(X)`
  44. transform: rotate(45deg);
  45. position: absolute;
  46. top: 36px;
  47. right: 36px;
  48. cursor: pointer;
  49. width: 26px;
  50. height: 26px;
  51. & path {
  52. stroke: ${selectedTheme.colors.messageText};
  53. /* stroke-width: 2; */
  54. }
  55. @media (max-width: 600px) {
  56. width: 16px;
  57. height: 16px;
  58. top: 40px;
  59. right: 18px;
  60. }
  61. `;