<commit_before>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */

.dropdown {
  --width: 150px;
  background: var(--theme-body-background);
  border: 1px solid var(--theme-splitter-color);
  box-shadow: 0 4px 4px 0 var(--search-overlays-semitransparent);
  max-height: 300px;
  position: absolute;
  right: 0;
  top: 23px;
  width: var(--width);
  z-index: 1000;
  overflow: auto;
}

html[dir="rtl"] .dropdown {
  right: calc((var(--width) - 11px) * (-1));
}

.dropdown-block {
  padding: 0px 2px;
  position: relative;
  align-self: center;
}

.dropdown-button {
  color: var(--theme-content-color3);
  background: none;
  border: none;
  padding: 0;
  font-weight: 100;
  font-size: 14px;
}

.dropdown li {
  transition: all 0.25s ease;
  padding: 2px 10px 10px 5px;
  overflow: hidden;
  height: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown li:hover {
  background-color: var(--search-overlays-semitransparent);
}

.dropdown-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  margin-right: 5px;
  vertical-align: middle;
}

.dropdown-icon.prettyPrint {
  mask: url(/images/prettyPrint.svg) no-repeat;
  mask-size: 100%;
  background: var(--theme-highlight-blue);
}

.dropdown-icon.blackBox {
  mask: url(/images/blackBox.svg) no-repeat;
  mask-size: 100%;
  background: var(--theme-highlight-blue);
}

.dropdown-icon.file {
  mask: url(/images/file.svg) no-repeat;
  mask-size: 100%;
}

.dropdown ul {
  list-style: none;
  line-height: 2em;
  font-size: 1em;
  margin: 0;
  padding: 0;
}
<commit_msg>Fix #5026 - Dropdown styling<commit_after>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */

.dropdown {
  --width: 150px;
  background: var(--theme-body-background);
  border: 1px solid var(--theme-splitter-color);
  box-shadow: 0 4px 4px 0 var(--search-overlays-semitransparent);
  max-height: 300px;
  position: absolute;
  right: 0;
  top: 23px;
  width: var(--width);
  z-index: 1000;
  overflow: auto;
}

html[dir="rtl"] .dropdown {
  right: calc((var(--width) - 11px) * (-1));
}

.dropdown-block {
  padding: 0px 2px;
  position: relative;
  align-self: center;
  height: 100%;
}

.dropdown-button {
  color: var(--theme-content-color3);
  background: none;
  border: none;
  padding: 0;
  font-weight: 100;
  font-size: 14px;
  height: 100%;
  width: 24px;
}

.dropdown li {
  transition: all 0.25s ease;
  padding: 2px 10px 10px 5px;
  overflow: hidden;
  height: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown li:hover {
  background-color: var(--search-overlays-semitransparent);
}

.dropdown-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  margin-right: 5px;
  vertical-align: middle;
  display: inline-block;
}

.dropdown-icon.prettyPrint {
  mask: url(/images/prettyPrint.svg) no-repeat;
  mask-size: 100%;
  background: var(--theme-highlight-blue);
}

.dropdown-icon.blackBox {
  mask: url(/images/blackBox.svg) no-repeat;
  mask-size: 100%;
  background: var(--theme-highlight-blue);
}

.dropdown-icon.file {
  mask: url(/images/file.svg) no-repeat;
  mask-size: 100%;
}

.dropdown ul {
  list-style: none;
  line-height: 2em;
  font-size: 1em;
  margin: 0;
  padding: 0;
}

{'fraction_non_alphanumeric': 0.16049382716049382, 'fraction_numerical': 0.037324145851277635, 'mean_word_length': 3.3172242874845104, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2212942', 'n_tokens_mistral': 1444, 'n_tokens_neox': 1304, 'n_words': 325}