mirror of
https://github.com/yaklang/yaklang-chrome-extension.git
synced 2026-09-26 21:21:53 +08:00
fix popup ui
This commit is contained in:
@@ -254,6 +254,11 @@ body {
|
|||||||
color: white !important;
|
color: white !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 选中态下的YAK图标变为白色 */
|
||||||
|
.proxy-switch-container .ant-menu-item.ant-menu-item-selected img {
|
||||||
|
filter: brightness(0) invert(1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.proxy-switch-container .ant-menu-item:hover {
|
.proxy-switch-container .ant-menu-item:hover {
|
||||||
background-color: #f5f5f5 !important;
|
background-color: #f5f5f5 !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -218,7 +218,7 @@ export const ProxySwitch: React.FC = () => {
|
|||||||
...customProxies.map(proxy => ({
|
...customProxies.map(proxy => ({
|
||||||
key: proxy.key,
|
key: proxy.key,
|
||||||
label: proxy.name,
|
label: proxy.name,
|
||||||
icon: <img src={YAK_ICON_URL} alt="YAK" style={{width: 16, height: 16}}/>,
|
icon: <img src={YAK_ICON_URL} alt="YAK" style={{width: 24, height: 24}}/>,
|
||||||
className: `${currentMode === proxy.key ? 'active-item' : ''} menu-id-${proxy.key}`,
|
className: `${currentMode === proxy.key ? 'active-item' : ''} menu-id-${proxy.key}`,
|
||||||
}))
|
}))
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user