<commit_before>$tab-bg-color: $gray-100;
$tab-bg-color-hover: lighten($navbar-default-bg, 10%);
$link-hover-color: lighten($navbar-default-bg, 30%);

.navbar {
  -webkit-app-region: drag;
  padding: 0 10px;

  .nav-item {
    -webkit-app-region: no-drag;
    max-height: 51px;
  }
}

.navbar.bg-primary {
  background-color: $navbar-default-bg !important;
}

.navbar.navbar-fixed-top .navbar-brand {
  font-weight: 700;
}

.navbar a {
  color: #fff;
  cursor: default;

  &:hover {
    color: $link-hover-color;
  }
}

.navbar .mdi:hover {
  color: $link-hover-color;
}

.navbar-tabbed .nav-link {
  padding: 0.7em 1em;
  margin-top: 0.3em;
}

.navbar-dark .navbar-tabbed a.nav-link {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  position: relative;

  &:before,
  &:after {
    position: absolute;
    bottom: -1px;
    width: 6px;
    height: 6px;
    content: " ";
  }
  &:before {
    left: -5px;
  }
  &:after {
    right: -5px;
  }

  &.active {
    background-color: $tab-bg-color;
    color: #000;
    z-index: 10;

    &:before {
      border-color: $tab-bg-color;
      box-shadow: 2px 2px 0 $tab-bg-color;
      border-bottom-right-radius: 6px;
      border-bottom: 1px solid $tab-bg-color;
      border-right: 1px solid $tab-bg-color;
    }

    &:after {
      border-color: $tab-bg-color;
      box-shadow: -2px 2px 0 $tab-bg-color;
      border-bottom-left-radius: 6px;
      border-bottom: 1px solid $tab-bg-color;
      border-left: 1px solid $tab-bg-color;
    }
  }

  &:hover:not(.active) {
    background-color: $tab-bg-color-hover;
    z-index: 5;
    color: white;

    &:before {
      border-color: $tab-bg-color-hover;
      box-shadow: 2px 2px 0 $tab-bg-color-hover;
      border-bottom-right-radius: 6px;
      border-bottom: 1px solid $tab-bg-color-hover;
      border-right: 1px solid $tab-bg-color-hover;
    }

    &:after {
      border-color: $tab-bg-color-hover;
      box-shadow: -2px 2px 0 $tab-bg-color-hover;
      border-bottom-left-radius: 6px;
      border-bottom: 1px solid $tab-bg-color-hover;
      border-left: 1px solid $tab-bg-color-hover;
    }
  }

  &:not(:hover):not(.active) {
    .mdi-close {
      visibility: hidden;
    }
  }
}

#idai-field-brand {
  padding: 0;
  margin-right: 20px;
  user-select: none;

  &.navbar-brand-mac {
    margin-left: 70px;
  }

  #brand-text {
    display: inline-block;
    cursor: default;

    #brand-text-idai {
      color: #ccc;
      font-size: 90%;
      font-weight: 300;
    }

    #brand-text-field {
      color: #fff;
    }

    #brand-text-number {
      color: #ccc;
    }
  }
}

#navbarSupportedContent {
  cursor: default;
}

.navbar-nav {
  margin-top: 0 !important;
  user-select: none;
}

.navbar-separator-element:hover {
  color: #fff !important;
}
<commit_msg>adjust close button layout<commit_after>$tab-bg-color: $gray-100;
$tab-bg-color-hover: lighten($navbar-default-bg, 10%);
$link-hover-color: lighten($navbar-default-bg, 30%);

.navbar {
  -webkit-app-region: drag;
  padding: 0 10px;

  .nav-item {
    -webkit-app-region: no-drag;
    max-height: 51px;
  }
}

.navbar.bg-primary {
  background-color: $navbar-default-bg !important;
}

.navbar.navbar-fixed-top .navbar-brand {
  font-weight: 700;
}

.navbar a {
  color: #fff;
  cursor: default;

  &:hover {
    color: $link-hover-color;
  }
}

.navbar .mdi:hover {
  color: $link-hover-color;
}

.navbar-tabbed .nav-link {
  padding: 0.7em 1em;
  margin-top: 0.3em;
}

.navbar-dark .navbar-tabbed a.nav-link {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  position: relative;

  &:before,
  &:after {
    position: absolute;
    bottom: -1px;
    width: 6px;
    height: 6px;
    content: " ";
  }
  &:before {
    left: -5px;
  }
  &:after {
    right: -5px;
  }

  &.active {
    background-color: $tab-bg-color;
    color: #000;
    z-index: 10;

    &:before {
      border-color: $tab-bg-color;
      box-shadow: 2px 2px 0 $tab-bg-color;
      border-bottom-right-radius: 6px;
      border-bottom: 1px solid $tab-bg-color;
      border-right: 1px solid $tab-bg-color;
    }

    &:after {
      border-color: $tab-bg-color;
      box-shadow: -2px 2px 0 $tab-bg-color;
      border-bottom-left-radius: 6px;
      border-bottom: 1px solid $tab-bg-color;
      border-left: 1px solid $tab-bg-color;
    }

    .mdi-close:hover {
      color: #000;
      background-color: #dee2e6;
    }
  }

  &:not(.active) {
    .mdi-close:hover {
      color: #fff;
      background-color: lighten($navbar-default-bg, 15%);
    }
  }

  &:hover:not(.active) {
    background-color: $tab-bg-color-hover;
    z-index: 5;
    color: white;

    &:before {
      border-color: $tab-bg-color-hover;
      box-shadow: 2px 2px 0 $tab-bg-color-hover;
      border-bottom-right-radius: 6px;
      border-bottom: 1px solid $tab-bg-color-hover;
      border-right: 1px solid $tab-bg-color-hover;
    }

    &:after {
      border-color: $tab-bg-color-hover;
      box-shadow: -2px 2px 0 $tab-bg-color-hover;
      border-bottom-left-radius: 6px;
      border-bottom: 1px solid $tab-bg-color-hover;
      border-left: 1px solid $tab-bg-color-hover;
    }
  }

  &:not(:hover):not(.active) {
    .mdi-close {
      visibility: hidden;
    }
  }

  .mdi-close {
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-top: -1px;
    padding-left: 1px;
    line-height: normal;

    &:hover {
      border-radius: 4px;
    }
  }
}

#idai-field-brand {
  padding: 0;
  margin-right: 20px;
  user-select: none;

  &.navbar-brand-mac {
    margin-left: 70px;
  }

  #brand-text {
    display: inline-block;
    cursor: default;

    #brand-text-idai {
      color: #ccc;
      font-size: 90%;
      font-weight: 300;
    }

    #brand-text-field {
      color: #fff;
    }

    #brand-text-number {
      color: #ccc;
    }
  }
}

#navbarSupportedContent {
  cursor: default;
}

.navbar-nav {
  margin-top: 0 !important;
  user-select: none;
}

.navbar-separator-element:hover {
  color: #fff !important;
}

{'fraction_non_alphanumeric': 0.1633910726182545, 'fraction_numerical': 0.024983344437041973, 'mean_word_length': 2.2832148715144887, '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': '225566', 'n_tokens_mistral': 2569, 'n_tokens_neox': 2348, 'n_words': 439}