<commit_before>@import "framework/variables";
@import 'framework/tw_bootstrap_variables';
@import "bootstrap/variables";
@import "framework/mixins";

.content-wrapper.page-with-new-nav {
  margin-top: $new-navbar-height;
}

header.navbar-gitlab-new {
  color: $white-light;
  background: linear-gradient(to right, $indigo-900, $indigo-800);
  border-bottom: 0;
  min-height: $new-navbar-height;

  .header-content {
    display: -webkit-flex;
    display: flex;
    padding-left: 0;
    min-height: $new-navbar-height;

    .title-container {
      display: -webkit-flex;
      display: flex;
      -webkit-align-items: stretch;
      align-items: stretch;
      -webkit-flex: 1 1 auto;
      flex: 1 1 auto;
      padding-top: 0;
      overflow: visible;
    }

    .title {
      display: -webkit-flex;
      display: flex;
      padding-right: 0;
      color: currentColor;

      img {
        height: 28px;
        margin-right: 10px;
      }

      > a {
        display: -webkit-flex;
        display: flex;
        align-items: center;
        padding: 2px 8px;
        margin: 5px 2px 5px -8px;
        border-radius: $border-radius-default;

        svg {
          @media (min-width: $screen-sm-min) {
            margin-right: 8px;
          }
        }

        .logo-text {
          line-height: initial;

          svg {
            width: 55px;
            height: 14px;
            margin: 0;
            fill: $white-light;
          }
        }

        &:hover,
        &:focus {
          background-color: rgba($indigo-200, .2);
        }
      }
    }

    .dropdown.open {
      > a {
        border-bottom-color: $white-light;
      }
    }

    .dropdown-menu {
      margin-top: 4px;
      min-width: 130px;

      @media (max-width: $screen-xs-max) {
        left: auto;
        right: 0;
      }
    }

    &.menu-expanded {
      @media (max-width: $screen-xs-max) {
        .title-container,
        .header-logo, {
          display: none;
        }
      }
    }
  }

  .dropdown-bold-header {
    color: $gl-text-color-secondary;
    font-size: 12px;
  }

  .navbar-collapse {
    padding-left: 0;
    color: $indigo-200;
    box-shadow: 0;

    @media (max-width: $screen-xs-max) {
      margin-left: -8px;
      margin-right: -10px;
    }

    .nav {
      > li:not(.hidden-xs) a {
        @media (max-width: $screen-xs-max) {
          margin-left: 0;
          min-width: 100%;
        }
      }
    }
  }

  .container-fluid {
    .navbar-toggle {
      min-width: 45px;
      padding: 4px $gl-padding;
      margin-right: -7px;
      font-size: 14px;
      text-align: center;
      color: currentColor;
      border-left: 1px solid lighten($indigo-700, 10%);

      &:hover,
      &:focus,
      &.active {
        color: currentColor;
        background-color: transparent;
      }
    }

    .navbar-nav {
      @media (max-width: $screen-xs-max) {
        display: flex;
        padding-right: 10px;
      }

      li {
        .badge {
          box-shadow: none;
          font-weight: $gl-font-weight-bold;
        }
      }
    }

    .nav > li {
      &.header-user {
        @media (max-width: $screen-xs-max) {
          padding-left: 10px;
        }
      }

      > a {
        will-change: color;
        margin: 4px 2px;
        padding: 6px 8px;
        color: $indigo-200;
        height: 32px;

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

        svg {
          fill: $indigo-200;
        }

        &.header-user-dropdown-toggle {
          margin-left: 2px;

          .header-user-avatar {
            border-color: $indigo-200;
            margin-right: 0;
          }
        }
      }

      .header-new-dropdown-toggle {
        margin-right: 0;
      }

      > a:hover,
      > a:focus {
        text-decoration: none;
        outline: 0;
        opacity: 1;
        color: $white-light;

        @media (min-width: $screen-sm-min) {
          background-color: rgba($indigo-200, .2);
        }

        svg {
          fill: currentColor;
        }

        &.header-user-dropdown-toggle {
          .header-user-avatar {
            border-color: $white-light;
          }
        }
      }

      .impersonated-user,
      .impersonated-user:hover {
        margin-right: 1px;
        background-color: $white-light;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;

        svg {
          fill: $indigo-900;
        }
      }

      .impersonation-btn,
      .impersonation-btn:hover {
        background-color: $white-light;
        margin-left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;

        i {
          color: $orange-500;
          font-size: 20px;
        }
      }

      &.active > a,
      &.dropdown.open > a {
        color: $indigo-900;
        background-color: $white-light;

        svg {
          fill: currentColor;
        }
      }
    }
  }
}

