summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/static/harness.css
blob: d6652c07169b29847f822be318186eff9c5201ad (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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
body   {
  margin: 0;
  padding: 0;
  font-family: Verdana, Helvetica, Arial, sans-serif;
  font-size: 11px;
  background-color: #fff;
}

#xulharness {
  position: fixed; 
  top: 30px;
  bottom: 0;
  right: 0px;
  left: 0px;
  overflow:auto;
}

th, td {
  font-family: Verdana, Helvetica, Arial, sans-serif;
  font-size: 11px;
  padding-left: .2em;
  padding-right: .2em;
  text-align: left;
  height: 15px;
  margin: 0;
}

li, li.test, li.dir {
  padding: 0;
  line-height: 15px;
}

ul { 
  list-style: none;
  margin: 0;
  margin-left: 1em;
  padding: 0;
  border: none;
}

ul.top { 
  padding: 0;
  padding-left: 1em;
}

table#test-table {
  background: #f6f6f6;
  margin-left: 1em;
  padding: 0;
}

div.container {
  margin: 1em;
}

a#runtests, a {
  color: #3333cc;
}

li.non-test a { 
  color: #999999;
}

small a {
  color: #000;
}

.clear { clear: both;}
.invisible { display: none;}

div.status {
  min-height: 170px;
  width: 100%;
  border: 1px solid #666;
}
div.frameholder {
  min-height: 170px;
  min-width: 500px;
  background-color: #ffffff;
}

div#current-test {
  margin-top: 1em;
  margin-bottom: 1em;
}

#indicator {
  color: white;
  background-color: green;
  padding: .5em;
  margin: 0;
}

#pass, #fail {
  margin: 0;
  padding: .5em;
}

#testframe {
  width: 500px;
  height: 300px;
}


body[singletest=true] table,
body[singletest=true] h2,
body[singletest=true] p,
body[singletest=true] br,
body[singletest=true] .clear,
body[singletest=true] .toggle,
body[singletest=true] #current-test,
body[singletest=true] .status {
  display: none;
}


body[singletest=true],
body[singletest=true] .container,
body[singletest=true] .frameholder,
body[singletest=true] #testframe {
  display: flex;
  flex: 1 1 auto;
  height: 100%;
  box-sizing: border-box;
  margin: 0;
}