]> dev.renevier.net Git - syj.git/commitdiff
some style for forms
authorarno <arno@renevier.net>
Thu, 26 Aug 2010 10:31:53 +0000 (12:31 +0200)
committerarno <arno@renevier.net>
Thu, 26 Aug 2010 10:31:53 +0000 (12:31 +0200)
application/controllers/AccountController.php
application/controllers/ContactController.php
application/controllers/LoginController.php
application/controllers/NewpwdController.php
application/controllers/PendingController.php
public/css/form.css [new file with mode: 0644]

index 5f20cc73849b863932ed287f6a8676abaf044945..3bd20c6b63018317ef14511b94095cc2ff7262e5 100644 (file)
@@ -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"));
     }
index 9520a67227dc5c644f3c5a4570d5a28aa4ffbe4c..ef568393d60514b99eb0d4a6aba20cf330456f09 100644 (file)
@@ -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"));
     }
index cb9543d8df7b2890c080aa170a7f4775f22c34c4..ce9db39dd07d217e058728ccb1a0ee704bcb26b2 100644 (file)
@@ -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');
     }
 
index dc9ff5d46a11d263bcb5e80ada45d94c8989b06e..85edbd9483ec04c5fa5143a52e4b9536b6f1a78b 100644 (file)
@@ -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');
     }
 
index af5278c2a40b1a1033d31c4e2b1dd62389395a87..7326bdbdb425a4d8ca4aa0bb8add3b45a4139fca 100644 (file)
@@ -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 (file)
index 0000000..1766da9
--- /dev/null
@@ -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;
+}