@@ -36,6 +36,8 @@ export const {
3636 experimentLabelColor,
3737 errorFieldBorder,
3838 primaryColorHover,
39+ fabDisableColor,
40+ fabDisableBg,
3941} = vars ;
4042
4143const rawTheme = {
@@ -88,7 +90,7 @@ const rawTheme = {
8890 } ,
8991 MuiCard : {
9092 root : {
91- backgroundColor : bgDarker ,
93+ backgroundColor : ` ${ bgDarker } !important` ,
9294 overflowY : 'auto' ,
9395 flex : 1 ,
9496 } ,
@@ -109,7 +111,13 @@ const rawTheme = {
109111 root : {
110112 color : fontColor ,
111113 textTransform : 'uppercase' ,
112- maxwidth : 'auto' ,
114+ padding : '0.375rem 0.75rem 0.5rem !important' ,
115+ maxWidth : '10.5rem' ,
116+ minWidth : '5rem' ,
117+
118+ '& .MuiBottomNavigationAction-wrapper' : {
119+ lineHeight : '1.428125rem' ,
120+ } ,
113121 } ,
114122 label : {
115123 fontSize : '1rem' ,
@@ -120,8 +128,34 @@ const rawTheme = {
120128 MuiFab : {
121129 secondary : { color : fontColor } ,
122130 primary : { color : fontColor } ,
131+ root : {
132+ '&:not(.Mui-disabled).MuiFab-primary' : {
133+ backgroundColor : primaryColor ,
134+ '&:hover' : {
135+ backgroundColor : secondaryColor ,
136+ } ,
137+ } ,
138+
139+ '&:not(.Mui-disabled).MuiFab-secondary' : {
140+ backgroundColor : secondaryColor ,
141+ '&:hover' : {
142+ backgroundColor : primaryColor ,
143+ } ,
144+ } ,
145+
146+ '&.Mui-disabled' : {
147+ color : fabDisableColor ,
148+ boxShadow : 'none' ,
149+ backgroundColor : fabDisableBg ,
150+ } ,
151+ } ,
123152 } ,
124153 MuiButton : {
154+ root : {
155+ '&.MuiButtonGroup-grouped' : {
156+ minWidth : '2.5rem' ,
157+ } ,
158+ } ,
125159 contained : {
126160 color : fontColor ,
127161 backgroundColor : bgInputs ,
@@ -145,17 +179,17 @@ const rawTheme = {
145179 MuiTypography : { root : { color : fontColor } } ,
146180 MuiCollapse : {
147181 container : { padding : 0 } ,
148- wrapper : { padding : '0px !important' } ,
182+ wrapper : { padding : '0 !important' } ,
149183 } ,
150184 MuiIcon : { fontSizeLarge : { fontSize : '1.75rem' } } ,
151185 MuiAccordionSummary : {
152186 root : {
153- padding : '0px !important' ,
187+ padding : '0 !important' ,
154188 margin : 0 ,
155189 minHeight : 'unset!important' ,
156190 } ,
157191 content : {
158- margin : '0px !important' ,
192+ margin : '0 !important' ,
159193 cursor : 'auto' ,
160194 } ,
161195 expandIcon : { marginRight : 0 } ,
@@ -171,12 +205,53 @@ const rawTheme = {
171205 MuiAccordion : {
172206 root : {
173207 padding : 0 ,
174- margin : '0px !important' ,
208+ margin : '0 !important' ,
175209 minHeight : 'unset' ,
176210 } ,
177211 } ,
178- MuiAutocomplete : { popupIndicator : { marginRight : 0 } } ,
212+ MuiAutocomplete : {
213+ root : {
214+ '& .MuiIconButton-root' : {
215+ padding : '0.125rem !important' ,
216+ } ,
217+ } ,
218+ popupIndicator : { marginRight : 0 } ,
219+ } ,
179220 MuiCardContent : { root : { padding : 8 } } ,
221+
222+ MuiListItem : {
223+ root : {
224+ '&.MuiButtonBase-root' : {
225+ color : 'white' ,
226+ paddingTop : '.5rem' ,
227+ whiteSpace : 'nowrap' ,
228+ paddingBottom : '0.375rem' ,
229+ display : 'flex' ,
230+ justifyContent : 'flex-start' ,
231+ textDecoration : 'none' ,
232+ textAlign : 'left' ,
233+ alignItems : 'center' ,
234+ } ,
235+
236+ '&.MuiListItem-dense' : {
237+ padding : '0.25rem 0.5rem' ,
238+ borderRadius : '0.25rem' ,
239+ justifyContent : 'flex-start' ,
240+ } ,
241+
242+ '&.MuiMenuItem-gutters' : {
243+ paddingLeft : '2rem' ,
244+ paddingRight : '2rem' ,
245+ } ,
246+ } ,
247+ } ,
248+
249+ MuiIconButton : {
250+ root : {
251+ color : fontColor ,
252+ padding : '0.75rem !important' ,
253+ } ,
254+ } ,
180255 } ,
181256} ;
182257
0 commit comments