/* ***** 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;
}

/* Preload regexp.gif (work around XUL cache issue)*/
#dummy {
	background-image: url(regexp.gif);
}

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

deck, deck * {
	margin: 0px;
}

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

#listEditorIcon {
	list-style-image: url("findbar/close.png");
	-moz-image-region: rect(0px, 16px, 16px, 0px);
	margin-right: 2px;
}
#listEditorIcon:hover {
	-moz-image-region: rect(0px, 32px, 16px, 16px);
}
#listEditorIcon:hover:active {
	-moz-image-region: rect(0px, 48px, 16px, 32px);
}

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

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: #008000;
}

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

treechildren::-moz-tree-image(col-filter, filter-true, filter-regexp-true, filter-disabled-false, subscription-disabled-false) {
	list-style-image: url(regexp.gif);
}

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

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;
}

#FindToolbar, #FindToolbar > .toolbar-holder {
	border: none !important;
}

tooltip {
	max-width: none;
}
