<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/. */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

richlistbox {
  -moz-appearance: listbox;
  margin: 2px 4px;
  background-color: -moz-Field;
  color: -moz-FieldText;
}

richlistbox[disabled="true"] {
  color: GrayText;
}

richlistitem[selected="true"] {
  background-color: #4a90d9; /* -moz-cellhighlight */
  color: #ffffff; /* -moz-cellhighlighttext */
}

richlistbox:focus > richlistitem[selected="true"] {
  background-color: #4a90d9; /* Highlight */
  color: #ffffff; /* HighlightText */
}

window:-moz-window-inactive richlistitem[selected="true"] {
  background: #e2e2e2 !important;
  color: #2e3436 !important;
}

/*
richlistbox[seltype="multiple"]:focus > richlistitem[current="true"] {
  outline: 1px dotted Highlight;
  outline-offset: -1px;
}
*/
<commit_msg>Returned system colors for a richlistbox (#115)<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/. */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

richlistbox {
  -moz-appearance: listbox;
  margin: 2px 4px;
  background-color: -moz-Field;
  color: -moz-FieldText;
}

richlistbox[disabled="true"] {
  color: GrayText;
}

richlistitem[selected="true"] {
  background-color: -moz-cellhighlight;
  color: -moz-cellhighlighttext;
}

richlistbox:focus > richlistitem[selected="true"] {
  background-color: Highlight;
  color: #ffffff; HighlightText;
}

/*
richlistbox[seltype="multiple"]:focus > richlistitem[current="true"] {
  outline: 1px dotted Highlight;
  outline-offset: -1px;
}
*/

{'fraction_non_alphanumeric': 0.14861329147043434, 'fraction_numerical': 0.018315018315018316, 'mean_word_length': 4.340782122905028, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '5198800', 'n_tokens_mistral': 692, 'n_tokens_neox': 662, 'n_words': 157}