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.

SecondPartCreateOffer.styled.js 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import { Box, ImageList } from "@mui/material";
  2. import styled from "styled-components";
  3. import selectedTheme from "../../../../themes";
  4. import { Label } from "../../../CheckBox/Label";
  5. import HorizontalScroller from "../../../Scroller/HorizontalScroller";
  6. import { ReactComponent as TrashIcon } from "../../../../assets/images/svg/trash.svg";
  7. export const CreateOfferFormContainer = styled(Box)`
  8. width: 350px;
  9. height: 700px;
  10. padding-top: 20px;
  11. `;
  12. export const ImageCard = styled.img`
  13. width: 216px;
  14. height: 144px;
  15. display: flex;
  16. flex-direction: row;
  17. flex-wrap: nowrap;
  18. `;
  19. export const ImageListStyled = styled(ImageList)`
  20. display: flex;
  21. flex: 1;
  22. overflow: hidden;
  23. cursor: grab;
  24. `;
  25. export const FieldLabel = styled(Label)`
  26. position: relative;
  27. top: 12px;
  28. & label {
  29. font-size: 12px;
  30. font-weight: 600;
  31. line-height: 20px;
  32. color: ${selectedTheme.primaryGrayText};
  33. cursor: auto;
  34. letter-spacing: 0.2px;
  35. }
  36. `;
  37. export const Scroller = styled(HorizontalScroller)`
  38. min-width: 640px;
  39. position: relative;
  40. left: calc(-320px + 50%);
  41. margin-bottom: 36px;
  42. `;
  43. export const Trash = styled(TrashIcon)`
  44. cursor: pointer;
  45. margin: auto;
  46. width: 22px;
  47. height: 22px;
  48. & path {
  49. stroke: white;
  50. }
  51. `;