2022-11-26 21:27:54 +00:00
|
|
|
.comment {
|
2023-03-06 14:06:48 +00:00
|
|
|
margin: 0.5em 0;
|
|
|
|
padding: 1rem;
|
2022-11-26 21:27:54 +00:00
|
|
|
transition: background-color 0.3s;
|
2023-01-20 04:40:55 +00:00
|
|
|
position: relative;
|
2023-02-17 09:21:02 +00:00
|
|
|
list-style: none;
|
2023-01-24 22:39:21 +00:00
|
|
|
|
2023-03-06 14:06:48 +00:00
|
|
|
&.isNew {
|
|
|
|
border-radius: 6px;
|
2023-05-01 18:32:32 +00:00
|
|
|
background: rgb(38 56 217 / 5%);
|
2023-01-24 22:39:21 +00:00
|
|
|
}
|
|
|
|
|
2023-03-06 14:06:48 +00:00
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
margin-right: -1.2rem;
|
2023-01-20 04:40:55 +00:00
|
|
|
}
|
2023-01-24 22:39:21 +00:00
|
|
|
|
2023-01-20 04:40:55 +00:00
|
|
|
.comment {
|
2023-02-10 01:19:20 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
2023-01-20 04:40:55 +00:00
|
|
|
content: '';
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2023-02-10 01:19:20 +00:00
|
|
|
|
|
|
|
&::before {
|
2023-01-20 04:40:55 +00:00
|
|
|
border-bottom: 2px solid #ccc;
|
|
|
|
border-left: 2px solid #ccc;
|
|
|
|
border-radius: 0 0 0 1.2rem;
|
|
|
|
top: -1rem;
|
|
|
|
height: 2.4rem;
|
|
|
|
width: 1.2rem;
|
|
|
|
}
|
2023-02-10 01:19:20 +00:00
|
|
|
|
|
|
|
&::after {
|
2023-01-20 04:40:55 +00:00
|
|
|
background: #ccc;
|
|
|
|
height: 100%;
|
|
|
|
top: 0;
|
|
|
|
width: 2px;
|
|
|
|
}
|
2023-02-10 01:19:20 +00:00
|
|
|
|
|
|
|
&:last-child::after {
|
2023-01-20 04:40:55 +00:00
|
|
|
display: none;
|
2022-11-26 21:27:54 +00:00
|
|
|
}
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.shout-body {
|
|
|
|
@include font-size(1.5rem);
|
2023-02-10 01:19:20 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
margin-bottom: 1em;
|
2023-02-10 01:19:20 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
*:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.author {
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 1.4rem;
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2023-01-20 04:40:55 +00:00
|
|
|
.commentContent {
|
|
|
|
&:hover {
|
|
|
|
.commentControlReply,
|
|
|
|
.commentControlShare,
|
|
|
|
.commentControlDelete,
|
|
|
|
.commentControlEdit,
|
|
|
|
.commentControlComplain {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2022-11-26 21:27:54 +00:00
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.commentControls {
|
|
|
|
@include font-size(1.2rem);
|
2022-12-17 03:27:00 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-29 11:01:23 +00:00
|
|
|
.commentControlReply,
|
2022-11-26 21:27:54 +00:00
|
|
|
.commentControlShare,
|
|
|
|
.commentControlDelete,
|
|
|
|
.commentControlEdit,
|
|
|
|
.commentControlComplain {
|
|
|
|
@include media-breakpoint-up(md) {
|
2023-02-10 01:19:20 +00:00
|
|
|
// opacity: 0;
|
2022-11-26 21:27:54 +00:00
|
|
|
transition: opacity 0.3s;
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-29 11:01:23 +00:00
|
|
|
.commentControlReply,
|
2022-11-26 21:27:54 +00:00
|
|
|
.commentControlShare,
|
|
|
|
.commentControlDelete,
|
|
|
|
.commentControlEdit {
|
|
|
|
.icon {
|
|
|
|
line-height: 1.2;
|
|
|
|
width: 1.2rem;
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.commentControl {
|
|
|
|
border: none;
|
|
|
|
color: #696969;
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-flex;
|
|
|
|
line-height: 1.2;
|
|
|
|
margin-right: 0.8rem;
|
|
|
|
padding: 0.2em 0.3em;
|
|
|
|
transition: opacity 0.2s, color 0.3s, background-color 0.3s;
|
|
|
|
vertical-align: top;
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
&:hover {
|
|
|
|
background: #000;
|
|
|
|
color: #fff;
|
2023-02-10 01:19:20 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.icon {
|
|
|
|
filter: invert(1);
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.icon {
|
|
|
|
filter: invert(0);
|
|
|
|
margin-right: 0.3em;
|
|
|
|
opacity: 0.6;
|
|
|
|
transition: filter 0.3s, opacity 0.2s;
|
2023-02-10 01:19:20 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
img {
|
|
|
|
margin-bottom: -0.1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.commentControlReply {
|
|
|
|
.icon {
|
|
|
|
height: 1.2em;
|
|
|
|
width: 1.2em;
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.commentBody {
|
|
|
|
@include font-size(1.5rem);
|
2022-12-17 03:27:00 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
line-height: 1.47;
|
2023-01-26 06:59:43 +00:00
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: 10px;
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 400;
|
|
|
|
color: #9fa1a7;
|
|
|
|
border-left: 2px solid #696969;
|
|
|
|
|
|
|
|
p,
|
|
|
|
.paragraph {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-11-26 21:27:54 +00:00
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.commentAuthor,
|
|
|
|
.commentRating {
|
|
|
|
@include font-size(1.2rem);
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2023-01-26 06:59:43 +00:00
|
|
|
.articleAuthor {
|
|
|
|
color: #2638d9;
|
|
|
|
font-size: 12px;
|
|
|
|
margin-right: 12px;
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2023-02-07 12:48:45 +00:00
|
|
|
.commentDates {
|
2022-11-26 21:27:54 +00:00
|
|
|
flex: 1;
|
2023-02-07 12:48:45 +00:00
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
color: rgb(0 0 0 / 30%);
|
2023-05-01 18:32:32 +00:00
|
|
|
|
2023-02-07 12:48:45 +00:00
|
|
|
@include font-size(1.2rem);
|
|
|
|
|
|
|
|
.date {
|
|
|
|
.icon {
|
|
|
|
line-height: 1;
|
|
|
|
width: 1rem;
|
|
|
|
display: inline-block;
|
|
|
|
opacity: 0.6;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2023-05-01 18:32:32 +00:00
|
|
|
|
2023-02-07 12:48:45 +00:00
|
|
|
@include media-breakpoint-down(md) {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
2022-11-26 21:27:54 +00:00
|
|
|
}
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2022-11-26 21:27:54 +00:00
|
|
|
.commentDetails {
|
|
|
|
display: flex;
|
2023-03-06 14:06:48 +00:00
|
|
|
padding: 1rem 0.2rem 0;
|
2022-11-26 21:27:54 +00:00
|
|
|
margin-bottom: 1.2rem;
|
|
|
|
}
|
2023-02-07 13:20:07 +00:00
|
|
|
|
2023-02-17 09:21:02 +00:00
|
|
|
.compactUserpic {
|
|
|
|
height: 28px;
|
|
|
|
width: 28px;
|
|
|
|
min-width: 28px;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|