//
// Component: Nav
//
// ========================================================================


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

@nav-default-font-size:                         @global-small-font-size;

@nav-default-subtitle-font-size:                12px;

//
// New
//

@nav-secondary-margin-top:                      0;
@nav-secondary-item-padding-horizontal:         10px;
@nav-secondary-item-padding-vertical:           10px;
@nav-secondary-item-hover-background:           @global-muted-background;
@nav-secondary-item-active-background:          @global-muted-background;


// Sublists
// ========================================================================

.hook-nav-sub() {}


// Header
// ========================================================================

.hook-nav-header() {}


// Divider
// ========================================================================

.hook-nav-divider() {}


// Default style modifier
// ========================================================================

.hook-nav-default() {}

.hook-nav-default-item() {}

.hook-nav-default-item-hover() {}

.hook-nav-default-item-active() {}

.hook-nav-default-subtitle() {}

.hook-nav-default-header() {}

.hook-nav-default-divider() {}


// Primary style modifier
// ========================================================================

.hook-nav-primary() {}

.hook-nav-primary-item() {}

.hook-nav-primary-item-hover() {}

.hook-nav-primary-item-active() {}

.hook-nav-primary-subtitle() {}

.hook-nav-primary-header() {}

.hook-nav-primary-divider() {}


// Secondary style modifier
// ========================================================================

.hook-nav-secondary() {
    > :not(.uk-nav-divider) + :not(.uk-nav-header, .uk-nav-divider) {  margin-top: @nav-secondary-margin-top; }
}

.hook-nav-secondary-item() { padding: @nav-secondary-item-padding-vertical @nav-secondary-item-padding-horizontal; }

.hook-nav-secondary-item-hover() { background-color: @nav-secondary-item-hover-background; }

.hook-nav-secondary-item-active() { background-color: @nav-secondary-item-active-background; }

.hook-nav-secondary-subtitle() {}

.hook-nav-secondary-subtitle-hover() {}

.hook-nav-secondary-subtitle-active() {}

.hook-nav-secondary-header() {}

.hook-nav-secondary-divider() {}


// Style modifier
// ========================================================================

.hook-nav-dividers() {}


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

.hook-nav-misc() {}


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

@inverse-nav-background-item-hover-background:  @inverse-global-muted-background;
@inverse-nav-background-item-active-background: @inverse-global-muted-background;

.hook-inverse-nav-default-item() {}
.hook-inverse-nav-default-item-hover() {}
.hook-inverse-nav-default-item-active() {}
.hook-inverse-nav-default-header() {}
.hook-inverse-nav-default-divider() {}

.hook-inverse-nav-primary-item() {}
.hook-inverse-nav-primary-item-hover() {}
.hook-inverse-nav-primary-item-active() {}
.hook-inverse-nav-primary-header() {}
.hook-inverse-nav-primary-divider() {}

.hook-inverse-nav-secondary-item() {}
.hook-inverse-nav-secondary-item-hover() { background-color: @inverse-nav-background-item-hover-background; }
.hook-inverse-nav-secondary-item-active() { background-color: @inverse-nav-background-item-active-background; }
.hook-inverse-nav-secondary-subtitle() {}
.hook-inverse-nav-secondary-subtitle-hover() {}
.hook-inverse-nav-secondary-subtitle-active() {}
.hook-inverse-nav-secondary-header() {}
.hook-inverse-nav-secondary-divider() {}

.hook-inverse-nav-dividers() {}
