ChatInfoModal.style.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. import styled from "styled-components";
  2. export const ChatInfoModalWrapper = styled.div`
  3. width: 100%;
  4. min-height: 400px;
  5. `;
  6. export const ChatInfoModalHeader = styled.div`
  7. display: flex;
  8. justify-content: space-between;
  9. padding: 18px 16px 20px;
  10. background-color: #fff;
  11. border-radius: 10px;
  12. align-items: center;
  13. `;
  14. export const ChatInfoModalName = styled.h3`
  15. margin: 0;
  16. font-weight: 500;
  17. font-size: 18px;
  18. padding-left: 10px;
  19. `;
  20. export const ChatInfoModalMain = styled.div`
  21. display: flex;
  22. align-items: center;
  23. padding: 0 20px 10px;
  24. background-color: #fff;
  25. `;
  26. export const ChatInfoTitle = styled.div`
  27. font-size: 18px;
  28. font-weight: 500;
  29. `;
  30. export const Divider = styled.div`
  31. height: 12px;
  32. background-color: #f3f3f3;
  33. border-top: 1px solid #e1e1e1;
  34. border-bottom: 1px solid #ececec;
  35. margin-bottom: 8px;
  36. margin-right: 1px;
  37. `;
  38. export const MemberListHeader = styled.div`
  39. display: flex;
  40. justify-content: space-between;
  41. padding: 10px 30px;
  42. `;
  43. export const MemberAmount = styled.div`
  44. font-size: 15px;
  45. text-transform: uppercase;
  46. font-weight: 500;
  47. `;
  48. export const ChatInfoModalAvatar = styled.div`
  49. margin-right: 30px;
  50. width: 75px;
  51. height: 75px;
  52. overflow: hidden;
  53. border-radius: 50%;
  54. &:hover section{
  55. transform: translateY(-30px);
  56. transition: transform 0.5s ease-out;
  57. }
  58. section{
  59. transform: translateY(0px);
  60. transition: transform 0.5s ease-out;
  61. }
  62. `;