From 8d61a5f5e89ded07e0b7669e1d0088a08ca3ddce Mon Sep 17 00:00:00 2001 From: song_xiao_lin Date: Mon, 22 Apr 2024 18:00:24 +0800 Subject: [PATCH] =?UTF-8?q?style:=20icon=E7=82=B9=E5=87=BB=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E7=BB=99=E4=B8=BB=E9=A2=98=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/icon/icon.tsx | 6 +++--- src/components/Contro.css | 14 +++++++++++++- src/components/Contro.tsx | 5 +++-- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/assets/icon/icon.tsx b/src/assets/icon/icon.tsx index 2b70a08..5fbaba4 100644 --- a/src/assets/icon/icon.tsx +++ b/src/assets/icon/icon.tsx @@ -17,7 +17,7 @@ const X = () => ( > @@ -63,7 +63,7 @@ const PencilAlt = () => ( > @@ -86,7 +86,7 @@ const Refresh = () => ( > diff --git a/src/components/Contro.css b/src/components/Contro.css index 8b68c55..77c8f68 100644 --- a/src/components/Contro.css +++ b/src/components/Contro.css @@ -56,6 +56,18 @@ padding: 4px; } +.icon-p svg { + color: #85899E; +} + .Contro-cont span.anticon:hover { background: #F0F1F3; -} \ No newline at end of file +} + +.grey-icon svg { + color: #85899E; +} + +.icon-active:active svg { + color: #F28B44; +} diff --git a/src/components/Contro.tsx b/src/components/Contro.tsx index 57a5c04..8599a4d 100644 --- a/src/components/Contro.tsx +++ b/src/components/Contro.tsx @@ -98,7 +98,7 @@ export const Contro: React.FC = () => { />
{ setIsEdit(false); }} @@ -132,7 +132,7 @@ export const Contro: React.FC = () => {
{ setIsEdit(true); setEnginePortTemp(enginePort); @@ -148,6 +148,7 @@ export const Contro: React.FC = () => { {failConnected && ( { if (enginePort) { wsc.connect(Number(enginePort));