<commit_before>@charset "utf-8";
@import "../util";

/**
 * Rules for the Kalamar hint helper.
 */
ul.menu.hint {
  display:     inline-block;
  white-space: normal;
  text-align:  left;
  max-width:   23em !important;
  top:         0;

  > li:first-of-type {
    border-top: {
      width:        1px;
      left-radius:  0;
      right-radius: 0;
    }
  }
}

// Alert bubble
div.alert.hint {
  position:         absolute;
  background-color: $alert-red;
  color:            $nearly-white;
  padding:          $item-padding;
  margin-top:       8px;
  box-shadow:       $choose-box-shadow;
  width:            auto;
  min-width:        10em;
  max-width:        23em !important;
  transition:       opacity 0.2s ease 0s;

  border: {
    radius:          $standard-border-radius;
    top-left-radius: 0;
  }

  &::before {
    position:    absolute;
    content:     "";
    display:     block;
    top:         -12px;
    left:        0;
    width:       0;
    white-space: normal; 
    border: {
      width: 0 8px 12px 0;
      style: solid;
      color: $alert-red transparent;
    }
  }
}

// Mirror element for the hint helper
.hint.mirror {
  position:    absolute;
  display:     block;
  left:        0;
  top:         0;
  z-index:     90;
  white-space: pre-wrap;
  height:      0;

  > span {
    opacity:     0;
    white-space: pre-wrap;
    overflow:    hidden;<commit_msg>Do not lay the transparent hint mirror over underlying menu items<commit_after>@charset "utf-8";
@import "../util";

/**
 * Rules for the Kalamar hint helper.
 */
ul.menu.hint {
  display:     inline-block;
  white-space: normal;
  text-align:  left;
  max-width:   23em !important;
  top:         0;

  > li:first-of-type {
    border-top: {
      width:        1px;
      left-radius:  0;
      right-radius: 0;
    }
  }
}

// Alert bubble
div.alert.hint {
  position:         absolute;
  background-color: $alert-red;
  color:            $nearly-white;
  padding:          $item-padding;
  margin-top:       8px;
  box-shadow:       $choose-box-shadow;
  width:            auto;
  min-width:        10em;
  max-width:        23em !important;
  transition:       opacity 0.2s ease 0s;

  border: {
    radius:          $standard-border-radius;
    top-left-radius: 0;
  }

  &::before {
    position:    absolute;
    content:     "";
    display:     block;
    top:         -12px;
    left:        0;
    width:       0;
    white-space: normal; 
    border: {
      width: 0 8px 12px 0;
      style: solid;
      color: $alert-red transparent;
    }
  }
}

// Mirror element for the hint helper
.hint.mirror {
  position:    absolute;
  display:     block;
  left:        0;
  top:         0;
  z-index:     90;
  white-space: pre-wrap;
  height:      0;

  > span {
    opacity:     0;
    white-space: pre-wrap;
    overflow:    hidden;
    display:     inline-block;
    height:      0;
{'fraction_non_alphanumeric': 0.1257360581918947, 'fraction_numerical': 0.02182196051264288, 'mean_word_length': 1.6519742883379247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2611345', 'n_tokens_mistral': 1037, 'n_tokens_neox': 993, 'n_words': 243}