<commit_before>//
// Navs
// --------------------------------------------------


// Base class
// --------------------------------------------------

.nav {
  > li {

    // Disabled state sets text to gray and nukes hover/tab effects
    &.disabled > a {
      color: @nav-disabled-link-color;

      &:hover,
      &:focus {
        color: @nav-disabled-link-hover-color;
      }
    }
  }

  // Open dropdowns
  .open > a {
    &,
    &:hover,
    &:focus {
    background-color: @link-color;
    border-color: @link-color;
    }
  }
}



// Nav variations
// --------------------------------------------------

// Tabs
// -------------------------

.nav-tabs {
  > li {

    // Actual tabs (as links)
    > a {
      border-radius: @border-radius-base @border-radius-base 0 0;
      color: #666;
      &:hover {
        border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
      }
    }

    // Active state, and it's :hover to override normal :hover
    &.active > a,
    &.active > a:hover,
    &.active > a:focus {
      font-weight: bold;
      color: @nav-tabs-active-link-hover-color;
    }
  }
}


// Google Tabs
// -------------------------
.nav-tabs-google {
  > li {
    margin: 0 -1px 0 0;

    // Actual tabs (as links)
    > a {
      padding: @nav-tabs-google-link-padding;
      line-height: @line-height-base;
      color: @gray-dark;
      border: 3px solid transparent;
      border-width: 3px 0;
      border-radius: 0;
      .opacity(.5);
      &:hover,
      &:focus {
        background-color: transparent;
        border-top-color: transparent;
      }
      &:hover {
        border-bottom-color: @nav-tabs-google-link-hover-border-color;
        .opacity(1);
      }
      &:focus {
        border-color: @nav-tabs-google-link-focus-border-color;
        outline: 0;
      }
    }

    // Active state, and it's :hover to override normal :hover
    > a:active,
    &.active > a {
      &,
      &:hover,
      &:focus {
        border: 3px solid transparent;
        border-width: 3px 0;
        border-bottom-color: @nav-tabs-google-link-hover-border-color;
        .opacity(1);
      }
    }
    &.active > a:focus {
      border-color: @nav-tabs-google-link-focus-border-color;
    }
  }
}

// Pills
// -------------------------
.nav-pills {
  > li {

    // Links rendered as pills
    > a {
      border-radius: @border-radius-base;
    }

    // Active state
    &.active > a {
      &,
      &:hover,
      &:focus {
        color: @nav-pills-active-link-hover-color;
        background-color: @nav-pills-active-link-hover-bg;
      }
    }
  }
}



// Dropdowns
// -------------------------

// Make dropdown carets use link color in navs
.nav .caret {
  border-top-color: @link-color;
  border-bottom-color: @link-color;
}
.nav a:hover .caret {
  border-top-color: @link-hover-color;
  border-bottom-color: @link-hover-color;
}<commit_msg>Justified nav now responsive; example updated accordingly (fixes 9708)<commit_after>//
// Navs
// --------------------------------------------------


// Base class
// --------------------------------------------------

.nav {
  > li {

    // Disabled state sets text to gray and nukes hover/tab effects
    &.disabled > a {
      color: @nav-disabled-link-color;

      &:hover,
      &:focus {
        color: @nav-disabled-link-hover-color;
      }
    }
  }

  // Open dropdowns
  .open > a {
    &,
    &:hover,
    &:focus {
    background-color: @link-color;
    border-color: @link-color;
    }
  }
}


// Tabs
// -------------------------

.nav-tabs {
  > li {

    // Actual tabs (as links)
    > a {
      border-radius: @border-radius-base @border-radius-base 0 0;
      color: #666;
      &:hover {
        border-color: @nav-tabs-link-hover-border-color @nav-tabs-link-hover-border-color @nav-tabs-border-color;
      }
    }

    // Active state, and it's :hover to override normal :hover
    &.active > a,
    &.active > a:hover,
    &.active > a:focus {
      font-weight: bold;
      color: @nav-tabs-active-link-hover-color;
    }
  }
}


// Google Tabs
// -------------------------
.nav-tabs-google {
  > li {
    margin: 0 -1px 0 0;

    // Actual tabs (as links)
    > a {
      padding: @nav-tabs-google-link-padding;
      line-height: @line-height-base;
      color: @gray-dark;
      border: 3px solid transparent;
      border-width: 3px 0;
      border-radius: 0;
      .opacity(.5);
      &:hover,
      &:focus {
        background-color: transparent;
        border-top-color: transparent;
      }
      &:hover {
        border-bottom-color: @nav-tabs-google-link-hover-border-color;
        .opacity(1);
      }
      &:focus {
        border-color: @nav-tabs-google-link-focus-border-color;
        outline: 0;
      }
    }

    // Active state, and it's :hover to override normal :hover
    > a:active,
    &.active > a {
      &,
      &:hover,
      &:focus {
        border: 3px solid transparent;
        border-width: 3px 0;
        border-bottom-color: @nav-tabs-google-link-hover-border-color;
        .opacity(1);
      }
    }
    &.active > a:focus {
      border-color: @nav-tabs-google-link-focus-border-color;
    }
  }
}

// Pills
// -------------------------
.nav-pills {
  > li {

    // Links rendered as pills
    > a {
      border-radius: @border-radius-base;
    }

    // Active state
    &.active > a {
      &,
      &:hover,
      &:focus {
        color: @nav-pills-active-link-hover-color;
        background-color: @nav-pills-active-link-hover-bg;
      }
    }
  }
}


// Nav variations
// --------------------------------------------------



// Dropdowns
// -------------------------

// Make dropdown carets use link color in navs
.nav .caret {
  border-top-color: @link-color;
  border-bottom-color: @link-color;
}
.nav a:hover .caret {
  border-top-color: @link-hover-color;
  border-bottom-color: @link-hover-color;
}
{'fraction_non_alphanumeric': 0.22588275046460551, 'fraction_numerical': 0.007433688122993749, 'mean_word_length': 1.4055262088581877, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 35, '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': '567193', 'n_tokens_mistral': 2021, 'n_tokens_neox': 1938, 'n_words': 388}