71 lines
1.1 KiB
CSS
71 lines
1.1 KiB
CSS
.collapsible {
|
|
margin: 0;
|
|
}
|
|
|
|
.summary {
|
|
list-style: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 10px;
|
|
user-select: none;
|
|
font-weight: 500;
|
|
color: #555;
|
|
}
|
|
|
|
.summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.summary::before {
|
|
content: "";
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 5px solid #888;
|
|
border-top: 3.5px solid transparent;
|
|
border-bottom: 3.5px solid transparent;
|
|
flex-shrink: 0;
|
|
transform: rotate(0deg);
|
|
transition: transform 0.15s ease;
|
|
}
|
|
|
|
.collapsible[open] > .summary::before {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
.summaryText {
|
|
min-width: 0;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.detail {
|
|
margin: 0;
|
|
padding: 6px 10px 8px;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
|
|
.detailPre {
|
|
margin: 0;
|
|
padding: 0;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
}
|
|
|
|
.detailPre :global(.diffAdd) {
|
|
color: #15803d;
|
|
}
|
|
|
|
.detailPre :global(.diffDel) {
|
|
color: #b91c1c;
|
|
}
|
|
|
|
.detailPre :global(.diffMeta) {
|
|
color: #6b7280;
|
|
}
|