<commit_before>#template('colorThemeInit.vm')
html, body {
  background-color: $theme.pageContentBackgroundColor !important;
  background-image: none !important;
  color: $theme.textColor !important;
  height: auto !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  width: auto !important;
}

* html {
  /* Force IE6 to always display the vertical scroll bar, otherwise it remains hidden. */
  overflow-y: scroll !important;
}

*+html {
  /* Force IE7 to always display the vertical scroll bar, otherwise it remains hidden. */
  overflow-y: scroll !important;
}

body {
  /* The BODY line height must match the paragraph line height. See XWIKI-3763. */
  line-height: 1.4em !important;
  /* The BODY margin must match the paragraph margin. See XWiki-4343. */
  margin: 0.5em 0 !important;
}

/*
  Overwrite no matter what list-style-position to outside position to avoid the Firefox issues with editing lists
  with inside list style. 
*/
ul, ol {
  list-style-position: outside !important;
}

/*
  XWiki 2.0 renderer places the contents of a header inside a span, which is styled in the skin. Since this is not
  common to all the syntaxes and the CSS rules can be applied directly to the header, the editor doesn't generate this
  span when applying header style to the selection. In order to view headers as in view mode we have to block some of
  the CSS rules applied to the span and add then to the header. 
*/
h1 span, h2 span, h3 span, h4 span {
  border-bottom: 0 none !important;
  margin: 0 !important;
  /* IE behaves strangely when the span is displayed as block. */
  display: inline !important;
  /*
    IE behaves strangely when the span doesn't have static position.
    See XWIKI-3339: New TOC overlaps with titles in WYSIWYG edition in IE6
  */
  position: static !important;
}

h1, h2, h3, h4 {
  border-bottom: 1px solid #CCCCCC !important;
  margin: 20px 0 !important;
  /*
    Headings with overflow:hidden are painful to edit in IE because they are treated as fixed size boxes (resize
    handlers are present).
  */
  overflow: visible !important;
}

h1 {
  margin: 25px 0 20px 0 !important;
  /* Letter spacing affects the behavior of the Delete and Backspace keys in IE */
  letter-spacing: normal !important;
}

.macro {
  background-color: transparent;
  border: 1px dashed #CCCCCC;
  font-size: 100%;
  /* Prevent vertical resizing in IE */
  height: auto !important;
  /* Remove button padding in IE */
  overflow: visible;
  padding: 1px;
  text-align: left;
  /* Prevent word wrapping inside a macro container in IE */
  white-space: nowrap;
}

.macro-inline {<commit_msg>XWIKI-3752: The styles of "visited" and "not visited" links are different in edit<commit_after>#template('colorThemeInit.vm')
html, body {
  background-color: $theme.pageContentBackgroundColor !important;
  background-image: none !important;
  color: $theme.textColor !important;
  height: auto !important;
  min-height: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  width: auto !important;
}

* html {
  /* Force IE6 to always display the vertical scroll bar, otherwise it remains hidden. */
  overflow-y: scroll !important;
}

*+html {
  /* Force IE7 to always display the vertical scroll bar, otherwise it remains hidden. */
  overflow-y: scroll !important;
}

body {
  /* The BODY line height must match the paragraph line height. See XWIKI-3763. */
  line-height: 1.4em !important;
  /* The BODY margin must match the paragraph margin. See XWiki-4343. */
  margin: 0.5em 0 !important;
}

/*
  Overwrite no matter what list-style-position to outside position to avoid the Firefox issues with editing lists
  with inside list style. 
*/
ul, ol {
  list-style-position: outside !important;
}

/*
  XWiki 2.0 renderer places the contents of a header inside a span, which is styled in the skin. Since this is not
  common to all the syntaxes and the CSS rules can be applied directly to the header, the editor doesn't generate this
  span when applying header style to the selection. In order to view headers as in view mode we have to block some of
  the CSS rules applied to the span and add then to the header. 
*/
h1 span, h2 span, h3 span, h4 span {
  border-bottom: 0 none !important;
  margin: 0 !important;
  /* IE behaves strangely when the span is displayed as block. */
  display: inline !important;
  /*
    IE behaves strangely when the span doesn't have static position.
    See XWIKI-3339: New TOC overlaps with titles in WYSIWYG edition in IE6
  */
  position: static !important;
}

h1, h2, h3, h4 {
  border-bottom: 1px solid #CCCCCC !important;
  margin: 20px 0 !important;
  /*
    Headings with overflow:hidden are painful to edit in IE because they are treated as fixed size boxes (resize
    handlers are present).
  */
  overflow: visible !important;
}

h1 {
  margin: 25px 0 20px 0 !important;
  /* Letter spacing affects the behavior of the Delete and Backspace keys in IE */
  letter-spacing: normal !important;
}

/* Fix for XWIKI-3752 by overriding path/to/firefox/res/contenteditable.css rules */
a:-moz-read-write {
  color: $theme.linkColor !important;
  text-decoration: none !important;
}
a:hover:-moz-read-write {
  text-decoration: underline !important;
} 

.macro {
  background-color: transparent;
  border: 1px dashed #CCCCCC;
  font-size: 100%;
  /* Prevent vertical resizing in IE */
  height: auto !important;
  /* Remove button padding in IE */
  overflow: visible;
  padding: 1px;
  text-align: left;
  /* Prevent word wrapping inside a macro container in IE */
  white-space: nowrap;
}

.macro-inline {
{'fraction_non_alphanumeric': 0.0897887323943662, 'fraction_numerical': 0.01936619718309859, 'mean_word_length': 3.5557337610264637, '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': '7065704', 'n_tokens_mistral': 1797, 'n_tokens_neox': 1687, 'n_words': 732}