SearchUserItem.style.js 781 B

1234567891011121314151617181920212223242526272829303132333435
  1. import styled from "styled-components";
  2. export const SearchUserItemWrapper = styled.li`
  3. width: 100%;
  4. height: 60px;
  5. &:hover{
  6. background-color: #f3f3f3;
  7. }
  8. display: flex;
  9. justify-content: left;
  10. align-items: center;
  11. `;
  12. export const SearchUserItemName = styled.div``;
  13. export const BadgeImgWrapper = styled.div`
  14. background-color: #00a6dd;
  15. border-radius: 50%;
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. border: 2px solid #fff;
  20. `;
  21. export const AvatarWrapper = styled.div`
  22. width: 48px;
  23. height: 48px;
  24. border-radius: 50%;
  25. transition-duration: 100ms;
  26. transition-property: border, padding;
  27. ${props => props.checked && `
  28. border: 2px solid #00a6dd;
  29. padding: 2px;
  30. `}
  31. `;