summaryrefslogtreecommitdiffstats
path: root/editor/reftests/xul/input.css
blob: 2104b16d2655e26002ed18587ecf8d212b10d220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
@namespace html url('http://www.w3.org/1999/xhtml');

#mac html|input, #mac html|textarea {
  margin: 4px;
  padding: 0 1px;
}

#win html|input, #win html|textarea {
  margin: 2px 4px;
  padding: 2px 3px 3px;
  padding-inline-start: 5px;
}

#win html|input:-moz-system-metric(windows-default-theme) {
  padding: 1px 2px 2px;
  padding-inline-start: 4px;
}

#linux html|input, #linux html|textarea {
  margin: 2px 4px;
  padding: 2px 5px 3px;
}

textbox[multiline="true"], html|textarea {
  border: none !important;
  -moz-appearance: none !important;
  background-color: white !important;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}

html|input, html|textarea {
  font: inherit;
}

html|input.ac {
  padding: 0 4px !important;
}

html|input.empty {
  color: graytext;
}

:root:not(.winxp) html|input.empty:-moz-system-metric(windows-default-theme) {
  font-style: italic;
}

html|input.num {
  text-align: end;
}

#mac html|input.num {
  margin-inline-end: 8px;
}

#win html|input.num {
  padding: 0 !important;
}

#linux html|input.num {
  margin-inline-end: 3px;
  padding: 3px 4px;
}

html|div.plainfield {
  color: -moz-fieldtext;
  white-space: pre;
}