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");
|
2016-05-18 01:03:08 +08:00
|
|
|
margin-left: 757px;
|
2016-06-02 02:49:27 +08:00
|
|
|
|
2018-07-13 04:38:51 +08:00
|
|
|
@include breakpoint(extra-large, min-width) {
|
2016-06-02 02:49:27 +08:00
|
|
|
margin-left: 820px;
|
|
|
|
}
|
2016-06-02 03:21:22 +08:00
|
|
|
@media all and (min-width: 1250px) {
|
|
|
|
margin-left: 900px;
|
|
|
|
}
|
2016-06-02 02:49:27 +08:00
|
|
|
|
2016-05-18 01:03:08 +08:00
|
|
|
position: fixed;
|
2018-06-08 17:49:31 +08:00
|
|
|
-webkit-transform: translate3d(0, 0, 0);
|
2016-05-20 00:16:19 +08:00
|
|
|
|
|
|
|
&.timeline-docked {
|
|
|
|
position: absolute;
|
2016-05-28 02:08:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.timeline-docked-bottom {
|
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;
|
|
|
|
transition: max-height 0.4s ease-out;
|
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 {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
}
|
2016-10-19 11:29:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.timeline-fullscreen {
|
|
|
|
max-height: 0;
|
|
|
|
transition: max-height 0.3s ease-in;
|
|
|
|
position: fixed;
|
|
|
|
margin-left: 0;
|
|
|
|
background-color: $secondary;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2017-10-11 04:07:46 +08:00
|
|
|
border-top: 1px solid dark-light-choose($primary-low, $secondary-low);
|
2018-02-21 01:18:20 +08:00
|
|
|
box-shadow: shadow("composer");
|
2016-10-31 09:40:28 +08:00
|
|
|
padding-top: 20px;
|
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 {
|
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
}
|
2016-11-25 08:34:43 +08:00
|
|
|
.post-excerpt {
|
|
|
|
max-width: 650px;
|
2018-01-13 06:27:38 +08:00
|
|
|
max-height: 165px;
|
|
|
|
line-height: $line-height-large;
|
2016-11-25 08:34:43 +08:00
|
|
|
overflow: hidden;
|
|
|
|
word-wrap: break-word;
|
|
|
|
text-overflow: ellipsis;
|
2016-11-28 08:35:32 +08:00
|
|
|
display: block;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 8;
|
2018-02-15 12:27:06 +08:00
|
|
|
@media screen and (max-height: 425px) {
|
2018-06-08 17:49:31 +08:00
|
|
|
-webkit-line-clamp: 5;
|
2018-02-15 12:27:06 +08:00
|
|
|
}
|
2016-11-28 08:35:32 +08:00
|
|
|
-webkit-box-orient: vertical;
|
2016-11-25 08:34:43 +08:00
|
|
|
}
|
|
|
|
.username {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-high, $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;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-line-clamp: 4;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
max-height: 110px;
|
2018-01-13 06:27:38 +08:00
|
|
|
line-height: $line-height-medium;
|
2016-11-25 08:34:43 +08:00
|
|
|
word-wrap: break-word;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2018-01-13 06:27:38 +08:00
|
|
|
font-size: $font-up-2;
|
2016-11-25 08:34:43 +08:00
|
|
|
}
|
2016-11-02 12:12:01 +08:00
|
|
|
a {
|
|
|
|
color: $primary;
|
|
|
|
}
|
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;
|
|
|
|
i.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;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 10px;
|
|
|
|
|
2018-06-08 17:49:31 +08:00
|
|
|
button,
|
|
|
|
.btn-group {
|
2016-10-31 09:40:28 +08:00
|
|
|
float: none;
|
2016-12-08 14:47:34 +08:00
|
|
|
display: inline-block;
|
2016-12-09 09:20:33 +08:00
|
|
|
margin-bottom: 0;
|
2016-12-08 14:47:34 +08:00
|
|
|
margin-right: 15px;
|
2016-12-09 09:20:33 +08:00
|
|
|
position: static;
|
2016-10-31 09:40:28 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.timeline-scrollarea-wrapper {
|
|
|
|
display: table-cell;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
width: 100px;
|
|
|
|
}
|
|
|
|
.timeline-scrollarea {
|
|
|
|
border-left: 0;
|
|
|
|
border-right-style: solid;
|
|
|
|
border-right-width: 1px;
|
|
|
|
max-width: 120px;
|
|
|
|
float: right;
|
|
|
|
|
|
|
|
.timeline-scroller {
|
|
|
|
position: relative;
|
|
|
|
margin-right: -1.5em;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
justify-content: flex-end;
|
|
|
|
.timeline-scroller-content {
|
|
|
|
text-align: right;
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
.timeline-handle {
|
|
|
|
float: none;
|
|
|
|
width: 11px;
|
|
|
|
position: relative;
|
|
|
|
right: -6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-05-19 05:53:02 +08:00
|
|
|
margin-left: 3em;
|
2016-05-26 05:44:56 +08:00
|
|
|
width: 150px;
|
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;
|
2017-08-05 07:22:01 +08:00
|
|
|
|
|
|
|
button {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2016-05-26 05:44:56 +08:00
|
|
|
}
|
2016-05-18 01:03:08 +08:00
|
|
|
|
2016-05-26 22:50:01 +08:00
|
|
|
.timeline-footer-controls {
|
2018-01-13 06:27:38 +08:00
|
|
|
margin-top: 1.5em;
|
2016-05-28 02:39:31 +08:00
|
|
|
transition: opacity 0.2s ease-in;
|
2016-05-21 02:47:25 +08:00
|
|
|
|
|
|
|
button {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.start-date {
|
2016-05-20 01:11:36 +08:00
|
|
|
@include unselectable;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-scrollarea {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
border-left: 1px solid;
|
2017-10-11 04:07:46 +08:00
|
|
|
border-color: dark-light-choose($tertiary-low, $tertiary-high);
|
2016-05-18 01:03:08 +08:00
|
|
|
position: relative;
|
2018-06-08 17:49:31 +08:00
|
|
|
-webkit-transform: translate3d(0, 0, 0);
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-padding {
|
|
|
|
transition: height 0.15s ease-out;
|
|
|
|
cursor: pointer;
|
|
|
|
.widget-dragging & {
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2017-10-11 04:07:46 +08:00
|
|
|
background-color: dark-light-choose($tertiary-low, $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;
|
2016-05-18 01:03:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-scroller-content {
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
2016-05-21 04:30:47 +08:00
|
|
|
.timeline-ago {
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-05-21 04:30:47 +08:00
|
|
|
}
|
|
|
|
|
2016-05-18 01:03:08 +08:00
|
|
|
.timeline-scroller {
|
|
|
|
@include unselectable;
|
2016-06-02 14:37:57 +08:00
|
|
|
margin-left: -0.19em;
|
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 {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline-last-read {
|
|
|
|
position: absolute;
|
2016-12-20 00:19:10 +08:00
|
|
|
margin-left: -0.35em;
|
2016-05-18 01:03:08 +08:00
|
|
|
|
|
|
|
i.progress {
|
2016-12-20 00:19:10 +08:00
|
|
|
font-size: 0.8em;
|
|
|
|
color: $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 {
|
|
|
|
padding: 2px 5px;
|
|
|
|
}
|
|
|
|
|
2016-05-18 01:03:08 +08:00
|
|
|
.now-date {
|
2016-05-20 01:11:36 +08:00
|
|
|
@include unselectable;
|
2016-05-18 01:03:08 +08:00
|
|
|
display: inline-block;
|
2017-10-11 04:07:46 +08:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2016-05-18 01:03:08 +08:00
|
|
|
margin-top: 0.5em;
|
|
|
|
i {
|
|
|
|
margin-left: 0.15em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|