Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

DirectChatContentHeader.styled.js 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. import { Box } from "@mui/material";
  2. import styled from "styled-components";
  3. import selectedTheme from "../../../../themes";
  4. import {ReactComponent as Location} from "../../../../assets/images/svg/location.svg"
  5. import {ReactComponent as Phone} from "../../../../assets/images/svg/phone.svg"
  6. import { IconButton } from "../../../Buttons/IconButton/IconButton";
  7. export const DirectChatContentHeaderContainer = styled(Box)`
  8. height: 90px;
  9. background-color: ${selectedTheme.colors.chatHeaderColor};
  10. width: 100%;
  11. display: flex;
  12. flex-direction: row;
  13. padding: 17px;
  14. padding-left: 35px;
  15. justify-content: space-between;
  16. `
  17. export const DirectChatContentHeaderFlexContainer = styled(Box)`
  18. display: flex;
  19. flex-direction: row;
  20. `
  21. export const ProfileImage = styled.img`
  22. width: 54px;
  23. height: 54px;
  24. border-radius: 100%;
  25. overflow: hidden;
  26. `
  27. export const ProfileDetails = styled(Box)`
  28. display: flex;
  29. flex-direction: column;
  30. margin-left: 18px;
  31. `
  32. export const ProfileName = styled(Box)`
  33. font-weight: 600;
  34. font-family: ${selectedTheme.fonts.textFont};
  35. font-size: 16px;
  36. color: ${selectedTheme.colors.primaryPurple};
  37. `
  38. export const ProfileLocation = styled(Box)`
  39. display: flex;
  40. flex-direction: row;
  41. `
  42. export const ProfileLocationText = styled(Box)`
  43. color: ${selectedTheme.colors.primaryDarkText};
  44. font-size: 12px;
  45. font-family: ${selectedTheme.fonts.textFont};
  46. margin-left: 5.5px;
  47. `
  48. export const ProfileLocationIcon = styled(Location)`
  49. width: 12px;
  50. height: 12px;
  51. position: relative;
  52. top: 2px;
  53. `
  54. export const PhoneIcon = styled(Phone)`
  55. position: relative;
  56. top: 2.5px;
  57. left: 1.5px;
  58. `
  59. export const PhoneIconContainer = styled(IconButton)`
  60. background-color: white;
  61. width: 40px;
  62. height: 40px;
  63. border-radius: 100%;
  64. transition: .2s all;
  65. &:hover button:hover {
  66. background-color: ${selectedTheme.colors.primaryIconBackgroundColor};
  67. }
  68. &:hover {
  69. background-color: ${selectedTheme.colors.primaryIconBackgroundColor};
  70. cursor: pointer;
  71. }
  72. `