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

72 lines
1.2 KiB
SCSS
Raw Normal View History

2019-12-04 20:23:43 +01:00
.comments {
@extend .ul--no-style;
}
2019-06-27 01:59:27 +02:00
.comment {
2019-10-24 19:24:53 +02:00
padding: var(--spacing-small) 0;
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
padding: var(--spacing-medium) 0;
margin: 0;
&:first-of-type {
padding-top: 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);
2019-05-22 20:59:46 +02:00
}
}
2019-10-24 19:24:53 +02:00
.comment__body_container {
2019-12-04 19:07:40 +01:00
padding-right: var(--spacing-small);
flex: 1;
2019-10-24 19:24:53 +02:00
}
2019-05-22 20:59:46 +02:00
.comment__meta {
display: flex;
justify-content: space-between;
2019-10-24 19:24:53 +02:00
text-overflow: ellipsis;
2019-12-04 19:07:40 +01:00
margin-bottom: var(--spacing-small);
}
.comment__message {
white-space: pre-line;
2019-12-04 19:07:40 +01:00
margin-top: var(--spacing-small);
}
.comment__author {
2019-12-04 19:07:40 +01:00
text-overflow: ellipsis;
2020-01-20 17:47:03 +01:00
padding-right: var(--spacing-xsmall);
}
.comment__time {
2019-12-04 19:07:40 +01:00
opacity: 0.3;
white-space: nowrap;
2019-05-21 23:15:37 +02:00
}
.comment__menu {
align-self: flex-end;
}
.comment__char-count {
align-self: flex-end;
2019-11-22 22:13:00 +01: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);
}