aboutsummaryrefslogtreecommitdiff
path: root/Timeline
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-09-03 23:05:54 +0800
committercrupest <crupest@outlook.com>2020-09-03 23:05:54 +0800
commit5a0adf596988efe8c3e49efcba7594f134a9cb0d (patch)
tree792ee4899e7e00d518ea37d6ddd68555a83ac51e /Timeline
parent92cc0f89d8c4314f4eebc76a0d12c9436f28f71a (diff)
downloadtimeline-5a0adf596988efe8c3e49efcba7594f134a9cb0d.tar.gz
timeline-5a0adf596988efe8c3e49efcba7594f134a9cb0d.tar.bz2
timeline-5a0adf596988efe8c3e49efcba7594f134a9cb0d.zip
Remove animation of timeline entrance.
Diffstat (limited to 'Timeline')
-rw-r--r--Timeline/ClientApp/src/app/views/timeline-common/Timeline.tsx1
-rw-r--r--Timeline/ClientApp/src/app/views/timeline-common/timeline-common.sass14
2 files changed, 0 insertions, 15 deletions
diff --git a/Timeline/ClientApp/src/app/views/timeline-common/Timeline.tsx b/Timeline/ClientApp/src/app/views/timeline-common/Timeline.tsx
index 1cb15d8e..fd051d45 100644
--- a/Timeline/ClientApp/src/app/views/timeline-common/Timeline.tsx
+++ b/Timeline/ClientApp/src/app/views/timeline-common/Timeline.tsx
@@ -52,7 +52,6 @@ const Timeline: React.FC<TimelineProps> = (props) => {
return (
<div ref={props.containerRef} className={clsx("timeline", props.className)}>
- <div className="timeline-enter-animation-mask" />
{(() => {
const length = posts.length;
return posts.map((post, i) => {
diff --git a/Timeline/ClientApp/src/app/views/timeline-common/timeline-common.sass b/Timeline/ClientApp/src/app/views/timeline-common/timeline-common.sass
index 3bcd4a67..79df9249 100644
--- a/Timeline/ClientApp/src/app/views/timeline-common/timeline-common.sass
+++ b/Timeline/ClientApp/src/app/views/timeline-common/timeline-common.sass
@@ -7,20 +7,6 @@
&-item
display: flex
-@keyframes timeline-enter-animation-mask-animation
- to
- height: 0
-
-.timeline-enter-animation-mask
- position: absolute
- left: 0
- top: 0
- height: calc(100% + 300px)
- width: 100%
- background: linear-gradient(to top, #ffffff00 0, 200px, white 300px, white)
- z-index: 100
- animation: timeline-enter-animation-mask-animation 5s 0.3s forwards // Give it 0.3s to load, which I think is reasonable
-
$timeline-line-width: 7px
$timeline-line-node-radius: 18px
$timeline-line-color: $primary