<commit_before>// Stencila `VisualEditor` tool sets

.sc-toolset {

  display: none;

  background: hsl(0, 0%, 5%);
  opacity: .9;
  box-shadow: 2px 2px 10px 0 hsla(0, 0%, 0%, .3);

  border-radius: 5px;

  &.sm-enabled {
    display: block;
  }

  .se-group {
    display: flex;
    flex-direction: column;

    max-height: 0;
    transition: max-height .3s;
    overflow: hidden;

    &.sm-enabled {
      // Override this below for each group so 
      // it just fits the number of tools (so no apparent delay in animation)
      max-height: 100em;
    }
  }

  .se-tool {
    display: inline-block;

    // When using `overflow:hidden` the height of the
    // parent element changes without this
    // See http://stackoverflow.com/questions/20310690/overflowhidden-on-inline-block-adds-height-to-parent
    vertical-align: top;

    button {
      height: 2.3em;
      width: 2.3em;
      background: none;
      outline: none;
      border: 0;

      i {
        color: hsl(0, 0%, 90%);
        font-size: 1.5em;
      }
    }

    // Disabled tool icons
    &.sm-disabled button i {
      color: hsl(0, 0%, 20%);
    }

    // Active tool icons
    &.sm-active button i {
      color: hsl($stencila-green-hue, 100%, 50%);
    }<commit_msg>Adjust to new tool button classes<commit_after>// Stencila `VisualEditor` tool sets

.sc-toolset {

  display: none;

  background: hsl(0, 0%, 5%);
  opacity: .9;
  box-shadow: 2px 2px 10px 0 hsla(0, 0%, 0%, .3);

  border-radius: 5px;

  &.sm-enabled {
    display: block;
  }

  .se-group {
    display: flex;
    flex-direction: column;

    max-height: 0;
    transition: max-height .3s;
    overflow: hidden;

    &.sm-enabled {
      // Override this below for each group so 
      // it just fits the number of tools (so no apparent delay in animation)
      max-height: 100em;
    }
  }

  .se-tool {
    display: inline-block;

    // When using `overflow:hidden` the height of the
    // parent element changes without this
    // See http://stackoverflow.com/questions/20310690/overflowhidden-on-inline-block-adds-height-to-parent
    vertical-align: top;

    button {
      height: 2.3em;
      width: 2.3em;
      background: none;
      outline: none;
      border: 0;

      i {
        color: hsl(0, 0%, 90%);
        font-size: 1.5em;
      }

      // Disabled tool icons
      &.sm-disabled i {
        color: hsl(0, 0%, 20%);
      }

      // Active tool icons
      &.sm-active i {
        color: hsl($stencila-green-hue, 100%, 50%);
      }
    }
{'fraction_non_alphanumeric': 0.13423351866560762, 'fraction_numerical': 0.03733121525019857, 'mean_word_length': 2.0059665871121717, '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': '7425102', 'n_tokens_mistral': 968, 'n_tokens_neox': 858, 'n_words': 243}