CSS: Remove styles for php-diff

This commit is contained in:
Florian Strohmaier 2021-12-16 14:06:37 +01:00 committed by Johannes Meyer
parent 88e04d94c1
commit 86732a91f8

View file

@ -1089,117 +1089,8 @@ form {
left: -100%;
}
}
/** END of forms **/
/** php-diff **/
.diff-wrapper.diff {
background: repeating-linear-gradient(-45deg, whitesmoke, whitesmoke 0.5em, #e8e8e8 0.5em, #e8e8e8 1em);
border-collapse: collapse;
border-spacing: 0;
border: 1px solid black;
color: black;
empty-cells: show;
font-family: monospace;
font-size: 13px;
width: 100%;
word-break: break-all;
}
.diff-wrapper.diff th {
font-weight: 700;
}
.diff-wrapper.diff td {
vertical-align: baseline;
}
.diff-wrapper.diff td,
.diff-wrapper.diff th {
border-collapse: separate;
border: none;
padding: 1px 2px;
background: @low-sat-blue;
}
.diff-wrapper.diff td:empty:after,
.diff-wrapper.diff th:empty:after {
content: " ";
visibility: hidden;
}
.diff-wrapper.diff td a,
.diff-wrapper.diff th a {
color: @black;
cursor: inherit;
pointer-events: none;
}
.diff-wrapper.diff thead th {
background: @gray-lighter;
border-bottom: 1px solid @black;
padding: 4px;
text-align: left;
}
.diff-wrapper.diff tbody.skipped {
border-top: 1px solid black;
}
.diff-wrapper.diff tbody.skipped td,
.diff-wrapper.diff tbody.skipped th {
display: none;
}
.diff-wrapper.diff tbody th {
background: @gray-lighter;
border-right: 1px solid @black;
text-align: right;
vertical-align: top;
width: 4em;
}
.diff-wrapper.diff tbody th.sign {
background: @text-color;
border-right: none;
padding: 1px 0;
text-align: center;
width: 1em;
}
.diff-wrapper.diff tbody th.sign.del {
background: @color-diff-del;
}
.diff-wrapper.diff tbody th.sign.ins {
background: @color-diff-ins;
}
.diff-wrapper.diff.diff-html {
white-space: pre-wrap;
}
.diff-wrapper.diff.diff-html.diff-combined .change.change-rep .rep {
white-space: normal;
}
.diff-wrapper.diff.diff-html .change.change-eq .old,
.diff-wrapper.diff.diff-html .change.change-eq .new {
background: @gray-lighter;
}
.diff-wrapper.diff.diff-html .change .old {
background: @color-diff-changed-old;
}
.diff-wrapper.diff.diff-html .change .new {
background: @color-diff-changed-new;
}
.diff-wrapper.diff.diff-html .change .rep {
background: @color-change-replace-del;
}
.diff-wrapper.diff.diff-html .change .old.none,
.diff-wrapper.diff.diff-html .change .new.none,
.diff-wrapper.diff.diff-html .change .rep.none {
background: transparent;
cursor: not-allowed;
}
.diff-wrapper.diff.diff-html .change ins,
.diff-wrapper.diff.diff-html .change del {
font-weight: bold;
text-decoration: none;
}
.diff-wrapper.diff.diff-html .change ins {
background: @color-diff-ins;
}
.diff-wrapper.diff.diff-html .change del {
background: @color-diff-del;
}
/** END of php-diff **/
/** Custom font styling **/
textarea.smaller {
font-size: 0.833em;