third part of syncing LCARStrek with Firefox 29 windows theme changes
[themes.git] / EarlyBlue / global / numberbox.css
CommitLineData
9099c61d
RK
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/. */
128000f4 4
1d4ddf30 5/* ===== numberbox.css ==================================================
6 == Styles used by the XUL textbox type="number" element.
7 ======================================================================= */
f6e0a33f 8
1d4ddf30 9@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10@namespace html url("http://www.w3.org/1999/xhtml");
c9b2b3ef 11
1d4ddf30 12textbox[type="number"] {
13 padding: 0 !important;
df8c26c4 14 border: none;
1d4ddf30 15 cursor: default;
f2450795 16}
17
1d4ddf30 18html|*.numberbox-input {
19 text-align: right;
c9b2b3ef 20}
21
1d4ddf30 22.numberbox-input-box {
23 -moz-box-align: center;
df8c26c4 24 cursor: text;
df8c26c4 25 border: 1px inset #CCD0DD;
7862e6ee 26 border-right-width: 0px;
df8c26c4
RK
27 padding: 1px;
28 background-color: #FFFFFF;
29 color: #000000;
7c110a07 30}
7862e6ee
RK
31
32textbox[type="number"] > spinbuttons {
33 border: 1px inset #CCD0DD;
34 border-left-width: 0px;
35}
36
37textbox[type="number"][focused="true"] > .numberbox-input-box,
38textbox[type="number"][focused="true"] > spinbuttons {
39 border-color: #6699CC;
40}
41
42textbox[type="number"][disabled="true"] > .numberbox-input-box,
43textbox[type="number"][disabled="true"] > spinbuttons {
44 border-color: #666699;
45}