mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
38 lines
889 B
TypeScript
38 lines
889 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
import {SectionHeading} from 'sentry/components/charts/styles';
|
|
import PanelItem from 'sentry/components/panels/panelItem';
|
|
import {space} from 'sentry/styles/space';
|
|
|
|
export const Card = styled(PanelItem)`
|
|
display: grid;
|
|
grid-template-columns: 325px minmax(100px, auto);
|
|
padding: 0;
|
|
`;
|
|
|
|
export const CardSection = styled('div')`
|
|
padding: ${space(3)};
|
|
`;
|
|
|
|
export const CardSummary = styled(CardSection)`
|
|
position: relative;
|
|
border-right: 1px solid ${p => p.theme.border};
|
|
grid-column: 1/1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
`;
|
|
|
|
export const CardSectionHeading = styled(SectionHeading)`
|
|
margin: 0px;
|
|
`;
|
|
|
|
export const Description = styled('div')`
|
|
font-size: ${p => p.theme.fontSizeMedium};
|
|
color: ${p => p.theme.subText};
|
|
`;
|
|
|
|
export const StatNumber = styled('div')`
|
|
font-size: 32px;
|
|
`;
|