style.js 710 B

12345678910111213141516171819202122232425262728293031
  1. import styled from "styled-components";
  2. export const Wrapper = styled.div`
  3. display: flex;
  4. width: 99%;
  5. margin: 0 0 5px -10px;
  6. padding: 5px 0 5px 10px;
  7. display: flex;
  8. align-items: center;
  9. transition: 0.2s;
  10. border-radius: 0 3px 3px 0;
  11. background: ${({ active }) =>
  12. active ? "rgba(255, 255, 255, 0.1)" : "none"};
  13. &:hover {
  14. cursor: pointer;
  15. background: rgba(255, 255, 255, 0.1);
  16. }
  17. `;
  18. export const Text = styled.p`
  19. font-size: 14px;
  20. margin-left: 10px;
  21. `;
  22. export const Image = styled.img`
  23. filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(116deg)
  24. brightness(109%) contrast(109%);
  25. width: 20px;
  26. height: 20px;
  27. `;