mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-07-07 04:53:25 -05:00
Fixed some more styling issues broken due to JSS changes. #7363
This commit is contained in:
parent
a60cbf00c8
commit
6410ae5f69
|
@ -200,7 +200,7 @@ export default function jsonEditorOverride(theme) {
|
||||||
|
|
||||||
/* Set expand icon to none*/
|
/* Set expand icon to none*/
|
||||||
'div.jsoneditor-tree button.jsoneditor-button:focus': {
|
'div.jsoneditor-tree button.jsoneditor-button:focus': {
|
||||||
backgroundColor: theme.palette.text.primary + ' !important',
|
backgroundColor: theme.palette.background.default + ' !important',
|
||||||
outline: 'none',
|
outline: 'none',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ export default function jsonEditorOverride(theme) {
|
||||||
},
|
},
|
||||||
'& .ace_marker-layer .ace_selected-word, & .ace_marker-layer .ace_selection': {
|
'& .ace_marker-layer .ace_selected-word, & .ace_marker-layer .ace_selection': {
|
||||||
border: `1px solid ${theme.palette.primary.light}`,
|
border: `1px solid ${theme.palette.primary.light}`,
|
||||||
|
backgroundColor: theme.otherVars.editor.selectionBg,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
@ -302,13 +302,17 @@ export default function jsonEditorOverride(theme) {
|
||||||
fontFamily: theme.typography.fontFamily + ' !important',
|
fontFamily: theme.typography.fontFamily + ' !important',
|
||||||
fontSize: '.875rem !important',
|
fontSize: '.875rem !important',
|
||||||
fontWeight: 'bold',
|
fontWeight: 'bold',
|
||||||
backgroundColor: theme.palette.primary.main + ' !important',
|
backgroundColor: theme.palette.background.default + ' !important',
|
||||||
color: theme.palette.text.primary,
|
color: theme.palette.text.primary + ' !important',
|
||||||
|
borderBottom: `1px solid ${theme.otherVars.borderColor}`,
|
||||||
},
|
},
|
||||||
|
|
||||||
/* Body */
|
/* Body */
|
||||||
'.pico-content': {
|
'.pico-content': {
|
||||||
backgroundColor: theme.palette.background.default + ' !important',
|
backgroundColor: theme.palette.background.default + ' !important',
|
||||||
|
'& .pico-close':{
|
||||||
|
color: theme.palette.text.primary + ' !important',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/* Disable links */
|
/* Disable links */
|
||||||
|
|
|
@ -20,7 +20,7 @@ const StyledTable = styled('table')(({theme})=>({
|
||||||
'& tbody td, & thead th': {
|
'& tbody td, & thead th': {
|
||||||
margin: 0,
|
margin: 0,
|
||||||
padding: theme.spacing(0.5),
|
padding: theme.spacing(0.5),
|
||||||
border: '1px solid '+theme.otherVars.borderColor,
|
border: '1px solid '+ theme.otherVars.borderColor,
|
||||||
borderBottom: 'none',
|
borderBottom: 'none',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
|
|
|
@ -45,6 +45,10 @@ const StyledBox = styled(Box)(({theme}) => ({
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
minHeight: 0,
|
minHeight: 0,
|
||||||
|
'& .DebuggerArgument-schema': {
|
||||||
|
padding: 0 + ' !important',
|
||||||
|
backgroundColor: theme.palette.background.default,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
'& .DebuggerArgument-footer': {
|
'& .DebuggerArgument-footer': {
|
||||||
borderTop: `1px solid ${theme.otherVars.inputBorderColor} !important`,
|
borderTop: `1px solid ${theme.otherVars.inputBorderColor} !important`,
|
||||||
|
@ -810,6 +814,7 @@ export default function DebuggerArgumentComponent({ debuggerInfo, restartDebug,
|
||||||
showFooter={false}
|
showFooter={false}
|
||||||
isTabView={false}
|
isTabView={false}
|
||||||
Notifier={pgAdmin.Browser.notifier}
|
Notifier={pgAdmin.Browser.notifier}
|
||||||
|
formClassName='DebuggerArgument-schema'
|
||||||
onDataChange={(isChanged, changedData) => {
|
onDataChange={(isChanged, changedData) => {
|
||||||
let isValid = false;
|
let isValid = false;
|
||||||
let skipStep = false;
|
let skipStep = false;
|
||||||
|
|
|
@ -82,6 +82,7 @@ const StyledBox = styled(Box)(({theme}) => ({
|
||||||
},
|
},
|
||||||
'&[aria-selected=true][aria-colindex="1"]': {
|
'&[aria-selected=true][aria-colindex="1"]': {
|
||||||
outlineWidth: 0,
|
outlineWidth: 0,
|
||||||
|
backgroundColor: theme.palette.default.main + ' !important'
|
||||||
},
|
},
|
||||||
'& .ResultGridComponent-cellExpand': {
|
'& .ResultGridComponent-cellExpand': {
|
||||||
display: 'table',
|
display: 'table',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user