LatestVersionItem.styled.tsx 895 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import Heading from 'components/common/heading/Heading.styled';
  2. import React from 'react';
  3. import styled from 'styled-components';
  4. import theme from 'theme/theme';
  5. export const Wrapper = styled.div`
  6. width: 100%;
  7. background-color: ${theme.layout.stuffColor};
  8. padding: 16px;
  9. display: flex;
  10. justify-content: center;
  11. align-items: stretch;
  12. gap: 2px;
  13. max-height: 700px;
  14. & > * {
  15. background-color: ${theme.panelColor};
  16. padding: 24px;
  17. overflow-y: scroll;
  18. }
  19. & > div:first-child {
  20. border-radius: 8px 0 0 8px;
  21. flex-grow: 2;
  22. }
  23. & > div:last-child {
  24. border-radius: 0 8px 8px 0;
  25. flex-grow: 1;
  26. & > div {
  27. display: flex;
  28. gap: 16px;
  29. padding-bottom: 16px;
  30. }
  31. }
  32. `;
  33. export const MetaDataLabel = styled((props) => (
  34. <Heading level={4} {...props} />
  35. ))`
  36. color: ${theme.lastestVersionItem.metaDataLabel.color};
  37. width: 110px;
  38. `;