You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
680 B
33 lines
680 B
import { css } from '@emotion/css';
|
|
import { GrafanaTheme2 } from '@grafana/data';
|
|
|
|
export const getFormStyles = (theme: GrafanaTheme2) => {
|
|
return {
|
|
container: css`
|
|
align-items: center;
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
|
|
& > * + * {
|
|
margin-left: ${theme.spacing(1)};
|
|
}
|
|
`,
|
|
input: css`
|
|
flex: 1;
|
|
`,
|
|
timingContainer: css`
|
|
max-width: ${theme.spacing(33)};
|
|
`,
|
|
smallInput: css`
|
|
width: ${theme.spacing(6.5)};
|
|
`,
|
|
linkText: css`
|
|
text-decoration: underline;
|
|
`,
|
|
collapse: css`
|
|
border: none;
|
|
background: none;
|
|
color: ${theme.colors.text.primary};
|
|
`,
|
|
};
|
|
};
|
|
|