.navbar-sub-nav {
  display: -webkit-flex;
  display: flex;
  margin: 0 0 0 6px;
  color: $indigo-200;

  .dropdown-chevron {
    position: relative;
    top: -1px;
    font-size: 10px;
  }
}

.navbar-gitlab-new {
  .navbar-sub-nav,
  .navbar-nav {
    > li {
      > a:hover,
      > a:focus {
        text-decoration: none;
        outline: 0;
        color: $white-light;
        background-color: rgba($indigo-200, .2);

        svg {
          fill: currentColor;
        }
      }

      &.active > a,
      &.dropdown.open > a {
        color: $indigo-900;
        background-color: $white-light;

        svg {
          fill: currentColor;
        }
      }

      > a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px 8px;
        margin: 4px 2px;
        font-size: 12px;
        color: currentColor;
        border-radius: $border-radius-default;
        height: 32px;
        font-weight: $gl-font-weight-bold;

        svg {
          fill: currentColor;
        }
      }

      &.line-separator {
        border-left: 1px solid rgba($indigo-200, .2);
        margin: 8px;
      }
    }
  }
}

.admin-icon i {
  font-size: 18px;
}

.caret-down {
  height: 11px;
  width: 11px;
  margin-left: 4px;
  fill: currentColor;
}

.header-user .dropdown-menu-nav,
.header-new .dropdown-menu-nav {
  margin-top: 4px;
}

.search {
  margin: 4px 8px 0;

  form {
    height: 32px;
    border: 0;
    border-radius: $border-radius-default;
    background-color: rgba($indigo-200, .2);
    transition: border-color ease-in-out 0.15s, background-color ease-in-out 0.15s;

    &:hover {
      background-color: rgba($indigo-200, .3);
      box-shadow: none;
    }
  }

  &.search-active form {
    background-color: $white-light;
    box-shadow: none;

    .search-input {
      color: $gl-text-color;
      transition: color ease-in-out 0.15s;
    }

    .search-input::placeholder {
      color: $gl-text-color-tertiary;
    }

    .search-input-wrap {
      .search-icon,
      .clear-icon {
        color: $gl-text-color-tertiary;
        transition: color ease-in-out 0.15s;
      }
    }
  }

  .search-input {
    color: $white-light;
    background: none;
    transition: color ease-in-out 0.15s;
  }

  .search-input::placeholder {
    color: rgba($indigo-200, .8);
    transition: color ease-in-out 0.15s;
  }

  .location-badge {
    font-size: 12px;
    color: $indigo-100;
    background-color: rgba($indigo-200, .1);
    will-change: color;
    margin: -4px 4px -4px -4px;
    line-height: 25px;
    padding: 4px 8px;
    border-radius: 2px 0 0 2px;
    border-right: 1px solid $indigo-800;
    height: 32px;
    transition: border-color ease-in-out 0.15s;
  }

  .search-input-wrap {
    .search-icon,
    .clear-icon {
      color: rgba($indigo-200, .8);
    }
  }

  &.search-active {
    .location-badge {
      color: $gl-text-color;
      background-color: $nav-badge-bg;
      border-color: $border-color;
    }

    .search-input-wrap {
      .search-icon {
        color: rgba($indigo-200, .8);
      }

      .clear-icon {
        color: $white-light;
      }
    }
  }
}

.breadcrumbs {
  display: flex;
  min-height: 48px;
  color: $gl-text-color;
}

.breadcrumbs-container {
  display: -webkit-flex;
  display: flex;
  width: 100%;
  position: relative;
  padding-top: $gl-padding;
  padding-bottom: $gl-padding;
  align-items: center;
  border-bottom: 1px solid $border-color;
}

.breadcrumbs-links {
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
  align-self: center;
  color: $gl-text-color-secondary;

  .avatar-tile {
    margin-right: 4px;
    border: 1px solid $border-color;
    border-radius: 50%;
    vertical-align: sub;
  }

  .text-expander {
    margin-left: 0;
    margin-right: 2px;

    > i {
      position: relative;
      top: 1px;
    }
  }
}

.breadcrumbs-list {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  line-height: 16px;

  > li {
    display: flex;
    align-items: center;
    position: relative;

    &:not(:last-child) {
      margin-right: 20px;
    }

    > a {
      font-size: 12px;
      color: currentColor;
    }
  }
}

.breadcrumb-item-text {
  @include str-truncated(128px);
}

