<div class="modal fade show" id="modalTour" data-show="true" tabindex="-1" role="dialog" data-keyboard="false" data-backdrop="static">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-body">
<div class="slider">
<div class="itm">
<div class="ilustration">
<img src="https://assets-global.website-files.com/5bcb5ee81fb2091a2ec550c7/5ec376cc49f524997ab3639d_peach-thumbnail-800px.png" alt="">
</div>
<h3>Chequeamos el auto</h3>
<p>Un experto mecánico se comunicará con el dueño para fijar una visita y revisar el estado integral del vehículo.</p>
<div class="content-button">
<button type="button" class="next btn-da-primary" >Siguiente</button>
</div>
</div>
<div class="itm">
<div class="ilustration">
<img src="https://assets-global.website-files.com/5bcb5ee81fb2091a2ec550c7/5ec376cc49f524997ab3639d_peach-thumbnail-800px.png" alt="">
</div>
<h3>Te llega el informe</h3>
<p>Después de la revisión mecánica, te enviaremos el informe vía email. Si no lo realizamos <strong>te devolvemos el dinero</strong>.</p>
<div class="content-button">
<button type="button" class="next btn-da-primary" >Siguiente</button>
</div>
</div>
<div class="itm">
<div class="ilustration">
<img src="https://assets-global.website-files.com/5bcb5ee81fb2091a2ec550c7/5ec376cc49f524997ab3639d_peach-thumbnail-800px.png" alt="">
</div>
<h3>¡Listo para tomar una decisión!</h3>
<p>Con informe del chequeo mecánico podrás tener la <strong>seguridad sobre el auto que te interesa y así tomar una decisión de compra</strong>.</p>
<div class="content-button">
<button type="button" class="btn-da-primary" data-dismiss="modal" aria-label="Close">Entendido!</button>
</div>
</div>
</div>
<div class="tour-dots"></div>
</div>
</div>
</div>
</div>
$primaryFont : 'Poppins', sans-serif;
$secondaryFont : 'Source Sans Pro', sans-serif;
$primaryColor : #4379FF;
$secondaryColor : #F05D5D;
$darkSpace : #353B48;
$lightSpace : #A7B1C6;
$whiteSmoke : #F3F5FF;
$success : #72D693;
$error : #E83E3E;
$attention : #F6C165;
.modal{
@media (max-width:768px){
margin:0;
padding:0!important;
}
.modal-dialog{
@media (max-width:768px){
margin:0;
max-width:unset;
}
.modal-content{
border-radius: 12px;
@media (max-width: 768px){
border-radius: 0;
height: 100vh;
}
}
}
}
.slider{
margin: 0;
width: 100%;
height:100%;
.slick-prev{
display:none!important;
}
.itm{
text-align: center;
min-height: 350px;
display: block;
width:100%;
outline: 0;
padding: 20px;
padding-top:0;
.ilustration{
display: block;
max-width: 250px;
margin: 20px auto;
margin-top:0;
text-align: center;
img{
max-width: 250px;
}
}
h3{
font-family: $primaryFont;
font-weight: bold;
color: $darkSpace;
text-align: center;
font-size: 22px;
margin-bottom: 20px;
}
p{
font-family: $secondaryFont;
color: $darkSpace;
font-size: 16px;
text-align: center;
padding: 0 30px;
@media (max-width: 768px){
padding: 0;
}
}
.content-button{
text-align: center;
margin-top: 25px;
button{
outline:0;
}
}
}
}
.slick-dots {
list-style: none;
margin: 0;
padding: 0;
display:block;
text-align:center;
.slick-active {
button {
height: 15px;
width: 15px;
transform: scale(1);
background-color: $primaryColor;
}
}
li {
display:inline-block;
margin:0 4px;
padding:0;
height: 15px;
width: 15px;
button {
transition: ease all .3s;
background-color:$lightSpace;
border: 0;
border-radius:50%;
opacity: 1;
display: block;
height: 15px;
width: 15px;
outline: none;
line-height: 0px;
font-size: 0px;
cursor: pointer;
transform: scale(.7);
&:hover, &:focus {
}
}
}
}
.btn-da-primary, .btn-da-primary:visited, .btn-da-primary:focus {
background-color: $primaryColor;
font-size: 16px;
font-weight: bold;
font-family: $primaryFont;
color: white;
display: inline-block;
text-align: center;
min-width: 140px;
border-radius: 25px;
padding: 10px 25px;
border: 1px solid transparent;
transition: ease all 0.3s;
margin-bottom: 13px;
text-transform: uppercase;
cursor: pointer;
@media (max-width: 768px) {
font-size: 16px;
}
&:hover {
background-color: lighten($primaryColor, 8%);
color: white;
}
&:active {
background-color: darken($primaryColor, 8%);
}
&:disabled, &.disabled {
background-color: $lightSpace;
cursor: default;
user-select: none;
}
&.outline {
border-color: $primaryColor;
color: $primaryColor;
background-color: transparent;
&:hover {
background-color: $primaryColor;
color: white;
}
&:active {
background-color: darken($primaryColor, 8%);
}
&.disabled {
background-color: $lightSpace;
}
}
&.small{
padding: 10px 20px;
min-width: unset;
font-size: 12px;
line-height: 100%;
}
}
View Compiled
$(document).ready(function(){
$('.slider').each(function (index, sliderWrap) {
var $next = $(sliderWrap).find('.next');
$(sliderWrap).slick({
dots: true,
infinite: false,
slidesToShow: 1,
slidesToScroll: 1,
autoplay: false,
nextArrow: $next
});
});
$('#modalTour').on('shown.bs.modal', function (e) {
$('.slider').resize();
})
$('#modalTour').modal('show');
});