summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/osx/global/numberbox.css
blob: e5de22d21839249dbd225e68266f7fc44a89ff88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* 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;
}