2018-08-06 22:19:35 +00:00
|
|
|
.comment {
|
2018-12-11 01:30:34 +00:00
|
|
|
margin: 10px;
|
2018-08-06 22:19:35 +00:00
|
|
|
|
2018-08-08 01:53:33 +00:00
|
|
|
&__reply-toggle {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&:checked ~ .comment--reply {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--reply {
|
|
|
|
display: none;
|
2018-08-06 22:19:35 +00:00
|
|
|
}
|
|
|
|
|
2018-12-15 22:15:35 +00:00
|
|
|
&--deleted > &__container {
|
|
|
|
opacity: .5;
|
|
|
|
transition: opacity .2s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: .9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-06 22:19:35 +00:00
|
|
|
&__container {
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
|
|
|
|
2018-08-17 01:49:43 +00:00
|
|
|
&__mention {
|
2019-08-13 02:42:12 +00:00
|
|
|
color: @user-colour;
|
2018-09-28 08:05:10 +00:00
|
|
|
color: var(--user-colour);
|
2018-08-17 01:49:43 +00:00
|
|
|
text-decoration: none;
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-06 22:19:35 +00:00
|
|
|
&__actions {
|
|
|
|
list-style: none;
|
|
|
|
display: flex;
|
|
|
|
font-size: .9em;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__action {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
vertical-align: middle;
|
2018-08-08 01:53:33 +00:00
|
|
|
cursor: pointer;
|
2018-08-06 22:19:35 +00:00
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--link:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--post {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--button {
|
|
|
|
cursor: pointer;
|
|
|
|
font: 12px/20px @mio-font-regular;
|
|
|
|
padding: 0 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--hide {
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity .2s;
|
|
|
|
}
|
|
|
|
|
2018-08-10 04:20:54 +00:00
|
|
|
&--voted {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
2018-08-06 22:19:35 +00:00
|
|
|
&__checkbox {
|
|
|
|
vertical-align: text-top;
|
|
|
|
margin-right: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__replies {
|
|
|
|
&--indent {
|
|
|
|
&-1, &-2, &-3, &-4, &-5 {
|
2018-12-11 20:42:59 +00:00
|
|
|
margin-left: 20px;
|
2018-08-06 22:19:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment__avatar {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
height: 50px;
|
|
|
|
width: 50px;
|
2018-12-11 20:42:59 +00:00
|
|
|
margin-right: 5px;
|
2018-08-06 22:19:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
|
|
|
word-wrap: break-word;
|
2018-12-11 20:42:59 +00:00
|
|
|
padding-left: 5px;
|
2018-12-30 20:42:01 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.comment__action--hide {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2018-08-06 22:19:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&__info {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__text {
|
|
|
|
margin-right: 2px;
|
|
|
|
|
|
|
|
&--input {
|
|
|
|
min-width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
min-height: 50px;
|
|
|
|
font: 12px/20px @mio-font-regular;
|
|
|
|
margin-right: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__user {
|
2019-08-13 02:42:12 +00:00
|
|
|
color: @user-colour;
|
2018-09-23 14:42:15 +00:00
|
|
|
color: var(--user-colour);
|
2018-08-06 22:19:35 +00:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&--link:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__date,
|
|
|
|
&__pin {
|
|
|
|
color: #666;
|
|
|
|
font-size: .9em;
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__link {
|
|
|
|
color: #666;
|
|
|
|
display: inline-flex;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__pin {
|
|
|
|
&:before {
|
|
|
|
content: "-";
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
}
|