<commit_before>/**
 * @license
 * Copyright Akveo. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */
@import '../../styles/core/mixins';

@mixin nb-context-menu-theme() {

  .context-menu-host {
    /*
      Fixes click not being bubbled to the body in Safari.
      https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
    */
    cursor: pointer;
  }

  nb-context-menu {
    background-color: nb-theme(context-menu-background-color);
    border-color: nb-theme(context-menu-border-color);
    border-style: nb-theme(context-menu-border-style);
    border-width: nb-theme(context-menu-border-width);
    border-radius: nb-theme(context-menu-border-radius);
    box-shadow: nb-theme(context-menu-shadow);
    min-width: nb-theme(context-menu-min-width);
    max-width: nb-theme(context-menu-max-width);

    nb-menu {
      border-radius: nb-theme(context-menu-border-radius);
      overflow: hidden;
      text-align: nb-theme(context-menu-text-align);
    }
  }
}<commit_msg>fix(context menu): prevent close on expand icon click (#2923)<commit_after>/**
 * @license
 * Copyright Akveo. All Rights Reserved.
 * Licensed under the MIT License. See License.txt in the project root for license information.
 */
@import '../../styles/core/mixins';

@mixin nb-context-menu-theme() {
  .context-menu-host {
    /*
      Fixes click not being bubbled to the body in Safari.
      https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html
    */
    cursor: pointer;
  }

  nb-context-menu {
    background-color: nb-theme(context-menu-background-color);
    border-color: nb-theme(context-menu-border-color);
    border-style: nb-theme(context-menu-border-style);
    border-width: nb-theme(context-menu-border-width);
    border-radius: nb-theme(context-menu-border-radius);
    box-shadow: nb-theme(context-menu-shadow);
    min-width: nb-theme(context-menu-min-width);
    max-width: nb-theme(context-menu-max-width);

    nb-menu {
      border-radius: nb-theme(context-menu-border-radius);
      overflow: hidden;
      text-align: nb-theme(context-menu-text-align);

      nb-icon.expand-state svg {
        pointer-events: none;
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.1467318808359271, 'fraction_numerical': 0.007114273010226767, 'mean_word_length': 3.0250447227191413, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '7394710', 'n_tokens_mistral': 774, 'n_tokens_neox': 751, 'n_words': 138}