changeset 1698:ed73f94cee2d

Textcha padding added
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Thu, 16 Aug 2012 21:25:52 +0530
parents 9c96d66ae73d
children 62b62246f8db
files MoinMoin/templates/forms.html MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/main.styl
diffstat 5 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/forms.html	Thu Aug 16 21:01:08 2012 +0530
+++ b/MoinMoin/templates/forms.html	Thu Aug 16 21:25:52 2012 +0530
@@ -25,10 +25,10 @@
 
 {% macro render_textcha(gen, form) %}
     {% if form.textcha_question.value %}
-    <dt>
+    <dt class="moin-textcha">
         {{ gen.label(form.textcha) }}
     </dt>
-    <dd>
+    <dd class="moin-textcha">
         {# The value of -51 below is the sum of signature length, timestamp and a space (see security/textcha.py) #}
         {{ form.textcha_question.value[:-51] }}
         {{ gen.input(form.textcha_question, type='hidden') }}<br />
--- a/MoinMoin/themes/foobar/static/css/common.css	Thu Aug 16 21:01:08 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Thu Aug 16 21:25:52 2012 +0530
@@ -224,6 +224,7 @@
 #moin-modify dt,form[name="delete_item"] dt,form[name="rename_item"] dt,form[name="destroy_item"] dt{float:none;text-align:left;width:auto}
 #moin-modify input[type="submit"],form[name="delete_item"] input[type="submit"],form[name="rename_item"] input[type="submit"],form[name="destroy_item"] input[type="submit"]{margin-left:0}
 #moin-modify dl,form[name="delete_item"] dl,form[name="rename_item"] dl,form[name="destroy_item"] dl{margin:0}
+.moin-textcha{padding-top:.2em}
 #moin-options dd{float:none;width:38%;display:table-cell;padding:1.2em}
 #moin-options dt{margin-left:10%;text-align:left;width:61%;margin-top:1.3em}
 #moin-create-table{width:95%;margin-left:auto;margin-right:auto;border:none;}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Aug 16 21:01:08 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Aug 16 21:25:52 2012 +0530
@@ -286,6 +286,9 @@
     dl
         margin 0
 
+.moin-textcha
+    padding-top .2em
+
 #moin-options
     dd
         float none
--- a/MoinMoin/themes/modernized/static/css/common.css	Thu Aug 16 21:01:08 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/common.css	Thu Aug 16 21:25:52 2012 +0530
@@ -278,6 +278,7 @@
 #moin-modify dt{width:auto;text-align:left}
 #moin-modify textarea{width:99.5%}
 #moin-modify input[type="submit"]{margin-left:0}
+.moin-textcha{padding-top:.2em}
 #options dd{float:none;width:38%;display:table-cell;padding:1.2em}
 #options dt{margin-left:10%;text-align:left;width:61%;margin-top:1.3em}
 #moin-usersettings a{color:#00008b}
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Thu Aug 16 21:01:08 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Thu Aug 16 21:25:52 2012 +0530
@@ -419,6 +419,9 @@
         width 99.5%
     input[type="submit"]
         margin-left 0
+
+.moin-textcha
+    padding-top .2em
         
 #options
     dd