diff options
author | crupest <crupest@outlook.com> | 2020-06-10 15:21:32 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-10 15:21:32 +0800 |
commit | 35bd6bb40f89713e802fd4526dd5db0e6c3f3cd2 (patch) | |
tree | 1be60dcceca2816595b937f959015b3d4c37ba3e /Timeline/ClientApp/src/timeline/timeline.sass | |
parent | ff8782cc9079cb56524d281bff07331d14f80462 (diff) | |
download | timeline-35bd6bb40f89713e802fd4526dd5db0e6c3f3cd2.tar.gz timeline-35bd6bb40f89713e802fd4526dd5db0e6c3f3cd2.tar.bz2 timeline-35bd6bb40f89713e802fd4526dd5db0e6c3f3cd2.zip |
feat(front): Fix #75 .
Diffstat (limited to 'Timeline/ClientApp/src/timeline/timeline.sass')
-rw-r--r-- | Timeline/ClientApp/src/timeline/timeline.sass | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/timeline/timeline.sass b/Timeline/ClientApp/src/timeline/timeline.sass index 511cc838..dad5251c 100644 --- a/Timeline/ClientApp/src/timeline/timeline.sass +++ b/Timeline/ClientApp/src/timeline/timeline.sass @@ -1,5 +1,20 @@ @use 'sass:color'
+@keyframes timeline-enter-animation-mask-animation
+ from
+ height: calc(100% + 300px)
+ to
+ height: 0
+
+.timeline-enter-animation-mask
+ position: absolute
+ left: 0
+ top: 0
+ width: 100%
+ background: linear-gradient(to top, transparent 0, 200px, white 300px)
+ z-index: 100
+ animation: timeline-enter-animation-mask-animation 5s
+
$timeline-line-width: 7px
$timeline-line-node-radius: 18px
$timeline-line-color: $primary
|