From 539a294a51ebb9e804c8af82bfec4a097be5aa6a Mon Sep 17 00:00:00 2001 From: libccy Date: Wed, 3 May 2017 13:33:08 +0800 Subject: [PATCH] u --- game/game.js | 2 ++ theme/woodden/style.css | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 75613e491..af0fc2be7 100644 --- a/game/game.js +++ b/game/game.js @@ -31910,6 +31910,7 @@ }; var downloadExtension=function(e){ if((this.innerHTML!='下载扩展'&&this.innerHTML!='更新扩展')||!window.JSZip) return; + this.classList.remove('update'); if(e){ e.stopPropagation(); } @@ -32044,6 +32045,7 @@ if(lib.config['extension_'+list[i].name+'_version']!=list[i].version){ download.innerHTML='更新扩展'; download.classList.add('highlight'); + download.classList.add('update'); } else{ download.classList.add('transparent2'); diff --git a/theme/woodden/style.css b/theme/woodden/style.css index 8f1314d1c..59391ec84 100644 --- a/theme/woodden/style.css +++ b/theme/woodden/style.css @@ -147,7 +147,8 @@ html{ } .menubutton.large.active, .menubutton.round.active, -.menubutton.active{ +.menubutton.active, +.menubutton.highlight.update{ box-shadow: rgba(0, 0, 0, 0.3) 0 0 0 1px, rgba(0, 133, 255, 0.4) 0 0 0 2px, rgba(0, 133, 255, 1) 0 0 5px !important; } .connectevents.icon.highlight{