]> dev.renevier.net Git - syj.git/commitdiff
fixes css regression in newpwd, contact and account
authorArno Renevier <arno@renevier.net>
Thu, 11 Aug 2011 16:38:55 +0000 (18:38 +0200)
committerArno Renevier <arno@renevier.net>
Fri, 12 Aug 2011 09:51:57 +0000 (11:51 +0200)
application/views/scripts/account/success.phtml
application/views/scripts/contact/success.phtml
application/views/scripts/error/error.phtml
application/views/scripts/newpwd/success.phtml
public/css/account.css
public/css/contact.css
public/css/generic.css
public/css/list.css
public/css/newpwd.css
public/css/syj.css

index a749df7d8bfc6e57f807e8258e8b98cd553bd035..2295c4b6a196eba46e468c1ddceb0193c68605c6 100644 (file)
@@ -1,4 +1,4 @@
-<p class="success message">
+<p id="message" class="success">
 <?php
     $this->redirectLinks = false;
     echo $this->translate("Your account was modified successfully");
index d770d8c8383198557a2f9fa226daf0a466f7679d..221b1ef323e58198b6ec41d3e01ef35f1525b278 100644 (file)
@@ -1,4 +1,4 @@
-<p class="success message">
+<p id="message" class="success">
 <?php
     $this->redirectLinks = false;
     echo $this->translate("Email was send successfully");
index d42e82e26a63d9560bfa52b35993e236e59dea29..d567c2f5e953bd1a07dfdd8fcb5fb48588b5c197 100644 (file)
@@ -29,7 +29,7 @@
   </pre>
   <?php endif ?>
 
-    <p id="message">
+    <p>
     <?php
         if ($this->isServerError) {
             echo $this->translate('Please try again later');
index 01b4b3424123a8fe0c5b8309cfef53268a960fbe..69013b3cfe40f92c84f8fe8e4f754a019cdccfdf 100644 (file)
@@ -1,4 +1,4 @@
-<p class="success message">
+<p id="message" class="success">
 <?php
     $this->redirectLinks = false;
     echo $this->translate("A link to reset your password has been emailed to you");
index 158d102e485b9c71667baa28ce2f210fdc587874..4050d07582c853d927e2d931ae01741e61facc57 100644 (file)
@@ -1,6 +1,12 @@
 /*  This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
     and is published under the AGPL license. */
 
+#message  {
+    width: 80%;
+    margin-left: auto;
+    margin-right: auto;
+}
+
 /*
  * form
  */
index 597c0bb4a18913a5e4cf88d6e69e58138d11338e..f7f0d9ce6516bbc7ddb59c23b647bed672ea1fbf 100644 (file)
@@ -6,6 +6,12 @@ body {
     padding: 0px;
 }
 
+#message  {
+    width: 80%;
+    margin-left: auto;
+    margin-right: auto;
+}
+
 /*
  * form
  */
index 43c3da8ab77fbda3c14c24bfcad7c34e794ff07f..e0dcb81e0a8fc8de2108bfd0c81e84ca2ae17732 100644 (file)
@@ -18,6 +18,7 @@ body, html {
     border-radius: 5px;
     border-width: 2px;
     border-style: solid;
+    padding: 1.5em;
     transition:opacity 0.5s;
     -webkit-transition:opacity 0.5s;
     -moz-transition:opacity 0.5s;
index cd3467bf52ff231197570963377daa6c28b85972..12e1a5b90a88c6705f91191721a2dffc56b14973 100644 (file)
@@ -71,7 +71,6 @@
 #message {
     width: 40%;
     margin: 20px auto 20px auto;
-    padding: 1.5em 1.5em 1.5em 1.5em;
 }
 
 #other-language {
index d5fcc5d5fc5603ad9bb3de42dddcb2f39abb206a..15ab533c5a4bb4f5d82b90bfeecbca745835a471 100644 (file)
@@ -1,6 +1,12 @@
 /*  This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
     and is published under the AGPL license. */
 
+#message  {
+    width: 80%;
+    margin-left: auto;
+    margin-right: auto;
+}
+
 #newpwdform {
     width: 40em;
 }
index 51061b9df74b25a5e983831a06c8c26a14fb4f93..a78a52fcca9b0c5cf926cf735c1f7291db1ea2c1 100644 (file)
@@ -38,7 +38,7 @@ body, html {
     bottom: 3.5em;
     width: 40%;
     margin: 0px 45% 0px 15%;
-    padding: 1.5em 1.5em 0.5em 1.5em;
+    padding-bottom: 0.5em;
 }
 @media screen and (max-width: 640px) {
     #message.optional {