<commit_before>// ┌────────┐
// │ Topnav │
// └────────┘
//  ↳ http://esri.github.io/calcite-web/patterns/#top-nav
//  ↳ patterns → _top-nav.md
@mixin top-nav {
  position: relative;
  @include avenir-regular();
  border-bottom: 1px solid $lightest-gray;
  background-color: $white;
  z-index: 100;
  .esri-logo {
    margin-top: 1rem;
  }

  .sign-in {
    padding-top: $baseline
  }
}

  @mixin top-nav-title {
    @include avenir-regular();
    @include font-size(1);
    @include left();
    margin-right: 1.5rem;
    padding-top: 1.125rem;
    padding-bottom: 1.25rem;
    line-height: 1.5rem;
    color: $off-black;
    @if ($include-right-to-left) {
      html[dir="rtl"] & {
        white-space: nowrap;
        margin-right: 0;
        margin-left: 1.5rem;
      }
    }
    &:hover {
      text-decoration: none;
    }
  }

  @mixin top-nav-list {
    @include left();
    padding: 0;
    .top-nav-link + .top-nav-link {
      margin-left: .75em;
      @if ($include-right-to-left) {
        html[dir="rtl"] & {
          margin-left: 0;
          margin-right: .75em;
        }
      }
    }
    &.right {
      @include right();
    }
  }

  @mixin top-nav-style {
    @include font-size(-1);
    color: $off-black;
    padding: .75*$baseline 0;
    line-height: 1.5rem;
    display: inline-block;
    vertical-align: top;
  }

  @mixin top-nav-link {
    @include font-size(-1);
    color: $off-black;
    padding-top: 1.1625rem;
    padding-bottom: calc(1.1625rem - 4px);
    border-bottom: 4px solid transparent;
    line-height: 1.5rem;
    display: inline-block;
    vertical-align: top;
    &:hover, &:focus {
      color: $blue;
      border-bottom-color: $blue;
      text-decoration: none;
    }
    &:focus {
      outline: none;
    }
    &.is-active {
      border-bottom-color: $blue;
    }
  }

  @mixin top-nav-logo {
    margin-top: 0.75*$baseline;
  }

  @mixin top-nav-flex {
    display: flex;
  }

  @mixin top-nav-flex-list {
    flex-grow: 1;
    flex-basis: 30%
  }

  @mixin top-nav-flex-title {
    flex-grow: 2;
    text-align: center;
  }

  @mixin sign-in {
    @include right();
    padding-left: $baseline / 4;
    @if ($include-right-to-left) {
      html[dir="rtl"] & {
        padding-left: 0;
        padding-right: $baseline / 4;
      }
    }
    margin-top: -0.7rem;
  }

@if $include-top-nav == true {
  .top-nav {@include top-nav();}
    .top-nav-title {@include top-nav-title();}
    .top-nav-list {@include top-nav-list();}
    .top-nav-link {@include top-nav-link();}
    .top-nav-flex {@include top-nav-flex();}
      .top-nav-flex-list {@include top-nav-flex-list();}
      .top-nav-flex-title {@include top-nav-flex-title();}
  .sign-in {@include sign-in();}<commit_msg>add browser prefixes to flex properties in top nav classes<commit_after>// ┌────────┐
// │ Topnav │
// └────────┘
//  ↳ http://esri.github.io/calcite-web/patterns/#top-nav
//  ↳ patterns → _top-nav.md
@mixin top-nav {
  position: relative;
  @include avenir-regular();
  border-bottom: 1px solid $lightest-gray;
  background-color: $white;
  z-index: 100;
  .esri-logo {
    margin-top: 1rem;
  }

  .sign-in {
    padding-top: $baseline
  }
}

  @mixin top-nav-title {
    @include avenir-regular();
    @include font-size(1);
    @include left();
    margin-right: 1.5rem;
    padding-top: 1.125rem;
    padding-bottom: 1.25rem;
    line-height: 1.5rem;
    color: $off-black;
    @if ($include-right-to-left) {
      html[dir="rtl"] & {
        white-space: nowrap;
        margin-right: 0;
        margin-left: 1.5rem;
      }
    }
    &:hover {
      text-decoration: none;
    }
  }

  @mixin top-nav-list {
    @include left();
    padding: 0;
    .top-nav-link + .top-nav-link {
      margin-left: .75em;
      @if ($include-right-to-left) {
        html[dir="rtl"] & {
          margin-left: 0;
          margin-right: .75em;
        }
      }
    }
    &.right {
      @include right();
    }
  }

  @mixin top-nav-style {
    @include font-size(-1);
    color: $off-black;
    padding: .75*$baseline 0;
    line-height: 1.5rem;
    display: inline-block;
    vertical-align: top;
  }

  @mixin top-nav-link {
    @include font-size(-1);
    color: $off-black;
    padding-top: 1.1625rem;
    padding-bottom: calc(1.1625rem - 4px);
    border-bottom: 4px solid transparent;
    line-height: 1.5rem;
    display: inline-block;
    vertical-align: top;
    &:hover, &:focus {
      color: $blue;
      border-bottom-color: $blue;
      text-decoration: none;
    }
    &:focus {
      outline: none;
    }
    &.is-active {
      border-bottom-color: $blue;
    }
  }

  @mixin top-nav-logo {
    margin-top: 0.75*$baseline;
  }

  @mixin top-nav-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  @mixin top-nav-flex-list {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -ms-flex-preferred-size: 30%;
        flex-basis: 30%
  }

  @mixin top-nav-flex-title {
    -webkit-box-flex: 2;
        -ms-flex-positive: 2;
            flex-grow: 2;
    text-align: center;
  }

  @mixin sign-in {
    @include right();
    padding-left: $baseline / 4;
    @if ($include-right-to-left) {
      html[dir="rtl"] & {
        padding-left: 0;
        padding-right: $baseline / 4;
      }
    }
    margin-top: -0.7rem;
  }

@if $include-top-nav == true {
  .top-nav {@include top-nav();}
    .top-nav-title {@include top-nav-title();}
    .top-nav-list {@include top-nav-list();}
    .top-nav-link {@include top-nav-link();}
    .top-nav-flex {@include top-nav-flex();}
      .top-nav-flex-list {@include top-nav-flex-list();}
      .top-nav-flex-title {@include top-nav-flex-title();}
  .sign-in {@include sign-in();}
{'fraction_non_alphanumeric': 0.18110236220472442, 'fraction_numerical': 0.021697287839020123, 'mean_word_length': 2.0339702760084926, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3389784', 'n_tokens_mistral': 2313, 'n_tokens_neox': 2172, 'n_words': 414}