2022-10-11 23:37:30 -05:00
|
|
|
/////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
2024-01-01 02:43:48 -06:00
|
|
|
// Copyright (C) 2013 - 2024, The pgAdmin Development Team
|
2022-10-11 23:37:30 -05:00
|
|
|
// This software is released under the PostgreSQL Licence
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
export default function pickrOverride(theme) {
|
|
|
|
return {
|
|
|
|
'.pickr, .pcr-app': {
|
|
|
|
fontFamily: theme.typography.fontFamily,
|
|
|
|
'& *:focus': {
|
|
|
|
outline: 'none !important',
|
|
|
|
},
|
|
|
|
'& .pcr-save': {
|
|
|
|
backgroundColor: theme.palette.primary.main + '!important',
|
|
|
|
borderRadius: theme.shape.borderRadius + 'px !important',
|
|
|
|
color: theme.palette.primary.contrastText + '!important',
|
|
|
|
border: '1px solid '+theme.palette.primary.main,
|
|
|
|
},
|
|
|
|
'& .pcr-clear': {
|
|
|
|
backgroundColor: theme.palette.default.main + '!important',
|
|
|
|
borderRadius: theme.shape.borderRadius + 'px !important',
|
|
|
|
color: theme.palette.default.contrastText + '!important',
|
|
|
|
border: '1px solid '+theme.palette.default.borderColor,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|