<commit_before>// Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.beatmap-discussion-editor-insertion-menu {
  @_top: beatmap-discussion-editor-insertion-menu;
  display: none;
  z-index: @z-index--blackout-visible;
  position: fixed;
  width: 100%;
  justify-content: center;
  pointer-events: none; // as to not impede text-selection/etc within the editor itself

  &::before {
    content: '';
    background: @osu-colour-b3;
    position: absolute;
    top: 9px;
    height: 3px;
    width: 100%;
    .default-box-shadow();
    .default-border-radius();
  }

  &__body {
    align-items: center;
    background: @osu-colour-b6;
    border-radius: 20px;
    display: flex;
    font-size: 12px;
    justify-content: center;
    text-align: center;
    width: 100px;
    height: 20px;
    color: @osu-colour-f1;
    will-change: width, height;
    transition: ease-in-out 100ms;
    pointer-events: auto;

    overflow: hidden;
    .default-box-shadow();

    &:hover {
      width: 150px;
      height: 30px;
      margin-top: -5px;
    }
  }

  &__buttons {
    position: absolute;
    background: @osu-colour-b6;
    white-space: nowrap;
    opacity: 0;
    transition: opacity ease-in-out 100ms;

    .@{_top}__body:hover & {<commit_msg>Always show menu buttons on mobile (instead of on-'hover')<commit_after>// Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.

.beatmap-discussion-editor-insertion-menu {
  @_top: beatmap-discussion-editor-insertion-menu;
  display: none;
  z-index: @z-index--blackout-visible;
  position: fixed;
  width: 100%;
  justify-content: center;
  pointer-events: none; // as to not impede text-selection/etc within the editor itself

  &::before {
    content: '';
    background: @osu-colour-b3;
    position: absolute;
    top: 9px;
    height: 3px;
    width: 100%;
    .default-box-shadow();
    .default-border-radius();
  }

  &__body {
    align-items: center;
    background: @osu-colour-b6;
    border-radius: 20px;
    display: flex;
    font-size: 12px;
    justify-content: center;
    text-align: center;
    width: 100px;
    height: 20px;
    color: @osu-colour-f1;
    will-change: width, height;
    transition: ease-in-out 100ms;
    pointer-events: auto;

    overflow: hidden;
    .default-box-shadow();

    &:hover {
      width: 150px;
      height: 30px;
      margin-top: -5px;
    }

    @media @mobile {
      width: 150px;
      height: 30px;
      margin-top: -5px;
    }
  }

  &__buttons {
    position: absolute;
    background: @osu-colour-b6;
    white-space: nowrap;
    opacity: 0;
    transition: opacity ease-in-out 100ms;

    .@{_top}__body:hover & {
      opacity: 1;
    }

    @media @mobile {
{'fraction_non_alphanumeric': 0.13175094599243206, 'fraction_numerical': 0.02717578259373925, 'mean_word_length': 2.644110275689223, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2498603', 'n_tokens_mistral': 1086, 'n_tokens_neox': 994, 'n_words': 258}