<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");

notification {
  background-color: rgb(60,60,60);
  color: #fff;
  text-shadow: none;
}

notification[type="info"] {
  background-color: rgb(50,50,50);
  color: #fff;
}

notification[type="critical"] {
  background-color: rgb(107,40,40);
  color: white;
}

.messageImage {
  width: 16px;
  height: 16px;
  -moz-margin-start: 6px;
  -moz-margin-end: 1px;
}

/* Default icons for notifications */

.messageImage[type="info"] {
  list-style-image: url("chrome://global/skin/icons/information-16.svg");
}

.messageImage[type="warning"] {
  list-style-image: url("chrome://global/skin/icons/warning-16.svg");
}

.messageImage[type="critical"] {
  list-style-image: url("chrome://global/skin/icons/error-16.svg");
}

.messageCloseButton {
  -moz-appearance: none;
  padding: 4px 2px;
  border: none !important;
}

.messageCloseButton > .toolbarbutton-icon {
  -moz-margin-end: 5px;
}

/* Popup notification */

.popup-notification-description {
  max-width: 24em;
}

.popup-notification-button-container {
  margin-top: 17px;
}

/*
XXX: apply styles to all themes until bug 509642 is fixed
@media (-moz-windows-default-theme) {
*/
  .popup-notification-menubutton {
    -moz-appearance: none;
    border-radius: 3px;
    padding: 0;
  }

  .popup-notification-menubutton:hover:active {
    border-color: rgba(0,0,0,.5);
  }
  
  .popup-notification-menubutton > * > * > .button-text {
	color: #fff !important;
  }

  .popup-notification-menubutton:not([type="menu-button"]),
  .popup-notification-menubutton > .button-menubutton-button,<commit_msg>Fix learn more links<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");

notification {
  background-color: rgb(60,60,60);
  color: #fff;
  text-shadow: none;
}

notification[type="info"] {
  background-color: rgb(50,50,50);
  color: #fff;
}

notification[type="critical"] {
  background-color: rgb(107,40,40);
  color: white;
}

.messageText > .text-link {
  color: inherit !important;
  text-decoration: underline;
}

.messageImage {
  width: 16px;
  height: 16px;
  -moz-margin-start: 6px;
  -moz-margin-end: 1px;
}

/* Default icons for notifications */

.messageImage[type="info"] {
  list-style-image: url("chrome://global/skin/icons/information-16.svg");
}

.messageImage[type="warning"] {
  list-style-image: url("chrome://global/skin/icons/warning-16.svg");
}

.messageImage[type="critical"] {
  list-style-image: url("chrome://global/skin/icons/error-16.svg");
}

.messageCloseButton {
  -moz-appearance: none;
  padding: 4px 2px;
  border: none !important;
}

.messageCloseButton > .toolbarbutton-icon {
  -moz-margin-end: 5px;
}

/* Popup notification */

.popup-notification-description {
  max-width: 24em;
}

.popup-notification-learnmore-link {
  margin-top: 1em !important;
}

.popup-notification-learnmore-link:not([href]) {
  display: none;
}

.popup-notification-button-container {
  margin-top: 17px;
}

/*
XXX: apply styles to all themes until bug 509642 is fixed
@media (-moz-windows-default-theme) {
*/
  .popup-notification-menubutton {
    -moz-appearance: none;
    border-radius: 3px;
    padding: 0;
  }

  .popup-notification-menubutton:hover:active {
    border-color: rgba(0,0,0,.5);
  }
  
  .popup-notification-menubutton > * > * > .button-text {
	color: #fff !important;
  }

  .popup-notification-menubutton:not([type="menu-button"]),
  .popup-notification-menubutton > .button-menubutton-button,
{'fraction_non_alphanumeric': 0.1642893530310749, 'fraction_numerical': 0.027763627101375445, 'mean_word_length': 3.7948717948717947, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 14, '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': '1766751', 'n_tokens_mistral': 1486, 'n_tokens_neox': 1383, 'n_words': 272}