update
This commit is contained in:
+17
-3
@@ -15,6 +15,14 @@
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.fake2 {
|
||||
background-image: url(img/bg03.jpg);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.btn-comenzar {
|
||||
border-radius: 20px;
|
||||
border-bottom-left-radius: 0;
|
||||
@@ -68,6 +76,9 @@
|
||||
.btn-answer:hover .letter {
|
||||
background-color: #6c9d7a;
|
||||
}
|
||||
.btn-reintentar {
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<div id="inicio" class='page-sco py-2 py-md-0 h-100'>
|
||||
<div class='container h-100'>
|
||||
@@ -402,7 +413,7 @@
|
||||
if (preguntasActual >= preguntasMax) {
|
||||
setTimeout(() => {
|
||||
finalizarJuego();
|
||||
}, 700);
|
||||
}, 400);
|
||||
} else {
|
||||
mostrarPregunta();
|
||||
}
|
||||
@@ -420,8 +431,11 @@
|
||||
const porcentaje = (preguntasCorrectas / preguntasMax) * 100;
|
||||
const aprobado = porcentaje >= 60;
|
||||
|
||||
$('.wrap-course-content').addClass('fake2').removeClass('fake1');
|
||||
|
||||
CourseNav.setSlideVisited();
|
||||
|
||||
if (aprobado) {
|
||||
CourseNav.setSlideVisited();
|
||||
$('#desarrollo').hide();
|
||||
$('#cierre').show();
|
||||
} else {
|
||||
@@ -437,4 +451,4 @@
|
||||
questions = shuffleArray(procesarPreguntas(hojaDatos));
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user