Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ooops, we forgot styles for the new check boxes input

  • Loading branch information...
commit 2b3c9c9596d7db7e2474aa1aa3196e4b7c4880e9 1 parent 2e9e7c5
@justinfrench authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 generators/formtastic_stylesheets/templates/formtastic.css
View
12 generators/formtastic_stylesheets/templates/formtastic.css
@@ -59,7 +59,7 @@ form.formtastic fieldset ol li li label { line-height:100%; padding-top:0; }
form.formtastic fieldset ol li li label input { line-height:100%; vertical-align:middle; margin-top:-0.1em;}
-/* NESTED FIELDSETS AND LEGENDS (radio and date/time inputs use nested fieldsets)
+/* NESTED FIELDSETS AND LEGENDS (radio, check boxes and date/time inputs use nested fieldsets)
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li fieldset { position:relative; }
form.formtastic fieldset ol li fieldset legend { position:absolute; width:25%; padding-top:0.1em; }
@@ -111,6 +111,16 @@ form.formtastic fieldset ol li.radio fieldset ol li label { float:none; width:10
form.formtastic fieldset ol li.radio fieldset ol li label input { margin-right:0.2em; }
+/* CHECK BOXES (COLLECTION) OVERRIDES
+--------------------------------------------------------------------------------------------------*/
+form.formtastic fieldset ol li.check_boxes { }
+form.formtastic fieldset ol li.check_boxes fieldset ol { margin-bottom:-0.6em; }
+form.formtastic fieldset ol li.check_boxes fieldset ol li { margin:0.1em 0 0.5em 0; }
+form.formtastic fieldset ol li.check_boxes fieldset ol li label { float:none; width:100%; }
+form.formtastic fieldset ol li.check_boxes fieldset ol li label input { margin-right:0.2em; }
+
+
+
/* DATE & TIME OVERRIDES
--------------------------------------------------------------------------------------------------*/
form.formtastic fieldset ol li.date fieldset ol li,
Please sign in to comment.
Something went wrong with that request. Please try again.