otherStyled.ts 708 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import styled, { css } from 'styled-components';
  2. export const Separator = styled.div`
  3. flex: 1 1 auto;
  4. `;
  5. export const SidebarWrapper = styled.div`
  6. position: fixed;
  7. top: 60px;
  8. bottom: 0px;
  9. width: 267px;
  10. background-color: white;
  11. box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
  12. z-index: 1;
  13. overflow: auto;
  14. transition: left 225ms cubic-bezier(0, 0, 0.2, 1) 0ms;
  15. left: 0;
  16. `;
  17. export const AnnotationContainer = styled('div')<{
  18. top: string;
  19. left: string;
  20. width: string;
  21. height: string;
  22. }>`
  23. position: absolute;
  24. overflow: hidden;
  25. cursor: pointer;
  26. ${(props) => css`
  27. top: ${props.top};
  28. left: ${props.left};
  29. width: ${props.width};
  30. height: ${props.height};
  31. `}
  32. `;