// Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

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


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

@icon-hover-color:                              @global-muted-color;
@icon-hover-hover-color:                        @global-color;

@icon-button-height:                            @icon-button-width;
@icon-button-font-size:                         round((@icon-button-width * 0.5));
@icon-button-color:                             @global-color;

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

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


// Modifier: `uk-icon-hover`
// ========================================================================

.hook-icon-hover() {}

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


// Modifier: `uk-icon-button`
// ========================================================================

.hook-icon-button() {
	border: 1px solid @icon-button-border;
	border-bottom-color: @icon-button-border-bottom;
	background-origin: border-box;
	background-image: -webkit-linear-gradient(top, @icon-button-gradient-top, @icon-button-gradient-bottom);
	background-image: linear-gradient(to bottom, @icon-button-gradient-top, @icon-button-gradient-bottom);
	text-shadow: 0 1px 0 @icon-button-text-shadow;
}

// Hover
.hook-icon-button-hover() {
	background-image: none;
}

// Active
.hook-icon-button-active() {
	background-image: none;
}


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

.hook-icon-misc() {}