<commit_before>.hx-toggle {
  display: inline-block;

  > input[type="checkbox"] {
    display: inline-block;
    position: relative;
    margin: 2px 8px;
    padding: 0;
    width: 26px;
    height: 16px;
    color: #555;
    line-height: 0;
    text-align: center;
    background: #D5D5D5;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
    -webkit-appearance: none;
    border-radius: 8px;
    border: none;

    &:before {
      float: none;
      content: ' ';
      position: absolute;
      display: block;
      left: -10px;
      top: -5px;
      margin: 3px;
      height: 20px;
      width: 20px;
      border-radius: 50%;
      border: none;
      background: #ABABAB;
      transform: scale(1);
      transition: left 0.2s ease-in-out, margin-left 0.2s ease-in-out, background 0.2s;
      opacity: 1;
    }

    &:checked {
      background: #D5D5D5;

      &:before {
        left: 50%;
        margin-left: 0;
        background: #B2BA32;
      }
    }
  }
}<commit_msg>toggle: tweak styles for toggles in buttons<commit_after>.hx-toggle {
  display: inline-block;

  > input[type="checkbox"] {
    display: inline-block;
    position: relative;
    margin: 2px 8px;
    padding: 0;
    width: 26px;
    height: 16px;
    color: #555;
    line-height: 0;
    text-align: center;
    background: #D5D5D5;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
    -webkit-appearance: none;
    border-radius: 8px;
    border: none;

    &:before {
      float: none;
      content: ' ';
      position: absolute;
      display: block;
      left: -10px;
      top: -5px;
      margin: 3px;
      height: 20px;
      width: 20px;
      border-radius: 50%;
      border: none;
      background: #ABABAB;
      transform: scale(1);
      transition: left 0.2s ease-in-out, margin-left 0.2s ease-in-out, background 0.2s;
      opacity: 1;
    }

    &:checked {
      background: #D5D5D5;

      &:before {
        left: 50%;
        margin-left: 0;
        background: #B2BA32;
      }
    }
  }

  &.hx-btn > input[type="checkbox"] {
    margin-left: 1em;
    margin-right: 0;
  }
}
{'fraction_non_alphanumeric': 0.1325187969924812, 'fraction_numerical': 0.040413533834586464, 'mean_word_length': 1.9859747545582047, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '5261824', 'n_tokens_mistral': 823, 'n_tokens_neox': 756, 'n_words': 180}