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


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

@button-large-font-size:                        @global-font-size;

@button-default-background:                     @global-background;
@button-default-hover-background:               @button-default-background;
@button-default-active-background:              @button-default-background;

@button-primary-background:                     darken(@global-primary-background, 4%);
@button-primary-hover-background:               darken(@button-primary-background, 3%);
@button-primary-active-background:              darken(@button-primary-background, 8%);

@button-secondary-background:                   darken(@global-secondary-background, 4%);
@button-secondary-hover-background:             darken(@button-secondary-background, 3%);
@button-secondary-active-background:            darken(@button-secondary-background, 8%);

@button-disabled-background:                    darken(@global-muted-background, 1%);

//
// Master
//

@button-text-mode:                              arrow;

@internal-button-text-arrow-image:              "../../../../uikit-themes/master-design-bites/images/button-text-arrow.svg";
@internal-button-text-arrow-padding:            8px;
@internal-button-text-arrow-width:              35px;

@button-border-radius:                          @global-border-radius;

@button-small-border-radius:                    @button-border-radius;
@button-large-border-radius:                    @button-border-radius;

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

@button-font-weight:                            500;


// 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-primary-background:            @button-primary-background;
@inverse-button-primary-color:                 @button-primary-color;
@inverse-button-primary-hover-background:      @button-primary-hover-background;
@inverse-button-primary-hover-color:           @button-primary-hover-color;
@inverse-button-primary-active-background:     @button-primary-active-background;
@inverse-button-primary-active-color:          @button-primary-active-color;
@inverse-button-secondary-background:          @button-secondary-background;
@inverse-button-secondary-color:               @button-secondary-color;
@inverse-button-secondary-hover-background:    @button-secondary-hover-background;
@inverse-button-secondary-hover-color:         @button-secondary-hover-color;
@inverse-button-secondary-active-background:   @button-secondary-active-background;
@inverse-button-secondary-active-color:        @button-secondary-active-color;
@inverse-button-text-color:                    @inverse-global-emphasis-color;
@inverse-button-text-hover-color:              @inverse-global-emphasis-color;
@inverse-button-link-color:                    @global-link-color;
@inverse-button-link-hover-color:              @global-link-hover-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() {}