<commit_before>$clock-height: 20px;

.analyse.has-clocks {
  @include breakpoint($mq-col1) {
    & {
      margin-top: #{$clock-height / 2};
    }
    .analyse__controls {
      margin-top: #{$clock-height};
    }
  }
}

.analyse__clock {
  @extend %flex-between-nowrap, %metal, %box-shadow;

  position: absolute;
  right: 0;
  padding: 0 .5em;

  height: $clock-height;
  line-height: $clock-height;

  font-weight: bold;
  text-align: center;

  &.top {
    @extend %box-radius-top;
    top: #{-$clock-height};
  }
  &.bottom {
    @extend %box-radius-bottom;
    bottom: #{-$clock-height};
    z-index: 1; // over the board coords
  }
  &.active {
    background: mix($c-primary, $c-bg-box, 30%);
  }
  tenths {
    font-size: 80%;
  }
}
<commit_msg>hide analysis clocks in col1 layout<commit_after>$clock-height: 20px;

.analyse__clock {
  @extend %flex-between-nowrap, %metal, %box-shadow;

  position: absolute;
  right: 0;
  padding: 0 .5em;

  height: $clock-height;
  line-height: $clock-height;

  font-weight: bold;
  text-align: center;

  &.top {
    @extend %box-radius-top;
    top: #{-$clock-height};
  }
  &.bottom {
    @extend %box-radius-bottom;
    bottom: #{-$clock-height};
    z-index: 1; // over the board coords
  }
  &.active {
    background: mix($c-primary, $c-bg-box, 30%);
  }
  tenths {
    font-size: 80%;
  }

  /* Where to put them in col1 layout? It moves the entire board and controls down for little benefit */
  @include breakpoint($mq-col1) {
    display: none;
  }
}

{'fraction_non_alphanumeric': 0.16898608349900596, 'fraction_numerical': 0.01656726308813784, 'mean_word_length': 2.682926829268293, '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': '5155056', 'n_tokens_mistral': 607, 'n_tokens_neox': 573, 'n_words': 128}