@@ -1,6 +1,5 @@
|
|||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { Box, IconButton, Tab, Tabs } from "@mui/material";
|
import { Box, IconButton, Tab, Tabs } from "@mui/material";
|
||||||
import { useBrowserDimensionsStore } from "../../context/browserDimensions";
|
|
||||||
import { Close } from "@mui/icons-material";
|
import { Close } from "@mui/icons-material";
|
||||||
import { useThemeMode } from '../../context/theme-provider';
|
import { useThemeMode } from '../../context/theme-provider';
|
||||||
|
|
||||||
@@ -36,7 +35,7 @@ export const BrowserTabs = (
|
|||||||
overflow: 'auto',
|
overflow: 'auto',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
}}>
|
}}>
|
||||||
<Box sx={{ borderBottom: 1, borderColor: 'divider' }}> {/* Synced border color */}
|
<Box sx={{ borderBottom: 1, borderColor: 'divider' }}>
|
||||||
<Tabs
|
<Tabs
|
||||||
value={tabIndex}
|
value={tabIndex}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
@@ -50,7 +49,7 @@ export const BrowserTabs = (
|
|||||||
background: 'white',
|
background: 'white',
|
||||||
borderRadius: '5px 5px 0px 0px',
|
borderRadius: '5px 5px 0px 0px',
|
||||||
'&.Mui-selected': {
|
'&.Mui-selected': {
|
||||||
backgroundColor: ` ${isDarkMode ? "#2a2a2a" : "#f5f5f5"}`, // Synced selected tab color
|
backgroundColor: ` ${isDarkMode ? "#2a2a2a" : "#f5f5f5"}`,
|
||||||
color: '#ff00c3', // Slightly lighter text when selected
|
color: '#ff00c3', // Slightly lighter text when selected
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ import {
|
|||||||
} from '@mui/material';
|
} from '@mui/material';
|
||||||
import { sendProxyConfig, getProxyConfig, testProxyConfig, deleteProxyConfig } from '../../api/proxy';
|
import { sendProxyConfig, getProxyConfig, testProxyConfig, deleteProxyConfig } from '../../api/proxy';
|
||||||
import { useGlobalInfoStore } from '../../context/globalInfo';
|
import { useGlobalInfoStore } from '../../context/globalInfo';
|
||||||
import { useThemeMode } from '../../context/theme-provider';
|
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
|
||||||
const FormContainer = styled(Box)({
|
const FormContainer = styled(Box)({
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { WhereWhatPair } from "maxun-core";
|
import { WhereWhatPair } from "maxun-core";
|
||||||
import { GenericModal } from "../ui/GenericModal";
|
import { GenericModal } from "../ui/GenericModal";
|
||||||
import { modalStyle } from "./AddWhereCondModal";
|
import { modalStyle } from "./AddWhereCondModal";
|
||||||
import { Button, MenuItem, TextField, Typography } from "@mui/material";
|
import { Button, TextField, Typography } from "@mui/material";
|
||||||
import React, { useRef } from "react";
|
import React, { useRef } from "react";
|
||||||
import { KeyValueForm } from "./KeyValueForm";
|
import { KeyValueForm } from "./KeyValueForm";
|
||||||
import { ClearButton } from "../ui/buttons/ClearButton";
|
import { ClearButton } from "../ui/buttons/ClearButton";
|
||||||
|
|||||||
@@ -21,10 +21,7 @@ import {
|
|||||||
Menu,
|
Menu,
|
||||||
ListItemIcon,
|
ListItemIcon,
|
||||||
ListItemText,
|
ListItemText,
|
||||||
CircularProgress,
|
|
||||||
RadioGroup,
|
|
||||||
FormControlLabel,
|
FormControlLabel,
|
||||||
Radio,
|
|
||||||
Checkbox,
|
Checkbox,
|
||||||
} from "@mui/material";
|
} from "@mui/material";
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import { useThemeMode } from '../../../context/theme-provider';
|
|
||||||
|
|
||||||
export const NavBarButton = styled.button<{ disabled: boolean, mode: 'light' | 'dark' }>`
|
export const NavBarButton = styled.button<{ disabled: boolean, mode: 'light' | 'dark' }>`
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
// coordinateMapper.ts
|
|
||||||
import { BROWSER_DEFAULT_HEIGHT, BROWSER_DEFAULT_WIDTH } from "../constants/const";
|
import { BROWSER_DEFAULT_HEIGHT, BROWSER_DEFAULT_WIDTH } from "../constants/const";
|
||||||
import { getResponsiveDimensions } from "./dimensionUtils";
|
import { getResponsiveDimensions } from "./dimensionUtils";
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
ONE_PERCENT_OF_VIEWPORT_H,
|
ONE_PERCENT_OF_VIEWPORT_H,
|
||||||
ONE_PERCENT_OF_VIEWPORT_W,
|
ONE_PERCENT_OF_VIEWPORT_W,
|
||||||
VIEWPORT_W,
|
|
||||||
VIEWPORT_H,
|
|
||||||
} from "../constants/const";
|
} from "../constants/const";
|
||||||
import { Coordinates } from '../components/recorder/canvas';
|
import { Coordinates } from '../components/recorder/canvas';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user