mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-24 08:31:20 +00:00
Refactor style
This commit is contained in:
parent
21e3cdafd9
commit
8f6ecb22ec
@ -783,13 +783,11 @@ export const NotAuthenticated = ({
|
|||||||
id="alert-dialog-title"
|
id="alert-dialog-title"
|
||||||
sx={{
|
sx={{
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
color: theme.palette.text.primary,
|
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{t('auth:node.custom_many', { postProcess: 'capitalizeFirstChar' })}
|
{t('auth:node.custom_many', { postProcess: 'capitalizeAll' })}
|
||||||
:
|
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
|
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
@ -819,7 +817,6 @@ export const NotAuthenticated = ({
|
|||||||
>
|
>
|
||||||
<Typography
|
<Typography
|
||||||
sx={{
|
sx={{
|
||||||
color: theme.palette.text.primary,
|
|
||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -828,10 +825,10 @@ export const NotAuthenticated = ({
|
|||||||
|
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
|
alignItems: 'center',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
gap: '10px',
|
gap: '10px',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
alignItems: 'center',
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Button
|
<Button
|
||||||
@ -885,7 +882,6 @@ export const NotAuthenticated = ({
|
|||||||
>
|
>
|
||||||
<Typography
|
<Typography
|
||||||
sx={{
|
sx={{
|
||||||
color: theme.palette.text.primary,
|
|
||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -978,10 +974,10 @@ export const NotAuthenticated = ({
|
|||||||
{mode === 'add-node' && (
|
{mode === 'add-node' && (
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
|
alignItems: 'center',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
gap: '10px',
|
gap: '10px',
|
||||||
justifyContent: 'space-between',
|
justifyContent: 'space-between',
|
||||||
alignItems: 'center',
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Input
|
<Input
|
||||||
@ -1071,7 +1067,6 @@ export const NotAuthenticated = ({
|
|||||||
id="alert-dialog-title"
|
id="alert-dialog-title"
|
||||||
sx={{
|
sx={{
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
color: theme.palette.text.primary,
|
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
}}
|
}}
|
||||||
|
@ -80,6 +80,14 @@ const commonThemeOptions = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
MuiPopover: {
|
||||||
|
styleOverrides: {
|
||||||
|
paper: {
|
||||||
|
backgroundImage: 'none',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -116,16 +116,21 @@ export const darkThemeOptions: ThemeOptions = {
|
|||||||
|
|
||||||
MuiDialog: {
|
MuiDialog: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
|
root: {
|
||||||
|
backgroundColor: 'rgb(77, 80, 85)',
|
||||||
|
color: 'rgb(255, 255, 255)',
|
||||||
|
},
|
||||||
paper: {
|
paper: {
|
||||||
backgroundImage: 'none',
|
backgroundImage: 'none',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
MuiPopover: {
|
MuiPaper: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
paper: {
|
root: {
|
||||||
backgroundImage: 'none',
|
backgroundColor: 'rgb(77, 80, 85)',
|
||||||
|
color: 'rgb(255, 255, 255)',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -118,16 +118,21 @@ export const lightThemeOptions: ThemeOptions = {
|
|||||||
|
|
||||||
MuiDialog: {
|
MuiDialog: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
|
root: {
|
||||||
|
backgroundColor: 'rgb(220, 220, 220)',
|
||||||
|
color: 'rgba(0, 0, 0, 0.87)',
|
||||||
|
},
|
||||||
paper: {
|
paper: {
|
||||||
backgroundImage: 'none',
|
backgroundImage: 'none',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
MuiPopover: {
|
MuiPaper: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
paper: {
|
root: {
|
||||||
backgroundImage: 'none',
|
backgroundColor: 'rgb(220, 220, 220)',
|
||||||
|
color: 'rgba(0, 0, 0, 0.87)',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user