<commit_before>// Header
$header                              : $secondary !default;
$header-link                         : $light-grey !default;
$header-link-active                  : $primary !default;
$user-btn                            : darken($header, 10%) !default;
$nav-spacing: 4px;

.page-header {
  @include no-select;
  margin-bottom: 10px;

  NAV {
    font-size: .9em;
    width: 100%;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;

    .dropdown-menu {
      background: $dropdown-bg;
      border: 0;
      z-index: 4;
      padding: 0;
      top: auto!important;
      border-radius: 0;
      box-shadow: $darken-helper 0 0 7px;
    }

    > ul {
      background-color: $header;
      border-radius: 3px 0 0 3px;
      padding: 0;
      vertical-align: middle;

      &.nav-main {
        flex-grow: 1;
      }

      > li {
        list-style-type: none;
        display: inline-block;

        &.active {
          > .ember-basic-dropdown-trigger > a,
          > a {
            color: $info;
            text-decoration: none;
            margin: 0;
          }
        }

        > .ember-basic-dropdown-trigger > a,
        > a {
          color: $header-link;
          display: block;
          padding: 11px;
          border-bottom: solid $nav-spacing transparent;
          border-top: solid $nav-spacing transparent;

          &:hover {
            background-color: darken($header, 5%);
            color: white;
            text-decoration: none;
          }

          .icon-chevron-down {
            font-size: .75em;
          }
        }
      }
    }
  }

  .nav-logo {
    height: 48px;
    background-size: auto 32px;
    background-position: left center;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin: 0;
    padding: 0;
  }


  .nav-user {
    border-radius: 0 3px 3px 0;
    margin: 0;

    > li > a {
      display: block;
      padding: 4px 10px;

      &:hover {
        border-bottom-color: transparent;
      }
    }

    .user-auth {
      line-height: initial;
      padding: 10px 20px 10px 10px;
      background: $accent-bg;
    }

    > div:hover {
      background: darken($header, 5%);
    }
  }

  .nav-item {
    position: relative;
  }

  .nav-cluster {
    float: left;
    background-color: $user-btn;

    a {
      &::after {
      content: '';
      border-left: 8px solid $user-btn;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      position: absolute;
      top: 22px;
      right: -8px;
    }

      &:hover {
        color: white;
        text-decoration: none;
        background-color: mix($user-btn, black, 80%);

        &::after {
          border-left-color: mix($user-btn, black, 80%);
        }
      }
    }


    .ember-basic-dropdown-trigger {
      max-width: 300px;
      @include clip;
      @include hand;

      > a {
        padding-right: 30px;
        padding-left: 10px;

        &.two-line {
          padding-top: 0;
          padding-bottom: 1px;
        }
      }

    }<commit_msg>nested project menu background hover fix<commit_after>// Header
$header                              : $secondary !default;
$header-link                         : $light-grey !default;
$header-link-active                  : $primary !default;
$user-btn                            : darken($header, 10%) !default;
$nav-spacing: 4px;

.page-header {
  @include no-select;
  margin-bottom: 10px;

  NAV {
    font-size: .9em;
    width: 100%;
    box-sizing: border-box;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;

    .dropdown-menu {
      background: $dropdown-bg;
      border: 0;
      z-index: 4;
      padding: 0;
      top: auto!important;
      border-radius: 0;
      box-shadow: $darken-helper 0 0 7px;
    }

    > ul {
      background-color: $header;
      border-radius: 3px 0 0 3px;
      padding: 0;
      vertical-align: middle;

      &.nav-main {
        flex-grow: 1;
      }

      > li {
        list-style-type: none;
        display: inline-block;

        &.active {
          > .ember-basic-dropdown-trigger > a,
          > a {
            color: $info;
            text-decoration: none;
            margin: 0;
          }
        }

        > .ember-basic-dropdown-trigger > a,
        > a {
          color: $header-link;
          display: block;
          padding: 11px;
          border-bottom: solid $nav-spacing transparent;
          border-top: solid $nav-spacing transparent;

          &:hover {
            background-color: darken($header, 5%);
            color: white;
            text-decoration: none;
          }

          .icon-chevron-down {
            font-size: .75em;
          }
        }
      }
    }
  }

  .nav-logo {
    height: 48px;
    background-size: auto 32px;
    background-position: left center;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin: 0;
    padding: 0;
  }


  .nav-user {
    border-radius: 0 3px 3px 0;
    margin: 0;

    > li > a {
      display: block;
      padding: 4px 10px;

      &:hover {
        border-bottom-color: transparent;
      }
    }

    .user-auth {
      line-height: initial;
      padding: 10px 20px 10px 10px;
      background: $accent-bg;
    }

    > div:hover {
      background: darken($header, 5%);
    }
  }

  .nav-item {
    position: relative;
  }

  .nav-cluster {
    float: left;
    background-color: $user-btn;

    a {
      &::after {
      content: '';
      border-left: 8px solid $user-btn;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      position: absolute;
      top: 22px;
      right: -8px;
    }

      &:first-of-type:hover {
        color: white;
        text-decoration: none;
        background-color: mix($user-btn, black, 80%);

        &::after {
          border-left-color: mix($user-btn, black, 80%);
        }
      }
    }

    .project-menu .global ul li a:hover {
      background: transparent;
    }


    .ember-basic-dropdown-trigger {
      max-width: 300px;
      @include clip;
      @include hand;

      > a {
        padding-right: 30px;
        padding-left: 10px;

        &.two-line {
          padding-top: 0;
          padding-bottom: 1px;
        }
      }

    }
{'fraction_non_alphanumeric': 0.12517321016166283, 'fraction_numerical': 0.022170900692840646, 'mean_word_length': 1.4634053849070914, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, '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': '1871429', 'n_tokens_mistral': 2270, 'n_tokens_neox': 2047, 'n_words': 472}