Demas ajustes
This commit is contained in:
@@ -57,160 +57,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% stylesheet %}
|
||||
.marquee-section {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.marquee {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
height: 100px;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(90deg, #7dcaaf 0%, #a9ddfa 70.064%, #d2ebf9 133.7%);
|
||||
}
|
||||
|
||||
.marquee__track {
|
||||
display: flex;
|
||||
width: max-content;
|
||||
animation: marquee-scroll 36s linear infinite;
|
||||
}
|
||||
|
||||
.marquee__set {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 192px;
|
||||
padding-right: 192px;
|
||||
}
|
||||
|
||||
.marquee__item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.marquee__badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
flex: 0 0 45px;
|
||||
border: 1px solid #000;
|
||||
border-radius: 50%;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.marquee__glyph {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.marquee__glyph > svg,
|
||||
.marquee__layer {
|
||||
position: absolute;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.marquee__layer svg {
|
||||
position: static;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.marquee__glyph--shipping svg {
|
||||
top: 2px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.marquee__glyph--payment svg {
|
||||
top: 2px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.marquee__glyph--guarantee svg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.marquee__layer--body {
|
||||
top: 6px;
|
||||
left: 1px;
|
||||
}
|
||||
|
||||
.marquee__layer--flap {
|
||||
top: 1px;
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
.marquee__layer--mark {
|
||||
top: 2px;
|
||||
left: 7px;
|
||||
}
|
||||
|
||||
.marquee__copy {
|
||||
margin: 0;
|
||||
color: #000;
|
||||
font-size: 14px;
|
||||
font-weight: 300;
|
||||
line-height: 20px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.marquee__copy strong {
|
||||
display: block;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@keyframes marquee-scroll {
|
||||
from {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1119px) {
|
||||
.marquee {
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
.marquee__set {
|
||||
gap: 50px;
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.marquee__item {
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.marquee__badge {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
flex-basis: 35px;
|
||||
}
|
||||
|
||||
.marquee__copy {
|
||||
font-size: 12px;
|
||||
line-height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.marquee__track {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
{% endstylesheet %}
|
||||
|
||||
{% schema %}
|
||||
{
|
||||
"name": "t:marquee.name",
|
||||
|
||||
Reference in New Issue
Block a user