123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- import styled from '@emotion/styled';
- import {HeaderTitleLegend as _HeaderTitleLegend} from 'sentry/components/charts/styles';
- import {Panel} from 'sentry/components/panels';
- import {space} from 'sentry/styles/space';
- export const WidgetContainer = styled(Panel)`
- height: 340px;
- display: flex;
- flex-direction: column;
- padding-top: ${space(2)};
- `;
- export const HeaderContainer = styled('div')`
- display: grid;
- grid-auto-flow: column;
- grid-template-columns: 1fr auto;
- grid-template-rows: 26px auto;
- padding-left: ${space(2)};
- padding-right: ${space(2)};
- `;
- export const HeaderTitleLegend = styled(_HeaderTitleLegend)`
- position: relative;
- `;
- export const Subtitle = styled('div')`
- color: ${p => p.theme.gray300};
- font-size: ${p => p.theme.fontSizeMedium};
- display: inline-block;
- `;
- export const ContentContainer = styled('div')`
- flex: 1 1 auto;
- display: flex;
- flex-direction: column;
- justify-content: center;
- `;
- export const StatusContainer = styled('div')`
- display: flex;
- align-items: center;
- justify-content: center;
- flex: 1 1 auto;
- .loading {
- margin: 0 auto;
- }
- `;
- export const Accordion = styled('ul')`
- padding: ${space(1)} 0 0 0;
- margin: 0;
- list-style-type: none;
- display: flex;
- flex-direction: column;
- flex: 1 1 auto;
- `;
- export const AccordionItem = styled('li')`
- line-height: ${p => p.theme.text.lineHeightBody};
- display: flex;
- align-items: center;
- gap: ${space(1)};
- border-top: 1px solid ${p => p.theme.border};
- padding: ${space(1)} ${space(2)};
- font-size: ${p => p.theme.fontSizeMedium};
- `;
|