//
// Component: Button
//
// ========================================================================


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

@button-font-size:                              @global-small-font-size;
@button-large-font-size:                        16px;

@button-padding-horizontal:                     20px;
@button-large-padding-horizontal:               25px;

@button-default-background:                     transparent;
@button-default-hover-background:               @global-secondary-background;
@button-default-hover-color:                    @global-inverse-color;
@button-default-active-background:              lighten(@global-secondary-background, 5%);
@button-default-active-color:                   @global-inverse-color;

@button-primary-active-background:              @global-primary-background;

@button-secondary-hover-background:             lighten(@global-secondary-background, 5%);

//
// Master
//

@button-border-width:                           @global-border-width;

@button-default-border:                         @global-secondary-background;
@button-default-active-border:                  @global-secondary-background;


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

.hook-button() {}

.hook-button-hover() {}

.hook-button-focus() {}

.hook-button-active() {}


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

.hook-button-default() {}

.hook-button-default-hover() {}

.hook-button-default-active() {}

//
// Primary
//

.hook-button-primary() {}

.hook-button-primary-hover() {}

.hook-button-primary-active() {}

//
// Secondary
//

.hook-button-secondary() {}

.hook-button-secondary-hover() {}

.hook-button-secondary-active() {}

//
// Danger
//

.hook-button-danger() {}

.hook-button-danger-hover() {}

.hook-button-danger-active() {}


// Disabled
// ========================================================================

.hook-button-disabled() {}


// Size modifiers
// ========================================================================

.hook-button-small() {}

.hook-button-large() {}


// Text modifier
// ========================================================================

.hook-button-text() {}

.hook-button-text-hover() {}

.hook-button-text-disabled() {}


// Link modifier
// ========================================================================

.hook-button-link() {}


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

.hook-button-misc() {}


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

@inverse-button-default-background:             transparent;
@inverse-button-default-color:                  @global-inverse-color;
@inverse-button-default-hover-background:       @global-inverse-color;
@inverse-button-default-active-background:      fade(@global-inverse-color, 90%);

@inverse-button-primary-background:             @global-primary-background;
@inverse-button-primary-color:                  @global-inverse-color;
@inverse-button-primary-hover-color:            @global-inverse-color;
@inverse-button-primary-active-color:           @global-inverse-color;

//
// Master
//

@inverse-button-default-border:                 @global-inverse-color;

.hook-inverse-button-default() {}
.hook-inverse-button-default-hover() {}
.hook-inverse-button-default-active() {}

.hook-inverse-button-primary() {}
.hook-inverse-button-primary-hover() {}
.hook-inverse-button-primary-active() {}

.hook-inverse-button-secondary() {}
.hook-inverse-button-secondary-hover() {}
.hook-inverse-button-secondary-active() {}

.hook-inverse-button-text() {}
.hook-inverse-button-text-hover() {}
.hook-inverse-button-text-disabled() {}

.hook-inverse-button-link() {}