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

FirstStepCreateReview.styled.js 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. import { Box, Typography } from "@mui/material";
  2. import styled from "styled-components";
  3. import selectedTheme from "../../../themes";
  4. import { Label } from "../../CheckBox/Label";
  5. import Option from "../../Select/Option/Option";
  6. import Select from "../../Select/Select";
  7. import { TextField } from "../../TextFields/TextField/TextField";
  8. export const FirstStepCreateReviewContainer = styled(Box)`
  9. text-align: center;
  10. padding: 36px;
  11. @media (max-width: 600px) {
  12. padding: 18px;
  13. }
  14. `;
  15. export const CreateReviewTitle = styled(Typography)`
  16. width: 100%;
  17. text-align: center;
  18. color: ${selectedTheme.colors.primaryPurple};
  19. font-family: ${selectedTheme.fonts.textFont};
  20. font-size: 24px;
  21. font-weight: 700;
  22. padding-bottom: 36px;
  23. @media (max-width: 600px) {
  24. font-size: 18px;
  25. padding-bottom: 24px;
  26. }
  27. `;
  28. export const ProfileImageContainer = styled(Box)`
  29. width: 108px;
  30. height: 108px;
  31. overflow: hidden;
  32. border-radius: 100%;
  33. margin-left: auto;
  34. margin-right: auto;
  35. margin-bottom: 14px;
  36. `;
  37. export const ProfileImage = styled.img`
  38. width: 108px;
  39. height: 108px;
  40. overflow: hidden;
  41. border-radius: 100%;
  42. `;
  43. export const ProfileName = styled(CreateReviewTitle)`
  44. padding-top: 0;
  45. padding-bottom: 14px;
  46. `;
  47. export const FieldLabel = styled(Label)`
  48. position: relative;
  49. bottom: -14px;
  50. width: 100%;
  51. & label {
  52. font-size: 12px;
  53. font-weight: 600;
  54. line-height: 20px;
  55. color: ${selectedTheme.colors.primaryGrayText};
  56. cursor: auto;
  57. letter-spacing: 0.2px;
  58. text-align: left;
  59. }
  60. @media (max-width: 600px) {
  61. & label {
  62. font-size: 10px;
  63. }
  64. }
  65. `;
  66. export const SelectField = styled(Select)`
  67. position: relative;
  68. top: 15px;
  69. margin-bottom: 18px;
  70. height: 48px;
  71. text-align: left;
  72. ${props => props.exchange && `background-color: ${selectedTheme.colors.backgroundSponsoredColor};`}
  73. @media (max-width: 600px) {
  74. height: 33px;
  75. font-size: 14px;
  76. margin-bottom: 12px;
  77. }
  78. `;
  79. export const SelectOption = styled(Option)`
  80. font-family: ${selectedTheme.fonts.textFont};
  81. font-size: 16px;
  82. text-align: left;
  83. @media (max-width: 600px) {
  84. font-size: 12px;
  85. height: 35px !important;
  86. min-height: 35px;
  87. }
  88. `;
  89. export const CommentField = styled(TextField)`
  90. & * {
  91. font-family: ${selectedTheme.fonts.textFont};
  92. font-size: 16px;
  93. &::-webkit-scrollbar {
  94. width: 5px;
  95. }
  96. &::-webkit-scrollbar-track {
  97. background: #ddd;
  98. }
  99. &::-webkit-scrollbar-thumb {
  100. background: #777;
  101. }
  102. scrollbar-width: thin;
  103. scrollbar-color: #ddd;
  104. @media (max-width: 600px) {
  105. & * {
  106. font-size: 12px !important;
  107. /* line-height: 16px; */
  108. }
  109. & div {
  110. padding: 4px !important;
  111. padding-left: 8px !important;
  112. }
  113. }
  114. }
  115. `;