From 3c540c2d6f1da01cbcc0605e8113024474845663 Mon Sep 17 00:00:00 2001 From: vdigital Date: Sun, 11 Feb 2007 08:50:43 +0000 Subject: Dynamic templates for NBM Just a second round... I didn't test what's append for new pictures or comments. git-svn-id: http://piwigo.org/svn/trunk@1805 68402e56-0260-453c-a942-63ccdbb3a9ee --- .../yoga/mail/text/html/default-layout-mail-css.tpl | 18 ++++++++---------- template/yoga/mail/text/html/images/footer-bg.jpg | Bin 5477 -> 0 bytes template/yoga/mail/text/html/images/footer-bg.png | Bin 0 -> 15656 bytes template/yoga/mail/text/html/images/header-bg.jpg | Bin 5129 -> 0 bytes template/yoga/mail/text/html/images/header-bg.png | Bin 0 -> 30525 bytes template/yoga/mail/text/html/images/mailbody-bg.jpg | Bin 607 -> 0 bytes template/yoga/mail/text/html/images/mailbody-bg.png | Bin 0 -> 924 bytes 7 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 template/yoga/mail/text/html/images/footer-bg.jpg create mode 100644 template/yoga/mail/text/html/images/footer-bg.png delete mode 100644 template/yoga/mail/text/html/images/header-bg.jpg create mode 100644 template/yoga/mail/text/html/images/header-bg.png delete mode 100644 template/yoga/mail/text/html/images/mailbody-bg.jpg create mode 100644 template/yoga/mail/text/html/images/mailbody-bg.png (limited to 'template/yoga/mail/text/html') diff --git a/template/yoga/mail/text/html/default-layout-mail-css.tpl b/template/yoga/mail/text/html/default-layout-mail-css.tpl index 545a6c114..8c62124d9 100644 --- a/template/yoga/mail/text/html/default-layout-mail-css.tpl +++ b/template/yoga/mail/text/html/default-layout-mail-css.tpl @@ -2,18 +2,16 @@ /* Including like css style on HTML mail */ body{background-color:#fff;font-family: Univers, Helvetica, Optima;font-size:12px; margin:0px;padding:0px; color:#369;} -#the_page {background: #fff url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.jpg) repeat-y scroll left top; +#the_page {background: #fff url({pwg_root}template/{themeconf:template}/mail/text/html/images/mailbody-bg.png) repeat-y scroll left top; margin:0px;padding:0px;text-align: left;} -a {text-decoration: none} -#content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.jpg) no-repeat scroll left top; +#content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.png) no-repeat scroll left top; margin:0px;padding:82px 0px 0px 62px; width:732px;} hr {width:632px;margin-left:0px;} -#copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.jpg) no-repeat scroll left bottom; +#copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; color: #69c;font-size:10px;margin:0px;padding:98px 0px 62px 62px;} .PWG {font-family: verdana, sans-serif !important; font-size: 0.9em; font-weight: normal; letter-spacing: 0px;} -a.PWG { border: 0px; } -a.PWG .P { color : #f92; } -a.PWG .W { color : #aaa; } -a.PWG .G { color : #69c; } -a.PWG:hover .P { color : #69c; } -a.PWG:hover .G { color : #f92; } +h2 { background-color:#ddd;padding: 7px 15px; width:617px;font-weight:bold;} +img { margin: 16px; border: 16px solid #aaa; -moz-border-radius: 4px; border-radius: 4px 4px; } +img:hover { padding: 15px; border: 1px solid yellow; -moz-border-radius: 4px; border-radius: 4px 4px; } +a { color: #005e89; background: transparent; } +a:hover { color: #858460; text-decoration: none;} diff --git a/template/yoga/mail/text/html/images/footer-bg.jpg b/template/yoga/mail/text/html/images/footer-bg.jpg deleted file mode 100644 index f4d019247..000000000 Binary files a/template/yoga/mail/text/html/images/footer-bg.jpg and /dev/null differ diff --git a/template/yoga/mail/text/html/images/footer-bg.png b/template/yoga/mail/text/html/images/footer-bg.png new file mode 100644 index 000000000..fd3c2925f Binary files /dev/null and b/template/yoga/mail/text/html/images/footer-bg.png differ diff --git a/template/yoga/mail/text/html/images/header-bg.jpg b/template/yoga/mail/text/html/images/header-bg.jpg deleted file mode 100644 index 0f5c50fb9..000000000 Binary files a/template/yoga/mail/text/html/images/header-bg.jpg and /dev/null differ diff --git a/template/yoga/mail/text/html/images/header-bg.png b/template/yoga/mail/text/html/images/header-bg.png new file mode 100644 index 000000000..1770a3ddc Binary files /dev/null and b/template/yoga/mail/text/html/images/header-bg.png differ diff --git a/template/yoga/mail/text/html/images/mailbody-bg.jpg b/template/yoga/mail/text/html/images/mailbody-bg.jpg deleted file mode 100644 index 62cd75406..000000000 Binary files a/template/yoga/mail/text/html/images/mailbody-bg.jpg and /dev/null differ diff --git a/template/yoga/mail/text/html/images/mailbody-bg.png b/template/yoga/mail/text/html/images/mailbody-bg.png new file mode 100644 index 000000000..722a24f63 Binary files /dev/null and b/template/yoga/mail/text/html/images/mailbody-bg.png differ -- cgit v1.2.3