//
// Component: Thumbnav
//
// ========================================================================


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

//
// New
//

@thumbnav-item-background:                      fade(@global-background, 40%);
@thumbnav-item-hover-background:                transparent;
@thumbnav-item-active-background:               transparent;


// Component
// ========================================================================

.hook-thumbnav() {}

.hook-thumbnav-item() {

    position: relative;

    &::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: @thumbnav-item-background;
        transition: 0.1s ease-in-out;
        transition-property: background-color, border-color, box-shadow;
    }

}

.hook-thumbnav-item-hover() {
    &::after { background-color: @thumbnav-item-hover-background; }
}

.hook-thumbnav-item-active() {
    &::after { background-color: @thumbnav-item-active-background; }
}


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

.hook-thumbnav-misc() {}


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

@inverse-thumbnav-item-background:                      fade(@global-background, 40%);
@inverse-thumbnav-item-hover-background:                transparent;
@inverse-thumbnav-item-active-background:               transparent;

.hook-inverse-thumbnav-item() { background-color: @inverse-thumbnav-item-background; }
.hook-inverse-thumbnav-item-hover() { background-color: @inverse-thumbnav-item-hover-background; }
.hook-inverse-thumbnav-item-active() { background-color: @inverse-thumbnav-item-active-background; }