<commit_before>@mixin navigation-items-lap-and-desk($options){

    // BOTH LAP AND DESK
    @include respond-to(map_get($options, "collapsed-menu-breakpoint-lap-and-desk")){
        // Common to both levels
        li {
            @include set-text-as(delta, $reduced: true, $responsive-text: false, $margins-overrides: zero-both);
            width: auto;
            margin: 0;
            border-bottom: none;
            letter-spacing: normal;
            a, button {
                display: inline-block;
                margin: 0;
                padding: 0 1.5*$grid-unit;
                text-decoration: none;
                span {
                    display: inline-block;
                    height:100%;
                }
            }
        }

        // First level only.
        > ul > li {
            @include set-text-as(map_get($options, "typography-level"), $responsive-text: false, $reduced: map_get($options, "typography-reduced"), $margins-overrides: zero-both);
            display: inline-block;
            & > a, & > button {
                width: auto;
                @if (map_get($global-banner-options, "needs-clearance-from-red-bar") == true) {
                    line-height: $menu-lap-height - 4px;
                    margin-top: 4px;
                } @else {
                    line-height: $menu-lap-height;
                }
                text-transform: uppercase;
                letter-spacing: 1px;
                font-weight: 600;
                color: $colour-greyscale-39;
//                box-shadow: inset 1px 0 0 $colour-greyscale-88, inset -1px 0 0 $colour-greyscale-88;
                &:hover, &:focus, &:active {
                    box-shadow: inset 1px 0 0 $colour-greyscale-88, inset -1px 0 0 $colour-greyscale-88;
                    color: $colour-black;
                    i[class^='icon-'] {
                        &:before {
                            color: $colour-black;
                        }
                    }
                }
                &:hover, &:active, &:focus {
                    background-color: $colour-greyscale-97;
                }
            }
            &.ds-open:hover, &.ds-open:focus, &.ds-open:active {
                color: $colour-black;
                i[class^='icon-'] {
                    &:before {
                        color: $colour-black;
                    }
                }
            }

            &.current {
                font-weight: bold;
                & > a, & > button {
                    color: $colour-black;
                    span {
                        position: relative;
                        &:after {
                            content: '';
                            bottom: 0;
                            left: 0;
                            position: absolute;
                            height: 2px;
                            width: 100%;
                            background-color: $colour-black;
                        }
                    }
                }
            }
        }

        .ds-menu {
            i[class^='icon-'], &.ds-open i[class^='icon-'] {
                width: 1.5*$grid-unit;
                &:before {
                    color: $colour-greyscale-39;
                }
            }
            .ds-menu-items {
                .ds-menu-item {
                    white-space: nowrap;
                }
            }
        }
    }

    // DESK ONLY
    @include respond-to($desk-only){
        // First level
        & > ul > li {
            & > a, & > button {
                @if (map_get($global-banner-options, "needs-clearance-from-red-bar") == true) {
                    line-height: $menu-lap-height - 4px;
                } @else {
                    line-height: $menu-lap-height;
                }
            }
        }
    }
}<commit_msg>C2071: Putting desk height back where lap height was used accidentally for navigation hover styles.<commit_after>@mixin navigation-items-lap-and-desk($options){

    // BOTH LAP AND DESK
    @include respond-to(map_get($options, "collapsed-menu-breakpoint-lap-and-desk")){
        // Common to both levels
        li {
            @include set-text-as(delta, $reduced: true, $responsive-text: false, $margins-overrides: zero-both);
            width: auto;
            margin: 0;
            border-bottom: none;
            letter-spacing: normal;
            a, button {
                display: inline-block;
                margin: 0;
                padding: 0 1.5*$grid-unit;
                text-decoration: none;
                span {
                    display: inline-block;
                    height:100%;
                }
            }
        }

        // First level only.
        > ul > li {
            @include set-text-as(map_get($options, "typography-level"), $responsive-text: false, $reduced: map_get($options, "typography-reduced"), $margins-overrides: zero-both);
            display: inline-block;
            & > a, & > button {
                width: auto;
                @if (map_get($global-banner-options, "needs-clearance-from-red-bar") == true) {
                    line-height: $menu-lap-height - 4px;
                    margin-top: 4px;
                } @else {
                    line-height: $menu-lap-height;
                }
                text-transform: uppercase;
                letter-spacing: 1px;
                font-weight: 600;
                color: $colour-greyscale-39;
                &:hover, &:focus, &:active {
                    box-shadow: inset 1px 0 0 $colour-greyscale-88, inset -1px 0 0 $colour-greyscale-88;
                    color: $colour-black;
                    i[class^='icon-'] {
                        &:before {
                            color: $colour-black;
                        }
                    }
                }
                &:hover, &:active, &:focus {
                    background-color: $colour-greyscale-97;
                }
            }
            &.ds-open:hover, &.ds-open:focus, &.ds-open:active {
                color: $colour-black;
                i[class^='icon-'] {
                    &:before {
                        color: $colour-black;
                    }
                }
            }

            &.current {
                font-weight: bold;
                & > a, & > button {
                    color: $colour-black;
                    span {
                        position: relative;
                        &:after {
                            content: '';
                            bottom: 0;
                            left: 0;
                            position: absolute;
                            height: 2px;
                            width: 100%;
                            background-color: $colour-black;
                        }
                    }
                }
            }
        }

        .ds-menu {
            i[class^='icon-'], &.ds-open i[class^='icon-'] {
                width: 1.5*$grid-unit;
                &:before {
                    color: $colour-greyscale-39;
                }
            }
            .ds-menu-items {
                .ds-menu-item {
                    white-space: nowrap;
                }
            }
        }
    }

    // DESK ONLY
    @include respond-to($desk-only){
        // First level
        & > ul > li {
            & > a, & > button {
                @if (map_get($global-banner-options, "needs-clearance-from-red-bar") == true) {
                    line-height: $menu-desk-height - 4px;
                } @else {
                    line-height: $menu-desk-height;
                }
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.11692347533341965, 'fraction_numerical': 0.01191246924770167, 'mean_word_length': 0.9001230012300123, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2019014', 'n_tokens_mistral': 2241, 'n_tokens_neox': 1995, 'n_words': 379}