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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user