1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== numberbox.css ==================================================
6 == Styles used by the XUL textbox type="number" element.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10 @namespace html url("http://www.w3.org/1999/xhtml");
12 textbox[type="number"] {
13 padding: 0 !important;
18 html|*.numberbox-input {
22 .numberbox-input-box {
23 -moz-box-align: center;
25 border: 1px inset #CCD0DD;
26 border-right-width: 0px;
28 background-color: #FFFFFF;
32 textbox[type="number"] > spinbuttons {
33 border: 1px inset #CCD0DD;
34 border-left-width: 0px;
37 textbox[type="number"][focused="true"] > .numberbox-input-box,
38 textbox[type="number"][focused="true"] > spinbuttons {
39 border-color: #6699CC;
42 textbox[type="number"][disabled="true"] > .numberbox-input-box,
43 textbox[type="number"][disabled="true"] > spinbuttons {
44 border-color: #666699;