gecko/toolkit/themes/osx/global/numberbox.css
Alex Henrie 52fcd58533 Bug 157846. Main patch: Propagate text <input> padding down to its scrolled child and add 1px left/right padding to stylesheets as needed. Fix tests. r=roc
Original patch by Charly Molter. Help from Robert O'Callahan and Jim Mathies.

--HG--
extra : rebase_source : eacfe5696e9831f149157bbd7fe697c0f8020604
2014-01-13 08:13:10 -05:00

34 lines
1012 B
CSS

/* 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");
@namespace html url("http://www.w3.org/1999/xhtml");
textbox[type="number"] {
-moz-appearance: none;
-moz-box-align: center;
padding: 0 !important;
border: none;
background-color: transparent;
cursor: default;
}
html|*.numberbox-input {
text-align: right;
padding: 0 1px !important;
}
.numberbox-input-box {
-moz-appearance: textfield;
margin-right: 4px;
border: 3px solid;
-moz-border-top-colors: transparent #888888 #000000;
-moz-border-right-colors: transparent #FFFFFF #000000;
-moz-border-bottom-colors: transparent #FFFFFF #000000;
-moz-border-left-colors: transparent #888888 #000000;
border-top-right-radius: 2px;
border-bottom-left-radius: 2px;
background-color: -moz-Field;
}