feat(plugins/lines): add plugin_lines_sections and new features (#1151) [skip ci]

This commit is contained in:
Simon Lecoq
2022-07-26 01:19:34 +02:00
committed by GitHub
parent ae66ccbe6b
commit c2f0cbe2b1
11 changed files with 297 additions and 21 deletions

View File

@@ -853,6 +853,47 @@
fill: currentColor;
}
/* Diff stats */
.diff-handle {
color: #58a6ff;
max-width: 200px;
text-overflow: ellipsis;
overflow: hidden;
}
.large .diff-handle {
max-width: 400px;
}
.diff-box {
display: inline-block;
width: 8px;
height: 8px;
margin-left: 1px;
background-color: rgba(110, 118, 129, 0.4);
border: 1px solid rgba(246, 240, 251, 0.1);
}
.diff-box:first-child {
margin-left: 9px;
}
.diff-box.added {
background-color: rgb(63, 185, 80);
}
.diff-box.deleted {
background-color: rgb(218, 54, 51);
}
.diff-stats {
margin-left: 4px;
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
font-weight: bold;
font-size: 12px;
white-space: pre;
}
.added {
color: rgb(63, 185, 80);
}
.deleted {
color: rgb(218, 54, 51);
}
/* People */
.people {
padding: 0 10px;