grafana/public/app/features/query-library/globalStyles.ts
Artur Wierzbicki 009d65b794
Add query library behind dev-mode-only feature flag (#55947)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-11-30 15:33:40 -08:00

29 lines
576 B
TypeScript

import { css } from '@emotion/react';
import { GrafanaTheme2 } from '@grafana/data';
export function getGlobalStyles(theme: GrafanaTheme2) {
return css`
.filter-table {
border-collapse: separate;
border-spacing: 0 5px;
tbody {
tr:nth-child(odd) {
background: ${theme.colors.background.secondary};
}
tr {
background: ${theme.colors.background.secondary};
}
}
&--hover {
tbody tr:hover {
background: ${theme.colors.background.primary};
}
}
}
`;
}