styled.ts 930 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import styled from 'styled-components';
  2. import { color } from '../../constants/style';
  3. export const PageNumber = styled.div`
  4. font-size: 12px;
  5. font-weight: bold;
  6. color: ${color.primary};
  7. text-align: right;
  8. margin-bottom: 5px;
  9. `;
  10. export const AnnotationBox = styled.div`
  11. border-radius: 4px;
  12. border: solid 1px ${color.black38};
  13. padding: 12px;
  14. width: 235px;
  15. margin-bottom: 12px;
  16. display: flex;
  17. flex-direction: column;
  18. cursor: pointer;
  19. `;
  20. export const Group = styled.div`
  21. display: flex;
  22. justify-content: space-between;
  23. align-items: center;
  24. span {
  25. font-size: 12px;
  26. color: gray;
  27. }
  28. :not(:first-child) {
  29. margin-top: 5px;
  30. }
  31. `;
  32. export const Content = styled.div`
  33. text-align: left;
  34. position: relative;
  35. `;
  36. export const Inner = styled.div`
  37. display: inline-block;
  38. position: relative;
  39. padding: 0 2px;
  40. `;
  41. export const Text = styled.div`
  42. z-index: 1;
  43. position: relative;
  44. `;