MessageContent.styled.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. import styled from 'styled-components';
  2. export const Wrapper = styled.tr`
  3. background-color: ${({ theme }) => theme.topicMetaData.backgroundColor};
  4. & > td {
  5. padding: 16px;
  6. &:first-child {
  7. padding-right: 1px;
  8. }
  9. &:last-child {
  10. padding-left: 1px;
  11. }
  12. }
  13. `;
  14. export const Section = styled.div`
  15. padding: 0 16px;
  16. display: flex;
  17. gap: 1px;
  18. align-items: stretch;
  19. `;
  20. export const ContentBox = styled.div`
  21. background-color: white;
  22. padding: 24px;
  23. border-radius: 8px 0 0 8px;
  24. flex-grow: 3;
  25. & nav {
  26. padding-bottom: 16px;
  27. }
  28. `;
  29. export const MetadataWrapper = styled.div`
  30. background-color: white;
  31. padding: 24px;
  32. border-radius: 0 8px 8px 0;
  33. flex-grow: 1;
  34. display: flex;
  35. flex-direction: column;
  36. gap: 16px;
  37. min-width: 400px;
  38. `;
  39. export const Metadata = styled.span`
  40. display: flex;
  41. gap: 16px;
  42. `;
  43. export const MetadataLabel = styled.p`
  44. color: ${({ theme }) => theme.topicMetaData.color.label};
  45. font-size: 14px;
  46. width: 80px;
  47. `;
  48. export const MetadataValue = styled.p`
  49. color: ${({ theme }) => theme.topicMetaData.color.value};
  50. font-size: 14px;
  51. `;
  52. export const MetadataMeta = styled.p`
  53. color: ${({ theme }) => theme.topicMetaData.color.meta};
  54. font-size: 12px;
  55. `;