DropZoneAvatar.style.js 580 B

123456789101112131415161718192021222324252627282930
  1. import styled from "styled-components";
  2. export const AvatarWrap = styled.div`
  3. overflow: hidden;
  4. border-radius: 50%;
  5. width: 75px;
  6. height: 75px;
  7. position: relative;
  8. margin-right: 30px;
  9. &:hover div:last-child {
  10. z-index: 100;
  11. }
  12. `;
  13. export const AvatarOverlay = styled.div`
  14. background-color: grey;
  15. width: 75px;
  16. height: 75px;
  17. opacity: 0.5;
  18. display: flex;
  19. justify-content: center;
  20. align-items: center;
  21. cursor: pointer;
  22. position: absolute;
  23. top: 0px;
  24. z-index: -1;
  25. img{
  26. height: 30px;
  27. }
  28. `;