summaryrefslogtreecommitdiffstats
path: root/editor/reftests/xul/input.css
blob: 17432527b2ec948b95fd6203c5abc1de101ccda9 (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
@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
@namespace html url('http://www.w3.org/1999/xhtml');

:root > html|input {
  margin: 2px 4px;
  padding: 2px 2px 3px;
  padding-inline-start: 5px;
}

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

html|input {
  font: inherit;
}

html|input.empty {
  color: graytext;
}

@media (-moz-windows-default-theme) and (-moz-platform: windows-win7) {
  :root:not(.winxp) html|input.empty {
    font-style: italic;
  }
}

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

/* .textbox-input has 1px extra padding on Linux */
#linux html|input.num {
  padding-inline-end: 3px;
}