|
|
@ -5,16 +5,13 @@
|
|
|
|
flex-direction: row;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
/* margin-bottom: 1rem; */
|
|
|
|
max-width: var(--content-width);
|
|
|
|
max-width: var(--content-width);
|
|
|
|
padding: 0 var(--gap-half);
|
|
|
|
padding: 0 0 0 var(--gap-half);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mbox:last-child {
|
|
|
|
.mbox:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mbox .mbox {
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mbox-img {
|
|
|
|
.mbox-img {
|
|
|
|
align-self: start;
|
|
|
|
align-self: start;
|
|
|
@ -42,10 +39,14 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mbox-body {
|
|
|
|
.mbox-body {
|
|
|
|
|
|
|
|
flex-basis: 100%;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
word-break: break-word;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-body div a {
|
|
|
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
}
|
|
|
|
.mbox-img + .mbox-body {
|
|
|
|
.mbox-img + .mbox-body {
|
|
|
|
flex-basis: calc(100% - var(--profileimg-size) - var(--gap-half));
|
|
|
|
flex-basis: calc(100% - var(--profileimg-size) - var(--gap-half));
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -82,7 +83,9 @@
|
|
|
|
overflow: clip;
|
|
|
|
overflow: clip;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mbox .mbox {
|
|
|
|
.mbox .mbox {
|
|
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: visible;
|
|
|
|
overflow: visible;
|
|
|
|
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mbox .buttons {
|
|
|
|
.mbox .buttons {
|
|
|
@ -95,32 +98,23 @@
|
|
|
|
.mbox button img + small {
|
|
|
|
.mbox button img + small {
|
|
|
|
padding-left: .5rem;
|
|
|
|
padding-left: .5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mobx-replies {
|
|
|
|
.mbox-replies {
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
flex-basis: 100%;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mobx-replies .mobx-replies {
|
|
|
|
.mbox-replies .mbox-replies {
|
|
|
|
--reply-padding: 3rem;
|
|
|
|
--reply-padding: 3rem;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
padding: 0 1rem 0 var(--reply-padding);
|
|
|
|
padding: 0 0 0 var(--reply-padding);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mobx-replies .mobx-replies .mobx-replies {
|
|
|
|
.mbox-replies .mbox-replies .mbox-replies {
|
|
|
|
--reply-padding: 0;
|
|
|
|
--reply-padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mbox .mbox::before,
|
|
|
|
/* direct replies */
|
|
|
|
.mobx-replies::before {
|
|
|
|
.mbox-replies .mbox-replies .mbox::before {
|
|
|
|
background-color: var(--bgcolor-inactive);
|
|
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
|
|
content: "";
|
|
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
height: 200vh;
|
|
|
|
|
|
|
|
left: var(--profileimg-size-half);
|
|
|
|
|
|
|
|
margin-left: -.1rem;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top: -200vh;
|
|
|
|
|
|
|
|
width: .2rem;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mobx-replies .mbox .mbox::before {
|
|
|
|
|
|
|
|
background: none;
|
|
|
|
background: none;
|
|
|
|
border-color: var(--bgcolor-inactive);;
|
|
|
|
border-color: var(--bgcolor-inactive);;
|
|
|
|
border-style: solid;
|
|
|
|
border-style: solid;
|
|
|
@ -134,24 +128,76 @@
|
|
|
|
top: 0;
|
|
|
|
top: 0;
|
|
|
|
width: .8rem;
|
|
|
|
width: .8rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mobx-replies .mbox .mbox::after {
|
|
|
|
.mbox-replies .mbox-replies .mbox-replies .mbox::before {
|
|
|
|
background-color: var(--bgcolor-inactive);
|
|
|
|
content: none;
|
|
|
|
border: none;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* .mbox-replies .mbox-replies .mbox-replies .mbox::after, */
|
|
|
|
|
|
|
|
.mbox-replies .mbox-replies .mbox-replies::before {
|
|
|
|
|
|
|
|
content: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mbox-body,
|
|
|
|
|
|
|
|
.mbox-has-replies:not(:last-child) {
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-has-replies > .mbox-body::after,
|
|
|
|
|
|
|
|
.mbox-replies .mbox-has-replies:not(:last-child)::after,
|
|
|
|
|
|
|
|
.mbox-has-replies:not(:last-child) .mbox > .mbox-body::after,
|
|
|
|
|
|
|
|
.mbox-has-replies .mbox:not(:last-child) > .mbox-body::after {
|
|
|
|
|
|
|
|
bottom: 0;
|
|
|
|
content: "";
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
display: block;
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
left: calc(-1 * var(--profileimg-size-quarter));
|
|
|
|
|
|
|
|
margin-left: -.1rem;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
top: -100vh;
|
|
|
|
top: .2rem;
|
|
|
|
width: .2rem;
|
|
|
|
width: .2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* support visualisation of 3 levels of thread nesting, rest render flat without line */
|
|
|
|
|
|
|
|
.mbox .mobx-replies .mobx-replies::before,
|
|
|
|
.mbox-body::after,
|
|
|
|
.mobx-replies .mobx-replies .mbox .mbox::before {
|
|
|
|
.mbox-has-replies::after {
|
|
|
|
|
|
|
|
background: var(--bgcolor-inactive);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-has-replies .mbox:not(:last-child) > .mbox-body::after {
|
|
|
|
|
|
|
|
left: -33px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-has-replies .mbox-has-replies .mbox:not(:last-child) > .mbox-body::after {
|
|
|
|
|
|
|
|
left: -36px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-has-replies > .mbox-body::after {
|
|
|
|
|
|
|
|
left: -33px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-has-replies:not(:last-child) .mbox > .mbox-body::after {
|
|
|
|
|
|
|
|
left: -33px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-has-replies:not(:last-child)::after {
|
|
|
|
|
|
|
|
left: 18px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mbox-replies .mbox-has-replies:not(:last-child)::after {
|
|
|
|
|
|
|
|
left: 19px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-replies .mbox-replies .mbox-has-replies:not(:last-child)::after {
|
|
|
|
|
|
|
|
left: -11px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mbox-replies .mbox-replies .mbox-has-replies > .mbox-body::after {
|
|
|
|
|
|
|
|
left: -18px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-has-replies .mbox-has-replies .mbox-has-replies .mbox:not(:last-child) > .mbox-body::after {
|
|
|
|
|
|
|
|
left: -18px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-replies .mbox:not(.mbox-has-replies):last-child > .mbox-body::after {
|
|
|
|
content: none;
|
|
|
|
content: none;
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.mobx-replies .mbox .mbox .mbox-img {
|
|
|
|
|
|
|
|
|
|
|
|
.mbox-replies .mbox-replies .mbox-has-replies.mbox:not(:last-child) > .mbox-body::after {
|
|
|
|
|
|
|
|
left: -18px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mbox-replies .mbox .mbox .mbox-img {
|
|
|
|
--profileimg-size: 2rem;
|
|
|
|
--profileimg-size: 2rem;
|
|
|
|
left: -.2rem;
|
|
|
|
left: -.2rem;
|
|
|
|
margin-right: .5rem;
|
|
|
|
margin-right: .5rem;
|
|
|
@ -159,6 +205,22 @@
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.mbox-replies .mbox .mbox .mbox-body {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
font-size: var(--font-small);
|
|
|
|
|
|
|
|
padding-bottom: var(--gap-half);
|
|
|
|
|
|
|
|
padding-top: var(--gap-eight);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-replies .mbox .mbox .mbox-header a:last-of-type::after {
|
|
|
|
|
|
|
|
content: " ";
|
|
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
padding-right: var(--gap-half);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.mbox-replies .mbox .mbox .buttons {
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[data-append]::after {
|
|
|
|
[data-append]::after {
|
|
|
|
color: var(--color-accent);
|
|
|
|
color: var(--color-accent);
|
|
|
|
content: "…";
|
|
|
|
content: "…";
|
|
|
|