toolkit/themes/osx/global/numberbox.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/osx/global/numberbox.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     1.9 +@namespace html url("http://www.w3.org/1999/xhtml");
    1.10 +
    1.11 +textbox[type="number"] {
    1.12 +  -moz-appearance: none;
    1.13 +  -moz-box-align: center;
    1.14 +  padding: 0 !important;
    1.15 +  border: none;
    1.16 +  background-color: transparent;
    1.17 +  cursor: default;
    1.18 +}
    1.19 +
    1.20 +html|*.numberbox-input {
    1.21 +  text-align: right;
    1.22 +  padding: 0 1px !important;
    1.23 +}
    1.24 +
    1.25 +.numberbox-input-box {
    1.26 +  -moz-appearance: textfield;
    1.27 +  margin-right: 4px;
    1.28 +  border: 3px solid;
    1.29 +  -moz-border-top-colors: transparent #888888 #000000;
    1.30 +  -moz-border-right-colors: transparent #FFFFFF #000000;
    1.31 +  -moz-border-bottom-colors: transparent #FFFFFF #000000;
    1.32 +  -moz-border-left-colors: transparent #888888 #000000;
    1.33 +  border-top-right-radius: 2px;
    1.34 +  border-bottom-left-radius: 2px;
    1.35 +  background-color: -moz-Field;
    1.36 +}

mercurial