<commit_before>@import 'compass';
@import 'branding';
@import 'mixins';
@import 'typography';
@import 'variables';

nav.top-bar {
  @include textpress;
  text-shadow: none;
  text-align: center;
  font-size: 16px;
  margin-bottom: 0;
  height: $topbar-height;
}

@media #{$large-only} {
  .top-bar--menu-item-with-icon span {
    display: none;
  }

  .top-bar--current-hub-prefix,
  .top-bar--current-hub-name {
    display: inline-block;
    vertical-align: middle;
  }

  .top-bar--current-hub-name {
    max-width: 10em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.top-bar-section ul li > a.top-bar--menu-item-with-icon {
  display: inline;
}

.top-bar--menu-item-with-icon i,
.top-bar--menu-item-with-icon img {
  line-height: $topbar-height;
}

.top-bar-section {
  border-bottom: 1px solid $light-grey;

  a.icon {
    &:hover {
      text-decoration: none;
    }

    > span {
      display: inline-block;
      font-weight: 300;
      height: $topbar-height;
      line-height: $topbar-height;
      vertical-align: top;
    }
  }

  // Avoid menu items blocking logo
  li:not(.has-form), li:not(.has-form) a:not(.button), li:not(.has-form) a:not(.button):hover {
    background-color: transparent;
  }

  li.cart {
    background-color: #f4704c;

    a span {
      color: white;
    }

    i {
      color: white;
    }

    .count {
      position: relative;

      img {
        width: 32px;
        height: 26px;
        margin-top: 16px;
        margin-right: 5px;
      }

      span {
        background-color: white;
        border-radius: 20px;
        color: #f4704c;
        font-size: 12px;
        line-height: 18px;
        position: absolute;
        right: -8px;
        top: 8px;
        width: 18px;
      }
    }
  }

  ul.center {
    display: inline-block;

    // By default, we center between the left and right uls, but we want to be centered
    // relative to the whole page. The difference in width between the other uls is 74px,
    // so we offset by that amount here.
    margin-left: -74px;
  }

  ul.dropdown {
    border: 1px solid $smoke;
    border-top: none;
  }

  ul.right {
    > li {
      border-left: 1px solid #ddd;
      padding: 0 14px;

      @media screen and (max-width: 1450px) {
        padding: 0 6px;
      }
    }

    li > a {
      opacity: 0.8;

      &:hover, &:focus, &:active {
        opacity: 1;
      }

      i {
        color: #f4704c;
        display: inline-block;
        margin-right: 2px;
        margin-top: -3px;
        vertical-align: middle;
      }

      img {
        margin-right: 2px;
        margin-top: -5px;
      }
    }
  }

  ul li > a {
    font-size: 16px;
    height: $topbar-height;
  }

  ul li.ofn-logo > a {
    display: table-cell;
    vertical-align: middle;
  }

  ul .nav-primary {
    @include headingFont;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 16px;
  }

  .joyride-tip-guide .button {
    text-shadow: none;
  }
}

// Mobile Menu

.tab-bar {
  background-color: white;
  position: fixed;<commit_msg>Add navigation bottom border on mobile view<commit_after>@import 'compass';
@import 'branding';
@import 'mixins';
@import 'typography';
@import 'variables';

nav.top-bar {
  @include textpress;
  text-shadow: none;
  text-align: center;
  font-size: 16px;
  margin-bottom: 0;
  height: $topbar-height;
}

@media #{$large-only} {
  .top-bar--menu-item-with-icon span {
    display: none;
  }

  .top-bar--current-hub-prefix,
  .top-bar--current-hub-name {
    display: inline-block;
    vertical-align: middle;
  }

  .top-bar--current-hub-name {
    max-width: 10em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.top-bar-section ul li > a.top-bar--menu-item-with-icon {
  display: inline;
}

.top-bar--menu-item-with-icon i,
.top-bar--menu-item-with-icon img {
  line-height: $topbar-height;
}

.top-bar-section {
  border-bottom: 1px solid $light-grey;

  a.icon {
    &:hover {
      text-decoration: none;
    }

    > span {
      display: inline-block;
      font-weight: 300;
      height: $topbar-height;
      line-height: $topbar-height;
      vertical-align: top;
    }
  }

  // Avoid menu items blocking logo
  li:not(.has-form), li:not(.has-form) a:not(.button), li:not(.has-form) a:not(.button):hover {
    background-color: transparent;
  }

  li.cart {
    background-color: #f4704c;

    a span {
      color: white;
    }

    i {
      color: white;
    }

    .count {
      position: relative;

      img {
        width: 32px;
        height: 26px;
        margin-top: 16px;
        margin-right: 5px;
      }

      span {
        background-color: white;
        border-radius: 20px;
        color: #f4704c;
        font-size: 12px;
        line-height: 18px;
        position: absolute;
        right: -8px;
        top: 8px;
        width: 18px;
      }
    }
  }

  ul.center {
    display: inline-block;

    // By default, we center between the left and right uls, but we want to be centered
    // relative to the whole page. The difference in width between the other uls is 74px,
    // so we offset by that amount here.
    margin-left: -74px;
  }

  ul.dropdown {
    border: 1px solid $smoke;
    border-top: none;
  }

  ul.right {
    > li {
      border-left: 1px solid #ddd;
      padding: 0 14px;

      @media screen and (max-width: 1450px) {
        padding: 0 6px;
      }
    }

    li > a {
      opacity: 0.8;

      &:hover, &:focus, &:active {
        opacity: 1;
      }

      i {
        color: #f4704c;
        display: inline-block;
        margin-right: 2px;
        margin-top: -3px;
        vertical-align: middle;
      }

      img {
        margin-right: 2px;
        margin-top: -5px;
      }
    }
  }

  ul li > a {
    font-size: 16px;
    height: $topbar-height;
  }

  ul li.ofn-logo > a {
    display: table-cell;
    vertical-align: middle;
  }

  ul .nav-primary {
    @include headingFont;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 16px;
  }

  .joyride-tip-guide .button {
    text-shadow: none;
  }
}

// Mobile Menu

.tab-bar {
  border-bottom: 1px solid $light-grey;
  background-color: white;
  position: fixed;
{'fraction_non_alphanumeric': 0.13700610343719885, 'fraction_numerical': 0.021683263732733698, 'mean_word_length': 1.9193624003750587, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '520069', 'n_tokens_mistral': 2399, 'n_tokens_neox': 2223, 'n_words': 521}