111 lines
1.9 KiB
SCSS
111 lines
1.9 KiB
SCSS
.comments {
|
|
padding-top: var(--spacing-l);
|
|
}
|
|
|
|
.comment {
|
|
display: flex;
|
|
flex-direction: row;
|
|
font-size: var(--font-body);
|
|
margin: 0;
|
|
|
|
&:not(:last-of-type) {
|
|
border-bottom: 1px solid var(--color-border);
|
|
padding: var(--spacing-m) 0;
|
|
}
|
|
&:last-of-type {
|
|
padding-top: var(--spacing-m);
|
|
}
|
|
|
|
.channel-thumbnail {
|
|
@include handleChannelGif(3rem);
|
|
}
|
|
}
|
|
|
|
.comment__create--reply {
|
|
margin-top: var(--spacing-s);
|
|
}
|
|
|
|
.comment__reply {
|
|
border-left: 5px solid var(--color-primary-alt);
|
|
margin-left: var(--spacing-m);
|
|
|
|
.comment__author-thumbnail {
|
|
margin-left: var(--spacing-m);
|
|
}
|
|
}
|
|
|
|
.comment__reply-button {
|
|
margin-top: var(--spacing-s);
|
|
}
|
|
|
|
.comment__body_container {
|
|
padding-right: var(--spacing-s);
|
|
flex: 1;
|
|
width: 80%;
|
|
}
|
|
|
|
.comment__meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
text-overflow: ellipsis;
|
|
margin-bottom: var(--spacing-s);
|
|
}
|
|
|
|
.comment__meta-information {
|
|
justify-content: flex-start;
|
|
display: flex;
|
|
}
|
|
|
|
.comment__message {
|
|
white-space: pre-line;
|
|
word-break: break-word;
|
|
margin-top: var(--spacing-s);
|
|
}
|
|
|
|
.comment__author {
|
|
text-overflow: ellipsis;
|
|
padding-right: var(--spacing-xs);
|
|
}
|
|
|
|
.comment__time {
|
|
opacity: 0.3;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.comment__menu {
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.comment__char-count {
|
|
align-self: flex-end;
|
|
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;
|
|
}
|
|
|
|
.comment__menu-option {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: var(--spacing-s);
|
|
font-size: var(--font-small);
|
|
}
|
|
|
|
.comment__menu-icon--hovering {
|
|
stroke: var(--color-comment-menu-hovering);
|
|
}
|
|
|
|
.comment__menu-icon {
|
|
stroke: var(--color-comment-menu);
|
|
}
|
|
|
|
.comment__menu-list {
|
|
box-shadow: var(--card-box-shadow);
|
|
border-radius: var(--card-radius);
|
|
padding: var(--spacing-s);
|
|
}
|