<commit_before>//
// Toggle styles (to be used with toggles.js)
// --------------------------------------------------

.toggle {
  position: relative;
  display: block;
  width: 74px;
  height: 30px;
  background-color: $white;
  border: $border-default;
  border-radius: 20px;
  @include transition-property(background-color, border);
  @include transition-duration(.2s);

  // Sliding handle
  .toggle-handle {
    position: absolute;
    top: 0;
    left: -1px;
    z-index: 2;
    width: 28px;
    height: 28px;
    background-color: $white;
    border: 1px solid $border-color;
    border-radius: 100px;
    -webkit-transition-property: -webkit-transform, border, width;
       -moz-transition-property: -moz-transform, border, width;
            transition-property: transform, border, width;
    @include transition-duration(.2s);
  }
  &:before {
    position: absolute;
    top: 3px;
    right: 11px;
    font-size: 13px;
    color: $gray;
    text-transform: uppercase;
    content: "Off";
  }

  // Active state for toggle
  &.active {
    background-color: $positive-color;
    border: $border-primary;

    .toggle-handle {
      border-color: $positive-color;
      @include transform(translate3d(45px,0,0));
    }
    &:before {
      right: auto;
      left: 15px;
      color: #fff;
      content: "On";
    }
  }
  // Hide the checkbox
  input[type="checkbox"] {
    display: none;
  }
}
<commit_msg>updated toggle size<commit_after>//
// Toggle styles (to be used with toggles.js)
// --------------------------------------------------

.toggle {
  position: relative;
  display: block;
  width: 60px;
  height: 30px;
  background-color: $white;
  border: $border-default;
  border-radius: 20px;
  @include transition-property(background-color, border);
  @include transition-duration(.2s);

  // Sliding handle
  .toggle-handle {
    position: absolute;
    top: 0;
    left: -1px;
    z-index: 2;
    width: 28px;
    height: 28px;
    background-color: $white;
    border: 1px solid $border-color;
    border-radius: 100px;
    -webkit-transition-property: -webkit-transform, border, width;
       -moz-transition-property: -moz-transform, border, width;
            transition-property: transform, border, width;
    @include transition-duration(.2s);
  }
  &:before {
    position: absolute;
    top: 3px;
    right: 11px;
    font-size: 13px;
    color: $gray;
    text-transform: uppercase;
    content: "Off";
  }

  // Active state for toggle
  &.active {
    background-color: $positive-color;
    border: $border-primary;

    .toggle-handle {
      border-color: $positive-color;
      @include transform(translate3d(30px,0,0));
    }
    &:before {
      right: auto;
      left: 15px;
      color: #fff;
      content: "On";
    }
  }
  // Hide the checkbox
  input[type="checkbox"] {
    display: none;
  }
}

{'fraction_non_alphanumeric': 0.16748768472906403, 'fraction_numerical': 0.021815622800844477, 'mean_word_length': 2.301974448315912, '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': '185385', 'n_tokens_mistral': 983, 'n_tokens_neox': 914, 'n_words': 220}