This commit is contained in:
devin 2012-04-26 23:18:35 +08:00
parent c158375d02
commit 682880c5bf
2 changed files with 4 additions and 3 deletions

View File

@ -66,18 +66,18 @@ var orbitDesktopAPI = function(){
if(settings.highlighted == 2) if(settings.highlighted == 2)
$confirm.find("#diag_cancel").removeClass("admbg admtxt").addClass("thmc1 thmtxt"); $confirm.find("#diag_cancel").removeClass("admbg admtxt").addClass("thmc1 thmtxt");
$confirm.find("#diag_confirm").text(settings.buttons[0]).one("click",function(){ $confirm.find("#diag_confirm").text(settings.buttons[0]).one("click",function(){
$confirm.hide(); $confirm.stop(1,1).fadeOut();
$confirm.find(".diag_action a").unbind(); $confirm.find(".diag_action a").unbind();
if(typeof callbackfn=="function") if(typeof callbackfn=="function")
callbackfn.call(this,true); callbackfn.call(this,true);
}); });
$confirm.find("#diag_cancel").text(settings.buttons[1]).one("click",function(){ $confirm.find("#diag_cancel").text(settings.buttons[1]).one("click",function(){
$confirm.hide(); $confirm.stop(1,1).fadeOut();
$confirm.find(".diag_action a").unbind(); $confirm.find(".diag_action a").unbind();
if(typeof callbackfn=="function") if(typeof callbackfn=="function")
callbackfn.call(this,false); callbackfn.call(this,false);
}); });
$confirm.show(); $confirm.stop(1,1).fadeIn();
}; };
}; };
orbitDesktopAPI.prototype.notifyImgPath = "temp"; orbitDesktopAPI.prototype.notifyImgPath = "temp";

View File

@ -433,6 +433,7 @@ a:focus { outline: none; }
font-size: 15px; font-size: 15px;
margin: 0 6px; margin: 0 6px;
} }
.diag_btn:hover { outline: solid 2px #fff; }
.s_form { font-size: 15px; } .s_form { font-size: 15px; }
.s_form li { overflow: hidden; padding: 6px 0; margin-bottom: 12px; } .s_form li { overflow: hidden; padding: 6px 0; margin-bottom: 12px; }
.s_form label { .s_form label {