editor/reftests/xul/input.css

changeset 2
7e26c7da4463
equal deleted inserted replaced
-1:000000000000 0:f6310f21c1fe
1 @namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
2 @namespace html url('http://www.w3.org/1999/xhtml');
3
4 #mac html|input, #mac html|textarea {
5 margin: 4px;
6 padding: 0 1px;
7 }
8
9 #win html|input, #win html|textarea {
10 margin: 2px 4px;
11 padding: 2px 3px 3px;
12 -moz-padding-start: 5px;
13 }
14
15 #win html|input:-moz-system-metric(windows-default-theme) {
16 padding: 1px 2px 2px;
17 -moz-padding-start: 4px;
18 }
19
20 #linux html|input, #linux html|textarea {
21 margin: 2px 4px;
22 padding: 2px 5px 3px;
23 }
24
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 }
31
32 html|input, html|textarea {
33 font: inherit;
34 }
35
36 html|input.ac {
37 padding: 0 4px !important;
38 }
39
40 #mac html|input.ac {
41 padding: 0 3px !important;
42 }
43
44 html|input.empty {
45 color: graytext;
46 }
47
48 :root:not(.winxp) html|input.empty:-moz-system-metric(windows-default-theme) {
49 font-style: italic;
50 }
51
52 html|input.num {
53 text-align: end;
54 }
55
56 #mac html|input.num {
57 -moz-margin-end: 8px;
58 }
59
60 #win html|input.num {
61 padding: 0 !important;
62 }
63
64 #linux html|input.num {
65 -moz-margin-end: 3px;
66 padding: 3px 4px;
67 }
68
69 html|div.plainfield {
70 color: -moz-fieldtext;
71 white-space: pre;
72 }
73

mercurial