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


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

@button-font-size:                              15px;

@button-default-background:                     transparent;
@button-default-color:                          @global-secondary-background;
@button-default-hover-color:                    @global-primary-background;
@button-default-active-background:              transparent;
@button-default-active-color:                   darken(@button-default-hover-color, 10%);

@button-text-hover-color:                       @global-primary-background;

@button-link-hover-color:                       @global-emphasis-color;

//
// Master
//

@button-transition-duration:                    0.3s;

@button-border-width:                           2px;
@button-border-radius:                          5px;

@button-text-mode:                              arrow;
@button-text-border:                            @global-secondary-background;
@button-text-hover-border:                      @global-primary-background;

@internal-button-text-arrow-image:             "../../../../uikit-themes/master-matthew-taylor/images/button-text-arrow.svg";

@button-default-border:                         @global-secondary-background;
@button-default-hover-border:                   @global-primary-background;
@button-default-active-border:                  darken(@button-default-hover-border, 10% );

@button-primary-box-shadow:                     0 0 20px 0 fade(@global-primary-background, 20%);
@button-primary-hover-box-shadow:               0 0 30px 0 fade(@global-primary-background, 40%);

@button-secondary-box-shadow:                   0 0 20px 0 fade(@global-secondary-background, 20%);
@button-secondary-hover-box-shadow:             0 0 30px 0 fade(@global-secondary-background, 40%);

@button-danger-box-shadow:                      0 0 20px 0 fade(@global-danger-background, 20%);
@button-danger-hover-box-shadow:                0 0 30px 0 fade(@global-danger-background, 40%);

@button-font-family:                            @global-primary-font-family;
@button-font-weight:                            @global-primary-font-weight;
@button-text-transform:                         @global-primary-text-transform;
@button-letter-spacing:                         @global-primary-letter-spacing;
@button-font-style:                             @global-primary-font-style;


// 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:                  @inverse-global-emphasis-color;
@inverse-button-default-hover-color:            @inverse-global-muted-color;
@inverse-button-default-active-color:           fade(@inverse-global-muted-color, 90%);

//
// Master
//

@inverse-button-text-color:                     @inverse-global-emphasis-color;

@inverse-button-default-border:                 @inverse-global-emphasis-color;
@inverse-button-default-hover-border:           @inverse-global-muted-color;
@inverse-button-default-active-border:          fade(@inverse-global-muted-color, 90%);

.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() {}