|
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 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
|
6 @namespace html url("http://www.w3.org/1999/xhtml"); |
|
7 |
|
8 textbox[type="number"] { |
|
9 -moz-appearance: none; |
|
10 -moz-box-align: center; |
|
11 padding: 0 !important; |
|
12 border: none; |
|
13 background-color: transparent; |
|
14 cursor: default; |
|
15 } |
|
16 |
|
17 html|*.numberbox-input { |
|
18 text-align: right; |
|
19 padding: 0 1px !important; |
|
20 } |
|
21 |
|
22 .numberbox-input-box { |
|
23 -moz-appearance: textfield; |
|
24 margin-right: 4px; |
|
25 border: 3px solid; |
|
26 -moz-border-top-colors: transparent #888888 #000000; |
|
27 -moz-border-right-colors: transparent #FFFFFF #000000; |
|
28 -moz-border-bottom-colors: transparent #FFFFFF #000000; |
|
29 -moz-border-left-colors: transparent #888888 #000000; |
|
30 border-top-right-radius: 2px; |
|
31 border-bottom-left-radius: 2px; |
|
32 background-color: -moz-Field; |
|
33 } |