From 70d6bb9dfa4c198607fbe75592f108bc8d69048b Mon Sep 17 00:00:00 2001 From: arno Date: Thu, 26 Aug 2010 12:31:53 +0200 Subject: [PATCH] some style for forms --- application/controllers/AccountController.php | 1 + application/controllers/ContactController.php | 1 + application/controllers/LoginController.php | 1 + application/controllers/NewpwdController.php | 1 + application/controllers/PendingController.php | 1 + public/css/form.css | 14 ++++++++++++++ 6 files changed, 19 insertions(+) create mode 100644 public/css/form.css diff --git a/application/controllers/AccountController.php b/application/controllers/AccountController.php index 5f20cc7..3bd20c6 100644 --- a/application/controllers/AccountController.php +++ b/application/controllers/AccountController.php @@ -10,6 +10,7 @@ class AccountController extends Zend_Controller_Action $this->_helper->SyjMedias->addScripts('account'); $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/form.css', 'all'); $this->view->headLink()->appendStylesheet('css/account.css', 'all'); $this->view->headTitle($this->view->translate("my account")); } diff --git a/application/controllers/ContactController.php b/application/controllers/ContactController.php index 9520a67..ef56839 100644 --- a/application/controllers/ContactController.php +++ b/application/controllers/ContactController.php @@ -8,6 +8,7 @@ class ContactController extends Zend_Controller_Action public function init() { $this->_helper->SyjMedias->addScripts('contact'); $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/form.css', 'all'); $this->view->headLink()->appendStylesheet('css/contact.css', 'all'); $this->view->headTitle($this->view->translate("contact form")); } diff --git a/application/controllers/LoginController.php b/application/controllers/LoginController.php index cb9543d..ce9db39 100644 --- a/application/controllers/LoginController.php +++ b/application/controllers/LoginController.php @@ -8,6 +8,7 @@ class LoginController extends Zend_Controller_Action $this->view->headTitle($this->view->translate("login")); $this->_helper->SyjMedias->addScripts('login'); $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/form.css', 'all'); $this->view->headLink()->appendStylesheet('css/login.css', 'all'); } diff --git a/application/controllers/NewpwdController.php b/application/controllers/NewpwdController.php index dc9ff5d..85edbd9 100644 --- a/application/controllers/NewpwdController.php +++ b/application/controllers/NewpwdController.php @@ -8,6 +8,7 @@ class NewpwdController extends Zend_Controller_Action public function init() { $this->_helper->SyjMedias->addScripts('newpwd'); $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/form.css', 'all'); $this->view->headLink()->appendStylesheet('css/newpwd.css', 'all'); } diff --git a/application/controllers/PendingController.php b/application/controllers/PendingController.php index af5278c..7326bdb 100644 --- a/application/controllers/PendingController.php +++ b/application/controllers/PendingController.php @@ -7,6 +7,7 @@ class PendingController extends Zend_Controller_Action public function init() { $this->view->headLink()->appendStylesheet('css/generic.css', 'all'); + $this->view->headLink()->appendStylesheet('css/form.css', 'all'); $this->view->headLink()->appendStylesheet('css/pending.css', 'all'); } diff --git a/public/css/form.css b/public/css/form.css new file mode 100644 index 0000000..1766da9 --- /dev/null +++ b/public/css/form.css @@ -0,0 +1,14 @@ +body, html { + background-color: #F0FFF8; + font-family: verdana, sans-serif; + margin: 0; padding: 0; +} +h1, form legend { + color: #B22222; +} +h2, label { + color: #556B2F; +} +legend { + font-weight: bold; +} -- 2.39.2