2022-02-11 19:50:55 +01:00
|
|
|
$thumbnailWidth: 2.5rem;
|
2022-02-12 16:55:50 +01:00
|
|
|
$thumbnailWidthSmall: 2rem;
|
2020-08-24 19:35:21 +02:00
|
|
|
|
2020-04-01 20:43:50 +02:00
|
|
|
.comments {
|
2020-08-24 19:35:21 +02:00
|
|
|
list-style-type: none;
|
|
|
|
font-size: var(--font-small);
|
2020-08-25 21:54:06 +02:00
|
|
|
margin-top: var(--spacing-l);
|
2022-02-01 21:31:39 +01:00
|
|
|
|
2022-03-09 14:21:18 +01:00
|
|
|
.channel-name {
|
|
|
|
font-size: var(--font-small);
|
|
|
|
}
|
|
|
|
|
2022-02-01 21:31:39 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
|
|
|
|
div {
|
|
|
|
font-size: var(--font-xsmall) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.channel-name {
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
2022-02-12 17:38:37 +01:00
|
|
|
font-size: var(--font-xsmall);
|
2022-02-01 21:31:39 +01:00
|
|
|
}
|
|
|
|
}
|
2020-08-24 19:35:21 +02:00
|
|
|
}
|
|
|
|
|
2021-07-15 15:25:48 +02:00
|
|
|
.comments--contracted {
|
|
|
|
max-height: 5rem;
|
|
|
|
overflow: hidden;
|
|
|
|
-webkit-mask-image: -webkit-gradient(linear, left 30%, left bottom, from(rgba(0, 0, 0, 1)), to(rgba(0, 0, 0, 0)));
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
|
|
|
|
2020-08-24 19:35:21 +02:00
|
|
|
.comments--replies {
|
2020-09-11 19:51:31 +02:00
|
|
|
list-style-type: none;
|
2020-10-07 21:14:52 +02:00
|
|
|
margin-left: var(--spacing-s);
|
2020-08-24 19:35:21 +02:00
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2020-10-06 21:35:13 +02:00
|
|
|
.comment__sort {
|
2021-04-23 21:59:48 +02:00
|
|
|
margin-right: var(--spacing-s);
|
2022-02-11 19:50:55 +01:00
|
|
|
display: inline-block;
|
2020-10-06 21:35:13 +02:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-top: 0;
|
|
|
|
display: inline;
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2020-10-06 21:35:13 +02:00
|
|
|
}
|
|
|
|
|
2019-06-27 01:59:27 +02:00
|
|
|
.comment {
|
2021-03-24 03:53:33 +01:00
|
|
|
width: 100%;
|
2019-12-04 20:23:43 +01:00
|
|
|
display: flex;
|
2020-09-11 19:51:31 +02:00
|
|
|
flex-direction: column;
|
2020-08-24 19:35:21 +02:00
|
|
|
font-size: var(--font-small);
|
2019-12-04 19:07:40 +01:00
|
|
|
margin: 0;
|
2021-04-23 21:59:48 +02:00
|
|
|
position: relative;
|
2019-12-04 19:07:40 +01:00
|
|
|
|
2020-08-24 19:35:21 +02:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: var(--spacing-l);
|
2022-02-01 21:31:39 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-top: var(--spacing-m) !important;
|
|
|
|
}
|
2019-05-22 20:59:46 +02:00
|
|
|
}
|
2020-06-03 17:09:02 +02:00
|
|
|
|
2020-10-20 19:10:02 +02:00
|
|
|
.comment__author-thumbnail {
|
2020-08-24 19:35:21 +02:00
|
|
|
@include handleChannelGif($thumbnailWidthSmall);
|
|
|
|
margin-right: 0;
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
@include handleChannelGif($thumbnailWidth);
|
|
|
|
}
|
2021-02-16 22:59:05 +01:00
|
|
|
|
2022-02-12 16:54:46 +01:00
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 2rem;
|
|
|
|
height: 2rem;
|
|
|
|
.channel-staked__indicator {
|
2021-04-26 21:19:17 +02:00
|
|
|
margin-left: 0.1rem;
|
|
|
|
}
|
|
|
|
}
|
2020-06-03 17:09:02 +02:00
|
|
|
}
|
2019-05-22 20:59:46 +02:00
|
|
|
}
|
|
|
|
|
2020-10-20 19:10:02 +02:00
|
|
|
.comment__thumbnail-wrapper {
|
2020-10-12 21:21:03 +02:00
|
|
|
flex: 0;
|
2022-04-09 16:07:06 +02:00
|
|
|
// margin-top: var(--spacing-xxs);
|
2020-10-12 21:21:03 +02:00
|
|
|
}
|
|
|
|
|
2020-09-11 19:51:31 +02:00
|
|
|
.comment__content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.ff-canvas {
|
|
|
|
opacity: 0 !important;
|
|
|
|
transition: opacity 1s !important;
|
|
|
|
}
|
|
|
|
.ff-image {
|
|
|
|
opacity: 1 !important;
|
|
|
|
}
|
|
|
|
}
|
2020-09-11 19:51:31 +02:00
|
|
|
}
|
|
|
|
|
2020-08-24 19:35:21 +02:00
|
|
|
.comment__replies-container {
|
|
|
|
margin: 0;
|
2022-02-01 21:31:39 +01:00
|
|
|
overflow-x: hidden;
|
2020-08-24 19:35:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__replies {
|
|
|
|
display: flex;
|
|
|
|
margin-top: var(--spacing-m);
|
2022-02-01 21:31:39 +01:00
|
|
|
margin-left: #{$thumbnailWidthSmall};
|
2020-08-24 19:35:21 +02:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-left: calc(#{$thumbnailWidth} + var(--spacing-m));
|
|
|
|
}
|
2022-02-01 21:31:39 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
}
|
2020-03-20 20:09:45 +01:00
|
|
|
}
|
|
|
|
|
2020-09-11 19:51:31 +02:00
|
|
|
.comment--reply {
|
2020-08-24 19:35:21 +02:00
|
|
|
margin: 0;
|
2020-04-14 19:43:59 +02:00
|
|
|
|
2020-08-24 19:35:21 +02:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: var(--spacing-m);
|
2020-04-14 19:43:59 +02:00
|
|
|
}
|
2020-02-05 04:55:00 +01:00
|
|
|
}
|
|
|
|
|
2020-10-07 21:14:52 +02:00
|
|
|
.comment--top-level {
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: var(--spacing-l);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-08 21:55:16 +02:00
|
|
|
.comment--slimed {
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
2021-04-23 21:59:48 +02:00
|
|
|
.comment__edit-input {
|
|
|
|
margin-top: var(--spacing-xxs);
|
|
|
|
}
|
|
|
|
|
2020-08-24 19:35:21 +02:00
|
|
|
.comment__threadline {
|
|
|
|
@extend .button--alt;
|
|
|
|
height: auto;
|
|
|
|
align-self: stretch;
|
2020-10-07 21:14:52 +02:00
|
|
|
padding: 1px;
|
2020-08-24 19:35:21 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
background-color: var(--color-comment-threadline);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--color-comment-threadline-hover);
|
|
|
|
border-color: var(--color-comment-threadline-hover);
|
|
|
|
}
|
2020-10-07 21:14:52 +02:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
padding: 2px;
|
|
|
|
}
|
2020-08-24 19:35:21 +02:00
|
|
|
}
|
|
|
|
|
2020-09-11 19:51:31 +02:00
|
|
|
.comment--highlighted {
|
2020-08-24 19:35:21 +02:00
|
|
|
background: var(--color-comment-highlighted);
|
2020-10-08 17:31:36 +02:00
|
|
|
box-shadow: 0 0 0 5px var(--color-comment-highlighted);
|
2022-02-11 19:50:55 +01:00
|
|
|
border-radius: 2px;
|
2020-02-05 04:55:00 +01:00
|
|
|
}
|
|
|
|
|
2021-04-23 21:59:48 +02:00
|
|
|
.comment__body-container {
|
2021-10-01 16:13:45 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-width: 0;
|
2020-01-30 02:02:21 +01:00
|
|
|
flex: 1;
|
2020-08-24 19:35:21 +02:00
|
|
|
margin-left: var(--spacing-xs);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
2021-04-23 21:59:48 +02:00
|
|
|
margin-left: var(--spacing-s);
|
2020-08-24 19:35:21 +02:00
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.menu__button {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-04-09 16:07:06 +02:00
|
|
|
.menu__button {
|
|
|
|
.icon {
|
|
|
|
transition: transform 0.2s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
[aria-expanded='true'].menu__button {
|
|
|
|
opacity: 1;
|
2022-04-09 16:07:06 +02:00
|
|
|
// background: var(--color-header-background);
|
|
|
|
background-color: rgba(var(--color-header-button-base), 0.9);
|
|
|
|
// border-radius: var(--border-radius);
|
|
|
|
border-radius: 50%;
|
|
|
|
outline: 2px solid var(--color-header-background);
|
2022-02-11 19:50:55 +01:00
|
|
|
.icon {
|
|
|
|
stroke: var(--color-primary);
|
2022-04-09 16:07:06 +02:00
|
|
|
transform: rotate(90deg);
|
2022-02-11 19:50:55 +01:00
|
|
|
}
|
|
|
|
}
|
2019-10-24 19:24:53 +02:00
|
|
|
}
|
|
|
|
|
2020-10-08 21:55:16 +02:00
|
|
|
.comment__dead {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-07-17 22:56:36 +02:00
|
|
|
}
|
|
|
|
|
2020-02-10 21:49:43 +01:00
|
|
|
.comment__meta-information {
|
|
|
|
display: flex;
|
2021-04-05 20:13:27 +02:00
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
2020-08-24 19:35:21 +02:00
|
|
|
height: 100%;
|
2022-02-11 19:50:55 +01:00
|
|
|
width: calc(100% - var(--spacing-m) - var(--spacing-s));
|
|
|
|
|
|
|
|
.channel-name {
|
|
|
|
color: var(--color-link);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: rgba(var(--color-secondary-dynamic), 1);
|
|
|
|
}
|
|
|
|
}
|
2022-03-09 19:05:37 +01:00
|
|
|
|
|
|
|
.comment__badge svg {
|
|
|
|
height: 1.4rem;
|
|
|
|
width: 1.4rem;
|
|
|
|
}
|
2020-02-10 21:49:43 +01:00
|
|
|
}
|
|
|
|
|
2020-10-08 17:31:36 +02:00
|
|
|
.comment__pin {
|
2022-02-11 19:50:55 +01:00
|
|
|
display: inline-block;
|
2022-01-04 16:18:40 +01:00
|
|
|
margin: 0 var(--spacing-s);
|
2022-02-11 19:50:55 +01:00
|
|
|
margin-right: 0;
|
2021-08-09 08:26:03 +02:00
|
|
|
font-size: var(--font-xsmall);
|
2020-10-20 05:20:38 +02:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
width: 90%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2020-10-08 17:31:36 +02:00
|
|
|
}
|
|
|
|
|
2019-07-17 22:56:36 +02:00
|
|
|
.comment__message {
|
2020-06-09 09:20:33 +02:00
|
|
|
word-break: break-word;
|
2022-02-11 19:50:55 +01:00
|
|
|
padding-right: var(--spacing-xl);
|
2021-08-27 12:29:58 +02:00
|
|
|
color: var(--color-text);
|
2020-08-25 21:25:33 +02:00
|
|
|
|
2021-10-12 23:06:20 +02:00
|
|
|
ul li {
|
|
|
|
list-style-type: disc;
|
|
|
|
|
|
|
|
ul li {
|
|
|
|
list-style-type: circle;
|
|
|
|
}
|
2021-01-02 21:32:35 +01:00
|
|
|
}
|
|
|
|
|
2020-08-25 21:25:33 +02:00
|
|
|
p {
|
|
|
|
& + p {
|
|
|
|
margin-top: var(--spacing-xxs);
|
|
|
|
}
|
|
|
|
}
|
2022-02-01 21:31:39 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
padding-right: var(--spacing-l);
|
|
|
|
}
|
2019-07-17 22:56:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__author {
|
2020-10-06 21:35:13 +02:00
|
|
|
margin-right: var(--spacing-xs);
|
2020-08-24 19:35:21 +02:00
|
|
|
height: 100%;
|
2022-01-04 16:18:40 +01:00
|
|
|
|
|
|
|
.button__content {
|
|
|
|
max-width: 10rem;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2019-07-17 22:56:36 +02:00
|
|
|
}
|
|
|
|
|
2021-04-02 21:14:53 +02:00
|
|
|
.comment__author--creator {
|
2021-04-05 20:13:27 +02:00
|
|
|
padding: 0 3px;
|
2022-02-11 19:50:55 +01:00
|
|
|
background-color: var(--color-primary);
|
2021-04-02 21:14:53 +02:00
|
|
|
border-radius: var(--border-radius);
|
2021-04-05 20:13:27 +02:00
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
.button__content {
|
|
|
|
color: var(--color-primary-contrast);
|
|
|
|
}
|
|
|
|
.channel-name {
|
|
|
|
color: var(--color-primary-contrast);
|
|
|
|
}
|
|
|
|
|
2021-04-05 20:13:27 +02:00
|
|
|
&.button--uri-indicator {
|
2022-02-11 19:50:55 +01:00
|
|
|
color: var(--color-primary-contrast);
|
2021-04-05 20:13:27 +02:00
|
|
|
}
|
2021-04-02 21:14:53 +02:00
|
|
|
}
|
|
|
|
|
2019-07-17 22:56:36 +02:00
|
|
|
.comment__time {
|
2020-10-06 21:35:13 +02:00
|
|
|
@extend .button--uri-indicator;
|
2022-02-11 19:50:55 +01:00
|
|
|
opacity: 0.6;
|
2019-12-04 19:07:40 +01:00
|
|
|
white-space: nowrap;
|
2020-08-24 19:35:21 +02:00
|
|
|
height: 100%;
|
2021-04-23 21:59:48 +02:00
|
|
|
margin-right: var(--spacing-xs);
|
2020-10-06 21:35:13 +02:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
@include linkFocus;
|
|
|
|
}
|
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;
|
2021-02-11 06:12:41 +01:00
|
|
|
line-height: 1;
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
.menu__button {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-01-30 02:02:21 +01:00
|
|
|
}
|
|
|
|
|
2019-09-30 23:16:46 +02:00
|
|
|
.comment__char-count {
|
2020-06-13 05:58:53 +02:00
|
|
|
font-size: var(--font-xsmall);
|
2021-08-27 12:29:58 +02:00
|
|
|
color: var(--color-text);
|
2020-06-13 05:58:53 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2022-04-09 16:07:06 +02:00
|
|
|
padding: var(--spacing-xs) var(--spacing-s) var(--spacing-xs) var(--spacing-s);
|
2021-02-11 06:12:41 +01:00
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
|
|
|
|
.menu__link {
|
|
|
|
padding: 0;
|
2022-02-11 19:50:55 +01:00
|
|
|
color: var(--color-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__menu-help {
|
|
|
|
color: var(--color-text);
|
|
|
|
.icon--ExternalLink {
|
|
|
|
margin-top: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.comment__menu-help {
|
|
|
|
color: var(--color-primary-contrast);
|
|
|
|
}
|
2021-02-11 06:12:41 +01:00
|
|
|
}
|
2020-01-30 02:02:21 +01:00
|
|
|
}
|
|
|
|
|
2020-07-23 16:22:57 +02:00
|
|
|
.comment__menu-list {
|
|
|
|
box-shadow: var(--card-box-shadow);
|
|
|
|
border-radius: var(--card-radius);
|
|
|
|
padding: var(--spacing-s);
|
|
|
|
}
|
2020-08-24 19:35:21 +02:00
|
|
|
|
2021-02-11 06:12:41 +01:00
|
|
|
.comment__menu-title {
|
|
|
|
@extend .help;
|
|
|
|
margin-top: 0;
|
2021-02-11 06:40:13 +01:00
|
|
|
padding-left: var(--spacing-xs);
|
2021-02-11 06:12:41 +01:00
|
|
|
padding-right: var(--spacing-xl);
|
2021-02-11 06:40:13 +01:00
|
|
|
padding-bottom: var(--spacing-xs);
|
|
|
|
font-size: var(--font-small);
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
2022-03-30 16:40:35 +02:00
|
|
|
color: var(--color-text);
|
2021-04-26 21:19:17 +02:00
|
|
|
|
2021-06-16 04:27:58 +02:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: var(--spacing-xs);
|
|
|
|
padding-top: var(--spacing-xs);
|
|
|
|
border-top: 1px solid var(--color-border);
|
|
|
|
}
|
|
|
|
|
2021-04-26 21:19:17 +02:00
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: var(--spacing-xs);
|
|
|
|
}
|
2021-02-11 06:12:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__menu-help {
|
|
|
|
@extend .help;
|
|
|
|
margin-top: var(--spacing-xs);
|
|
|
|
padding-left: calc(18px + var(--spacing-s));
|
|
|
|
max-width: 15rem;
|
|
|
|
white-space: pre-line;
|
2021-09-08 18:31:45 +02:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2021-02-11 06:12:41 +01:00
|
|
|
}
|
|
|
|
|
2020-08-24 19:35:21 +02:00
|
|
|
.comment__actions {
|
|
|
|
display: flex;
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
|
2020-10-27 17:24:31 +01:00
|
|
|
> *:not(:last-of-type) {
|
2020-10-01 20:43:44 +02:00
|
|
|
margin-right: var(--spacing-m);
|
2020-08-24 19:35:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.button__label {
|
2020-10-27 17:24:31 +01:00
|
|
|
margin-left: var(--spacing-xs);
|
2020-08-24 19:35:21 +02:00
|
|
|
}
|
2020-09-11 19:51:31 +02:00
|
|
|
}
|
2020-08-24 19:35:21 +02:00
|
|
|
|
2020-09-11 19:51:31 +02:00
|
|
|
.comment__actions--nested {
|
|
|
|
@extend .comment__actions;
|
2020-09-29 22:42:24 +02:00
|
|
|
margin-left: calc((#{$thumbnailWidthSmall} + var(--spacing-xs)));
|
2020-09-11 19:51:31 +02:00
|
|
|
margin-top: var(--spacing-m);
|
2020-09-29 22:42:24 +02:00
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-left: calc((#{$thumbnailWidth} + var(--spacing-m)));
|
|
|
|
}
|
2020-08-24 19:35:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment__action {
|
|
|
|
@extend .button--uri-indicator;
|
|
|
|
height: auto;
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
}
|
|
|
|
|
2020-10-27 17:24:31 +01:00
|
|
|
.comment__action--creator-like {
|
|
|
|
&:disabled {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
.button__content {
|
|
|
|
.icon {
|
|
|
|
stroke: var(--color-text);
|
|
|
|
fill: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
.button__content {
|
|
|
|
.icon {
|
|
|
|
fill: var(--color-primary);
|
|
|
|
}
|
|
|
|
}
|
2020-10-06 21:35:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-11 19:51:31 +02:00
|
|
|
.comment__action--active {
|
|
|
|
.icon {
|
|
|
|
stroke: var(--color-primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-24 19:35:21 +02:00
|
|
|
.comment__action--nested {
|
|
|
|
@extend .comment__action;
|
|
|
|
}
|
|
|
|
|
2021-10-27 20:20:47 +02:00
|
|
|
.comment__action--nested {
|
2020-08-24 19:35:21 +02:00
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
margin-left: calc((#{$thumbnailWidthSmall} + var(--spacing-xs)) * 2 + var(--spacing-m) + 4px);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
margin-left: calc((#{$thumbnailWidth} + var(--spacing-m)) * 2 + var(--spacing-m) + 4px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__more-below {
|
|
|
|
margin-top: var(--spacing-l);
|
|
|
|
}
|
2020-10-27 17:24:31 +01:00
|
|
|
|
|
|
|
.comment__creator-like {
|
2020-10-28 03:16:46 +01:00
|
|
|
height: 0.8rem;
|
|
|
|
width: 0.8rem;
|
2020-10-27 17:24:31 +01:00
|
|
|
margin-left: 3px;
|
|
|
|
z-index: 3;
|
2020-10-28 03:16:46 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 0.4rem;
|
|
|
|
left: 0.4rem;
|
2020-10-27 17:24:31 +01:00
|
|
|
}
|
2021-02-11 06:12:41 +01:00
|
|
|
|
|
|
|
.comment__menu-active {
|
2021-02-11 06:40:13 +01:00
|
|
|
padding: var(--spacing-xs);
|
|
|
|
padding-bottom: 0;
|
2021-02-11 06:12:41 +01:00
|
|
|
border-top: 1px solid var(--color-border);
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
|
|
|
margin-right: var(--spacing-xs);
|
|
|
|
height: 1.8rem;
|
|
|
|
width: 1.8rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__menu-channel {
|
|
|
|
@extend .help;
|
|
|
|
font-size: var(--font-xsmall);
|
|
|
|
margin-top: 0;
|
|
|
|
max-width: 10rem;
|
|
|
|
white-space: pre-line;
|
|
|
|
margin-right: var(--spacing-s);
|
2022-02-11 19:50:55 +01:00
|
|
|
color: var(--color-text);
|
2021-02-11 06:12:41 +01:00
|
|
|
}
|
2021-04-23 21:59:48 +02:00
|
|
|
|
2021-07-15 16:43:28 +02:00
|
|
|
.comment--blocked {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2021-08-04 10:54:20 +02:00
|
|
|
|
2021-10-01 14:10:27 +02:00
|
|
|
.comments-own {
|
|
|
|
.section__actions {
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comments-own--claim {
|
|
|
|
min-width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-medium) {
|
|
|
|
min-width: 40%;
|
|
|
|
max-width: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media__thumb {
|
|
|
|
flex-shrink: 0;
|
|
|
|
overflow: hidden;
|
2022-02-11 19:50:55 +01:00
|
|
|
$width: 6rem;
|
2021-10-01 14:10:27 +02:00
|
|
|
@include handleClaimListGifThumbnail($width);
|
2022-02-11 19:50:55 +01:00
|
|
|
width: $width !important;
|
2021-10-01 14:10:27 +02:00
|
|
|
height: calc(#{$width} * (9 / 16));
|
|
|
|
margin-right: var(--spacing-s);
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
$width: 10rem;
|
|
|
|
width: $width !important;
|
|
|
|
height: calc(#{$width} * (9 / 16));
|
|
|
|
}
|
2021-10-01 14:10:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.channel-thumbnail {
|
|
|
|
@include handleChannelGif(calc(5rem * 9 / 16));
|
|
|
|
margin-right: var(--spacing-xs);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-small) {
|
|
|
|
@include handleChannelGif(calc(5rem * 9 / 16));
|
|
|
|
margin-right: var(--spacing-s);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.claim-preview__wrapper {
|
|
|
|
margin: 0 0;
|
|
|
|
padding: 0;
|
|
|
|
|
2022-02-11 19:50:55 +01:00
|
|
|
&:hover {
|
|
|
|
.claim-preview__hover-actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-01 14:10:27 +02:00
|
|
|
@media (min-width: $breakpoint-medium) {
|
|
|
|
margin: 0 var(--spacing-xs);
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
}
|
2021-10-01 14:10:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
|
|
|
margin-top: var(--spacing-s);
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: var(--spacing-m);
|
|
|
|
border-left: 4px solid var(--color-border);
|
|
|
|
|
|
|
|
@media (min-width: $breakpoint-medium) {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
}
|
2022-02-11 19:50:55 +01:00
|
|
|
@media (max-width: $breakpoint-medium) {
|
|
|
|
margin-left: var(--spacing-s);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
border-bottom: 1px solid var(--color-border);
|
2021-10-01 14:10:27 +02:00
|
|
|
}
|
|
|
|
}
|
2021-10-28 22:25:34 +02:00
|
|
|
|
|
|
|
.sticker__comment {
|
|
|
|
margin-left: var(--spacing-m);
|
2022-02-11 19:50:55 +01:00
|
|
|
height: 6rem;
|
2021-10-28 22:25:34 +02:00
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
}
|
2022-02-04 21:59:11 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
height: 5rem;
|
|
|
|
}
|
2021-10-28 22:25:34 +02:00
|
|
|
}
|
2021-11-05 20:31:51 +01:00
|
|
|
|
|
|
|
.emote {
|
|
|
|
max-width: 1.5rem;
|
|
|
|
max-height: 1.5rem;
|
2022-02-01 21:31:39 +01:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint-small) {
|
|
|
|
max-width: 1.25rem;
|
|
|
|
max-height: 1.25rem;
|
|
|
|
}
|
2021-11-05 20:31:51 +01:00
|
|
|
}
|