💄 添加折叠框 icon

This commit is contained in:
BTMuli
2023-12-07 15:08:35 +08:00
parent 0bb730d2e3
commit a800ed532d
2 changed files with 14 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 476 B

View File

@@ -10,6 +10,7 @@
</div>
<details v-else-if="props.data.insert.fold" class="tp-backup-fold">
<summary class="tp-backup-summary">
<img alt="marker" src="/source/post/fold_marker.webp" class="tp-backup-marker" />
<TpParser :data="JSON.parse(props.data.insert.fold.title)" />
</summary>
<div class="tp-backup-details">
@@ -69,22 +70,35 @@ async function toLottery() {
}
.tp-backup-fold {
position: relative;
padding: 10px;
border: 1px solid var(--common-shadow-2);
border-radius: 10px;
margin: 10px auto;
}
.tp-backup-fold summary {
list-style: none;
}
.tp-backup-fold ::marker {
color: var(--common-shadow-4);
content: "";
}
.tp-backup-summary {
display: flex;
margin-left: 5px;
font-family: var(--font-title);
}
.tp-backup-marker {
position: relative;
display: inline;
width: 20px;
height: 20px;
}
.tp-backup-details {
padding-left: 20px;
}