toolkit/themes/linux/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 /* ===== numberbox.css ==================================================
     6   == Styles used by the XUL textbox type="number" element.
     7   ======================================================================= */
     9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    10 @namespace html url("http://www.w3.org/1999/xhtml");
    12 textbox[type="number"] {
    13   -moz-appearance: none;
    14   padding: 0 !important;
    15   border: none;
    16   cursor: default;
    17   background-color: transparent;
    18 }
    20 html|*.numberbox-input {
    21   text-align: right;
    22 }
    24 .numberbox-input-box {
    25   -moz-box-align: center;
    26   -moz-appearance: spinner-textfield;
    27   margin-right: -1px;
    28   border: 2px solid;
    29   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
    30   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
    31   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
    32   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
    33   padding: 3px 4px;
    34 }
    36 textbox[hidespinbuttons="true"] > .numberbox-input-box {
    37   -moz-appearance: textfield;
    38 }

mercurial