styles.tsx 889 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import styled from '@emotion/styled';
  2. import {SectionHeading} from 'sentry/components/charts/styles';
  3. import PanelItem from 'sentry/components/panels/panelItem';
  4. import {space} from 'sentry/styles/space';
  5. export const Card = styled(PanelItem)`
  6. display: grid;
  7. grid-template-columns: 325px minmax(100px, auto);
  8. padding: 0;
  9. `;
  10. export const CardSection = styled('div')`
  11. padding: ${space(3)};
  12. `;
  13. export const CardSummary = styled(CardSection)`
  14. position: relative;
  15. border-right: 1px solid ${p => p.theme.border};
  16. grid-column: 1/1;
  17. display: flex;
  18. flex-direction: column;
  19. justify-content: space-between;
  20. `;
  21. export const CardSectionHeading = styled(SectionHeading)`
  22. margin: 0px;
  23. `;
  24. export const Description = styled('div')`
  25. font-size: ${p => p.theme.fontSizeMedium};
  26. color: ${p => p.theme.subText};
  27. `;
  28. export const StatNumber = styled('div')`
  29. font-size: 32px;
  30. `;