123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- import { makeStyles, Theme } from '@material-ui/core';
- export const getVectorSearchStyles = makeStyles((theme: Theme) => ({
- pageContainer: {
- display: 'flex',
- flexDirection: 'row',
- gap: theme.spacing(2),
- },
- form: {
- display: 'flex',
- flexDirection: 'column',
- gap: theme.spacing(0),
- width: 360,
- flexShrink: 0,
- backgroundColor: '#fff',
- border: '1px solid #e0e0e0',
- '& textarea': {
- border: `1px solid ${theme.palette.attuGrey.main}`,
- marginTop: theme.spacing(0),
- marginBottom: theme.spacing(1),
- overflow: 'scroll',
- height: '130px',
- maxWidth: '100%',
- width: '100%',
- display: 'block',
- boxSizing: 'border-box',
- },
- '& .text': {
- marginBottom: theme.spacing(1),
- fontWeight: '600',
- },
- overflow: 'hidden',
- },
- s1: {
- '& .wrapper': {
- display: 'flex',
- flexDirection: 'row',
- gap: theme.spacing(2),
- },
- '& .MuiSelect-root': {
- width: '116px',
- },
- },
- s2: {
- position: 'relative',
- textAlign: 'right',
- },
- s3: {},
- selector: {
- display: 'block',
- marginBottom: theme.spacing(0),
- },
- exampleBtn: {
- marginRight: theme.spacing(1),
- },
- paramsWrapper: {
- display: 'flex',
- flexDirection: 'column',
- },
- resultsWrapper: {
- border: '1px solid #e0e0e0',
- background: '#fff',
- display: 'flex',
- flexDirection: 'column',
- flexGrow: 0,
- width: `calc(100% - 396px)`,
- padding: theme.spacing(1, 2),
- },
- toolbar: {
- display: 'flex',
- justifyContent: 'space-between',
- alignItems: 'center',
- '& .left': {
- display: 'flex',
- alignItems: 'center',
- '& .text': {
- },
- },
- '& .right': {
- '& .btn': {
- marginRight: theme.spacing(1),
- },
- '& .icon': {
- fontSize: '16px',
- },
- },
- },
- menuLabel: {
- minWidth: '108px',
- padding: theme.spacing(0, 1),
- margin: theme.spacing(0, 1),
- backgroundColor: '#fff',
- color: theme.palette.attuGrey.dark,
- },
- menuItem: {
- fontWeight: 500,
- fontSize: '12px',
- lineHeight: '16px',
- color: theme.palette.attuGrey.dark,
- },
- error: {
- display: 'block',
- marginTop: theme.spacing(-1),
- padding: '8px 0',
- color: theme.palette.error.main,
- },
- vectorTableCell: {
- display: 'flex',
- whiteSpace: 'nowrap',
- },
- }));
|