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.

ProfileContact.styled.js 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. import styled from "styled-components";
  2. import { Grid, Typography } from "@mui/material";
  3. import { ReactComponent as Location } from "../../../../assets/images/svg/location.svg";
  4. import { ReactComponent as Mail } from "../../../../assets/images/svg/mail.svg";
  5. import { ReactComponent as Globe } from "../../../../assets/images/svg/globe.svg";
  6. import selectedTheme from "../../../../themes";
  7. export const ProfileContactContainer = styled(Grid)`
  8. padding-top: ${(props) => (props.isAdmin ? `20px` : `2rem`)};
  9. padding-bottom: ${(props) => (props.isAdmin ? "0" : "2rem")};
  10. @media (max-width: 600px) {
  11. padding-bottom: 1rem;
  12. padding-top: 88px;
  13. gap: 5px;
  14. width: calc(100vw - 216px);
  15. }
  16. `;
  17. export const LocationIcon = styled(Location)`
  18. height: 22px;
  19. width: 22px;
  20. & path {
  21. stroke: ${(props) =>
  22. props.isMyProfile
  23. ? selectedTheme.colors.iconMineProfileColor
  24. : selectedTheme.colors.iconProfileColor};
  25. }
  26. @media (max-width: 600px) {
  27. width: 14px;
  28. height: 14px;
  29. }
  30. `;
  31. export const ContactItem = styled(Typography)`
  32. margin-right: 2rem;
  33. margin-left: 0.4rem;
  34. color: ${(props) =>
  35. props.isMyProfile ? "white" : selectedTheme.colors.primaryDarkText};
  36. display: unset;
  37. font-family: ${selectedTheme.fonts.textFont};
  38. letter-spacing: 0.02em;
  39. font-size: 16px;
  40. position: relative;
  41. bottom: 1px;
  42. @media (max-width: 600px) {
  43. font-size: 14px;
  44. bottom: 4px;
  45. margin-right: 0;
  46. }
  47. `;
  48. export const MailIcon = styled(Mail)`
  49. height: 24px;
  50. width: 24px;
  51. & path {
  52. stroke: ${(props) =>
  53. props.isMyProfile
  54. ? selectedTheme.colors.iconMineProfileColor
  55. : selectedTheme.colors.iconProfileColor};
  56. }
  57. @media (max-width: 600px) {
  58. width: 14px;
  59. height: 14px;
  60. }
  61. `;
  62. export const GlobeIcon = styled(Globe)`
  63. height: 22px;
  64. width: 22px;
  65. & path {
  66. stroke: ${(props) =>
  67. props.isMyProfile
  68. ? selectedTheme.colors.iconMineProfileColor
  69. : selectedTheme.colors.iconProfileColor};
  70. }
  71. @media (max-width: 600px) {
  72. width: 14px;
  73. height: 14px;
  74. }
  75. `;