mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
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>
29 lines
576 B
TypeScript
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};
|
|
}
|
|
}
|
|
}
|
|
`;
|
|
}
|