<commit_before>@import "globals";

.top {
  padding: 20px;

  &-breadcrumbs {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    line-height: $top-height;
    color: $top-text-color;

    a, a:visited, a:hover {
      color: $top-link-color;
      text-decoration: none;
      word-spacing: normal;
    }

    a:hover {
      color: $top-hover-link-color;
    }

    &-separator {
      color: $top-separator-color;
      margin: 0 6px 0 6px;
      font-weight: bold !important;
      font-size: 15px;
      vertical-align: middle;
    }
  }

  &-right {
    float: right;
    position: relative;
    padding-right: 175px + 10px;
  }

  &-user-tools {
    @extend .clear-list;
    position: absolute;
    top: 0;
    right: 0;
    border: 1px solid $top-border-color;
    border-radius: 4px;
    font-size: 12px;
    text-align: left;
    width: 175px;
    z-index: 1;

    &-welcome-msg {
      font-weight: bold;
      line-height: $top-height - 2px;
      padding: 0 10px 0 14px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;

      &-arrow {
        float: right;
        color: $top-icon-color;
        font-size: 24px;
        line-height: $top-height - 2px !important;
      }
    }

    &.opened &-welcome-msg-arrow {
      color: $top-dropdown-icon-color;
    }

    &-contrast-block {
      display: none;
      padding: 8px 14px;
      background: $top-dropdown-contrast-background-color;
      color: $top-dropdown-contrast-text-color;

      &-title {
        text-transform: uppercase;
        font-size: 10px;
        font-weight: bold;
        margin-bottom: 6px;
      }
    }

    &.opened &-contrast-block {
      display: block;
    }

    &-theme-link {
      display: inline-block;
      float: left;
      margin-right: 6px;
      margin-bottom: 6px;
      width: 14px;
      height: 14px;
      border: 1px solid $top-dropdown-contrast-background-color;
      border-radius: 3px;

      &:last-child {
        margin-right: 0;
      }

      &.selected {
        box-shadow: 0 0 1px 1px $top-dropdown-selected-color;
      }
    }

    &-user-link {
      display: none;
      padding: 8px 14px;

      a, a:visited, a:hover {
        color: $top-dropdown-link-color;
        text-decoration: none;
      }

      a:hover {
        color: $top-dropdown-hover-link-color;
        text-decoration: underline;
      }

      &-icon {
        color: $top-dropdown-icon-color;
        font-size: 15px;
        vertical-align: middle;
      }
    }

    &.opened {
      background-color: $top-dropdown-background-color;
      border-color: transparent;
      color: $top-dropdown-text-color;
    }

    &.opened &-welcome-msg {
      border-bottom: 1px solid $top-dropdown-border-color;
    }

    &.opened &-user-link {
      display: block;
    }
  }
}<commit_msg>Add top bar arrow transition<commit_after>@import "globals";

.top {
  padding: 20px;

  &-breadcrumbs {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    line-height: $top-height;
    color: $top-text-color;

    a, a:visited, a:hover {
      color: $top-link-color;
      text-decoration: none;
      word-spacing: normal;
    }

    a:hover {
      color: $top-hover-link-color;
    }

    &-separator {
      color: $top-separator-color;
      margin: 0 6px 0 6px;
      font-weight: bold !important;
      font-size: 15px;
      vertical-align: middle;
    }
  }

  &-right {
    float: right;
    position: relative;
    padding-right: 175px + 10px;
  }

  &-user-tools {
    @extend .clear-list;
    position: absolute;
    top: 0;
    right: 0;
    border: 1px solid $top-border-color;
    border-radius: 4px;
    font-size: 12px;
    text-align: left;
    width: 175px;
    z-index: 1;

    &-welcome-msg {
      font-weight: bold;
      line-height: $top-height - 2px;
      padding: 0 10px 0 14px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;

      &-arrow {
        float: right;
        color: $top-icon-color;
        font-size: 24px;
        line-height: $top-height - 2px !important;
        @include transition(color $transitions-duration);
      }
    }

    &.opened &-welcome-msg-arrow {
      color: $top-dropdown-icon-color;
      @include transform(rotate(180deg));
    }

    &-contrast-block {
      display: none;
      padding: 8px 14px;
      background: $top-dropdown-contrast-background-color;
      color: $top-dropdown-contrast-text-color;

      &-title {
        text-transform: uppercase;
        font-size: 10px;
        font-weight: bold;
        margin-bottom: 6px;
      }
    }

    &.opened &-contrast-block {
      display: block;
    }

    &-theme-link {
      display: inline-block;
      float: left;
      margin-right: 6px;
      margin-bottom: 6px;
      width: 14px;
      height: 14px;
      border: 1px solid $top-dropdown-contrast-background-color;
      border-radius: 3px;

      &:last-child {
        margin-right: 0;
      }

      &.selected {
        box-shadow: 0 0 1px 1px $top-dropdown-selected-color;
      }
    }

    &-user-link {
      display: none;
      padding: 8px 14px;

      a, a:visited, a:hover {
        color: $top-dropdown-link-color;
        text-decoration: none;
      }

      a:hover {
        color: $top-dropdown-hover-link-color;
        text-decoration: underline;
      }

      &-icon {
        color: $top-dropdown-icon-color;
        font-size: 15px;
        vertical-align: middle;
      }
    }

    &.opened {
      background-color: $top-dropdown-background-color;
      border-color: transparent;
      color: $top-dropdown-text-color;
    }

    &.opened &-welcome-msg {
      border-bottom: 1px solid $top-dropdown-border-color;
    }

    &.opened &-user-link {
      display: block;
    }
  }
}
{'fraction_non_alphanumeric': 0.13280578014794425, 'fraction_numerical': 0.021159470153105108, 'mean_word_length': 1.8264462809917354, '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': '4894209', 'n_tokens_mistral': 2171, 'n_tokens_neox': 1953, 'n_words': 409}