app/assets/stylesheets/formtastic.css in formtastic-2.0.2 vs app/assets/stylesheets/formtastic.css in formtastic-2.1.0.beta1

- old
+ new

@@ -16,10 +16,11 @@ .formtastic ol, .formtastic li, .formtastic fieldset, .formtastic legend, .formtastic input, +.formtastic button, .formtastic textarea, .formtastic select, .formtastic p { margin:0; padding:0; @@ -45,10 +46,11 @@ border:0; font-variant:normal; } .formtastic input, +.formtastic button, .formtastic textarea { font-family:sans-serif; font-size:inherit; font-weight:inherit; } @@ -78,19 +80,30 @@ border:none; display:list-item; } -/* BUTTONS +/* BUTTONS & ACTIONS --------------------------------------------------------------------------------------------------*/ -.formtastic .buttons { +.formtastic .buttons, +.formtastic .actions { overflow:hidden; /* clear containing floats */ padding-left:25%; } -.formtastic .button { +.formtastic .button, +.formtastic .action { float:left; padding-right:0.5em; +} + +.formtastic .button_action button { + padding:3px 8px; +} + +.formtastic .link_action a { + display:block; + padding:3px 0; } /* INPUTS --------------------------------------------------------------------------------------------------*/