<commit_before>// TODO
// Not included here: segments

.palette-container {
  position: absolute;
  left: $left-right-inset;
  right: $left-right-inset;
  height: $palette-height - 30px;
  bottom: 0;
  background: $header-footer-background;
  border-top: 3px solid darken($bottom-background, 5%);
  text-align: center;
  z-index: $z-02-palette;
  user-select: none;
  touch-action: none;

  // Address a bug where switching building types
  // will momentarily cause this element to disappear from view
  // Only in Safari (observed in v8.0.2, still present in v9.1.2)
  transform: rotateZ(0);
}

body.read-only .palette-container {
  display: none;
}

// Applied by the wrapping element created by Scrollable.jsx component
.palette-scrollable-container {
  height: $palette-height;
  position: absolute;
  top: 0;
  left: 140px;
  right: 140px;

  button.scrollable {
    margin-top: 10px;
    z-index: $z-04-palette-scroll;
  }
}

.palette {
  height: $palette-height + 20px; // To cover scroll bars
  position: absolute;
  top: -30px; // To cover scroll bars
  left: 0;
  right: 0;

  overflow-x: scroll;
  overflow-y: hidden;
}

.palette-canvas {
  white-space: nowrap;
}

.palette-commands {
  vertical-align: top;

  position: absolute;
  right: 10px;
  top: 10px;

  height: $palette-height - 50px;

  z-index: $z-04-command-menu;

  text-align: right;

  #undo {
    //width: 50px;
    height: $palette-height - 50px;
  }

  #redo {
    //width: 50px;
    height: $palette-height - 50px;
  }

  // Spacing between buttons
  button + button {
    margin-left: 0.25em;
  }
}

.palette-trashcan {
  position: absolute;
  // This needs to stretch out to fit the width of the window
  left: -$left-right-inset;
  right: -$left-right-inset;
  top: -20px;
  height: $palette-height - 2 * 8px + 5px;<commit_msg>Simplify undo/redo button style<commit_after>// TODO
// Not included here: segments

.palette-container {
  position: absolute;
  left: $left-right-inset;
  right: $left-right-inset;
  height: $palette-height - 30px;
  bottom: 0;
  background: $header-footer-background;
  border-top: 3px solid darken($bottom-background, 5%);
  text-align: center;
  z-index: $z-02-palette;
  user-select: none;
  touch-action: none;

  // Address a bug where switching building types
  // will momentarily cause this element to disappear from view
  // Only in Safari (observed in v8.0.2, still present in v9.1.2)
  transform: rotateZ(0);
}

body.read-only .palette-container {
  display: none;
}

// Applied by the wrapping element created by Scrollable.jsx component
.palette-scrollable-container {
  height: $palette-height;
  position: absolute;
  top: 0;
  left: 140px;
  right: 140px;

  button.scrollable {
    margin-top: 10px;
    z-index: $z-04-palette-scroll;
  }
}

.palette {
  height: $palette-height + 20px; // To cover scroll bars
  position: absolute;
  top: -30px; // To cover scroll bars
  left: 0;
  right: 0;

  overflow-x: scroll;
  overflow-y: hidden;
}

.palette-canvas {
  white-space: nowrap;
}

.palette-commands {
  vertical-align: top;

  position: absolute;
  right: 10px;
  top: 10px;

  height: $palette-height - 50px;

  z-index: $z-04-command-menu;

  text-align: right;

  button {
    height: $palette-height - 50px;
  }

  // Spacing between buttons
  button + button {
    margin-left: 0.25em;
  }
}

.palette-trashcan {
  position: absolute;
  // This needs to stretch out to fit the width of the window
  left: -$left-right-inset;
  right: -$left-right-inset;
  top: -20px;
  height: $palette-height - 2 * 8px + 5px;
{'fraction_non_alphanumeric': 0.13175675675675674, 'fraction_numerical': 0.02927927927927928, 'mean_word_length': 2.996625421822272, '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': '1843839', 'n_tokens_mistral': 1394, 'n_tokens_neox': 1270, 'n_words': 350}