This commit is contained in:
libccy 2017-05-03 13:33:08 +08:00
parent 1600adb2d7
commit 539a294a51
2 changed files with 4 additions and 1 deletions

View File

@ -31910,6 +31910,7 @@
}; };
var downloadExtension=function(e){ var downloadExtension=function(e){
if((this.innerHTML!='下载扩展'&&this.innerHTML!='更新扩展')||!window.JSZip) return; if((this.innerHTML!='下载扩展'&&this.innerHTML!='更新扩展')||!window.JSZip) return;
this.classList.remove('update');
if(e){ if(e){
e.stopPropagation(); e.stopPropagation();
} }
@ -32044,6 +32045,7 @@
if(lib.config['extension_'+list[i].name+'_version']!=list[i].version){ if(lib.config['extension_'+list[i].name+'_version']!=list[i].version){
download.innerHTML='更新扩展'; download.innerHTML='更新扩展';
download.classList.add('highlight'); download.classList.add('highlight');
download.classList.add('update');
} }
else{ else{
download.classList.add('transparent2'); download.classList.add('transparent2');

View File

@ -147,7 +147,8 @@ html{
} }
.menubutton.large.active, .menubutton.large.active,
.menubutton.round.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; 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{ .connectevents.icon.highlight{