/home/vianto5/duettowers.mx/sliders/cercanias
Edit: /home/vianto5/duettowers.mx/sliders/cercanias/style.css (2242B)
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
align-items: center;
justify-content: center;
background: #ededed;
}
.container {
max-width: 100%;
width: 100%;
}
.slider-wrapper {
position: relative;
}
.slider-wrapper .slide-button {
position: fixed;
height: 50px;
width: 50px;
color: #6f7271;
background: #ededed;
font-size: 2.2rem;
cursor: pointer;
border: solid 1px #6f7271;
border-radius: 3px;
top: 2%;
transition: all 300ms;
}
.slider-wrapper .slide-button:hover {
background: #68a2b9;
color: #fff;
border-color: #68a2b9;
}
.slider-wrapper .slide-button#prev-slide {
right: 75px;
}
.slider-wrapper .slide-button#next-slide {
right: 10px;
}
.slider-wrapper .image-list {
display: grid;
gap: 20px;
font-size: 0;
margin-top: 3%;
margin-bottom: 30px;
overflow-x: auto;
scrollbar-width: none;
grid-template-columns: repeat(16, 1fr);
}
.slider-wrapper .image-list .image-item{
width: 430px;
object-fit: cover;
margin-top: 30px;
margin-bottom: 30px;
border-radius: 8px;
}
.slider-wrapper .image-list .button-redirect{
width: 100%;
height: 44px;
background: #6f7271;
color: #fff;
border: none;
border-radius: 4px;
font-size: 22px;
font-weight: 700;
transition: all 300ms;
}
.slider-wrapper .image-list .button-redirect:hover{
background: #68a2b9;
cursor: pointer;
}
.container .slider-scrollbar {
height: 24px;
width: 100%;
display: flex;
align-items: center;
}
.slider-scrollbar .scrollbar-track {
height: 4px;
width: 100%;
background: #d9d9d9;
position: relative;
border-radius: 4px;
}
.slider-scrollbar:hover .scrollbar-track {
height: 5px;
}
.slider-scrollbar .scrollbar-thumb {
position: absolute;
height: 100%;
width: 25%;
background: #68a2b9;
border-radius: 4px;
cursor: grab;
}
.slider-scrollbar .scrollbar-thumb:active {
cursor: grabbing;
height: 5px;
top: -1px;
}
.slider-scrollbar .scrollbar-thumb::after {
content: "";
position: absolute;
left: 0;
right: 0;
top: -10px;
bottom: -10px;
}