<commit_before>@mixin bootstrap-tooltip-color($color) {
  .tooltip-inner{
    background-color: $color;
  }

  &.tooltip-top,
  &.bs-tether-element-attached-bottom {
    .tooltip-arrow {
      border-top-color: $color;
    }
  }

  &.tooltip-right,
  &.bs-tether-element-attached-left {
    .tooltip-arrow {
      border-right-color: $color;
    }
  }

  &.tooltip-bottom,
  &.bs-tether-element-attached-top {
    .tooltip-arrow {
      border-bottom-color: $color;
    }
  }

  &.tooltip-left,
  &.bs-tether-element-attached-right {
    .tooltip-arrow {
      border-left-color: $color;
    }
  }
}

.tooltip {
  pointer-events: none;

  &.action-edit, &.action-save, &.action-capture, &.action-add {
    @include bootstrap-tooltip-color($brand-success);
  }
  &.action-clone {
    @include bootstrap-tooltip-color($brand-warning);
  }
  &.action-void, &.action-failure, &.action-cancel, &.action-remove {
    @include bootstrap-tooltip-color($brand-danger);
  }
}<commit_msg>Fix colours on tooltips<commit_after>@mixin bootstrap-tooltip-color($color) {
  .tooltip-inner{
    background-color: $color;
  }

  &.tooltip-top,
  &.bs-tether-element-attached-bottom {
    .tooltip-inner::before {
      border-top-color: $color;
    }
  }

  &.tooltip-right,
  &.bs-tether-element-attached-left {
    .tooltip-inner::before {
      border-right-color: $color;
    }
  }

  &.tooltip-bottom,
  &.bs-tether-element-attached-top {
    .tooltip-inner::before {
      border-bottom-color: $color;
    }
  }

  &.tooltip-left,
  &.bs-tether-element-attached-right {
    .tooltip-inner::before {
      border-left-color: $color;
    }
  }
}

.tooltip {
  pointer-events: none;

  &.action-edit, &.action-save, &.action-capture, &.action-add {
    @include bootstrap-tooltip-color($brand-success);
  }
  &.action-clone {
    @include bootstrap-tooltip-color($brand-warning);
  }
  &.action-void, &.action-failure, &.action-cancel, &.action-remove {
    @include bootstrap-tooltip-color($brand-danger);
  }
}
{'fraction_non_alphanumeric': 0.17635270541082165, 'fraction_numerical': 0.0, 'mean_word_length': 2.7118959107806693, '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': '3405456', 'n_tokens_mistral': 750, 'n_tokens_neox': 730, 'n_words': 89}