Styles.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import { makeStyles, Theme } from '@material-ui/core';
  2. export const getQueryStyles = makeStyles((theme: Theme) => ({
  3. root: {
  4. display: 'flex',
  5. flexDirection: 'column',
  6. height: '100%',
  7. },
  8. emptyCard: {
  9. height: '100%',
  10. borderRadius: theme.spacing(0, 0, 0.5, 0.5),
  11. boxShadow: 'none',
  12. },
  13. toolbar: {
  14. display: 'flex',
  15. justifyContent: 'space-between',
  16. alignItems: 'center',
  17. backgroundColor: 'white',
  18. padding: theme.spacing(1, 2),
  19. gap: theme.spacing(2),
  20. borderRadius: theme.spacing(0.5, 0.5, 0, 0),
  21. '& .left': {
  22. display: 'flex',
  23. justifyContent: 'space-between',
  24. alignItems: 'center',
  25. width: 'calc(100% - 206px)',
  26. padding: theme.spacing(0, 0, 0, 2),
  27. fontSize: theme.spacing(2),
  28. backgroundColor: '#F9F9F9',
  29. },
  30. '& .right': {
  31. display: 'flex',
  32. justifyContent: 'space-between',
  33. alignItems: 'center',
  34. gap: theme.spacing(2),
  35. },
  36. },
  37. vectorTableCell: {
  38. '& >div': {
  39. maxWidth: theme.spacing(50),
  40. overflow: 'hidden',
  41. textOverflow: 'ellipsis',
  42. },
  43. display: 'flex',
  44. flexDirection: 'row',
  45. alignItems: 'center',
  46. },
  47. copyBtn: {},
  48. }));