Enhance slider functionality by adding dynamic height adjustment based on image size. Update CSS for smoother transitions and increment version numbers for app.css and slider.js. Adjust HTML to reflect new stylesheet and script versions.
This commit is contained in:
1 parent
11e7398f29
commit
331acbbeb9
5 files changed
+23
-102
No files matched your search
@@ -1,98 +1,3 @@
|
|||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":1,"requested":2,"index":2,"width":1920,"transform":"translateX(-3840px)"},"timestamp":1785807246670}
|
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:logGap","message":"updateHeight","data":{"index":5,"activeSlideH":640,"activeImgH":640,"containerH":405,"containerStyleH":"640px","trackH":640,"imagesParentH":405,"gapContainerMinusImg":-235,"gapTrackMinusActiveSlide":0,"maxSlideH":640,"trackEqualsMaxSlide":true,"heights":[{"slideH":429,"imgH":429,"naturalH":375},{"slideH":405,"imgH":405,"naturalH":380},{"slideH":405,"imgH":405,"naturalH":380},{"slideH":414,"imgH":414,"naturalH":349},{"slideH":405,"imgH":405,"naturalH":576},{"slideH":640,"imgH":640,"naturalH":375}],"containerMaxH":"640px"},"timestamp":1785807808474}
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":2,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807246671}
|
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:logGap","message":"updateHeight","data":{"index":0,"activeSlideH":429,"activeImgH":429,"containerH":640,"containerStyleH":"429px","trackH":640,"imagesParentH":640,"gapContainerMinusImg":211,"gapTrackMinusActiveSlide":211,"maxSlideH":640,"trackEqualsMaxSlide":true,"heights":[{"slideH":429,"imgH":429,"naturalH":375},{"slideH":405,"imgH":405,"naturalH":380},{"slideH":405,"imgH":405,"naturalH":380},{"slideH":414,"imgH":414,"naturalH":349},{"slideH":405,"imgH":405,"naturalH":576},{"slideH":640,"imgH":640,"naturalH":375}],"containerMaxH":"640px"},"timestamp":1785807810924}
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":2,"requested":3,"index":3,"width":1920,"transform":"translateX(-5760px)"},"timestamp":1785807250671}
|
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:logGap","message":"updateHeight","data":{"index":1,"activeSlideH":405,"activeImgH":405,"containerH":429,"containerStyleH":"405px","trackH":640,"imagesParentH":429,"gapContainerMinusImg":24,"gapTrackMinusActiveSlide":235,"maxSlideH":640,"trackEqualsMaxSlide":true,"heights":[{"slideH":429,"imgH":429,"naturalH":375},{"slideH":405,"imgH":405,"naturalH":380},{"slideH":405,"imgH":405,"naturalH":380},{"slideH":414,"imgH":414,"naturalH":349},{"slideH":405,"imgH":405,"naturalH":576},{"slideH":640,"imgH":640,"naturalH":375}],"containerMaxH":"640px"},"timestamp":1785807814923}
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":3,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807250672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":3,"requested":4,"index":4,"width":1920,"transform":"translateX(-7680px)"},"timestamp":1785807254671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":4,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807254671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":4,"requested":5,"index":5,"width":1920,"transform":"translateX(-9600px)"},"timestamp":1785807258671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":5,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807258672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":5,"requested":6,"index":0,"width":1920,"transform":"translateX(0px)"},"timestamp":1785807262671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":0,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807262672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":0,"requested":1,"index":1,"width":1920,"transform":"translateX(-1920px)"},"timestamp":1785807266671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":1,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807266672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":1,"requested":2,"index":2,"width":1920,"transform":"translateX(-3840px)"},"timestamp":1785807270671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":2,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807270672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":2,"requested":3,"index":3,"width":1920,"transform":"translateX(-5760px)"},"timestamp":1785807274671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":3,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807274671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":3,"requested":4,"index":4,"width":1920,"transform":"translateX(-7680px)"},"timestamp":1785807278671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":4,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807278672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":4,"requested":5,"index":5,"width":1920,"transform":"translateX(-9600px)"},"timestamp":1785807282671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":5,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807282672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":5,"requested":6,"index":0,"width":1920,"transform":"translateX(0px)"},"timestamp":1785807286671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":0,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807286672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":0,"requested":1,"index":1,"width":1920,"transform":"translateX(-1920px)"},"timestamp":1785807290671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":1,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807290672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":1,"requested":2,"index":2,"width":1920,"transform":"translateX(-3840px)"},"timestamp":1785807294671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":2,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807294672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":2,"requested":3,"index":3,"width":1920,"transform":"translateX(-5760px)"},"timestamp":1785807298671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":3,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807298672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":3,"requested":4,"index":4,"width":1920,"transform":"translateX(-7680px)"},"timestamp":1785807302671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":4,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807302672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":4,"requested":5,"index":5,"width":1920,"transform":"translateX(-9600px)"},"timestamp":1785807306672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":5,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807306672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":5,"requested":6,"index":0,"width":1920,"transform":"translateX(0px)"},"timestamp":1785807310671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":0,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807310672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":0,"requested":1,"index":1,"width":1920,"transform":"translateX(-1920px)"},"timestamp":1785807314671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":1,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807314672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":1,"requested":2,"index":2,"width":1920,"transform":"translateX(-3840px)"},"timestamp":1785807318671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":2,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807318672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":2,"requested":3,"index":3,"width":1920,"transform":"translateX(-5760px)"},"timestamp":1785807322671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":3,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807322672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":3,"requested":4,"index":4,"width":1920,"transform":"translateX(-7680px)"},"timestamp":1785807326671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":4,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807326672}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":4,"requested":5,"index":5,"width":1920,"transform":"translateX(-9600px)"},"timestamp":1785807330671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":5,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807330671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":5,"requested":6,"index":0,"width":1920,"transform":"translateX(0px)"},"timestamp":1785807334671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":0,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807334671}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H5","location":"slider.js:mouseleave","message":"mouseleave during/after drag","data":{"dragging":false,"index":0},"timestamp":1785807336119}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H5","location":"slider.js:mouseleave","message":"mouseleave during/after drag","data":{"dragging":false,"index":0},"timestamp":1785807336620}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerDown","message":"pointerdown","data":{"pointerType":"mouse","clientX":1475.0928955078125,"targetTag":"A","width":1920,"index":0,"defaultPrevented":true},"timestamp":1785807337051}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-2.331787109375,"moveCount":1,"width":1920,"transform":"translateX(-2.33179px)","index":0},"timestamp":1785807337054}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-701.5407104492188,"moveCount":8,"width":1920,"transform":"translateX(-701.541px)","index":0},"timestamp":1785807337170}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerUp","message":"pointerup","data":{"dragDelta":-848.967529296875,"threshold":153.6,"passed":true,"direction":"next","moveCount":10,"indexBefore":0,"eventType":"pointerup"},"timestamp":1785807337201}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":0,"requested":1,"index":1,"width":1920,"transform":"translateX(-1920px)"},"timestamp":1785807337202}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":1,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807337202}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerDown","message":"pointerdown","data":{"pointerType":"mouse","clientX":1256.9200439453125,"targetTag":"A","width":1920,"index":1,"defaultPrevented":true},"timestamp":1785807338351}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-0.3525390625,"moveCount":1,"width":1920,"transform":"translateX(-1920.35px)","index":1},"timestamp":1785807338352}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-585.7520751953125,"moveCount":8,"width":1920,"transform":"translateX(-2505.75px)","index":1},"timestamp":1785807338470}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerUp","message":"pointerup","data":{"dragDelta":-752.0836791992188,"threshold":153.6,"passed":true,"direction":"next","moveCount":9,"indexBefore":1,"eventType":"pointerup"},"timestamp":1785807338485}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":1,"requested":2,"index":2,"width":1920,"transform":"translateX(-3840px)"},"timestamp":1785807338485}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":2,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807338486}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerDown","message":"pointerdown","data":{"pointerType":"mouse","clientX":1142.9139404296875,"targetTag":"A","width":1920,"index":2,"defaultPrevented":true},"timestamp":1785807339001}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-1.5576171875,"moveCount":1,"width":1920,"transform":"translateX(-3841.56px)","index":2},"timestamp":1785807339002}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-448.53369140625,"moveCount":8,"width":1920,"transform":"translateX(-4288.53px)","index":2},"timestamp":1785807339120}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerUp","message":"pointerup","data":{"dragDelta":-594.7726440429688,"threshold":153.6,"passed":true,"direction":"next","moveCount":9,"indexBefore":2,"eventType":"pointerup"},"timestamp":1785807339134}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":2,"requested":3,"index":3,"width":1920,"transform":"translateX(-5760px)"},"timestamp":1785807339135}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":3,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807339135}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerDown","message":"pointerdown","data":{"pointerType":"mouse","clientX":973.7495727539062,"targetTag":"A","width":1920,"index":3,"defaultPrevented":true},"timestamp":1785807339834}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-0.1461181640625,"moveCount":1,"width":1920,"transform":"translateX(-5760.15px)","index":3},"timestamp":1785807339870}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-519.3838806152344,"moveCount":8,"width":1920,"transform":"translateX(-6279.38px)","index":3},"timestamp":1785807339987}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerUp","message":"pointerup","data":{"dragDelta":-519.3838806152344,"threshold":153.6,"passed":true,"direction":"next","moveCount":8,"indexBefore":3,"eventType":"pointerup"},"timestamp":1785807340000}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":3,"requested":4,"index":4,"width":1920,"transform":"translateX(-7680px)"},"timestamp":1785807340001}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":4,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807340001}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerDown","message":"pointerdown","data":{"pointerType":"mouse","clientX":1261.7843017578125,"targetTag":"A","width":1920,"index":4,"defaultPrevented":true},"timestamp":1785807340951}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-8.4583740234375,"moveCount":1,"width":1920,"transform":"translateX(-7688.46px)","index":4},"timestamp":1785807340952}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-778.1910400390625,"moveCount":8,"width":1920,"transform":"translateX(-8458.19px)","index":4},"timestamp":1785807341070}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerUp","message":"pointerup","data":{"dragDelta":-852.7561950683594,"threshold":153.6,"passed":true,"direction":"next","moveCount":9,"indexBefore":4,"eventType":"pointerup"},"timestamp":1785807341085}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":4,"requested":5,"index":5,"width":1920,"transform":"translateX(-9600px)"},"timestamp":1785807341085}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":5,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807341086}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerDown","message":"pointerdown","data":{"pointerType":"mouse","clientX":1173.8970947265625,"targetTag":"A","width":1920,"index":5,"defaultPrevented":true},"timestamp":1785807341766}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-0.0526123046875,"moveCount":1,"width":1920,"transform":"translateX(-9600.05px)","index":5},"timestamp":1785807341803}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H2","location":"slider.js:onPointerMove","message":"pointermove","data":{"dragDelta":-244.54132080078125,"moveCount":8,"width":1920,"transform":"translateX(-9844.54px)","index":5},"timestamp":1785807341920}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H1","location":"slider.js:onPointerUp","message":"pointerup","data":{"dragDelta":-332.81939697265625,"threshold":153.6,"passed":true,"direction":"next","moveCount":9,"indexBefore":5,"eventType":"pointerup"},"timestamp":1785807341951}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":5,"requested":6,"index":0,"width":1920,"transform":"translateX(0px)"},"timestamp":1785807341951}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":0,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807341952}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H5","location":"slider.js:mouseleave","message":"mouseleave during/after drag","data":{"dragging":false,"index":0},"timestamp":1785807342906}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":0,"requested":1,"index":1,"width":1920,"transform":"translateX(-1920px)"},"timestamp":1785807346908}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":1,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807346908}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":1,"requested":2,"index":2,"width":1920,"transform":"translateX(-3840px)"},"timestamp":1785807350908}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":2,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807350909}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":2,"requested":3,"index":3,"width":1920,"transform":"translateX(-5760px)"},"timestamp":1785807354908}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":3,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807354909}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":3,"requested":4,"index":4,"width":1920,"transform":"translateX(-7680px)"},"timestamp":1785807358908}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":4,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807358908}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":4,"requested":5,"index":5,"width":1920,"transform":"translateX(-9600px)"},"timestamp":1785807362908}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":5,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807362908}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H3","location":"slider.js:goTo","message":"goTo applied","data":{"from":5,"requested":6,"index":0,"width":1920,"transform":"translateX(0px)"},"timestamp":1785807366908}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"after-goTo","data":{"index":0,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807366909}
|
|
||||||
{"sessionId":"afcad7","runId":"post-fix","hypothesisId":"H4","location":"slider.js:logHeights","message":"resize","data":{"index":0,"containerHeight":640,"containerStyleHeight":"","slideHeights":[640,608,608,622,608,640],"trackHeight":640,"imgNatural":[{"nw":1118,"nh":375,"h":640},{"nw":1200,"nh":380,"h":608},{"nw":1200,"nh":380,"h":608},{"nw":1078,"nh":349,"h":622},{"nw":1820,"nh":576,"h":608},{"nw":734,"nh":375,"h":640}]},"timestamp":1785807368870}
|
|
||||||
@@ -183,6 +183,7 @@ blockquote {
|
|||||||
max-height: 640px;
|
max-height: 640px;
|
||||||
max-width: 1280px;
|
max-width: 1280px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
transition: height 0.35s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-slider:active {
|
.custom-slider:active {
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root,[data-theme]{background-color:var(--fallback-b1,oklch(var(--b1)/1));color:var(--fallback-bc,oklch(var(--bc)/1))}@supports not (color:oklch(0 0 0)){:root{color-scheme:light;--fallback-p:#491eff;--fallback-pc:#d4dbff;--fallback-s:#ff41c7;--fallback-sc:#fff9fc;--fallback-a:#00cfbd;--fallback-ac:#00100d;--fallback-n:#2b3440;--fallback-nc:#d7dde4;--fallback-b1:#fff;--fallback-b2:#e5e6e6;--fallback-b3:#e5e6e6;--fallback-bc:#1f2937;--fallback-in:#00b3f0;--fallback-inc:#000;--fallback-su:#00ca92;--fallback-suc:#000;--fallback-wa:#ffc22d;--fallback-wac:#000;--fallback-er:#ff6f70;--fallback-erc:#000}@media (prefers-color-scheme:dark){:root{color-scheme:dark;--fallback-p:#7582ff;--fallback-pc:#050617;--fallback-s:#ff71cf;--fallback-sc:#190211;--fallback-a:#00c7b5;--fallback-ac:#000e0c;--fallback-n:#2a323c;--fallback-nc:#a6adbb;--fallback-b1:#1d232a;--fallback-b2:#191e24;--fallback-b3:#15191e;--fallback-bc:#a6adbb;--fallback-in:#00b3f0;--fallback-inc:#000;--fallback-su:#00ca92;--fallback-suc:#000;--fallback-wa:#ffc22d;--fallback-wac:#000;--fallback-er:#ff6f70;--fallback-erc:#000}}}html{-webkit-tap-highlight-color:transparent}:root{color-scheme:light;--in:0.7206 0.191 231.6;--su:64.8% 0.150 160;--wa:0.8471 0.199 83.87;--er:0.7176 0.221 22.18;--pc:0.89824 0.06192 275.75;--ac:0.15352 0.0368 183.61;--inc:0 0 0;--suc:0 0 0;--wac:0 0 0;--erc:0 0 0;--rounded-box:1rem;--rounded-btn:0.5rem;--rounded-badge:1.9rem;--animation-btn:0.25s;--animation-input:.2s;--btn-focus-scale:0.95;--border-btn:1px;--tab-border:1px;--tab-radius:0.5rem;--p:0.4912 0.3096 275.75;--s:0.6971 0.329 342.55;--sc:0.9871 0.0106 342.55;--a:0.7676 0.184 183.61;--n:0.321785 0.02476 255.701624;--nc:0.894994 0.011585 252.096176;--b1:1 0 0;--b2:0.961151 0 0;--b3:0.924169 0.00108 197.137559;--bc:0.278078 0.029596 256.847952}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saLine truncated
|
/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root,[data-theme]{background-color:var(--fallback-b1,oklch(var(--b1)/1));color:var(--fallback-bc,oklch(var(--bc)/1))}@supports not (color:oklch(0 0 0)){:root{color-scheme:light;--fallback-p:#491eff;--fallback-pc:#d4dbff;--fallback-s:#ff41c7;--fallback-sc:#fff9fc;--fallback-a:#00cfbd;--fallback-ac:#00100d;--fallback-n:#2b3440;--fallback-nc:#d7dde4;--fallback-b1:#fff;--fallback-b2:#e5e6e6;--fallback-b3:#e5e6e6;--fallback-bc:#1f2937;--fallback-in:#00b3f0;--fallback-inc:#000;--fallback-su:#00ca92;--fallback-suc:#000;--fallback-wa:#ffc22d;--fallback-wac:#000;--fallback-er:#ff6f70;--fallback-erc:#000}@media (prefers-color-scheme:dark){:root{color-scheme:dark;--fallback-p:#7582ff;--fallback-pc:#050617;--fallback-s:#ff71cf;--fallback-sc:#190211;--fallback-a:#00c7b5;--fallback-ac:#000e0c;--fallback-n:#2a323c;--fallback-nc:#a6adbb;--fallback-b1:#1d232a;--fallback-b2:#191e24;--fallback-b3:#15191e;--fallback-bc:#a6adbb;--fallback-in:#00b3f0;--fallback-inc:#000;--fallback-su:#00ca92;--fallback-suc:#000;--fallback-wa:#ffc22d;--fallback-wac:#000;--fallback-er:#ff6f70;--fallback-erc:#000}}}html{-webkit-tap-highlight-color:transparent}:root{color-scheme:light;--in:0.7206 0.191 231.6;--su:64.8% 0.150 160;--wa:0.8471 0.199 83.87;--er:0.7176 0.221 22.18;--pc:0.89824 0.06192 275.75;--ac:0.15352 0.0368 183.61;--inc:0 0 0;--suc:0 0 0;--wac:0 0 0;--erc:0 0 0;--rounded-box:1rem;--rounded-btn:0.5rem;--rounded-badge:1.9rem;--animation-btn:0.25s;--animation-input:.2s;--btn-focus-scale:0.95;--border-btn:1px;--tab-border:1px;--tab-radius:0.5rem;--p:0.4912 0.3096 275.75;--s:0.6971 0.329 342.55;--sc:0.9871 0.0106 342.55;--a:0.7676 0.184 183.61;--n:0.321785 0.02476 255.701624;--nc:0.894994 0.011585 252.096176;--b1:1 0 0;--b2:0.961151 0 0;--b3:0.924169 0.00108 197.137559;--bc:0.278078 0.029596 256.847952}*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saLine truncated
|
||||||
+2
-2
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
<title class="translate-text">TÜRKMENISTANYŇ "TÜRKMENBAŞY" PAÝDARLAR TÄJIRÇILIK BANKY</title>
|
||||||
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
<link rel="icon" type="image/x-icon" href="/images/tbb_logo.svg">
|
||||||
<link rel="stylesheet" href="/css/app.css?v=5">
|
<link rel="stylesheet" href="/css/app.css?v=6">
|
||||||
|
|
||||||
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
<script defer src="https://track.webulgam.com/script.js" data-website-id="79e22534-b5d7-4b5a-849c-c0f338c1018d"></script>
|
||||||
<style>
|
<style>
|
||||||
@@ -450,7 +450,7 @@
|
|||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
<script src="/js/slider.js?v=7"></script>
|
<script src="/js/slider.js?v=10"></script>
|
||||||
<script src="/js/app.js?v=3"></script>
|
<script src="/js/app.js?v=3"></script>
|
||||||
<script src="/js/chatbot.js?v=8"></script>
|
<script src="/js/chatbot.js?v=8"></script>
|
||||||
</html>
|
</html>
|
||||||
+16
-1
@@ -34,12 +34,23 @@ function initializeMainSlider() {
|
|||||||
track.style.transform = 'translateX(' + offset + 'px)';
|
track.style.transform = 'translateX(' + offset + 'px)';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateHeight() {
|
||||||
|
var slide = slides[index];
|
||||||
|
if (!slide) return;
|
||||||
|
var img = slide.querySelector('img');
|
||||||
|
var height = (img && img.offsetHeight) || slide.offsetHeight;
|
||||||
|
if (height > 0) {
|
||||||
|
container.style.height = height + 'px';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function goTo(i) {
|
function goTo(i) {
|
||||||
index = i;
|
index = i;
|
||||||
if (index >= slides.length) index = 0;
|
if (index >= slides.length) index = 0;
|
||||||
if (index < 0) index = slides.length - 1;
|
if (index < 0) index = slides.length - 1;
|
||||||
dragDelta = 0;
|
dragDelta = 0;
|
||||||
applyTransform(true);
|
applyTransform(true);
|
||||||
|
updateHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
function next() {
|
function next() {
|
||||||
@@ -106,7 +117,10 @@ function initializeMainSlider() {
|
|||||||
var link = slide.querySelector('a');
|
var link = slide.querySelector('a');
|
||||||
var img = slide.querySelector('img');
|
var img = slide.querySelector('img');
|
||||||
if (link) link.setAttribute('draggable', 'false');
|
if (link) link.setAttribute('draggable', 'false');
|
||||||
if (img) img.setAttribute('draggable', 'false');
|
if (img) {
|
||||||
|
img.setAttribute('draggable', 'false');
|
||||||
|
img.addEventListener('load', updateHeight);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
container.addEventListener('pointerdown', onPointerDown, { passive: false });
|
container.addEventListener('pointerdown', onPointerDown, { passive: false });
|
||||||
@@ -132,6 +146,7 @@ function initializeMainSlider() {
|
|||||||
|
|
||||||
window.addEventListener('resize', function () {
|
window.addEventListener('resize', function () {
|
||||||
applyTransform(true);
|
applyTransform(true);
|
||||||
|
updateHeight();
|
||||||
});
|
});
|
||||||
|
|
||||||
goTo(0);
|
goTo(0);
|
||||||
|
|||||||
Reference in new issue
Block a user