-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdiff.css
80 lines (66 loc) · 1.25 KB
/
diff.css
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
.changed .key,
.added .key,
.removed .key {
font-weight: 600;
}
.ichanged,
.changed {
color: #ec971f;
}
.iremoved,
.removed {
color: #E23E57;
text-decoration: line-through;
}
.iadded,
.added {
color: #449d44;
}
.json ul {
padding-left: 15px;
margin-left: -5px;
padding-top: 5px;
margin-top: -7px;
list-style-type: none;
background-image: url(./line.gif);
background-repeat: repeat-y;
background-position-y: 13px;
background-position-x: 0;
}
.json.j-fade li {
color: #aaa;
}
.json * {
-webkit-transition: color .05s ease;
-moz-transition: color .05s ease;
-o-transition: color .05s ease;
transition: color .1s ease;
}
.json.line-off ul {
background-image: none;
}
.json ul[collapsed="on"] {
background-image: none;
}
.json ul[collapsed="on"] > * {
display: none;
}
.json ul[collapsed="on"] > *:first-child {
display: block;
}
.json li {
margin-top: 1px;
padding-left: 15px;
}
.json ul:before,
.json ul[collapsed="off"]:before {
cursor: pointer;
content: "\f0d7";
position: absolute;
font: normal normal normal 14px/1 FontAwesome;
margin-left: -12px;
margin-top: 3px;
}
.json ul[collapsed="on"]:before {
content: "\f0da";
}