-
-
Notifications
You must be signed in to change notification settings - Fork 127
/
Copy pathversion.css
73 lines (66 loc) · 1.17 KB
/
version.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
#y-version {
position: relative;
}
.version-modal[hidden] {
display: none;
}
.version-modal:not([hidden]) {
position: absolute;
top: 30px;
right: 0;
width: 300px;
min-height: 300px;
height: fit-content;
z-index: 20;
background-color: white;
border: 1px solid #ccc;
border-radius: 11px;
border-top-right-radius: 0;
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
}
.version-modal > button {
position: absolute;
right: 0;
top: 0;
}
.version-list {
line-height: 30px;
padding: 0 8px;
cursor: pointer;
}
.version-list:hover {
background-color: #eee;
}
[ychange_type] {
position: relative;
}
.ychange-hover {
display: none;
}
*:hover > .ychange-hover {
display: inline;
position: absolute;
top: -14px;
left: 0;
font-size: 12px;
padding: 0 2px;
border-radius: 3px 3px 0 0;
color: #fdfdfe;
user-select: none;
word-break: normal;
}
ychange[ychange_type='removed'], p[ychange_type='removed'] {
text-decoration: line-through;
}
/*
p[ychange_type='removed'] > span > br {
display: none;
}
*/
*:not(ychange)[ychange_type='removed'] {
background-color: #ff5a56;
color: inherit !important;
}
img[ychange_type='removed'] {
padding: 2px;
}