From ff9f670871bb3ffc363abdc436c152dd90087982 Mon Sep 17 00:00:00 2001 From: MatthewM Date: Mon, 17 Dec 2012 18:28:15 -0500 Subject: [PATCH] Give the overlay window a rounded edge to make it look a bit nicer and fade the main content a little less --- .../extra/webcpanel/templates/default/memoserv/memos.html | 7 ++++--- 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('

{CMDR}
Close'); 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; }