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


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

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

@button-padding-horizontal:                     15px;
@button-small-padding-horizontal:               10px;
@button-large-padding-horizontal:               25px;

@button-default-background:                     transparent;
@button-default-hover-background:               @global-primary-background;
@button-default-hover-color:                    @global-emphasis-color;

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

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

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

@button-link-hover-text-decoration:             none;

//
// Master
//

@button-text-mode:                              border-bottom;

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

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

@button-text-border-width:                      2px;
@button-text-border:                            @global-primary-background;
@button-text-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-letter-spacing:                         @global-primary-letter-spacing;
@button-text-transform:                         @global-primary-text-transform;


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

//
// Master
//

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

@inverse-button-primary-border:                transparent;
@inverse-button-primary-hover-border:          transparent;
@inverse-button-primary-active-border:         @inverse-global-primary-background;

@inverse-button-secondary-border:              transparent;
@inverse-button-secondary-hover-border:        @inverse-global-border;
@inverse-button-secondary-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() {}