fix 评论
This commit is contained in:
parent
8449fd35ca
commit
01a12723ad
|
@ -14,7 +14,7 @@
|
||||||
</g>
|
</g>
|
||||||
</svg><?php $this->commentsNum(_t('0'), _t('1'), _t('%d')); ?>
|
</svg><?php $this->commentsNum(_t('0'), _t('1'), _t('%d')); ?>
|
||||||
</h3>
|
</h3>
|
||||||
<ol class="commentlist sulliComment--list"></ol>
|
<ol class="commentlist"></ol>
|
||||||
<?php if ($comments->have()): ?>
|
<?php if ($comments->have()): ?>
|
||||||
<?php $comments->listComments(); ?>
|
<?php $comments->listComments(); ?>
|
||||||
<?php
|
<?php
|
||||||
|
|
34
style.css
34
style.css
|
@ -1263,10 +1263,6 @@ html {
|
||||||
width: auto
|
width: auto
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-form .submit:hover {
|
|
||||||
background-color: var(--farallon-text-light)
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-form p {
|
.comment-form p {
|
||||||
margin-bottom: 15px
|
margin-bottom: 15px
|
||||||
}
|
}
|
||||||
|
@ -1278,7 +1274,6 @@ html {
|
||||||
.comment-form .comment-notes,
|
.comment-form .comment-notes,
|
||||||
.comment-form .logged-in-as {
|
.comment-form .logged-in-as {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: var(--farallon-text-gray)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-reply-title {
|
.comment-reply-title {
|
||||||
|
@ -1295,7 +1290,7 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
.commentlist {
|
.commentlist {
|
||||||
border-top: 1px solid var(--farallon-border-color-light);
|
border-top: 1px solid var(--theme);
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding-top: 10px
|
padding-top: 10px
|
||||||
}
|
}
|
||||||
|
@ -1307,7 +1302,6 @@ html {
|
||||||
.commentlist .comment-respond {
|
.commentlist .comment-respond {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
background-color: var(--farallon-background-gray);
|
|
||||||
border-radius: 5px
|
border-radius: 5px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1326,7 +1320,7 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment.parent {
|
.comment.parent {
|
||||||
border-bottom: 1px solid var(--farallon-border-color-light)
|
border-bottom: 1px solid var(--theme)
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment.parent:last-child {
|
.comment.parent:last-child {
|
||||||
|
@ -1347,7 +1341,7 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-body:hover .avatar {
|
.comment-body:hover .avatar {
|
||||||
box-shadow: 0 0 3px 0 var(--farallon-hover-color)
|
box-shadow: 0 0 3px 0
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment--avatar {
|
.comment--avatar {
|
||||||
|
@ -1367,21 +1361,11 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment--author .comment-reply-link svg {
|
.comment--author .comment-reply-link svg {
|
||||||
fill: var(--farallon-text-gray);
|
|
||||||
width: 15px;
|
width: 15px;
|
||||||
height: 15px
|
height: 15px
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment--author .comment-reply-link:hover svg {
|
|
||||||
fill: var(--farallon-hover-color)
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment--author a {
|
|
||||||
color: var(--farallon-main-color)
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment--author a:hover {
|
.comment--author a:hover {
|
||||||
color: var(--farallon-hover-color);
|
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1391,10 +1375,6 @@ html {
|
||||||
flex: auto
|
flex: auto
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment--time {
|
|
||||||
color: var(--farallon-text-light)
|
|
||||||
}
|
|
||||||
|
|
||||||
.comment-meta {
|
.comment-meta {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center
|
align-items: center
|
||||||
|
@ -1413,17 +1393,12 @@ div.cancel-comment-reply.cancel-comment-reply-link {
|
||||||
word-wrap: break-word !important;
|
word-wrap: break-word !important;
|
||||||
overflow-wrap: break-word !important;
|
overflow-wrap: break-word !important;
|
||||||
white-space: normal !important;
|
white-space: normal !important;
|
||||||
color: var(--farallon-text-light)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-content a {
|
.comment-content a {
|
||||||
text-decoration: underline
|
text-decoration: underline
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-content a:hover {
|
|
||||||
color: var(--farallon-hover-color)
|
|
||||||
}
|
|
||||||
|
|
||||||
.children {
|
.children {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-bottom: 10px
|
padding-bottom: 10px
|
||||||
|
@ -1482,7 +1457,6 @@ div.cancel-comment-reply.cancel-comment-reply-link {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
position: relative;
|
position: relative;
|
||||||
transform: translate3d(0, 1px, 0);
|
transform: translate3d(0, 1px, 0);
|
||||||
fill: var(--farallon-text-color)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-respond {
|
.comment-respond {
|
||||||
|
@ -1495,7 +1469,6 @@ div.cancel-comment-reply.cancel-comment-reply-link {
|
||||||
|
|
||||||
.comment-form-cookies-consent label {
|
.comment-form-cookies-consent label {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: var(--farallon-text-gray);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative
|
position: relative
|
||||||
|
@ -1519,7 +1492,6 @@ div.cancel-comment-reply.cancel-comment-reply-link {
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-form-cookies-consent input:checked+label::after {
|
.comment-form-cookies-consent input:checked+label::after {
|
||||||
background-color: var(--farallon-main-color);
|
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
Loading…
Reference in New Issue