mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Rework marquee
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
.container {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding-left: 10px;
|
||||
white-space: nowrap;
|
||||
/* stylelint-disable-next-line property-no-vendor-prefix */
|
||||
-webkit-mask-image: linear-gradient(to right, transparent, $white 10px, $white 90%, transparent), linear-gradient(to left, transparent, $white 10px, $white 90%, transparent);
|
||||
mask-image: linear-gradient(to right, transparent, $white 10px, $white 90%, transparent), linear-gradient(to left, transparent, $white 10px, $white 90%, transparent);
|
||||
}
|
||||
|
||||
.inner {
|
||||
transition: transform var(--duration) ease-in-out;
|
||||
}
|
||||
|
||||
.toLeft {
|
||||
transform: translateX(var(--distance));
|
||||
}
|
||||
Reference in New Issue
Block a user