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

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

.scrollbutton-up > .toolbarbutton-icon {
  -moz-appearance: button-arrow-up;
}

.scrollbutton-down > .toolbarbutton-icon {
  -moz-appearance: button-arrow-down;
}

.scrollbutton-up[orient="horizontal"] > .toolbarbutton-icon {
  -moz-appearance: button-arrow-previous;
}

.scrollbutton-down[orient="horizontal"] > .toolbarbutton-icon {
  -moz-appearance: button-arrow-next;
}

:-moz-any(.scrollbutton-up, .scrollbutton-down) > .toolbarbutton-text {
  display: none;
}

arrowscrollbox:not([clicktoscroll="true"]) > .scrollbutton-up,
arrowscrollbox:not([clicktoscroll="true"]) > .scrollbutton-down {
  -moz-appearance: none;
  border: 1px solid ThreeDShadow;
  padding: 0;
}
