From: Graeme M. <ma...@us...> - 2005-08-25 13:42:09
|
Update of /cvsroot/mailmanager/mailmanager/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13117/www Modified Files: Tag: UI_MARK_2 Login.zpt master_style_css.dtml Log Message: Unscrewup the login form. Maybe this form styling thing could do with a bit of a rethink... Index: master_style_css.dtml =================================================================== RCS file: /cvsroot/mailmanager/mailmanager/www/master_style_css.dtml,v retrieving revision 1.10.4.9 retrieving revision 1.10.4.10 diff -u -d -r1.10.4.9 -r1.10.4.10 --- master_style_css.dtml 25 Aug 2005 13:20:19 -0000 1.10.4.9 +++ master_style_css.dtml 25 Aug 2005 13:42:01 -0000 1.10.4.10 @@ -225,8 +225,6 @@ margin-bottom: 10px; } -input[type=image] {width: auto; float: none; margin: 1px; display: inline;} - label { text-align: right; width: 100px; @@ -237,8 +235,11 @@ clear: left; } -/* ... except check boxes where it looks silly! */ -.checkbox { font-weight: normal; } +/* ... except images and check boxes where it looks silly! */ +input[type=image] {width: auto; float: none; margin: 1px; display: inline;} +input[type=hidden] {width: auto; float: none; margin: 0; display: inline;} +input[type=checkbox] {width: auto; float: none; margin: 1px; display: inline;} +.checkbox { font-weight: normal; width: auto; float: none; margin: 1px; display: inline;} .checkbox:after { content: ""; } /* Boxes on the left hand side */ @@ -296,6 +297,10 @@ padding-top: 30%; } +#login-form label { + width: 45%; /* For 'centering' the form... */ +} + #login-form #header { min-width: 0; /* Reset the inherited minimum width - not needed here */ } @@ -308,7 +313,6 @@ #login-form #password { background-color: #6460aa; padding: 3px; - padding-left: 24px; /* button_go.gif's width (21px) + normal padding */ } #login-form #go { Index: Login.zpt =================================================================== RCS file: /cvsroot/mailmanager/mailmanager/www/Login.zpt,v retrieving revision 1.8.4.4 retrieving revision 1.8.4.5 diff -u -d -r1.8.4.4 -r1.8.4.5 --- Login.zpt 17 Aug 2005 16:21:38 -0000 1.8.4.4 +++ Login.zpt 25 Aug 2005 13:42:01 -0000 1.8.4.5 @@ -23,13 +23,13 @@ <input tal:condition="exists:request/came_from" tal:attributes="value request/came_from" type="hidden" name="came_from" /> <label for="__ac_name" i18n:translate="username">Username</label> <input size="10" id="__ac_name" name="__ac_name" type="text" - tal:attributes="value request/__ac_name | nothing" /> + tal:attributes="value request/__ac_name | nothing" /><br /> </p> <p id="password"> <label for="__ac_password" i18n:translate="password">Password</label> <input size="10" id="__ac_password" name="__ac_password" type="password" /> - <input type="image" name="Go" src="images/button_go_three.gif" alt="Go" /> + <input type="image" name="Go" src="images/button_go_three.gif" alt="Go" /><br /> </p> <p id="rememberme"> |