/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is Adblock Plus.
 *
 * The Initial Developer of the Original Code is
 * Wladimir Palant.
 * Portions created by the Initial Developer are Copyright (C) 2006-2008
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *
 * ***** END LICENSE BLOCK ***** */

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

dialog {
  padding: 0px;
}

.dialog-button-box, #introduction, #listarea {
  margin: 8px;
}

deck, deck * {
  margin: 0px;
}

#listEditor menupopup description {
  margin: 1px 3px;
}

#listEditorIcon {
  list-style-image: url("close.png");
  -moz-image-region: rect(0px, 14px, 14px, 0px);
  margin-left: 2px;
}
#listEditorIcon:hover {
  -moz-image-region: rect(0px, 28px, 14px, 14px);
}
#listEditorIcon:hover:active {
  -moz-image-region: rect(0px, 42px, 14px, 28px);
}

#col-slow {
  text-align: center;
}

#col-hitcount, #col-lasthit {
  text-align: right;
}

#col-hitcount {
  min-width: 60px;
}
#col-enabled, #col-slow {
  min-width: 16px;
}

treechildren::-moz-tree-cell-text(col-filter, description-true, selected-false) {
  font-size: 80%;
  color: #808080;
}

treechildren::-moz-tree-cell-text(col-filter, filter-true, type-whitelist, selected-false) {
  color: #C00000;
}

treechildren::-moz-tree-cell-text(col-filter, filter-false, subscription-upgradeRequired-true, selected-false) {
  color: #FF0000;
}

treechildren::-moz-tree-cell-text(col-slow) {
  color: #C00000;
  font-weight: bold;
  font-size: 120%;
}

treechildren::-moz-tree-row(filter-true, filter-disabled-true, selected-false),
treechildren::-moz-tree-row(subscription-disabled-true, selected-false) {
  background-color: #E0E0E0;
}

treechildren::-moz-tree-cell-text(col-filter, filter-true, type-comment, selected-false) {
  color: #808080;
}

treechildren::-moz-tree-cell-text(col-filter, filter-true, type-invalid, selected-false) {
  color: #C00000;
}

treechildren::-moz-tree-cell-text(col-filter, subscription-true) {
  font-weight: bold;
}

treechildren::-moz-tree-image(col-enabled, filter-true, subscription-disabled-false, filter-disabled-true),
treechildren::-moz-tree-image(col-enabled, subscription-true, subscription-disabled-true) {
  list-style-image: url(checkbox.png);
  -moz-image-region: rect(13px 13px 26px 0px);
}

treechildren::-moz-tree-image(col-enabled, filter-true, subscription-disabled-false, filter-disabled-false),
treechildren::-moz-tree-image(col-enabled, subscription-true, subscription-disabled-false, subscription-dummy-false) {
  list-style-image: url(checkbox.png);
  -moz-image-region: rect(0px 13px 13px 0px);
}

treechildren::-moz-tree-image(col-enabled) {
  margin-left: 7px;
}
#col-enabled {
  min-width: 24px;
}

.whitelisted:not([_moz-menuactive="true"]) {
  color: #008000;
}

.filtered:not([_moz-menuactive="true"]) {
  color: #C00000;
}

#findbar {
  border: none !important;
}

#findbar .findbar-highlight {
  display: none;
}

tooltip {
  max-width: none;
}
