|
@@ -66,19 +66,15 @@ export const ProxyItemMini = (props: Props) => {
|
|
"&:hover .the-check": { display: !showDelay ? "block" : "none" },
|
|
"&:hover .the-check": { display: !showDelay ? "block" : "none" },
|
|
"&:hover .the-delay": { display: showDelay ? "block" : "none" },
|
|
"&:hover .the-delay": { display: showDelay ? "block" : "none" },
|
|
"&:hover .the-icon": { display: "none" },
|
|
"&:hover .the-icon": { display: "none" },
|
|
- "&:hover ": {
|
|
|
|
- bgcolor:
|
|
|
|
- mode === "light"
|
|
|
|
- ? alpha(primary.main, 0.15)
|
|
|
|
- : alpha(primary.main, 0.35),
|
|
|
|
- },
|
|
|
|
"&.Mui-selected": {
|
|
"&.Mui-selected": {
|
|
width: `calc(100% + 3px)`,
|
|
width: `calc(100% + 3px)`,
|
|
marginLeft: `-3px`,
|
|
marginLeft: `-3px`,
|
|
borderLeft: `3px solid ${selectColor}`,
|
|
borderLeft: `3px solid ${selectColor}`,
|
|
- bgcolor,
|
|
|
|
|
|
+ bgcolor:
|
|
|
|
+ mode === "light"
|
|
|
|
+ ? alpha(primary.main, 0.15)
|
|
|
|
+ : alpha(primary.main, 0.35),
|
|
},
|
|
},
|
|
- // "&.Mui-selected .MuiListItemText-secondary": { color },
|
|
|
|
backgroundColor: bgcolor,
|
|
backgroundColor: bgcolor,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -95,8 +91,6 @@ export const ProxyItemMini = (props: Props) => {
|
|
wordBreak: "break-all",
|
|
wordBreak: "break-all",
|
|
overflow: "hidden",
|
|
overflow: "hidden",
|
|
whiteSpace: "nowrap",
|
|
whiteSpace: "nowrap",
|
|
- fontSize: "13px",
|
|
|
|
- fontWeight: "700",
|
|
|
|
}}
|
|
}}
|
|
>
|
|
>
|
|
{proxy.name}
|
|
{proxy.name}
|
|
@@ -122,8 +116,6 @@ export const ProxyItemMini = (props: Props) => {
|
|
wordBreak: "break-all",
|
|
wordBreak: "break-all",
|
|
overflow: "hidden",
|
|
overflow: "hidden",
|
|
whiteSpace: "nowrap",
|
|
whiteSpace: "nowrap",
|
|
- fontSize: "11px",
|
|
|
|
- fontWeight: "700",
|
|
|
|
marginRight: "8px",
|
|
marginRight: "8px",
|
|
}}
|
|
}}
|
|
>
|
|
>
|
|
@@ -219,12 +211,3 @@ const TypeBox = styled(Box)(({ theme: { palette, typography } }) => ({
|
|
padding: "0 4px",
|
|
padding: "0 4px",
|
|
lineHeight: 1.5,
|
|
lineHeight: 1.5,
|
|
}));
|
|
}));
|
|
-
|
|
|
|
-const TypeTypo = styled(Box)(({ theme: { palette, typography } }) => ({
|
|
|
|
- display: "inline-block",
|
|
|
|
- fontSize: 10,
|
|
|
|
- fontFamily: typography.fontFamily,
|
|
|
|
- marginRight: "4px",
|
|
|
|
- padding: "0 2px",
|
|
|
|
- lineHeight: 1.25,
|
|
|
|
-}));
|
|
|