Statistics.styles.ts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import { List } from 'components/common/PropertiesList/PropertiesList.styled';
  2. import styled from 'styled-components';
  3. export const ProgressContainer = styled.div`
  4. padding: 1.5rem 1rem;
  5. background: ${({ theme }) => theme.code.backgroundColor};
  6. justify-content: center;
  7. align-items: center;
  8. display: flex;
  9. flex-direction: column;
  10. height: 300px;
  11. text-align: center;
  12. ${List} {
  13. opacity: 0.5;
  14. }
  15. `;
  16. export const ActionsBar = styled.div`
  17. display: flex;
  18. justify-content: end;
  19. gap: 8px;
  20. padding: 10px 20px;
  21. align-items: center;
  22. `;
  23. export const CreatedAt = styled.div`
  24. font-size: 12px;
  25. line-height: 1.5;
  26. color: ${({ theme }) => theme.statictics.createdAtColor};
  27. `;
  28. export const PartitionInfo = styled.div`
  29. display: grid;
  30. grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  31. column-gap: 24px;
  32. `;
  33. export const ProgressBarWrapper = styled.div`
  34. display: flex;
  35. justify-content: space-between;
  36. align-items: center;
  37. width: 280px;
  38. `;
  39. export const ProgressPct = styled.span`
  40. font-size: 15px;
  41. font-weight: bold;
  42. line-height: 1.5;
  43. color: ${({ theme }) => theme.statictics.progressPctColor};
  44. `;