2020-04-01 20:43:50 +02:00
|
|
|
.comments {
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-top: var(--spacing-l);
|
2020-04-01 20:43:50 +02:00
|
|
|
}
|
|
|
|
|
2019-06-27 01:59:27 +02:00
|
|
|
.comment {
|
2019-12-04 20:23:43 +01:00
|
|
|
display: flex;
|
2019-10-24 19:24:53 +02:00
|
|
|
flex-direction: row;
|
2020-01-08 20:20:30 +01:00
|
|
|
font-size: var(--font-body);
|
2019-12-04 19:07:40 +01:00
|
|
|
margin: 0;
|
|
|
|
|
2019-05-21 23:15:37 +02:00
|
|
|
&:not(:last-of-type) {
|
2019-11-22 22:13:00 +01:00
|
|
|
border-bottom: 1px solid var(--color-border);
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-m) 0;
|
2020-04-01 20:43:50 +02:00
|
|
|
}
|
|
|
|
&:last-of-type {
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-top: var(--spacing-m);
|
2019-05-22 20:59:46 +02:00
|
|
|
}
|
2020-06-03 17:09:02 +02:00
|
|
|
|
|
|
|
.channel-thumbnail {
|
|
|
|
@include handleChannelGif(3rem);
|
|
|
|
}
|
2019-05-22 20:59:46 +02:00
|
|
|
}
|
|
|
|
|
2020-03-20 20:09:45 +01:00
|
|
|
.comment__create--reply {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-s);
|
2020-03-20 20:09:45 +01:00
|
|
|
}
|
|
|
|
|
2020-02-05 04:55:00 +01:00
|
|
|
.comment__reply {
|
2020-03-20 20:09:45 +01:00
|
|
|
border-left: 5px solid var(--color-primary-alt);
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-left: var(--spacing-m);
|
2020-04-14 19:43:59 +02:00
|
|
|
|
|
|
|
.comment__author-thumbnail {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-left: var(--spacing-m);
|
2020-04-14 19:43:59 +02:00
|
|
|
}
|
2020-02-05 04:55:00 +01:00
|
|
|
}
|
|
|
|
|
2020-03-20 20:09:45 +01:00
|
|
|
.comment__reply-button {
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-s);
|
2020-02-05 04:55:00 +01:00
|
|
|
}
|
|
|
|
|
2019-10-24 19:24:53 +02:00
|
|
|
.comment__body_container {
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-right: var(--spacing-s);
|
2020-01-30 02:02:21 +01:00
|
|
|
flex: 1;
|
2020-06-09 11:04:38 +02:00
|
|
|
width: 80%;
|
2019-10-24 19:24:53 +02:00
|
|
|
}
|
|
|
|
|
2019-05-22 20:59:46 +02:00
|
|
|
.comment__meta {
|
2020-01-30 02:02:21 +01:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2019-10-24 19:24:53 +02:00
|
|
|
text-overflow: ellipsis;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-bottom: var(--spacing-s);
|
2019-07-17 22:56:36 +02:00
|
|
|
}
|
|
|
|
|
2020-02-10 21:49:43 +01:00
|
|
|
.comment__meta-information {
|
|
|
|
justify-content: flex-start;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2019-07-17 22:56:36 +02:00
|
|
|
.comment__message {
|
|
|
|
white-space: pre-line;
|
2020-06-09 09:20:33 +02:00
|
|
|
word-break: break-word;
|
2020-06-01 19:03:19 +02:00
|
|
|
margin-top: var(--spacing-s);
|
2019-07-17 22:56:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__author {
|
2019-12-04 19:07:40 +01:00
|
|
|
text-overflow: ellipsis;
|
2020-06-01 19:03:19 +02:00
|
|
|
padding-right: var(--spacing-xs);
|
2019-07-17 22:56:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__time {
|
2019-12-04 19:07:40 +01:00
|
|
|
opacity: 0.3;
|
|
|
|
white-space: nowrap;
|
2019-05-21 23:15:37 +02:00
|
|
|
}
|
2019-09-30 23:16:46 +02:00
|
|
|
|
2020-01-30 02:02:21 +01:00
|
|
|
.comment__menu {
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
|
|
|
|
2019-09-30 23:16:46 +02:00
|
|
|
.comment__char-count {
|
|
|
|
align-self: flex-end;
|
2020-06-13 05:58:53 +02:00
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
padding-top: var(--spacing-xs);
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__char-count-mde {
|
|
|
|
align-self: flex-end;
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
padding-right: var(--spacing-xs); // Align with SimpleMDE's status bar
|
|
|
|
padding-bottom: 0;
|
2019-09-30 23:16:46 +02:00
|
|
|
}
|
2020-01-30 02:02:21 +01:00
|
|
|
|
|
|
|
.comment__menu-option {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-06-01 19:03:19 +02:00
|
|
|
padding: var(--spacing-s);
|
2020-01-30 02:02:21 +01:00
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__menu-icon--hovering {
|
|
|
|
stroke: var(--color-comment-menu-hovering);
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__menu-icon {
|
|
|
|
stroke: var(--color-comment-menu);
|
|
|
|
}
|