From 7a3b377e0188a3071737a352cebb2eac46b8dd0f Mon Sep 17 00:00:00 2001 From: Aisland Date: Wed, 2 Sep 2026 01:47:09 +0800 Subject: [PATCH] =?UTF-8?q?style(console):=20=E6=9F=A5=E7=9C=8B=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E9=A1=B5=20hover=20=E6=94=B9=E8=93=9D=E8=89=B2(?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E6=AD=A4=E7=89=88=E6=9C=AC=E4=BF=9D=E6=8C=81?= =?UTF-8?q?=E7=BA=A2=E8=89=B2hover)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01_content/lib/client.js | 3 ++- 01_content/src/client/split.tsx | 2 +- 01_content/src/client/styles.ts | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/01_content/lib/client.js b/01_content/lib/client.js index b2520cf..ddee678 100644 --- a/01_content/lib/client.js +++ b/01_content/lib/client.js @@ -8197,6 +8197,7 @@ var css = xterm_default + "\n" + [ ".dsh-wt_announceUpgOk{background:rgba(29,154,85,.2);color:#4ade80}", ".dsh-wt_announceUpgOk:hover{background:rgba(29,154,85,.3);color:#86efac}", ".dsh-wt_announceHow{flex:none;width:100%;font-size:11px;line-height:16px;color:var(--wt-text);padding-top:2px}", + ".dsh-wt_announceSkipGo:hover{background:rgba(79,142,247,.16);color:#7eb3ff}", ".dsh-wt_announceSkip{flex:none;padding:3px 10px;border:none;border-radius:6px;background:transparent;color:var(--wt-text3);font:inherit;font-size:11px;line-height:16px;cursor:pointer}", ".dsh-wt_announceSkip:hover{background:rgba(244,63,94,.14);color:#f87171}", ".dsh-wt_announceStatus{font-size:11px;line-height:16px;color:var(--wt-text3)}", @@ -18548,7 +18549,7 @@ function ConsolePane() { updInfo.latest ] }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "dsh-wt_announceUpg" + (updCopied ? " dsh-wt_announceUpgOk" : ""), onClick: onCopyUpgrade, children: updCopied ? T("annot.copied") : T("annot.copyUpgrade") }), - /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "dsh-wt_announceSkip", onClick: () => { + /* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", { type: "button", className: "dsh-wt_announceSkip dsh-wt_announceSkipGo", onClick: () => { try { window.open(updInfo.url, "_blank"); } catch { diff --git a/01_content/src/client/split.tsx b/01_content/src/client/split.tsx index dd4132a..601e877 100644 --- a/01_content/src/client/split.tsx +++ b/01_content/src/client/split.tsx @@ -1943,7 +1943,7 @@ function ConsolePane() {
{T('annot.newVer')} v{updInfo.latest} - +
{T('annot.howUpdate')}
diff --git a/01_content/src/client/styles.ts b/01_content/src/client/styles.ts index ff24501..1c06cab 100644 --- a/01_content/src/client/styles.ts +++ b/01_content/src/client/styles.ts @@ -445,6 +445,7 @@ export const css = xtermCss + '\n' + [ '.dsh-wt_announceUpgOk{background:rgba(29,154,85,.2);color:#4ade80}', '.dsh-wt_announceUpgOk:hover{background:rgba(29,154,85,.3);color:#86efac}', '.dsh-wt_announceHow{flex:none;width:100%;font-size:11px;line-height:16px;color:var(--wt-text);padding-top:2px}', + '.dsh-wt_announceSkipGo:hover{background:rgba(79,142,247,.16);color:#7eb3ff}', '.dsh-wt_announceSkip{flex:none;padding:3px 10px;border:none;border-radius:6px;background:transparent;color:var(--wt-text3);font:inherit;font-size:11px;line-height:16px;cursor:pointer}', '.dsh-wt_announceSkip:hover{background:rgba(244,63,94,.14);color:#f87171}', '.dsh-wt_announceStatus{font-size:11px;line-height:16px;color:var(--wt-text3)}',