2016-05-18 01:03:08 +08:00
|
|
|
.timeline-loading {
|
|
|
|
width: 900px;
|
|
|
|
}
|
|
|
|
|
2016-05-20 00:16:19 +08:00
|
|
|
.timeline-container {
|
2016-05-18 01:03:08 +08:00
|
|
|
box-sizing: border-box;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("timeline");
|
2022-09-15 22:54:08 +08:00
|
|
|
transform: translateZ(0);
|
|
|
|
|
2016-05-28 02:08:31 +08:00
|
|
|
&.timeline-docked-bottom {
|
2021-12-29 01:01:20 +08:00
|
|
|
margin-bottom: -4em;
|
2021-04-20 01:00:12 +08:00
|
|
|
@media screen and (prefers-reduced-motion: no-preference) {
|
2021-12-29 01:01:20 +08:00
|
|
|
transition: margin-bottom 0.5s ease-in;
|
2021-04-20 01:00:12 +08:00
|
|
|
}
|
2016-05-28 01:37:28 +08:00
|
|
|
.timeline-footer-controls {
|
2016-05-28 02:39:31 +08:00
|
|
|
opacity: 0;
|
2016-08-02 23:34:27 +08:00
|
|
|
pointer-events: none;
|
|
|
|
cursor: default;
|
2016-05-28 01:37:28 +08:00
|
|
|
}
|
2016-05-20 00:16:19 +08:00
|
|
|
}
|
2016-05-18 01:03:08 +08:00
|
|
|
|
2016-10-19 11:29:43 +08:00
|
|
|
&.timeline-fullscreen.show {
|
|
|
|
max-height: 700px;
|
2021-06-08 03:31:16 +08:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
|
|
transition: max-height 0.4s ease-out;
|
|
|
|
}
|
2020-06-01 21:39:38 +08:00
|
|
|
|
2018-02-15 12:27:06 +08:00
|
|
|
@media screen and (max-height: 425px) {
|
|
|
|
max-height: 75vh;
|
2018-03-09 05:34:19 +08:00
|
|
|
}
|
2016-10-31 09:40:28 +08:00
|
|
|
.topic-timeline {
|
|
|
|
.timeline-footer-controls {
|
2021-10-29 21:23:15 +08:00
|
|
|
display: flex;
|
2016-10-31 09:40:28 +08:00
|
|
|
}
|
|
|
|
}
|
2019-09-05 08:28:54 +08:00
|
|
|
.timeline-controls {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2016-10-19 11:29:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.timeline-fullscreen {
|
2021-06-08 03:31:16 +08:00
|
|
|
transform: translateY(var(--offset));
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
|
|
&.animate {
|
|
|
|
transition: transform 0.1s linear;
|
|
|
|
}
|
|
|
|
transition: max-height 0.3s ease-in;
|
|
|
|
}
|
2016-10-19 11:29:43 +08:00
|
|
|
max-height: 0;
|
|
|
|
position: fixed;
|
|
|
|
margin-left: 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--secondary);
|
2016-10-19 11:29:43 +08:00
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2020-08-04 10:57:10 +08:00
|
|
|
border-top: 1px solid var(--primary-low);
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("composer");
|
2020-06-01 21:39:38 +08:00
|
|
|
padding: 20px 0px;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("fullscreen");
|
2018-02-15 12:27:06 +08:00
|
|
|
@media screen and (max-height: 425px) {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
2016-12-29 01:29:24 +08:00
|
|
|
.back-button {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-10-19 11:29:43 +08:00
|
|
|
.topic-timeline {
|
2016-10-31 09:40:28 +08:00
|
|
|
width: 100%;
|
2016-11-25 08:34:43 +08:00
|
|
|
table-layout: fixed;
|
2016-10-31 09:40:28 +08:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
display: table;
|
2017-02-27 11:39:57 +08:00
|
|
|
touch-action: none;
|
|
|
|
|
2016-10-31 09:40:28 +08:00
|
|
|
.timeline-date-wrapper {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2016-11-25 08:34:43 +08:00
|
|
|
.post-excerpt {
|
|
|
|
max-width: 650px;
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-large);
|
2016-11-28 08:35:32 +08:00
|
|
|
display: block;
|
2020-02-15 05:19:11 +08:00
|
|
|
@include line-clamp(8);
|
2018-02-15 12:27:06 +08:00
|
|
|
@media screen and (max-height: 425px) {
|
2022-09-15 22:54:08 +08:00
|
|
|
@include line-clamp(5);
|
2018-02-15 12:27:06 +08:00
|
|
|
}
|
2016-11-25 08:34:43 +08:00
|
|
|
}
|
|
|
|
.username {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-high-or-secondary-low);
|
2016-11-25 08:34:43 +08:00
|
|
|
word-wrap: break-word;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2016-10-31 09:40:28 +08:00
|
|
|
.title {
|
|
|
|
margin-top: 0;
|
|
|
|
padding-left: 1em;
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: top;
|
2016-11-25 08:34:43 +08:00
|
|
|
width: 100%;
|
|
|
|
h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
display: block;
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2022-10-12 21:31:59 +08:00
|
|
|
font-size: var(--font-up-2);
|
2020-02-15 05:19:11 +08:00
|
|
|
@include line-clamp(4);
|
2016-11-25 08:34:43 +08:00
|
|
|
}
|
2016-11-02 12:12:01 +08:00
|
|
|
a {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary);
|
2016-11-02 12:12:01 +08:00
|
|
|
}
|
2016-10-31 09:40:28 +08:00
|
|
|
}
|
|
|
|
.timeline-last-read {
|
2018-01-25 22:53:36 +08:00
|
|
|
right: 0;
|
2016-10-31 09:40:28 +08:00
|
|
|
margin-left: 0;
|
2018-11-27 05:49:57 +08:00
|
|
|
.progress {
|
2018-06-08 17:49:31 +08:00
|
|
|
display: none;
|
2016-10-31 09:40:28 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.timeline-footer-controls {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2020-06-01 21:39:38 +08:00
|
|
|
bottom: 20px;
|
2016-10-31 09:40:28 +08:00
|
|
|
left: 10px;
|
|
|
|
|
2021-10-29 21:23:15 +08:00
|
|
|
.topic-notifications-button {
|
|
|
|
margin-right: 0.5em;
|
2020-06-01 21:39:38 +08:00
|
|
|
}
|
|
|
|
|
2021-10-29 21:23:15 +08:00
|
|
|
.jump-to-post {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
2022-12-06 02:41:24 +08:00
|
|
|
.topic-admin-menu-button-container {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2021-10-29 21:23:15 +08:00
|
|
|
.topic-admin-menu-button {
|
|
|
|
display: flex;
|
2016-10-31 09:40:28 +08:00
|
|
|
}
|
|
|
|
}
|
2021-10-29 21:23:15 +08:00
|
|
|
|
2016-10-31 09:40:28 +08:00
|
|
|
.timeline-scrollarea-wrapper {
|
|
|
|
display: table-cell;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
.timeline-scrollarea {
|
2022-02-24 00:55:48 +08:00
|
|
|
border-right: 1px solid var(--tertiary-low-or-tertiary-high);
|
|
|
|
border-left: none;
|
2016-10-31 09:40:28 +08:00
|
|
|
max-width: 120px;
|
|
|
|
|
|
|
|
.timeline-scroller {
|
|
|
|
position: relative;
|
|
|
|
margin-right: -1.5em;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
justify-content: flex-end;
|
|
|
|
.timeline-scroller-content {
|
2021-12-15 07:02:02 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
2016-10-31 09:40:28 +08:00
|
|
|
text-align: right;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
.timeline-handle {
|
|
|
|
float: none;
|
|
|
|
width: 11px;
|
|
|
|
position: relative;
|
|
|
|
right: -6px;
|
|
|
|
}
|
|
|
|
}
|
2022-02-24 00:55:48 +08:00
|
|
|
|
|
|
|
.timeline-padding {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: -1em;
|
|
|
|
}
|
2016-10-31 09:40:28 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-scrollarea-wrapper::after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
2016-10-19 11:29:43 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-18 01:03:08 +08:00
|
|
|
.topic-timeline {
|
2016-06-02 02:42:00 +08:00
|
|
|
transition: opacity 0.2s ease-in;
|
2017-02-27 11:39:57 +08:00
|
|
|
touch-action: none;
|
2016-05-26 05:44:56 +08:00
|
|
|
|
2016-05-26 22:50:01 +08:00
|
|
|
.timeline-controls {
|
|
|
|
margin-bottom: 1em;
|
2016-05-26 05:44:56 +08:00
|
|
|
}
|
2016-05-18 01:03:08 +08:00
|
|
|
|
2020-10-20 05:26:38 +08:00
|
|
|
.timeline-date-wrapper {
|
|
|
|
max-width: 9em;
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
|
|
|
|
2016-05-26 22:50:01 +08:00
|
|
|
.timeline-footer-controls {
|
2018-01-13 06:27:38 +08:00
|
|
|
margin-top: 1.5em;
|
2021-12-29 01:01:20 +08:00
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
|
|
transition: opacity 0.2s ease-in;
|
|
|
|
}
|
2018-11-27 05:49:57 +08:00
|
|
|
display: flex;
|
2021-09-17 03:15:00 +08:00
|
|
|
flex-wrap: wrap;
|
|
|
|
max-width: 9em;
|
2016-05-21 02:47:25 +08:00
|
|
|
|
2020-05-29 14:05:21 +08:00
|
|
|
.reply-to-post {
|
2016-05-21 02:47:25 +08:00
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2017-09-06 22:58:00 +08:00
|
|
|
|
|
|
|
button:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
2021-09-17 03:15:00 +08:00
|
|
|
.show-summary {
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
2016-05-18 01:03:08 +08:00
|
|
|
|
|
|
|
.start-date {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-scrollarea {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-left: 0.5em;
|
2022-02-24 00:55:48 +08:00
|
|
|
border-left: 1px solid var(--tertiary-low-or-tertiary-high);
|
2016-05-18 01:03:08 +08:00
|
|
|
position: relative;
|
2022-09-15 22:54:08 +08:00
|
|
|
transform: translateZ(0);
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-padding {
|
|
|
|
transition: height 0.15s ease-out;
|
|
|
|
cursor: pointer;
|
2022-02-24 00:55:48 +08:00
|
|
|
// this element has a click event
|
|
|
|
// the negative margin lets this element overlap
|
|
|
|
// the scrollarea's vertical track and thus it
|
|
|
|
// enables taps on the track to work
|
|
|
|
margin-left: -1em;
|
2016-05-18 01:03:08 +08:00
|
|
|
.widget-dragging & {
|
|
|
|
transition: none;
|
|
|
|
}
|
2022-12-02 03:50:44 +08:00
|
|
|
.dragging & {
|
|
|
|
transition: none;
|
|
|
|
}
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-handle {
|
2018-07-13 04:38:51 +08:00
|
|
|
border-radius: 0.8em;
|
2016-05-18 01:03:08 +08:00
|
|
|
width: 0.35em;
|
2020-08-04 10:57:10 +08:00
|
|
|
background-color: var(--tertiary-low-or-tertiary-high);
|
2016-05-18 01:03:08 +08:00
|
|
|
height: 100%;
|
|
|
|
float: left;
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("base") + 1;
|
2022-10-19 01:35:01 +08:00
|
|
|
outline: 1px solid transparent;
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-scroller-content {
|
2021-12-15 07:02:02 +08:00
|
|
|
box-sizing: border-box;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
2016-05-18 01:03:08 +08:00
|
|
|
padding-left: 1em;
|
2020-10-20 05:26:38 +08:00
|
|
|
position: absolute; // prevents text length from impacting width
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
2016-05-21 04:30:47 +08:00
|
|
|
.timeline-ago {
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2021-11-24 01:54:58 +08:00
|
|
|
max-width: 70px;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-05-21 04:30:47 +08:00
|
|
|
}
|
|
|
|
|
2016-05-18 01:03:08 +08:00
|
|
|
.timeline-scroller {
|
|
|
|
@include unselectable;
|
2022-10-19 01:35:01 +08:00
|
|
|
margin-left: -0.22em;
|
2016-05-20 01:18:00 +08:00
|
|
|
cursor: ns-resize;
|
2016-05-18 01:03:08 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2016-12-20 02:33:55 +08:00
|
|
|
|
|
|
|
.back-button {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-replies {
|
2021-12-15 07:02:02 +08:00
|
|
|
overflow: hidden;
|
|
|
|
overflow-wrap: break-word;
|
2016-05-18 01:03:08 +08:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-last-read {
|
|
|
|
position: absolute;
|
2016-12-20 00:19:10 +08:00
|
|
|
margin-left: -0.35em;
|
2018-11-27 05:49:57 +08:00
|
|
|
.progress {
|
2016-12-20 00:19:10 +08:00
|
|
|
font-size: 0.8em;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--tertiary);
|
2016-05-18 01:03:08 +08:00
|
|
|
margin-right: 1em;
|
|
|
|
}
|
2018-01-17 08:05:12 +08:00
|
|
|
z-index: z("base") + 2; // above timeline-handle
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
2016-12-20 02:33:55 +08:00
|
|
|
.back-button {
|
2018-09-20 22:28:26 +08:00
|
|
|
min-height: unset;
|
2016-12-20 02:33:55 +08:00
|
|
|
padding: 2px 5px;
|
|
|
|
}
|
|
|
|
|
2016-05-18 01:03:08 +08:00
|
|
|
.now-date {
|
|
|
|
display: inline-block;
|
2020-08-04 10:57:10 +08:00
|
|
|
color: var(--primary-med-or-secondary-med);
|
2016-05-18 01:03:08 +08:00
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|