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

%include ../../../shared/incontentprefs/preferences.css

button > .button-box,
menulist > .menulist-label-box {
  -moz-appearance: none;
}

button[type="menu"] > .button-box > .button-menu-dropmarker {
  -moz-appearance: none !important;
}

menulist:not([editable="true"]) > .menulist-dropmarker {
  display: -moz-box;
  margin-top: 6px;
  margin-bottom: 6px;
}

checkbox {
  -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox");
  -moz-box-align: center;
}

checkbox:hover::before,
checkbox[checked]::before {
  -moz-margin-end: -19px;
  -moz-margin-start: 4px;
  background-repeat: no-repeat;
}

radio {
  -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
  -moz-box-align: center;
  -moz-margin-start: 0;
}

.radio-label-box {
  -moz-appearance: none;
}

radio:hover::before,
radio[selected]::before {
  -moz-margin-end: -17px;
  -moz-margin-start: 6px;
}

.numberbox-input-box {
  -moz-appearance: none;
  border-width: 0;
}

spinbuttons {
  -moz-appearance: none;
}

.actionsMenu {
  font-family: "Clear Sans", sans-serif;
  font-size: 1.25rem;
  line-height: 22px;
}

.actionsMenu > .menulist-label-box > .menulist-icon {
  margin-top: 1px;
  -moz-margin-start: 1px;
  -moz-margin-end: 6px;
}

.actionsMenu > .menulist-label-box > .menulist-label {
  margin-top: 2px !important;
}

menulist.actionsMenu > .menulist-dropmarker {
  margin-top: 11px;
  margin-bottom: 11px;
}
