Improved history appearance
This commit is contained in:
parent
40d1276c36
commit
1a6aa914b6
1 changed files with 16 additions and 7 deletions
|
@ -1,33 +1,42 @@
|
||||||
table.history {
|
table.history {
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
|
border-spacing: 0;
|
||||||
}
|
}
|
||||||
table.history .addition {
|
table.history .addition {
|
||||||
color: forestgreen;
|
color: #228022;
|
||||||
}
|
}
|
||||||
table.history .addition:before {
|
table.history .addition:before {
|
||||||
content: '+';
|
content: '+';
|
||||||
}
|
}
|
||||||
|
|
||||||
table.history .removal {
|
table.history .removal {
|
||||||
color: red;
|
color: #e02222;
|
||||||
}
|
}
|
||||||
table.history .removal:before {
|
table.history .removal:before {
|
||||||
content: '-';
|
content: '-';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.history .user img {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
table.history .time,
|
table.history .time,
|
||||||
table.history .user,
|
table.history .user,
|
||||||
table.history .subject {
|
table.history .subject {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
table.history .difference {
|
||||||
table.history .user img {
|
word-break: break-all;
|
||||||
vertical-align: middle;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table.history td {
|
table.history td {
|
||||||
padding: 0.1em 0.25em;
|
padding: 0.3em 0.5em 0.3em 0.25em;
|
||||||
word-break: break-all;
|
word-break: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
table.history tr:nth-child(2n+1) td {
|
||||||
|
background: #fafafa;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.history ul {
|
table.history ul {
|
||||||
|
|
Loading…
Reference in a new issue