app/assets/stylesheets/formagic/form.scss in formagic-0.3.4 vs app/assets/stylesheets/formagic/form.scss in formagic-0.3.7

- old
+ new

@@ -1,7 +1,23 @@ // Form (generic components) ------------------------------ */ +.form { + button { + line-height: 1.4em; + border-radius: 4px; + padding: .25em .75em; + border: 1px solid $formagic-positive-color; + color: $formagic-positive-color; + background-color: $white-color; + &:hover { + background-color: $formagic-positive-color; + border-color: $formagic-positive-color; + color: $white-color; + } + } +} + // General .form-input { @include position(relative); @include bottom-border($formagic-border-color); @@ -59,29 +75,5 @@ background : $formagic-border-color; text-align : center; margin : 1em 1em 0; padding : 1em; } - -// Input Actions used to the right from label -.input-actions { - font-size : .8em; - float : right; - - a { - border-radius : 4px; - padding : .25em .75em; - margin : 0 0 0 .75em; - border : 1px solid $formagic-positive-color; - color : $formagic-positive-color; - } - - a:hover { - background-color : $formagic-positive-color; - border-color : $formagic-positive-color; - color : white; - } -} - - - -