X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/32e3370febf2e29c45e27065cdc14a883775f261..5b2cd67083705b616e5d468e8ad2c10d84db2af7:/src/common/custom-theme.ts diff --git a/src/common/custom-theme.ts b/src/common/custom-theme.ts index 0faf781d..d93b37b7 100644 --- a/src/common/custom-theme.ts +++ b/src/common/custom-theme.ts @@ -71,9 +71,11 @@ export const themeOptions: ArvadosThemeOptions = { } }, MuiTab: { - selected: { - fontWeight: 700, - color: arvadosPurple + root: { + '&$selected': { + fontWeight: 700, + color: arvadosPurple + } } }, MuiList: { @@ -101,6 +103,28 @@ export const themeOptions: ArvadosThemeOptions = { fontSize: '1.25rem' } }, + MuiExpansionPanel: { + expanded: { + marginTop: '8px', + } + }, + MuiExpansionPanelDetails: { + root: { + marginBottom: 0, + paddingBottom: '4px', + } + }, + MuiExpansionPanelSummary: { + content: { + '&$expanded': { + margin: 0, + }, + color: grey700, + fontSize: '1.25rem', + margin: 0, + }, + expanded: {}, + }, MuiMenuItem: { root: { padding: '8px 16px' @@ -121,11 +145,11 @@ export const themeOptions: ArvadosThemeOptions = { }, MuiFormLabel: { root: { - fontSize: '0.875rem' - }, - focused: { - "&$focused:not($error)": { - color: arvadosPurple + fontSize: '0.875rem', + "&$focused": { + "&$focused:not($error)": { + color: arvadosPurple + } } } },