michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: @namespace html url("http://www.w3.org/1999/xhtml"); michael@0: michael@0: textbox[type="number"] { michael@0: -moz-appearance: none; michael@0: -moz-box-align: center; michael@0: padding: 0 !important; michael@0: border: none; michael@0: background-color: transparent; michael@0: cursor: default; michael@0: } michael@0: michael@0: html|*.numberbox-input { michael@0: text-align: right; michael@0: padding: 0 1px !important; michael@0: } michael@0: michael@0: .numberbox-input-box { michael@0: -moz-appearance: textfield; michael@0: margin-right: 4px; michael@0: border: 3px solid; michael@0: -moz-border-top-colors: transparent #888888 #000000; michael@0: -moz-border-right-colors: transparent #FFFFFF #000000; michael@0: -moz-border-bottom-colors: transparent #FFFFFF #000000; michael@0: -moz-border-left-colors: transparent #888888 #000000; michael@0: border-top-right-radius: 2px; michael@0: border-bottom-left-radius: 2px; michael@0: background-color: -moz-Field; michael@0: }