diff options
| author | MatthewM <mcm@they-got.us> | 2012-12-17 18:28:15 -0500 |
|---|---|---|
| committer | MatthewM <mcm@they-got.us> | 2012-12-17 18:28:15 -0500 |
| commit | ff9f670871bb3ffc363abdc436c152dd90087982 (patch) | |
| tree | 8b26201d1757a788faaa3933288b7a943a6d6cd3 /modules | |
| parent | f33f7d98c4d38aabb9f9c54c7880249262e767a4 (diff) | |
Give the overlay window a rounded edge to make it look a bit nicer and fade the main content a little less
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/extra/webcpanel/templates/default/memoserv/memos.html | 7 | ||||
| -rw-r--r-- | modules/extra/webcpanel/templates/default/style.css | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/modules/extra/webcpanel/templates/default/memoserv/memos.html b/modules/extra/webcpanel/templates/default/memoserv/memos.html index c5c6b2fdd..5f28edb92 100644 --- a/modules/extra/webcpanel/templates/default/memoserv/memos.html +++ b/modules/extra/webcpanel/templates/default/memoserv/memos.html @@ -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); \} \}); diff --git a/modules/extra/webcpanel/templates/default/style.css b/modules/extra/webcpanel/templates/default/style.css index 4341d568e..d05e23abe 100644 --- a/modules/extra/webcpanel/templates/default/style.css +++ b/modules/extra/webcpanel/templates/default/style.css @@ -148,4 +148,7 @@ body { background-color: #FFF;
width:375px;
height:203px;
+ padding: 20px;
+ -webkit-border-radius: 15px;
+ border-radius: 15px;
}
|
