login form style fixes stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 17 Feb 2010 09:13:49 +0100
branchstable
changeset 4603 ce19b0a05db3
parent 4602 fe5aad04f08b
child 4604 96cc3d296d75
login form style fixes
web/data/cubicweb.login.css
web/views/basetemplates.py
--- a/web/data/cubicweb.login.css	Wed Feb 17 09:13:00 2010 +0100
+++ b/web/data/cubicweb.login.css	Wed Feb 17 09:13:49 2010 +0100
@@ -1,7 +1,7 @@
 /* styles for the login popup and login form
  *
  *  :organization: Logilab
- *  :copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+ *  :copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
  *  :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
  */
 
@@ -11,8 +11,11 @@
   right: 0px;
   width: 26em;
   padding: 0px 1px 1px;
+  background: #E4EAD8;
+}
+
+div#popupLoginBox label{
   font-weight: bold;
-  background: #E4EAD8;
 }
 
 div#popupLoginBox div#loginContent {
@@ -72,7 +75,7 @@
  }
 
 #loginContent input.data {
-  width:12em;
+  width: 12em;
 }
 
 .loginButton {
@@ -81,3 +84,7 @@
   margin: 2px 0px 0px;
   background: #f0eff0 url("gradient-grey-up.png") left top repeat-x;
 }
+
+#loginContent .formButtonBar {
+  float: right;
+}
--- a/web/views/basetemplates.py	Wed Feb 17 09:13:00 2010 +0100
+++ b/web/views/basetemplates.py	Wed Feb 17 09:13:49 2010 +0100
@@ -472,7 +472,7 @@
     __password = ff.StringField('__password', label=_('password'),
                                 widget=fw.PasswordSingleInput({'class': 'data'}))
     form_buttons = [fw.SubmitButton(label=_('log in'),
-                                    attrs={'class': 'loginButton right'})]
+                                    attrs={'class': 'loginButton'})]
 
     @property
     def action(self):