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