//
// Component: Icon
//
// ========================================================================


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

@icon-button-background:                        @global-background;
@icon-button-color:                             @global-color;

@icon-button-hover-background:                  @global-background;
@icon-button-hover-color:                       @global-secondary-background;

@icon-button-active-background:                 @global-secondary-background;
@icon-button-active-color:                      @global-inverse-color;

//
// Master
//

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

@icon-button-border:                            @global-border;
@icon-button-hover-border:                      @icon-button-hover-color;
@icon-button-active-border:                     @icon-button-active-background;


@icon-link-hover-color:                         @global-secondary-background;
@icon-link-active-color:                        @global-secondary-background;

// Style modifiers
// ========================================================================

//
// Link
//

.hook-icon-link() {}

.hook-icon-link-hover() {}

.hook-icon-link-active() {}

//
// Button
//

.hook-icon-button() {}

.hook-icon-button-hover() {}

.hook-icon-button-active() {}


// Miscellaneous
// ========================================================================

.hook-icon-misc() {}


// Inverse
// ========================================================================

@inverse-icon-button-background:               transparent;
@inverse-icon-button-color:                    @inverse-global-color;
@inverse-icon-button-hover-background:         transparent;
@inverse-icon-button-hover-color:              @inverse-global-emphasis-color;
@inverse-icon-button-active-background:        @inverse-global-primary-background;
@inverse-icon-button-active-color:             @inverse-global-inverse-color;
@inverse-icon-button-border:                   @inverse-global-border;
@inverse-icon-button-hover-border:             fade(@inverse-global-color, 20%);
@inverse-icon-button-active-border:            @inverse-global-emphasis-color;

.hook-inverse-icon-link() {}
.hook-inverse-icon-link-hover() {}
.hook-inverse-icon-link-active() {}

.hook-inverse-icon-button() {}
.hook-inverse-icon-button-hover() {}
.hook-inverse-icon-button-active() {}
