changeset 1588:48bcafd8f5ec

Modernized theme modify form styling
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Wed, 01 Aug 2012 02:48:05 +0530
parents 478a487069d1
children 51f75e39d8b3
files MoinMoin/templates/modify.html MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/main.styl
diffstat 3 files changed, 21 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/modify.html	Wed Aug 01 02:22:24 2012 +0530
+++ b/MoinMoin/templates/modify.html	Wed Aug 01 02:48:05 2012 +0530
@@ -33,7 +33,7 @@
 
 {% block content %}
 <h1>{{ title }}</h1>
-<div class="moin-form">
+<div id="moin-modify" class="moin-form">
     {{ gen.form.open(form, method='post', enctype='multipart/form-data') }}
     {{ forms.render_errors(form) }}
     {#
--- a/MoinMoin/themes/modernized/static/css/common.css	Wed Aug 01 02:22:24 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/common.css	Wed Aug 01 02:48:05 2012 +0530
@@ -279,6 +279,11 @@
 .moin-form button,.moin-form input[type="submit"]{margin-left:48%}
 form[name="delete_item"] dd input,form[name="rename_item"] dd input,form[name="destroy_item"] dd input{width:100%}
 form[name="delete_item"] dt,form[name="rename_item"] dt,form[name="destroy_item"] dt{width:20%}
+#moin-modify dd{width:100%;}
+#moin-modify dd input{width:99%}
+#moin-modify dt{width:auto;text-align:left}
+#moin-modify textarea{width:99.5%}
+#moin-modify input[type="submit"]{margin-left:0}
 #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}
@@ -301,7 +306,7 @@
 .searchpages tr,.searchpages td{border:0;padding:5px;margin:0;text-align:center;vertical-align:middle;color:#000;font-weight:bold;font-size:1.05em}
 .searchpages td a,.searchpages td a:link{text-decoration:underline}
 #f_data_text{border:1px solid #4e7da9;font-family:monospace;margin:.33em 0;padding:3px;width:100%}
-#f_comment,#f_summary,#f_textcha{border:1px solid #4e7da9;display:inline;margin:.33em 0;padding:3px;width:70%}
+#f_comment,#f_summary,#f_textcha{border:1px solid #4e7da9;display:inline;margin:.33em 0;padding:3px;width:99%}
 #moin-editor-help{font-size:small;background-color:#eef1f6}
 #preview{border:1px solid #4e7da9;padding:10px 30px 20px 30px;background:url("../img/draft.png");margin-top:.5em}
 .moin-hist-rev input{float:left}
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Wed Aug 01 02:22:24 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Wed Aug 01 02:48:05 2012 +0530
@@ -378,6 +378,19 @@
             width 100%
     dt
         width 20%
+
+#moin-modify
+    dd
+        width 100%
+        input
+            width 99%
+    dt
+        width auto
+        text-align left
+    textarea
+        width 99.5%
+    input[type="submit"]
+        margin-left 0
         
 #options
     dd
@@ -502,7 +515,7 @@
     display inline
     margin .33em 0
     padding 3px
-    width 70%
+    width 99%
 
 #moin-editor-help
     font-size small