# HG changeset patch # User Sylvain Thénault # Date 1266394429 -3600 # Node ID ce19b0a05db3517b8a2e36a000bfff243ea664fc # Parent fe5aad04f08be5b57fb44a4bda66355d33ad0d67 login form style fixes diff -r fe5aad04f08b -r ce19b0a05db3 web/data/cubicweb.login.css --- 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; +} diff -r fe5aad04f08b -r ce19b0a05db3 web/views/basetemplates.py --- 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):