.breadcrumbs-list-angle {
  position: absolute;
  right: -12px;
  top: 50%;
  color: $gl-text-color-tertiary;<commit_msg>Fixed the breadcrumbs project name not having hover style<commit_after>@import "framework/variables";
@import 'framework/tw_bootstrap_variables';
@import "bootstrap/variables";
@import "framework/mixins";

.content-wrapper.page-with-new-nav {
  margin-top: $new-navbar-height;
}

header.navbar-gitlab-new {
  color: $white-light;
  background: linear-gradient(to right, $indigo-900, $indigo-800);
  border-bottom: 0;
  min-height: $new-navbar-height;

  .header-content {
    display: -webkit-flex;
    display: flex;
    padding-left: 0;
    min-height: $new-navbar-height;

    .title-container {
      display: -webkit-flex;
      display: flex;
      -webkit-align-items: stretch;
      align-items: stretch;
      -webkit-flex: 1 1 auto;
      flex: 1 1 auto;
      padding-top: 0;
      overflow: visible;
    }

    .title {
      display: -webkit-flex;
      display: flex;
      padding-right: 0;
      color: currentColor;

      img {
        height: 28px;
        margin-right: 10px;
      }

      > a {
        display: -webkit-flex;
        display: flex;
        align-items: center;
        padding: 2px 8px;
        margin: 5px 2px 5px -8px;
        border-radius: $border-radius-default;

        svg {
          @media (min-width: $screen-sm-min) {
            margin-right: 8px;
          }
        }

        .logo-text {
          line-height: initial;

          svg {
            width: 55px;
            height: 14px;
            margin: 0;
            fill: $white-light;
          }
        }

        &:hover,
        &:focus {
          background-color: rgba($indigo-200, .2);
        }
      }
    }

    .dropdown.open {
      > a {
        border-bottom-color: $white-light;
      }
    }

    .dropdown-menu {
      margin-top: 4px;
      min-width: 130px;

      @media (max-width: $screen-xs-max) {
        left: auto;
        right: 0;
      }
    }

    &.menu-expanded {
      @media (max-width: $screen-xs-max) {
        .title-container,
        .header-logo, {
          display: none;
        }
      }
    }
  }

  .dropdown-bold-header {
    color: $gl-text-color-secondary;
    font-size: 12px;
  }

  .navbar-collapse {
    padding-left: 0;
    color: $indigo-200;
    box-shadow: 0;

    @media (max-width: $screen-xs-max) {
      margin-left: -8px;
      margin-right: -10px;
    }

    .nav {
      > li:not(.hidden-xs) a {
        @media (max-width: $screen-xs-max) {
          margin-left: 0;
          min-width: 100%;
        }
      }
    }
  }

  .container-fluid {
    .navbar-toggle {
      min-width: 45px;
      padding: 4px $gl-padding;
      margin-right: -7px;
      font-size: 14px;
      text-align: center;
      color: currentColor;
      border-left: 1px solid lighten($indigo-700, 10%);

      &:hover,
      &:focus,
      &.active {
        color: currentColor;
        background-color: transparent;
      }
    }

    .navbar-nav {
      @media (max-width: $screen-xs-max) {
        display: flex;
        padding-right: 10px;
      }

      li {
        .badge {
          box-shadow: none;
          font-weight: $gl-font-weight-bold;
        }
      }
    }

    .nav > li {
      &.header-user {
        @media (max-width: $screen-xs-max) {
          padding-left: 10px;
        }
      }

      > a {
        will-change: color;
        margin: 4px 2px;
        padding: 6px 8px;
        color: $indigo-200;
        height: 32px;

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

        svg {
          fill: $indigo-200;
        }

        &.header-user-dropdown-toggle {
          margin-left: 2px;

          .header-user-avatar {
            border-color: $indigo-200;
            margin-right: 0;
          }
        }
      }

      .header-new-dropdown-toggle {
        margin-right: 0;
      }

      > a:hover,
      > a:focus {
        text-decoration: none;
        outline: 0;
        opacity: 1;
        color: $white-light;

        @media (min-width: $screen-sm-min) {
          background-color: rgba($indigo-200, .2);
        }

        svg {
          fill: currentColor;
        }

        &.header-user-dropdown-toggle {
          .header-user-avatar {
            border-color: $white-light;
          }
        }
      }

      .impersonated-user,
      .impersonated-user:hover {
        margin-right: 1px;
        background-color: $white-light;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;

        svg {
          fill: $indigo-900;
        }
      }

      .impersonation-btn,
      .impersonation-btn:hover {
        background-color: $white-light;
        margin-left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;

        i {
          color: $orange-500;
          font-size: 20px;
        }
      }

      &.active > a,
      &.dropdown.open > a {
        color: $indigo-900;
        background-color: $white-light;

        svg {
          fill: currentColor;
        }
      }
    }
  }
}

.navbar-sub-nav {
  display: -webkit-flex;
  display: flex;
  margin: 0 0 0 6px;
  color: $indigo-200;

  .dropdown-chevron {
    position: relative;
    top: -1px;
    font-size: 10px;
  }
}

.navbar-gitlab-new {
  .navbar-sub-nav,
  .navbar-nav {
    > li {
      > a:hover,
      > a:focus {
        text-decoration: none;
        outline: 0;
        color: $white-light;
        background-color: rgba($indigo-200, .2);

        svg {
          fill: currentColor;
        }
      }

      &.active > a,
      &.dropdown.open > a {
        color: $indigo-900;
        background-color: $white-light;

        svg {
          fill: currentColor;
        }
      }

      > a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px 8px;
        margin: 4px 2px;
        font-size: 12px;
        color: currentColor;
        border-radius: $border-radius-default;
        height: 32px;
        font-weight: $gl-font-weight-bold;

        svg {
          fill: currentColor;
        }
      }

      &.line-separator {
        border-left: 1px solid rgba($indigo-200, .2);
        margin: 8px;
      }
    }
  }
}

