17426: Add dialog box with form to example plugin.
[arvados-workbench2.git] / src / common / custom-theme.ts
index 0faf781d6d27edbcb8b09db7496902927ffb8feb..d93b37b79b9c2de27e92b2a565012711a85de68e 100644 (file)
@@ -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
+                    }
                 }
             }
         },