@danielleallyssa/sqs-custom-marquee 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.custom-marquee-wrap:not(.custom-marquee-serif) .Marquee-item {
|
|
48
|
-
font-size: var(--custom-marquee-size, 2rem);
|
|
48
|
+
font-size: var(--custom-marquee-size, 2rem) !important;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.custom-marquee-wrap.custom-marquee-primary .Marquee-item {
|
|
@@ -67,8 +67,7 @@
|
|
|
67
67
|
animation-play-state: paused;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.custom-marquee-wrap.custom-marquee-primary
|
|
71
|
-
[data-link]:not([data-link=""])
|
|
70
|
+
.custom-marquee-wrap.custom-marquee-primary[data-link]:not([data-link=""])
|
|
72
71
|
.Marquee-item:hover {
|
|
73
72
|
background: var(--custom-marquee-primary-bg-hover-color, inherit);
|
|
74
73
|
color: var(--custom-marquee-primary-hover-color, inherit);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@keyframes marquee-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}.custom-marquee-wrap{width:100%;overflow:hidden;padding:.5rem 0}.custom-marquee{display:flex;width:max-content;animation:marquee-scroll var(--custom-marquee-speed,30s) linear infinite}.custom-marquee[direction-reverse=true]{animation-direction:reverse}.custom-marquee-track{display:flex;align-items:center;flex-shrink:0;gap:var(--custom-marquee-gap,16px);padding-right:var(--custom-marquee-gap,16px)}.custom-marquee-wrap:not(.custom-marquee-serif) .Marquee-item{border-radius:var(--custom-marquee-item-radius,0);padding:1rem 2rem;margin:0;text-transform:uppercase}.custom-marquee-wrap.custom-marquee-serif .Marquee-item{font-family:var(--custom-marquee-serif-family, serif);font-size:var(--custom-marquee-serif-size, 3rem)!important;padding-inline:2rem}.custom-marquee-wrap:not(.custom-marquee-serif) .Marquee-item{font-size:var(--custom-marquee-size, 2rem)}.custom-marquee-wrap.custom-marquee-primary .Marquee-item{background:var(--custom-marquee-primary-bg-color,inherit);color:var(--custom-marquee-primary-color,inherit)}.custom-marquee-wrap.custom-marquee-secondary .Marquee-item{background:var(--custom-marquee-secondary-bg-color,inherit);color:var(--custom-marquee-secondary-color,inherit)}.custom-marquee-wrap.custom-marquee-tertiary .Marquee-item{background:var(--custom-marquee-tertiary-bg-color,inherit);color:var(--custom-marquee-tertiary-color,inherit)}.custom-marquee-wrap[data-link]:not([data-link=""]):hover .custom-marquee{animation-play-state:paused}.custom-marquee-wrap.custom-marquee-primary
|
|
1
|
+
@keyframes marquee-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}.custom-marquee-wrap{width:100%;overflow:hidden;padding:.5rem 0}.custom-marquee{display:flex;width:max-content;animation:marquee-scroll var(--custom-marquee-speed,30s) linear infinite}.custom-marquee[direction-reverse=true]{animation-direction:reverse}.custom-marquee-track{display:flex;align-items:center;flex-shrink:0;gap:var(--custom-marquee-gap,16px);padding-right:var(--custom-marquee-gap,16px)}.custom-marquee-wrap:not(.custom-marquee-serif) .Marquee-item{border-radius:var(--custom-marquee-item-radius,0);padding:1rem 2rem;margin:0;text-transform:uppercase}.custom-marquee-wrap.custom-marquee-serif .Marquee-item{font-family:var(--custom-marquee-serif-family, serif);font-size:var(--custom-marquee-serif-size, 3rem)!important;padding-inline:2rem}.custom-marquee-wrap:not(.custom-marquee-serif) .Marquee-item{font-size:var(--custom-marquee-size, 2rem)!important}.custom-marquee-wrap.custom-marquee-primary .Marquee-item{background:var(--custom-marquee-primary-bg-color,inherit);color:var(--custom-marquee-primary-color,inherit)}.custom-marquee-wrap.custom-marquee-secondary .Marquee-item{background:var(--custom-marquee-secondary-bg-color,inherit);color:var(--custom-marquee-secondary-color,inherit)}.custom-marquee-wrap.custom-marquee-tertiary .Marquee-item{background:var(--custom-marquee-tertiary-bg-color,inherit);color:var(--custom-marquee-tertiary-color,inherit)}.custom-marquee-wrap[data-link]:not([data-link=""]):hover .custom-marquee{animation-play-state:paused}.custom-marquee-wrap.custom-marquee-primary[data-link]:not([data-link=""]) .Marquee-item:hover{background:var(--custom-marquee-primary-bg-hover-color,inherit);color:var(--custom-marquee-primary-hover-color,inherit)}.custom-marquee-wrap.custom-marquee-secondary[data-link]:not([data-link=""]) .Marquee-item:hover{background:var(--custom-marquee-secondary-bg-hover-color,inherit);color:var(--custom-marquee-secondary-hover-color,inherit)}.custom-marquee-wrap.custom-marquee-tertiary[data-link]:not([data-link=""]) .Marquee-item:hover{background:var(--custom-marquee-tertiary-bg-hover-color,inherit);color:var(--custom-marquee-tertiary-hover-color,inherit)}@media (prefers-reduced-motion:reduce){.custom-marquee{animation:none}}@media screen and (min-width:768px){.custom-marquee-wrap{padding:1.1rem 0}}
|