/**
 * Form element inline mixin
 * This mixin allow you to have a label inline with your input
 * It's simply based on inline-block behavior
 *
 * @author Maxime Thirouin maxime.thirouin@gmail.com @MoOx
 */
@mixin form-element-inline($label-width: 8em, $input-width: 20em)
{
    label
    {
        display: inline-block;
        width: $label-width;
        
        vertical-align: middle;
    }

    input,
    textarea
    {
        width: $input-width;
        vertical-align: middle;
    }
}
