<commit_before>$maxLevel: 6;
$maxGroups: 10;

.timeline {
  border: 1px solid;
  cursor: move;

  g.bar {
    cursor: pointer;
    transition: fill .5s ease;

    rect.selected {
      stroke: black;
      stroke-width: 1px;
    }

    @for $i from 1 to ($maxGroups+1) {
      &.group#{$i} {
        $baseColor: hsl( 360 / ($maxGroups+1) * $i, 40%, 20%);
        @for $j from 1 to ($maxLevel+1) {
          &.level#{$j} {
            $color: lighten($baseColor, percentage(0.5 / $maxLevel * $j));
            fill: rgba($color, 0.7);
            &:hover {
              fill: $color;
            }
          }
        }
      }<commit_msg>add default color for deeply nested periods in timeline<commit_after>$maxLevel: 6;
$maxGroups: 10;

.timeline {
  border: 1px solid;
  cursor: move;

  g.bar {
    cursor: pointer;
    transition: fill .5s ease;

    rect.selected {
      stroke: black;
      stroke-width: 1px;
    }

    @for $i from 1 to ($maxGroups+1) {
      &.group#{$i} {
        $baseColor: hsl( 360 / ($maxGroups+1) * $i, 40%, 20%);
        fill: lighten($baseColor, 50%);
        @for $j from 1 to ($maxLevel+1) {
          &.level#{$j} {
            $color: lighten($baseColor, percentage(0.5 / $maxLevel * $j));
            fill: rgba($color, 0.7);
            &:hover {
              fill: $color;
            }
          }
        }
      }
{'fraction_non_alphanumeric': 0.15955882352941175, 'fraction_numerical': 0.033823529411764704, 'mean_word_length': 1.7111553784860558, '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': '1503268', 'n_tokens_mistral': 517, 'n_tokens_neox': 463, 'n_words': 119}