|
|
@ -84,6 +84,7 @@ const getStyles = (theme: GrafanaTheme2) => { |
|
|
|
activeStyle: css` |
|
|
|
activeStyle: css` |
|
|
|
label: activeTabStyle; |
|
|
|
label: activeTabStyle; |
|
|
|
color: ${theme.colors.text.primary}; |
|
|
|
color: ${theme.colors.text.primary}; |
|
|
|
|
|
|
|
font-weight: ${theme.typography.fontWeightMedium}; |
|
|
|
background: ${theme.colors.emphasize(theme.colors.background.canvas, 0.03)}; |
|
|
|
background: ${theme.colors.emphasize(theme.colors.background.canvas, 0.03)}; |
|
|
|
|
|
|
|
|
|
|
|
&::before { |
|
|
|
&::before { |
|
|
@ -115,6 +116,8 @@ const getStyles = (theme: GrafanaTheme2) => { |
|
|
|
fontSize: theme.typography.h5.fontSize, |
|
|
|
fontSize: theme.typography.h5.fontSize, |
|
|
|
marginTop: theme.spacing(2), |
|
|
|
marginTop: theme.spacing(2), |
|
|
|
fontWeight: theme.typography.fontWeightMedium, |
|
|
|
fontWeight: theme.typography.fontWeightMedium, |
|
|
|
|
|
|
|
// To make room for section toggle button when section is active
|
|
|
|
|
|
|
|
marginRight: theme.spacing(4), |
|
|
|
}), |
|
|
|
}), |
|
|
|
noRootMargin: css({ |
|
|
|
noRootMargin: css({ |
|
|
|
marginBottom: 0, |
|
|
|
marginBottom: 0, |
|
|
|