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

%ifdef XP_MACOSX
#logTree {
  -moz-appearance: none;
  background-color: #d2d8e2;
  border: 0px;
  margin: 0 0;
}

#logTree:-moz-window-inactive {
  background-color: #e8e8e8;
}

/* Override the -moz-field background color set by tree.css. */
treechildren::-moz-tree-row {
  background-color: transparent;
}

/* Unfortunately the previous rule also overrides the backgrounds of
selected rows, so set them again like they are in tree.css. */
treechildren::-moz-tree-row(selected) {
  background-color: -moz-mac-secondaryhighlight;
}

treechildren::-moz-tree-row(selected, focus) {
  background-color: Highlight;
}

splitter {
  border-inline-end: none !important;
  border-inline-start: 1px solid #404040;
  min-width: 1px;
  width: 1px;
}

splitter:-moz-window-inactive {
  border-color: rgba(0,0,0,0.35);
}
%else
%ifdef XP_WIN
#logTree {
  -moz-appearance: none;
  border: none;
  margin: 0 0;
}
%else
#browser {
  -moz-appearance: listbox;
}

#logTree {
  margin: 0 0;
}
%endif
%endif

#corruptLogScreen {
  color: -moz-FieldText;
  background-color: -moz-Field;
  overflow: auto;
  font-size: 16px;
  font-weight: normal;
}

#corruptLogBox {
  max-width: calc(500px + 7em);
  min-height: 3em;
  background: url("chrome://global/skin/icons/warning.svg") left 0 no-repeat;
  background-size: 3em;
  margin-right: .5em;
  margin-left: .5em;
  padding-right: 3.5em;
  padding-left: 3.5em;
}

#corruptLogInnerBox {
  opacity: .8;
}

#corruptLogDesc {
  margin-right: 0;
  margin-left: 0;
}
