forked from codesandbox/codesandbox-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiff.css
More file actions
54 lines (54 loc) · 913 Bytes
/
diff.css
File metadata and controls
54 lines (54 loc) · 913 Bytes
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
.diff {
background: white !important;
color: #555 !important;
width: 100%;
}
.diff.collapsed {
display: none;
}
.actual-line, .expected-line, .diff {
white-space: pre;
}
.actual-line::before, .expected-line::before {
cursor: text;
content: '✓BOTH';
color: green;
width: 70px;
display: inline-block;
}
.actual-line.with-diff::before, .expected-line.with-diff::before {
color: orange;
}
.actual-line.with-diff::before {
content: '⚠ NEW'
}
.expected-line.with-diff::before {
content: '⚠ OLD'
}
.actual-line.with-diff, .expected-line.with-diff {
cursor: pointer;
}
.actual-line.the-same {
display:none;
}
.diff td {
vertical-align: top;
}
.title {
cursor: pointer;
}
.title.with-diff::before {
color: orange;
content: '⚠';
width: 30px;
display: inline-block;
}
.title.the-same::before {
color: green;
content: '✓';
width: 30px;
display: inline-block;
}
.collapsed {
display:none;
}