12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- import { makeStyles, Theme } from '@material-ui/core';
- export const getQueryStyles = makeStyles((theme: Theme) => ({
- root: {
- display: 'flex',
- flexDirection: 'column',
- height: '100%',
- },
- emptyCard: {
- height: '100%',
- borderRadius: theme.spacing(0, 0, 0.5, 0.5),
- boxShadow: 'none',
- },
- toolbar: {
- display: 'flex',
- justifyContent: 'space-between',
- alignItems: 'center',
- backgroundColor: 'white',
- padding: theme.spacing(1, 2),
- gap: theme.spacing(2),
- borderRadius: theme.spacing(0.5, 0.5, 0, 0),
- '& .left': {
- display: 'flex',
- justifyContent: 'space-between',
- alignItems: 'center',
- flex: 1,
- padding: theme.spacing(0, 0, 0, 2),
- fontSize: theme.spacing(2),
- backgroundColor: '#F9F9F9',
- '& .expression': {
- display: 'flex',
- justifyContent: 'space-between',
- flex: 1,
- alignItems: 'center',
- padding: theme.spacing(0, 1.5),
- backgroundColor: '#F9F9F9',
- },
- '& .textarea': {
- width: '100%',
- '& .MuiInput-underline:before': {
- borderWidth: 1,
- borderColor: '#F9F9F9',
- },
- '& .MuiInput-underline:after': {
- borderWidth: 1,
- },
- },
- },
- '& .right': {
- display: 'flex',
- justifyContent: 'space-between',
- alignItems: 'center',
- gap: theme.spacing(2),
- },
- },
- vectorTableCell: {
- '& >div': {
- maxWidth: theme.spacing(50),
- overflow: 'hidden',
- textOverflow: 'ellipsis',
- },
- display: 'flex',
- flexDirection: 'row',
- alignItems: 'center',
- },
- copyBtn: {
- padding: '4px',
- width: '16px',
- height: '16px',
- position: 'relative',
- top: '-3px',
- },
- }));
|