Skip to content

Commit

Permalink
Merge pull request #122 from musnows/main
Browse files Browse the repository at this point in the history
✨ 压缩包附件图标添加.7z后缀
  • Loading branch information
Achuan-2 authored Dec 16, 2024
2 parents 026ec46 + 4fa9d05 commit 0f127f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions style/module/link_icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@
background-image: url('/appearance/themes/Tsundoku/src/link_icon/file.svg');
}

.protyle-wysiwyg [data-node-id] span[data-type~='a']:is([data-href ^="assets/"], [data-href ^="file://"]):is([data-href $=".zip"],[data-href $=".tar"],[data-href $=".rar"],):not(:empty)::before,
.protyle-wysiwyg [data-node-id] span[data-type~='url']:is([data-href ^="assets/"], [data-href ^="file://"]):is([data-href $=".zip"],[data-href $=".tar"],[data-href $=".rar"]):not(:empty)::before,
.protyle-wysiwyg [data-node-id] a:is([href ^="assets/"], [href ^="file://"]):is([href $=".zip"],[href $=".tar"],[href $=".rar"])::before,
.b3-typography a:is([href ^="assets/"], [href ^="file://"]):is([href $=".zip"],[href $=".tar"],[href $=".rar"])::before,
.av__celltext--url:is([data-url $=".zip"],[data-url $=".tar"],[data-url $=".rar"])::before {
.protyle-wysiwyg [data-node-id] span[data-type~='a']:is([data-href ^="assets/"], [data-href ^="file://"]):is([data-href $=".zip"],[data-href $=".tar"],[data-href $=".rar"],[data-href $=".7z"]):not(:empty)::before,
.protyle-wysiwyg [data-node-id] span[data-type~='url']:is([data-href ^="assets/"], [data-href ^="file://"]):is([data-href $=".zip"],[data-href $=".tar"],[data-href $=".rar"],[data-href $=".7z"]):not(:empty)::before,
.protyle-wysiwyg [data-node-id] a:is([href ^="assets/"], [href ^="file://"]):is([href $=".zip"],[href $=".tar"],[href $=".rar"],[href $=".7z"])::before,
.b3-typography a:is([href ^="assets/"], [href ^="file://"]):is([href $=".zip"],[href $=".tar"],[href $=".rar"],[href $=".7z"])::before,
.av__celltext--url:is([data-url $=".zip"],[data-url $=".tar"],[data-url $=".rar"],[data-url $=".7z"])::before {
content: '';
background-image: url('/appearance/themes/Tsundoku/src/link_icon/compress.svg');
}
Expand Down

0 comments on commit 0f127f4

Please sign in to comment.