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


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

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

@button-padding-horizontal:                     25px;
@button-small-padding-horizontal:               18px;
@button-large-padding-horizontal:               35px;

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

@button-primary-hover-background:               transparent;
@button-primary-hover-color:                    @global-primary-background;
@button-primary-active-background:              @global-secondary-background;

@button-secondary-hover-background:             @global-primary-background;

@button-link-hover-color:                       @global-emphasis-color;
@button-link-hover-text-decoration:             none;

//
// Master
//

@button-text-mode:                              border-bottom;
@button-text-hover-color:                       @global-primary-background;
@button-text-border:                            @global-primary-background;
@button-text-hover-border:                      @global-primary-background;

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

@button-default-border:                         @global-emphasis-color;
@button-default-hover-border:                   @global-emphasis-color;
@button-default-active-border:                  transparent;

@button-primary-hover-border:                   @global-primary-background;

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

@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-background:     @global-background;
@inverse-button-default-hover-color:          @global-emphasis-color;
@inverse-button-default-active-background:    @inverse-global-primary-background;
@inverse-button-default-active-color:         @global-emphasis-color;
@inverse-button-primary-background:           @global-primary-background;
@inverse-button-primary-color:                @inverse-global-emphasis-color;
@inverse-button-primary-hover-color:          @inverse-button-primary-color;
@inverse-button-primary-active-color:         @inverse-button-primary-color;
@inverse-button-text-color:                   @inverse-global-emphasis-color;
@inverse-button-text-hover-color:             @inverse-global-muted-color;

//
// Master
//

@inverse-button-text-border:                  @inverse-global-muted-color;
@inverse-button-text-hover-border:            @inverse-global-muted-color;

@inverse-button-default-border:               @inverse-global-emphasis-color;
@inverse-button-default-hover-border:         @inverse-global-color;
@inverse-button-default-active-border:        transparent;


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