.admin-icon i {
  font-size: 18px;
}

.caret-down {
  height: 11px;
  width: 11px;
  margin-left: 4px;
  fill: currentColor;
}

.header-user .dropdown-menu-nav,
.header-new .dropdown-menu-nav {
  margin-top: 4px;
}

.search {
  margin: 4px 8px 0;

  form {
    height: 32px;
    border: 0;
    border-radius: $border-radius-default;
    background-color: rgba($indigo-200, .2);
    transition: border-color ease-in-out 0.15s, background-color ease-in-out 0.15s;

    &:hover {
      background-color: rgba($indigo-200, .3);
      box-shadow: none;
    }
  }

  &.search-active form {
    background-color: $white-light;
    box-shadow: none;

    .search-input {
      color: $gl-text-color;
      transition: color ease-in-out 0.15s;
    }

    .search-input::placeholder {
      color: $gl-text-color-tertiary;
    }

    .search-input-wrap {
      .search-icon,
      .clear-icon {
        color: $gl-text-color-tertiary;
        transition: color ease-in-out 0.15s;
      }
    }
  }

  .search-input {
    color: $white-light;
    background: none;
    transition: color ease-in-out 0.15s;
  }

  .search-input::placeholder {
    color: rgba($indigo-200, .8);
    transition: color ease-in-out 0.15s;
  }

  .location-badge {
    font-size: 12px;
    color: $indigo-100;
    background-color: rgba($indigo-200, .1);
    will-change: color;
    margin: -4px 4px -4px -4px;
    line-height: 25px;
    padding: 4px 8px;
    border-radius: 2px 0 0 2px;
    border-right: 1px solid $indigo-800;
    height: 32px;
    transition: border-color ease-in-out 0.15s;
  }

  .search-input-wrap {
    .search-icon,
    .clear-icon {
      color: rgba($indigo-200, .8);
    }
  }

  &.search-active {
    .location-badge {
      color: $gl-text-color;
      background-color: $nav-badge-bg;
      border-color: $border-color;
    }

    .search-input-wrap {
      .search-icon {
        color: rgba($indigo-200, .8);
      }

      .clear-icon {
        color: $white-light;
      }
    }
  }
}

.breadcrumbs {
  display: flex;
  min-height: 48px;
  color: $gl-text-color;
}

.breadcrumbs-container {
  display: -webkit-flex;
  display: flex;
  width: 100%;
  position: relative;
  padding-top: $gl-padding;
  padding-bottom: $gl-padding;
  align-items: center;
  border-bottom: 1px solid $border-color;
}

.breadcrumbs-links {
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
  align-self: center;
  color: $gl-text-color-secondary;

  .avatar-tile {
    margin-right: 4px;
    border: 1px solid $border-color;
    border-radius: 50%;
    vertical-align: sub;
  }

  .text-expander {
    margin-left: 0;
    margin-right: 2px;

    > i {
      position: relative;
      top: 1px;
    }
  }
}

.breadcrumbs-list {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
  line-height: 16px;

  > li {
    display: flex;
    align-items: center;
    position: relative;

    &:not(:last-child) {
      margin-right: 20px;
    }

    > a {
      font-size: 12px;
      color: currentColor;
    }
  }
}

.breadcrumb-item-text {
  @include str-truncated(128px);
  text-decoration: inherit;
}

.breadcrumbs-list-angle {
  position: absolute;
  right: -12px;
  top: 50%;
  color: $gl-text-color-tertiary;
{'fraction_non_alphanumeric': 0.13940659811482434, 'fraction_numerical': 0.02731362467866324, 'mean_word_length': 1.6130702490904003, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 39, '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': '5982873', 'n_tokens_mistral': 7166, 'n_tokens_neox': 6526, 'n_words': 1263}