forked from googlearchive/code-prettify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_modules.css
More file actions
90 lines (85 loc) · 1.18 KB
/
Copy pathtest_modules.css
File metadata and controls
90 lines (85 loc) · 1.18 KB
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
/* tests table */
table {
border-collapse: collapse;
border-spacing: 0;
}
table, th, td {
border: 1px solid black;
}
td, th {
padding: 2px;
}
tr {
vertical-align: top;
}
th {
background-color: #FFD;
}
td {
font-family: monospace;
}
/* tests */
.input, .golden, .actual, .decorations {
white-space: pre;
}
/* results */
.ok {
background-color: #DFD;
}
.failure, .error {
background-color: #FDD;
}
.ok:after {
color: green;
content: '\a[PASS]';
font-weight: bold;
}
.failure:after {
color: red;
content: '\a[FAIL]';
font-weight: bold;
}
.error:after {
color: #AF7817;
content: '\a[ERROR]';
font-weight: bold;
}
/* used in extractSourceSpans_test.html */
.break {
padding-left: 2px;
border-right-style: dotted !important;
}
.odd, .even {
border-style: solid;
border-width: 1px;
}
.even {
background-color: #fff;
border-color: #888;
}
.odd {
background-color: #ddd;
border-color: #000;
}
/* log */
#report {
margin-left: 1em;
}
.pass {
color: green;
}
.fail, .err {
color: red;
}
/* diff tables */
table.diff {
table-layout: fixed;
max-width: 100%;
}
.diff th {
width: 50px;
}
.diff td {
white-space: pre-wrap;
word-wrap: break-word;
}