toolkit/content/textbox.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/content/textbox.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     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"); /* set default namespace to XUL */
     1.9 +@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
    1.10 +
    1.11 +html|*.textbox-input {
    1.12 +  -moz-appearance: none !important;
    1.13 +  text-align: inherit;
    1.14 +  text-shadow: inherit;
    1.15 +  box-sizing: border-box;
    1.16 +  -moz-box-flex: 1;
    1.17 +}
    1.18 +
    1.19 +html|*.textbox-textarea {
    1.20 +  -moz-appearance: none !important;
    1.21 +  text-shadow: inherit;
    1.22 +  box-sizing: border-box;
    1.23 +  -moz-box-flex: 1;
    1.24 +}
    1.25 +
    1.26 +/*
    1.27 +html|*.textbox-input::-moz-placeholder,
    1.28 +html|*.textbox-textarea::-moz-placeholder {
    1.29 +  text-align: left;
    1.30 +  direction: ltr;
    1.31 +}
    1.32 +
    1.33 +html|*.textbox-input::-moz-placeholder:-moz-locale-dir(rtl),
    1.34 +html|*.textbox-textarea::-moz-placeholder:-moz-locale-dir(rtl) {
    1.35 +  text-align: right;
    1.36 +  direction: rtl;
    1.37 +}
    1.38 +*/

mercurial