//
// Component: Form
//
// ========================================================================


// Variables
// ========================================================================

@form-background:                               transparent;
@form-focus-background:                         transparent;

@form-danger-color:                             @form-color;
@form-success-color:                            @form-color;

@form-radio-background:                         transparent;
@form-radio-checked-background:                 @global-secondary-background;
@form-radio-checked-focus-background:           darken(@global-secondary-background, 6%);

@form-stacked-margin-bottom:                    5px;

//
// Master
//

@form-border-mode:                              -bottom;
@form-border-width:                             @global-border-width;
@form-border:                                   @global-border;

@form-focus-border:                             @global-secondary-background;

@form-disabled-border:                          @global-border;

@form-danger-border:                            @global-danger-background;
@form-success-border:                           @global-success-background;

@form-blank-focus-border:                       @global-border;
@form-blank-focus-border-style:                 dashed;

@form-radio-border-width:                       @global-border-width;
@form-radio-border:                             fade(@global-secondary-background, 20%);
@form-radio-focus-border:                       @global-secondary-background;
@form-radio-checked-border:                     transparent;
@form-radio-disabled-border:                    @global-border;

@form-label-font-size:                          @global-small-font-size;


// Component
// ========================================================================

.hook-form() {}

.hook-form-single-line() {}

.hook-form-multi-line() {}

.hook-form-focus() {}

.hook-form-disabled() {}


// Style modifiers
// ========================================================================

.hook-form-danger() {}

.hook-form-success() {}

.hook-form-blank() {}

.hook-form-blank-focus() {}


// Radio and checkbox
// ========================================================================

.hook-form-radio() {}

.hook-form-radio-focus() {}

.hook-form-radio-checked() {}

.hook-form-radio-checked-focus() { }

.hook-form-radio-disabled() {}


// Legend
// ========================================================================

.hook-form-legend() {}


// Label
// ========================================================================

.hook-form-label() {}


// Layout
// ========================================================================

.hook-form-stacked-label() {}

.hook-form-horizontal-label() {}


// Miscellaneous
// ========================================================================

.hook-form-misc() {}


// Inverse
// ========================================================================

@inverse-form-background:                      transparent;
@inverse-form-focus-background:                transparent;

//
// Master
//

@inverse-form-border:                          @inverse-global-border;
@inverse-form-focus-border:                    @inverse-global-emphasis-color;

.hook-inverse-form() {}
.hook-inverse-form-focus() {}

.hook-inverse-form-radio() {}
.hook-inverse-form-radio-focus() {}

.hook-inverse-form-radio-checked() {}
.hook-inverse-form-radio-checked-focus() {}

.hook-inverse-form-label() {}
