86 lines
1.4 KiB
SCSS
86 lines
1.4 KiB
SCSS
.comments {
|
|
@extend .ul--no-style;
|
|
}
|
|
|
|
.comment {
|
|
padding: var(--spacing-small) 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
font-size: var(--font-body);
|
|
padding: var(--spacing-medium) 0;
|
|
margin: 0;
|
|
|
|
&:first-of-type {
|
|
padding-top: 0;
|
|
}
|
|
|
|
&:not(:last-of-type) {
|
|
border-bottom: 1px solid var(--color-border);
|
|
}
|
|
}
|
|
|
|
.comment__reply {
|
|
border-left: 5px solid var(--color-border);
|
|
padding-left: var(--spacing-small);
|
|
}
|
|
|
|
.comment__reply-form {
|
|
border-top: 1px solid var(--color-border);
|
|
margin-top: var(--spacing-small);
|
|
}
|
|
|
|
.comment__body_container {
|
|
padding-right: var(--spacing-small);
|
|
flex: 1;
|
|
}
|
|
|
|
.comment__meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
text-overflow: ellipsis;
|
|
margin-bottom: var(--spacing-small);
|
|
}
|
|
|
|
.comment__meta-information {
|
|
justify-content: flex-start;
|
|
display: flex;
|
|
}
|
|
|
|
.comment__message {
|
|
white-space: pre-line;
|
|
margin-top: var(--spacing-small);
|
|
}
|
|
|
|
.comment__author {
|
|
text-overflow: ellipsis;
|
|
padding-right: var(--spacing-xsmall);
|
|
}
|
|
|
|
.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-small);
|
|
}
|
|
|
|
.comment__menu-option {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: var(--spacing-small);
|
|
font-size: var(--font-small);
|
|
}
|
|
|
|
.comment__menu-icon--hovering {
|
|
stroke: var(--color-comment-menu-hovering);
|
|
}
|
|
|
|
.comment__menu-icon {
|
|
stroke: var(--color-comment-menu);
|
|
}
|