styled.ts 926 B

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