/*
 * This Source Code is subject to the terms of the Mozilla Public License
 * version 2.0 (the "License"). You can obtain a copy of the License at
 * http://mozilla.org/MPL/2.0/.
 */

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

#buttons
{
  margin-top: 10px;
}

#noSubscriptions
{
  font-style: italic;
}

.localeMatch
{
  font-weight: bold;
}
.selectSubscriptionItem
{
  margin: 0px;
}

.subscription
{
  padding: 5px;
}
.subscription:not(:last-child)
{
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}
.subscription:not([selected="true"]) > .disabled
{
}

.subscription:not([selected="true"]) > .disabled .titleBox
{
  color: #808080;
  font-style: italic;
}
.subscription:not([selected="true"]) > .disabled .status
{
  color: #808080;
}

.subscription description, .subscription textbox
{
  margin: 0px !important;
  padding: 0px !important;
  border-width: 0px !important;
  -moz-appearance: none !important;
}

.subscription .warning
{
  color: #FF0000;
}

splitter
{
  border-width: 0px !important;
}

#rulesTooltip
{
  max-width: none;
}

.tooltipLabel
{
  font-weight: bold;
  -moz-margin-end: 10px;
}

#tooltip-additional
{
  color: #C00000;
  margin-top: 10px;
}

tree
{
  margin: 0px;
}

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

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

#col-hitcount
{
  min-width: 60px;
}
#col-enabled
{
  min-width: 48px;
}
#col-slow
{
  min-width: 30px;
}

/*
 * Force left-to-right for rule text but not comments
 */
treechildren:-moz-locale-dir(rtl)::-moz-tree-cell(col-rule, type-invalid),
treechildren:-moz-locale-dir(rtl)::-moz-tree-cell(col-rule, type-whitelist),
treechildren:-moz-locale-dir(rtl)::-moz-tree-cell(col-rule, type-rulelist),
treechildren:-moz-locale-dir(rtl)::-moz-tree-cell(col-rule, type-elemhide)
{
  direction: ltr;
  text-align: end;
}

treechildren::-moz-tree-cell-text(col-rule, dummy-true)
{
  font-style: italic;
}

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

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

treechildren::-moz-tree-cell-text(col-slow)
{
  font-size: 0px;
}

treechildren::-moz-tree-cell-text(col-rule, disabled-true, selected-false)
{
  color: #808080;
  font-style: italic;
}

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

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

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

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

treechildren::-moz-tree-image(col-slow, slow-true)
{
  list-style-image: url(slow.png);
}

.findbar-highlight
{
  display: none;
}
