<commit_before>// ----------------------------------------------------------------------------
//
// Drop-Down Sub-Menus
//
// ----------------------------------------------------------------------------

// Variables - to make the below calculations more obvious
$submenu--width:         190px
$submenu__arrow--width:  10px

.nav__item--submenu
  @extend %nav__item--look

.nav__submenu__trigger
  cursor: pointer
  display: inline-block
  position: relative
  vertical-align: top
  &:hover
    .nav__submenu
      display: block

// padding around the submenu gives the submenu dropdown more area to hover over
.nav__submenu
  @extend %absolute
  display: none
  width: $submenu--width
  z-index: 10
  padding: 20px 10px 10px
  // Centralise the submenu relative to its parent
  left: 50%
  top: 75%
  margin-left: -(($submenu--width/2) + $submenu__arrow--width)

.nav__submenu__content
  @extend %transition--base
  @extend %fly-out-shadow
  @extend %four-pixel-rounded
  background-color: $nav-submenu-bck
  padding: 4px 0
  position: relative
  &:before
    +css-arrow-central(top, $width: $submenu__arrow--width, $color: $nav-submenu-bck, $offset: 0)<commit_msg>Removed redundant style<commit_after>// ----------------------------------------------------------------------------
//
// Drop-Down Sub-Menus
//
// ----------------------------------------------------------------------------

// Variables - to make the below calculations more obvious
$submenu--width:         190px
$submenu__arrow--width:  10px

.nav__item--submenu
  @extend %nav__item--look

.nav__submenu__trigger
  cursor: pointer
  display: inline-block
  position: relative
  &:hover
    .nav__submenu
      display: block

// padding around the submenu gives the submenu dropdown more area to hover over
.nav__submenu
  @extend %absolute
  display: none
  width: $submenu--width
  z-index: 10
  padding: 20px 10px 10px
  // Centralise the submenu relative to its parent
  left: 50%
  top: 75%
  margin-left: -(($submenu--width/2) + $submenu__arrow--width)

.nav__submenu__content
  @extend %transition--base
  @extend %fly-out-shadow
  @extend %four-pixel-rounded
  background-color: $nav-submenu-bck
  padding: 4px 0
  position: relative
  &:before
    +css-arrow-central(top, $width: $submenu__arrow--width, $color: $nav-submenu-bck, $offset: 0)
{'fraction_non_alphanumeric': 0.2332185886402754, 'fraction_numerical': 0.018072289156626505, 'mean_word_length': 2.0194805194805197, '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': '413140', 'n_tokens_mistral': 735, 'n_tokens_neox': 685, 'n_words': 185}