Skip to content

Instantly share code, notes, and snippets.

@freegenie
Created August 24, 2012 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freegenie/3451871 to your computer and use it in GitHub Desktop.
Save freegenie/3451871 to your computer and use it in GitHub Desktop.
simple_form css
/* ----- SimpleForm Styles ----- */
.simple_form
div.input
margin-bottom: 10px
clear: both
label
float: left
width: 100px
text-align: right
margin: 2px 10px
.error
clear: left
color: black
display: block
margin-left: 120px
.hint
clear: left
margin-left: 120px
color: #555
display: block
font-style: italic
div.boolean, .simple_form input[type='submit']
margin-left: 120px
div.boolean label, label.collection_radio_buttons
float: none
margin: 0
label.collection_radio_buttons
margin-right: 10px
vertical-align: -2px
margin-left: 2px
.field_with_errors
background-color: #ff3333
input.radio
margin-right: 5px
vertical-align: -3px
input.check_boxes
margin-left: 3px
vertical-align: -3px
label.collection_check_boxes
float: none
margin: 0
vertical-align: -2px
margin-left: 2px
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment