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

RequestExchangeMessage.styled.js 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import { Box, Typography } from "@mui/material";
  2. import styled from "styled-components";
  3. import selectedTheme from "../../../../themes";
  4. import { PrimaryButton } from "../../../Buttons/PrimaryButton/PrimaryButton";
  5. export const RequestExchangeMessageContainer = styled(Box)`
  6. display: flex;
  7. flex-direction: column;
  8. gap: 27px;
  9. width: 314px;
  10. margin-bottom: 10px;
  11. @media (max-width: 445px) {
  12. width: 100%;
  13. }
  14. `;
  15. export const RequestExchangeMessageText = styled(Typography)`
  16. font-family: ${selectedTheme.fonts.textFont};
  17. font-weight: 600;
  18. font-size: 14px;
  19. line-height: 19px;
  20. text-align: center;
  21. `;
  22. export const RequestExchangeMessageButtonsContainer = styled(Box)`
  23. display: flex;
  24. flex-direction: row;
  25. justify-content: space-between;
  26. gap: 18px;
  27. @media (max-width: 375px) {
  28. gap: 9px;
  29. }
  30. `;
  31. export const RequestExchangeMessageButton = styled(PrimaryButton)`
  32. flex: 1;
  33. height: 45px;
  34. background: ${(props) => props.white && "white"};
  35. & button {
  36. width: 100%;
  37. font-weight: 600;
  38. font-family: ${selectedTheme.fonts.textFont};
  39. letter-spacing: 1.5px;
  40. }
  41. @media (max-width: 375px) {
  42. height: 40px;
  43. & button {
  44. letter-spacing: 1px;
  45. }
  46. }
  47. `;