RC-2: update fuse layout and add new values to themes config

This commit is contained in:
2023-06-11 11:37:15 +01:00
parent 0885eef073
commit 6614303b4b
2 changed files with 24 additions and 15 deletions

View File

@@ -11,7 +11,6 @@ import { memo, useCallback, useContext, useMemo, useRef } from 'react';
import { useDispatch, useSelector } from 'react-redux';
import { matchRoutes, useLocation } from 'react-router-dom';
import GlobalStyles from '@mui/material/GlobalStyles';
import { alpha } from '@mui/material/styles';
const inputGlobalStyles = (
<GlobalStyles
@@ -38,20 +37,23 @@ const inputGlobalStyles = (
'table.simple thead tr th': {
borderColor: theme.palette.divider,
},
'a:not([role=button]):not(.MuiButtonBase-root)': {
color: theme.palette.secondary.main,
textDecoration: 'underline',
'&:hover': {},
},
'a.link, a:not([role=button])[target=_blank]': {
background: alpha(theme.palette.secondary.main, 0.2),
color: 'inherit',
borderBottom: `1px solid ${theme.palette.divider}`,
textDecoration: 'none',
'&:hover': {
background: alpha(theme.palette.secondary.main, 0.3),
textDecoration: 'none',
},
// 'a:not([role=button]):not(.MuiButtonBase-root)': {
// color: theme.palette.secondary.main,
// textDecoration: 'underline',
// '&:hover': {},
// },
// 'a.link, a:not([role=button])[target=_blank]': {
// background: alpha(theme.palette.secondary.main, 0.2),
// color: 'inherit',
// borderBottom: `1px solid ${theme.palette.divider}`,
// textDecoration: 'none',
// '&:hover': {
// background: alpha(theme.palette.secondary.main, 0.3),
// textDecoration: 'none',
// },
// },
'[class*="MuiOutlinedInput-root"]': {
borderRadius: theme.size?.inputRadius,
},
'[class^="border"]': {
borderColor: theme.palette.divider,