toolkit/themes/linux/global/numberbox.css

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:4ab72c957f95
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/. */
4
5 /* ===== numberbox.css ==================================================
6 == Styles used by the XUL textbox type="number" element.
7 ======================================================================= */
8
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10 @namespace html url("http://www.w3.org/1999/xhtml");
11
12 textbox[type="number"] {
13 -moz-appearance: none;
14 padding: 0 !important;
15 border: none;
16 cursor: default;
17 background-color: transparent;
18 }
19
20 html|*.numberbox-input {
21 text-align: right;
22 }
23
24 .numberbox-input-box {
25 -moz-box-align: center;
26 -moz-appearance: spinner-textfield;
27 margin-right: -1px;
28 border: 2px solid;
29 -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
30 -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
31 -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
32 -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
33 padding: 3px 4px;
34 }
35
36 textbox[hidespinbuttons="true"] > .numberbox-input-box {
37 -moz-appearance: textfield;
38 }

mercurial