From 682880c5bf8f91df281218f3282ad27f3eebeedd Mon Sep 17 00:00:00 2001 From: devin Date: Thu, 26 Apr 2012 23:18:35 +0800 Subject: [PATCH] skip it --- app/assets/javascripts/orbitdesktopAPI.js | 6 +++--- app/assets/stylesheets/desktopmain.css | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/orbitdesktopAPI.js b/app/assets/javascripts/orbitdesktopAPI.js index ef9eb09d..51eed919 100644 --- a/app/assets/javascripts/orbitdesktopAPI.js +++ b/app/assets/javascripts/orbitdesktopAPI.js @@ -66,18 +66,18 @@ var orbitDesktopAPI = function(){ if(settings.highlighted == 2) $confirm.find("#diag_cancel").removeClass("admbg admtxt").addClass("thmc1 thmtxt"); $confirm.find("#diag_confirm").text(settings.buttons[0]).one("click",function(){ - $confirm.hide(); + $confirm.stop(1,1).fadeOut(); $confirm.find(".diag_action a").unbind(); if(typeof callbackfn=="function") callbackfn.call(this,true); }); $confirm.find("#diag_cancel").text(settings.buttons[1]).one("click",function(){ - $confirm.hide(); + $confirm.stop(1,1).fadeOut(); $confirm.find(".diag_action a").unbind(); if(typeof callbackfn=="function") callbackfn.call(this,false); }); - $confirm.show(); + $confirm.stop(1,1).fadeIn(); }; }; orbitDesktopAPI.prototype.notifyImgPath = "temp"; diff --git a/app/assets/stylesheets/desktopmain.css b/app/assets/stylesheets/desktopmain.css index eb21719a..b4d4ac63 100644 --- a/app/assets/stylesheets/desktopmain.css +++ b/app/assets/stylesheets/desktopmain.css @@ -433,6 +433,7 @@ a:focus { outline: none; } font-size: 15px; margin: 0 6px; } +.diag_btn:hover { outline: solid 2px #fff; } .s_form { font-size: 15px; } .s_form li { overflow: hidden; padding: 6px 0; margin-bottom: 12px; } .s_form label {