lbry-desktop/ui/scss/component/_comments.scss

92 lines
1.5 KiB
SCSS
Raw Normal View History

.comments {
padding-top: var(--spacing-large);
}
2019-06-26 19:59:27 -04:00
.comment {
2019-12-04 14:23:43 -05:00
display: flex;
2019-10-24 13:24:53 -04:00
flex-direction: row;
2020-01-08 14:20:30 -05:00
font-size: var(--font-body);
2019-12-04 13:07:40 -05:00
margin: 0;
2019-05-21 16:15:37 -05:00
&:not(:last-of-type) {
2019-11-22 16:13:00 -05:00
border-bottom: 1px solid var(--color-border);
padding: var(--spacing-medium) 0;
}
&:last-of-type {
padding-top: var(--spacing-medium);
2019-05-22 13:59:46 -05:00
}
}
2020-03-20 15:09:45 -04:00
.comment__create--reply {
margin-top: var(--spacing-small);
}
2020-02-04 22:55:00 -05:00
.comment__reply {
2020-03-20 15:09:45 -04:00
border-left: 5px solid var(--color-primary-alt);
margin-left: var(--spacing-medium);
2020-04-14 13:43:59 -04:00
.comment__author-thumbnail {
margin-left: var(--spacing-medium);
}
2020-02-04 22:55:00 -05:00
}
2020-03-20 15:09:45 -04:00
.comment__reply-button {
2020-02-04 22:55:00 -05:00
margin-top: var(--spacing-small);
}
2019-10-24 13:24:53 -04:00
.comment__body_container {
2019-12-04 13:07:40 -05:00
padding-right: var(--spacing-small);
flex: 1;
2019-10-24 13:24:53 -04:00
}
2019-05-22 13:59:46 -05:00
.comment__meta {
display: flex;
justify-content: space-between;
2019-10-24 13:24:53 -04:00
text-overflow: ellipsis;
2019-12-04 13:07:40 -05:00
margin-bottom: var(--spacing-small);
}
2020-02-10 15:49:43 -05:00
.comment__meta-information {
justify-content: flex-start;
display: flex;
}
.comment__message {
white-space: pre-line;
2019-12-04 13:07:40 -05:00
margin-top: var(--spacing-small);
}
.comment__author {
2019-12-04 13:07:40 -05:00
text-overflow: ellipsis;
2020-01-20 11:47:03 -05:00
padding-right: var(--spacing-xsmall);
}
.comment__time {
2019-12-04 13:07:40 -05:00
opacity: 0.3;
white-space: nowrap;
2019-05-21 16:15:37 -05:00
}
.comment__menu {
align-self: flex-end;
}
.comment__char-count {
align-self: flex-end;
2019-11-22 16:13:00 -05:00
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);
}