/*
 * This file is part of Adblock Plus <https://adblockplus.org/>,
 * Copyright (C) 2006-2015 Eyeo GmbH
 *
 * Adblock Plus is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 3 as
 * published by the Free Software Foundation.
 *
 * Adblock Plus is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Adblock Plus.  If not, see <http://www.gnu.org/licenses/>.
 */

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

/*
 * Force left-to-right everywhere where we are displaying addresses
 */
.suggestion > .radio-label-box:-moz-locale-dir(rtl),
html|*.textbox-input:-moz-locale-dir(rtl)
{
  direction: ltr;
  text-align: end;
}

#patternGroup {
  overflow: auto;
}

#anchorGroup {
  padding-left: 20px;
}

#typeGroupLabel {
  margin-top: 10px;
}

#typeGroup {
  overflow: auto;
  margin-bottom: 10px
}

:root:not([advancedMode="true"]) #options {
  display: none;
}

#disabledWarning, #groupDisabledWarning, #regexpWarning, #shortpatternWarning, #matchWarning {
  color: #E00000;
}

#disabledWarning > *, #groupDisabledWarning > * {
  margin: 0px;
  font-size: inherit;
}

.text-link {
  font-size: 80%;
  -moz-user-focus: ignore;
}

.help {
  color: #0000E0;
  border-bottom: 1px dotted #0000E0;
  cursor: help;
  margin: 0px;
  padding: 0px;
}

tooltip {
  /* Gecko 1.8.1 doesn't support multiline tooltips :-( */
  max-width: none;
}
