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.

FirstStepCreateReview.styled.js 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. export const FirstStepCreateReviewContainer = styled(Box)`
  8. text-align: center;
  9. padding: 36px;
  10. @media (max-width: 600px) {
  11. padding: 0;
  12. padding-top: 36px;
  13. flex: 1;
  14. }
  15. `;
  16. export const CreateReviewTitle = styled(Typography)`
  17. width: 100%;
  18. text-align: center;
  19. color: ${selectedTheme.colors.primaryPurple};
  20. font-family: ${selectedTheme.fonts.textFont};
  21. font-size: 24px;
  22. font-weight: 700;
  23. padding-bottom: 36px;
  24. @media (max-width: 600px) {
  25. font-size: 18px;
  26. padding-bottom: 24px;
  27. }
  28. `;
  29. export const ProfileImageContainer = styled(Box)`
  30. width: 108px;
  31. height: 108px;
  32. overflow: hidden;
  33. border-radius: 100%;
  34. margin-left: auto;
  35. margin-right: auto;
  36. margin-bottom: 14px;
  37. `;
  38. export const ProfileImage = styled.img`
  39. width: 108px;
  40. height: 108px;
  41. overflow: hidden;
  42. border-radius: 100%;
  43. `;
  44. export const ProfileName = styled(CreateReviewTitle)`
  45. padding-top: 0;
  46. padding-bottom: 14px;
  47. `;
  48. export const FieldLabel = styled(Label)`
  49. position: relative;
  50. bottom: -14px;
  51. width: 100%;
  52. & label {
  53. font-size: 12px;
  54. font-weight: 600;
  55. line-height: 20px;
  56. color: ${selectedTheme.colors.primaryGrayText};
  57. cursor: auto;
  58. letter-spacing: 0.2px;
  59. text-align: left;
  60. }
  61. @media (max-width: 600px) {
  62. & label {
  63. font-size: 10px;
  64. }
  65. }
  66. `;
  67. export const SelectField = styled(Select)`
  68. position: relative;
  69. top: 15px;
  70. margin-bottom: 18px;
  71. height: 48px;
  72. text-align: left;
  73. ${props => props.exchange && `background-color: ${selectedTheme.colors.backgroundSponsoredColor};`}
  74. @media (max-width: 600px) {
  75. height: 40px;
  76. font-size: 14px;
  77. margin-bottom: 18px;
  78. }
  79. `;
  80. export const SelectOption = styled(Option)`
  81. font-family: ${selectedTheme.fonts.textFont};
  82. font-size: 16px;
  83. text-align: left;
  84. @media (max-width: 600px) {
  85. font-size: 12px;
  86. height: 35px !important;
  87. min-height: 35px;
  88. }
  89. `;