1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 07:56:39 +02:00

Give the overlay window a rounded edge to make it look a bit nicer and fade the main content a little less

This commit is contained in:
MatthewM
2012-12-17 18:28:15 -05:00
parent f33f7d98c4
commit ff9f670871
2 changed files with 7 additions and 3 deletions
@@ -17,7 +17,7 @@
\});
function hideModal() \{
$('.content').fadeIn(200);
$('.master').fadeTo('slow',1.0);
$('#mask, .window').fadeOut(200);
\}
@@ -27,7 +27,7 @@
$('#mask').css(\{'width': mWidth, 'height': mHeight\});
$('#mask').fadeIn(200);
$('#mask').fadeTo('fast',0.8);
$('#mask').fadeTo('fast',0.75);
$(id).html('<br/><br/>{CMDR} <br/><a href="#" class="close">Close</a>');
var top = mHeight/2-$(id).height()/2;
@@ -35,8 +35,9 @@
$(id).css('top', top);
$(id).css('left', left);
$('.master').fadeTo('fast',0.3);
$(id).fadeIn(500);
$('.content').fadeOut(200);
\}
\});
@@ -148,4 +148,7 @@ body {
background-color: #FFF;
width:375px;
height:203px;
padding: 20px;
-webkit-border-radius: 15px;
border-radius: 15px;
}