toolkit/themes/osx/global/numberbox.css

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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/. */
     5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     6 @namespace html url("http://www.w3.org/1999/xhtml");
     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 }
    17 html|*.numberbox-input {
    18   text-align: right;
    19   padding: 0 1px !important;
    20 }
    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 }

mercurial