//
// Component: Dotnav
//
// ========================================================================


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

@internal-dotnav-item-hover-mode:               ~''; // glitch
@internal-dotnav-item-hover-glitch-animation:   uk-glitch-skew, uk-glitch-opacity;
@internal-dotnav-item-hover-glitch-duration:    0.2s;


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

.hook-dotnav() {}

.hook-dotnav-item() {
    transition: 0.2s ease-in-out;
    transition-property: color, background-color, border-color, box-shadow;
}

.hook-dotnav-item-hover() {}

.hook-dotnav-item-onclick() {}

.hook-dotnav-item-active() {}

//
// Glitch
//

.hook-dotnav-item-hover() when (@internal-dotnav-item-hover-mode = glitch) {
    animation: @internal-dotnav-item-hover-glitch-duration ease both;
    animation-name: @internal-dotnav-item-hover-glitch-animation;
}


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

.hook-dotnav-misc() {}


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

.hook-inverse-dotnav() {}
.hook-inverse-dotnav-item() {}
.hook-inverse-dotnav-item-hover() {}
.hook-inverse-dotnav-item-onclick() {}
.hook-inverse-dotnav-item-active() {}
