Slimmer fading.

This commit is contained in:
Jason A. Donenfeld 2011-05-09 05:15:57 -04:00
parent b7298ae6bc
commit 205fcbef01
2 changed files with 1 additions and 4 deletions

View File

@ -166,9 +166,6 @@ a:hover {
} }
#error-overlay { #error-overlay {
background-color: #000000; background-color: #000000;
opacity: 0.8;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
filter: alpha(opacity=80);
} }
#error-text { #error-text {
text-align: center; text-align: center;

View File

@ -255,7 +255,7 @@ $(document).ready(function() {
} }
function die() { function die() {
$("#error-overlay").fadeIn(500); $("#error-overlay").fadeTo(500, 0.8);
$("#error-text").fadeIn(2500); $("#error-text").fadeIn(2500);
$("body, html").css("overflow", "hidden"); $("body, html").css("overflow", "hidden");
} }