editor/reftests/xul/input.css

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 @namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
     2 @namespace html url('http://www.w3.org/1999/xhtml');
     4 #mac html|input, #mac html|textarea {
     5   margin: 4px;
     6   padding: 0 1px;
     7 }
     9 #win html|input, #win html|textarea {
    10   margin: 2px 4px;
    11   padding: 2px 3px 3px;
    12   -moz-padding-start: 5px;
    13 }
    15 #win html|input:-moz-system-metric(windows-default-theme) {
    16   padding: 1px 2px 2px;
    17   -moz-padding-start: 4px;
    18 }
    20 #linux html|input, #linux html|textarea {
    21   margin: 2px 4px;
    22   padding: 2px 5px 3px;
    23 }
    25 textbox[multiline="true"], html|textarea {
    26   border: none !important;
    27   -moz-appearance: none !important;
    28   border-top-right-radius: 0;
    29   border-bottom-left-radius: 0;
    30 }
    32 html|input, html|textarea {
    33   font: inherit;
    34 }
    36 html|input.ac {
    37   padding: 0 4px !important;
    38 }
    40 #mac html|input.ac {
    41   padding: 0 3px !important;
    42 }
    44 html|input.empty {
    45   color: graytext;
    46 }
    48 :root:not(.winxp) html|input.empty:-moz-system-metric(windows-default-theme) {
    49   font-style: italic;
    50 }
    52 html|input.num {
    53   text-align: end;
    54 }
    56 #mac html|input.num {
    57   -moz-margin-end: 8px;
    58 }
    60 #win html|input.num {
    61   padding: 0 !important;
    62 }
    64 #linux html|input.num {
    65   -moz-margin-end: 3px;
    66   padding: 3px 4px;
    67 }
    69 html|div.plainfield {
    70   color: -moz-fieldtext;
    71   white-space: pre;
    72 }

mercurial