changeset 1537:f39ad9504ffc

Foobar theme consistent styling of rename/delete/destroy input fields
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Tue, 17 Jul 2012 03:11:43 +0530
parents f69658416352
children cb3d7952982c
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Tue Jul 17 02:51:05 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Tue Jul 17 03:11:43 2012 +0530
@@ -217,9 +217,11 @@
 .moin-form dt{clear:both;float:left;width:30%;text-align:right;margin-top:.3em;padding-right:1%;}
 .moin-form dt label.required:after{content:'*';color:#000}
 .moin-form button,.moin-form input[type="submit"]{margin-left:48%}
-#moin-modify dd{margin-left:.9em;width:100%;float:none}
-#moin-modify dt{float:none;text-align:left;width:auto}
-#moin-modify input[type="submit"]{margin-left:0}
+#moin-modify dd,form[name="delete_item"] dd,form[name="rename_item"] dd,form[name="destroy_item"] dd{margin-left:.9em;width:100%;float:none;}
+#moin-modify dd input,form[name="delete_item"] dd input,form[name="rename_item"] dd input,form[name="destroy_item"] dd input{width:96%}
+#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-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;}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Tue Jul 17 02:51:05 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Tue Jul 17 03:11:43 2012 +0530
@@ -262,17 +262,21 @@
     input[type="submit"]
         margin-left 48%
     
-#moin-modify
+#moin-modify, form[name="delete_item"], form[name="rename_item"], form[name="destroy_item"] 
     dd
         margin-left 0.9em
         width 100%
         float none
+        input
+            width 96%
     dt
         float none
         text-align left
         width auto
     input[type="submit"]
         margin-left 0
+    dl
+        margin 0
 
 #moin-options
     dd