社区文档构建进行中,欢迎编辑。社区答疑群(非官方):717421103,点点小课堂(腾讯会议):5696651544
Widget:评论区管理/css
<style>
- flowthread {
display: none !important; }
- NewWikiCommentManager {
position: relative; display: flex; }
- NewWikiCommentManager .pageList {
background: lightgray; width: 10em; height: calc(100vh - 50px); position: sticky; top: 50px; overflow: auto; }
- NewWikiCommentManager .pageList .item {
padding: 0.8em; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
- NewWikiCommentManager .pageList .item:before {
content: attr(data-page); }
- NewWikiCommentManager .pageList .item:hover,
- NewWikiCommentManager .pageList .item.active {
background: dimgray; color: white; }
- NewWikiCommentManager .main {
flex: 1; }
- NewWikiCommentManager .option {
margin: 1em; display: flex; justify-content: space-between; }
- NewWikiCommentManager .option .toggle [data-value="hideReply"]:before {
content: "隐藏回复"; }
- NewWikiCommentManager .option .toggle [data-value="hideDeleted"]:before {
content: "隐藏已删除"; }
- NewWikiCommentManager .option .sort {
display: flex; flex-direction: column; align-items: flex-end; }
- NewWikiCommentManager .option .sort > div {
display: flex; align-items: center; }
- NewWikiCommentManager .option .sort [data-type="by"]:before {
content: "按"; }
- NewWikiCommentManager .option .sort > div > div {
padding: 0 0.5em; border-radius: 0.5em; }
- NewWikiCommentManager .option .sort > div > div.active {
background: dimgray; color: white; }
- NewWikiCommentManager.hideReply .option .toggle [data-value="hideReply"]:before {
content: "显示回复"; }
- NewWikiCommentManager.hideDeleted .option .toggle [data-value="hideDeleted"]:before {
content: "显示已删除"; }
- NewWikiCommentManager.hideReply .reply {
display: none; }
- NewWikiCommentManager.hideDeleted .deleted {
display: none; }
- NewWikiCommentManager ol {
list-style-type: none; margin: 1em; border: 1px solid lightgray; }
- NewWikiCommentManager ol:empty {
display: none; }
- NewWikiCommentManager ol li {
margin: 1em 0; display: flex; flex-direction: column; }
- NewWikiCommentManager ol li.deleted {
opacity: 0.3; }
- NewWikiCommentManager ol li .body {
width: 100%; padding-top: 1em; border-top: 1px solid lightgray; display: flex; align-items: flex-start; }
- NewWikiCommentManager ol li .body > div {
display: flex; flex-direction: column; }
- NewWikiCommentManager ol li .left {
padding: 0.5em; }
- NewWikiCommentManager ol li .right {
flex: 1; }
- NewWikiCommentManager ol li .left .avatar img {
width: 48px; height: 48px; border-radius: 50%; }
- NewWikiCommentManager ol li .right .text {
font-size: 1.2em; margin: 0.5em; word-break: break-all; white-space: break-spaces; max-height: 5em; overflow: auto; }
- NewWikiCommentManager ol li .right .foot {
font-size: 0.8em; display: flex; flex-direction: column; }
- NewWikiCommentManager ol li .right .foot > div {
display: flex; }
- NewWikiCommentManager ol li .right .foot .dataBox {
font-weight: bold; }
- NewWikiCommentManager ol li .right .foot > div > div {
margin: 0.5em; }
- NewWikiCommentManager ol li .right .foot .info .index:before {
content: "#"; }
- NewWikiCommentManager ol li .right .foot .dataBox [data-type="like"]:before {
content: "👍"; }
- NewWikiCommentManager ol li .right .foot .dataBox [data-type="dislike"]:before {
content: "🦶"; }
- NewWikiCommentManager ol li .right .foot .dataBox [data-type="reply"]:before {
content: "💬"; }
- NewWikiCommentManager ol li .right .foot .funBox [data-action="delete"]:before {
content: "❌"; }
- NewWikiCommentManager ol li .right .foot .funBox [data-action="restore"]:before {
content: "⭕"; }
- NewWikiCommentManager .mask {
position: absolute; width: 100%; height: 100%; background: black; top: 0; left: 0; opacity: 0.1; }
- NewWikiCommentManager:not(.loading) .mask {
display: none; }
- NewWikiCommentManager .pageList .item,
- NewWikiCommentManager .option .sort > div > div,
- NewWikiCommentManager ol li .right .foot .funBox > div {
cursor: pointer; } </style>