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


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

@button-padding-horizontal:                      24px;
@button-large-padding-horizontal:                36px;

@button-default-background:                      @global-background;
@button-default-hover-background:                @button-default-background;
@button-default-active-background:               @button-default-background;
@button-default-active-color:                    lighten(@global-color, 8%);

//
// Master
//

@button-border-radius:                           3px;

@button-default-box-shadow:                      @global-small-box-shadow;
@button-default-hover-box-shadow:                @global-medium-box-shadow;

@button-primary-box-shadow:                      @global-small-box-shadow;
@button-primary-hover-box-shadow:                @global-medium-box-shadow;

@button-secondary-box-shadow:                    @global-small-box-shadow;
@button-secondary-hover-box-shadow:              @global-medium-box-shadow;

@button-danger-box-shadow:                       @global-small-box-shadow;
@button-danger-hover-box-shadow:                 @global-medium-box-shadow;

@button-text-mode:                               border-bottom;
@button-text-border:                             fade(@global-muted-color, 15%);
@button-text-border-width:                       2px;
@button-text-hover-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-text-hover-border:                  @inverse-global-color;
@inverse-button-text-border:                        @inverse-global-emphasis-color;
@inverse-button-text-color:                         @inverse-global-emphasis-color;

@inverse-button-secondary-background:               @inverse-global-muted-color;
@inverse-button-secondary-color:                    @inverse-global-color;
@inverse-button-secondary-hover-color:              @inverse-global-color;
@inverse-button-secondary-active-color:             @inverse-global-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() {}