<commit_before>/*
 *  Application Header
 *
 */
header {
  transition-duration: .3s;

  &.navbar-empty {
    height: $header-height;
    background: #fff;
    border-bottom: 1px solid $btn-gray-hover;

    .center-logo {
      margin: 8px 0;
      text-align: center;

      #tanuki-logo, img {
        width: 36px;
        height: 36px;
      }
    }
  }

  &.navbar-gitlab {
    padding: 0 16px;
    z-index: 100;
    margin-bottom: 0;
    height: $header-height;
    background-color: $background-color;
    border: none;
    border-bottom: 1px solid $border-color;

    @media (max-width: $screen-xs-min) {
      padding: 0 16px;
    }

    &.with-horizontal-nav {
      border-bottom: none;
    }

    .container-fluid {
      width: 100% !important;
      filter: none;
      padding: 0;

      .nav > li > a {
        color: $gl-icon-color;
        font-size: 18px;
        padding: 0;
        margin: ($header-height - 28) / 2 0;
        margin-left: 10px;
        height: 28px;
        width: 28px;
        line-height: 28px;
        text-align: center;

        &:hover, &:focus, &:active {
          background-color: $background-color;
        }
      }

      .navbar-toggle {
        color: #666;
        margin: 6px 0;
        border-radius: 0;
        position: absolute;
        right: -10px;
        padding: 6px 10px;

        &:hover {
          background-color: $btn-gray-hover;
        }

        &.active {
          color: $gl-icon-color;
        }
      }
    }

    &.header-collapsed {
      padding: 0 16px;

      .side-nav-toggle {
        display: block;
      }
    }

    .side-nav-toggle {
      display: none;
      position: absolute;
      left: -10px;
      margin: 6px 0;
      font-size: 18px;
      padding: 6px 10px;
      border: none;
      background-color: $background-color;

      &:hover {
        background-color: $btn-gray-hover;
      }

      &:focus {
        outline: none;
      }
    }
  }

  .header-content {
    position: relative;
    height: $header-height;
    padding-right: 40px;

    @media (max-width: $screen-xs-min) {
      padding-left: 40px;
    }

    @media (min-width: $screen-sm-min) {
      padding-right: 0;
    }

    .dropdown-menu {
      margin-top: -5px;
    }

    .title {
      margin: 0;
      font-size: 19px;
      line-height: $header-height;
      font-weight: normal;
      color: $gl-text-color;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: top;
      white-space: nowrap;

      a {
        color: $gl-text-color;
        &:hover {
          text-decoration: underline;
        }
      }

      .dropdown-toggle-caret {
        position: relative;
        top: -2px;
        width: 12px;
        line-height: 12px;
        margin-left: 5px;
        font-size: 10px;
        text-align: center;
        cursor: pointer;
      }

      .project-item-select {
        right: auto;
        left: 0;
      }
    }

    .navbar-collapse {
      float: right;
      border-top: none;
    }
  }

  .project-item-select-holder {
    display: inline;
  }

  .impersonation i {
    color: $red-normal;
  }
}

.header-collapsed {
  margin-left: 0;

  .header-content {
    padding-left: 30px;
    transition-duration: .3s;
  }
}

.header-expanded {
  margin-left: 0;

  .header-content {
    padding-left: $sidebar_width;
    transition-duration: .3s;
  }
}

@media (max-width: $screen-xs-max) {
  header .container-fluid {
    font-size: 18px;

    .navbar-nav {
      margin: 0;
      float: none !important;
<commit_msg>Fixed project dropdown being overlapped by sidebar<commit_after>/*
 *  Application Header
 *
 */
header {
  transition-duration: .3s;

  &.navbar-empty {
    height: $header-height;
    background: #fff;
    border-bottom: 1px solid $btn-gray-hover;

    .center-logo {
      margin: 8px 0;
      text-align: center;

      #tanuki-logo, img {
        width: 36px;
        height: 36px;
      }
    }
  }

  &.navbar-gitlab {
    padding: 0 16px;
    z-index: 100;
    margin-bottom: 0;
    height: $header-height;
    background-color: $background-color;
    border: none;
    border-bottom: 1px solid $border-color;

    @media (max-width: $screen-xs-min) {
      padding: 0 16px;
    }

    &.with-horizontal-nav {
      border-bottom: none;
    }

    .container-fluid {
      width: 100% !important;
      filter: none;
      padding: 0;

      .nav > li > a {
        color: $gl-icon-color;
        font-size: 18px;
        padding: 0;
        margin: ($header-height - 28) / 2 0;
        margin-left: 10px;
        height: 28px;
        width: 28px;
        line-height: 28px;
        text-align: center;

        &:hover, &:focus, &:active {
          background-color: $background-color;
        }
      }

      .navbar-toggle {
        color: #666;
        margin: 6px 0;
        border-radius: 0;
        position: absolute;
        right: -10px;
        padding: 6px 10px;

        &:hover {
          background-color: $btn-gray-hover;
        }

        &.active {
          color: $gl-icon-color;
        }
      }
    }

    &.header-collapsed {
      padding: 0 16px;

      .side-nav-toggle {
        display: block;
      }
    }

    .side-nav-toggle {
      display: none;
      position: absolute;
      left: -10px;
      margin: 6px 0;
      font-size: 18px;
      padding: 6px 10px;
      border: none;
      background-color: $background-color;

      &:hover {
        background-color: $btn-gray-hover;
      }

      &:focus {
        outline: none;
      }
    }
  }

  .header-content {
    position: relative;
    height: $header-height;
    padding-right: 40px;

    @media (max-width: $screen-xs-min) {
      padding-left: 40px;
    }

    @media (min-width: $screen-sm-min) {
      padding-right: 0;
    }

    .dropdown-menu {
      margin-top: -5px;
    }

    .title {
      margin: 0;
      font-size: 19px;
      line-height: $header-height;
      font-weight: normal;
      color: $gl-text-color;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: top;
      white-space: nowrap;

      a {
        color: $gl-text-color;
        &:hover {
          text-decoration: underline;
        }
      }

      .dropdown-toggle-caret {
        position: relative;
        top: -2px;
        width: 12px;
        line-height: 12px;
        margin-left: 5px;
        font-size: 10px;
        text-align: center;
        cursor: pointer;
      }

      .project-item-select {
        right: auto;
        left: 0;
      }
    }

    .navbar-collapse {
      float: right;
      border-top: none;
    }
  }

  .project-item-select-holder {
    display: inline;
  }

  .impersonation i {
    color: $red-normal;
  }
}

.header-collapsed {
  margin-left: 0;

  .header-content {
    padding-left: 30px;
    transition-duration: .3s;
  }
}

.header-expanded {
  margin-left: 0;

  .header-content {
    margin-left: $sidebar_width;
    transition-duration: .3s;
  }
}

@media (max-width: $screen-xs-max) {
  header .container-fluid {
    font-size: 18px;

    .navbar-nav {
      margin: 0;
      float: none !important;

{'fraction_non_alphanumeric': 0.13217097862767155, 'fraction_numerical': 0.024746906636670417, 'mean_word_length': 1.5893702220604295, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '4369747', 'n_tokens_mistral': 2652, 'n_tokens_neox': 2412, 'n_words': 510}