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

CategoryCard.styled.js 992B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import { Box } from "@mui/material";
  2. import styled from "styled-components";
  3. import selectedTheme from "../../../themes";
  4. export const CategoryCardContainer = styled(Box)`
  5. background: white;
  6. height: 84px;
  7. width: calc(100% - 10px);
  8. margin: 5px;
  9. margin-top: 13px;
  10. margin-bottom: 13px;
  11. border: 1px solid ${selectedTheme.colors.borderNormal};
  12. border-radius: 4px;
  13. display: flex;
  14. flex-direction: row;
  15. justify-content: space-between;
  16. position: relative;
  17. @media (max-width: 600px) {
  18. height: 102px;
  19. margin-left: 0;
  20. margin-right: 0;
  21. width: 100%;
  22. }
  23. `;
  24. export const CategoryCardLeftContainer = styled(Box)`
  25. display: flex;
  26. flex-direction: row;
  27. `;
  28. export const CategoryCardRightContainer = styled(Box)`
  29. display: flex;
  30. flex-direction: row;
  31. `;
  32. export const CategoryCardDetailsContainer = styled(Box)`
  33. display: flex;
  34. flex-direction: row;
  35. @media (max-width: 600px) {
  36. position: absolute;
  37. bottom: 18px;
  38. left: 0;
  39. max-height: 16px;
  40. }
  41. `;