forked from yuanshanxiaoni/ydiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
diff.css
114 lines (91 loc) · 2.37 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
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
/* ydiff - a language-aware tool for comparing programs */
/* Copyright (C) 2011-2013 Yin Wang ([email protected]) */
/* This program is free software: you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation, either version 3 of the License, or */
/* (at your option) any later version. */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
.d { /* deleted */
border: solid 1px #CC929A;
border-radius: 3px;
background-color: #FCBFBA;
}
.i { /* inserted */
border: solid 1px #73BE73;
border-radius: 3px;
background-color: #98FB98;
}
.c { /* changed */
border: solid 1px #8AADB8;
background-color: LightBlue;
border-radius: 3px;
cursor: pointer;
}
.m { /* moved */
border: solid 1px #A9A9A9;
border-radius: 3px;
cursor: crosshair;
}
.mc {
border: solid 1px LightPink;
background-color: LightBlue;
cursor: pointer;
}
.u { /* unchanged */
border: solid 1px #A9A9A9;
border-radius: 4px;
cursor: crosshair;
}
span.lineno {
color: lightgrey;
-webkit-user-select: none;
-moz-user-select: none;
}
span.keyword {
/* color: #007070; */
font-weight: 700;
}
div.line {
}
div.src {
width:48%;
height:98%;
overflow:scroll;
float:left;
padding:0.5%;
border: solid 2px LightGrey;
border-radius: 5px;
}
div.stats {
border: solid 1px grey;
z-index: 1000;
width: 80%;
padding-left: 5%;
}
pre.stats {
color: grey;
-webkit-user-select: none;
-moz-user-select: none;
}
pre {
line-height: 200%;
}
p {
line-height: 200%;
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}