style(console): 查看发布页 hover 改蓝色(忽略此版本保持红色hover)

This commit is contained in:
Aisland
2026-09-02 01:47:09 +08:00
parent b055ae3166
commit 7a3b377e01
3 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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 {
+1 -1
View File
@@ -1943,7 +1943,7 @@ function ConsolePane() {
<div className="dsh-wt_announceUpdate">
<span className="dsh-wt_announceNewVer">{T('annot.newVer')} v{updInfo.latest}</span>
<button type="button" className={'dsh-wt_announceUpg' + (updCopied ? ' dsh-wt_announceUpgOk' : '')} onClick={onCopyUpgrade}>{updCopied ? T('annot.copied') : T('annot.copyUpgrade')}</button>
<button type="button" className="dsh-wt_announceSkip" onClick={() => { try { window.open(updInfo.url, '_blank') } catch {} }}>{T('annot.gotoRelease')}</button>
<button type="button" className="dsh-wt_announceSkip dsh-wt_announceSkipGo" onClick={() => { try { window.open(updInfo.url, '_blank') } catch {} }}>{T('annot.gotoRelease')}</button>
<button type="button" className="dsh-wt_announceSkip" onClick={onSkipVersion}>{T('annot.skipVer')}</button>
<div className="dsh-wt_announceHow">{T('annot.howUpdate')}</div>
</div>
+1
View File
@@ -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)}',