Update: Creacion de Papilocare
This commit is contained in:
@@ -0,0 +1,194 @@
|
||||
<style>
|
||||
.back0 {
|
||||
background-image: url(img/bg05.jpg);
|
||||
background-size: cover;
|
||||
background-position: top center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: 4px solid transparent;
|
||||
border-radius: 14px;
|
||||
/* Capa 1: fondo blanco del contenido, Capa 2: borde radial degradado */
|
||||
background-image: linear-gradient(white, white), radial-gradient(circle at center, #f5f0f5 0%, #7b3686 30%, #efba92 80%, #7b3686 100%);
|
||||
background-origin: border-box;
|
||||
background-clip: padding-box, border-box;
|
||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
.btn-pop {
|
||||
cursor: pointer;
|
||||
border-radius: 100%;
|
||||
position: relative;
|
||||
/* asegurar posicionamiento para z-index */
|
||||
z-index: 99999 !important;
|
||||
}
|
||||
|
||||
.pop-type0 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
@media(min-width: 768px) {
|
||||
.pop-type0 {
|
||||
width: 60%;
|
||||
}
|
||||
}
|
||||
|
||||
@media(min-width: 1200px) {
|
||||
.pop-type0 {
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
.imgs:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: -3rem;
|
||||
bottom: 74px;
|
||||
width: 110px;
|
||||
height: 110px;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-image: url(img/05.6.png);
|
||||
pointer-events: none;
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
.btn-responsive {
|
||||
position: absolute;
|
||||
right: 0%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<div class='page-sco py-3 py-md-4 back0'>
|
||||
<div class='container'>
|
||||
<div class='row justify-content-center align-items-center'>
|
||||
<div class='col-12'>
|
||||
<div class='row justify-content-center align-items-end'>
|
||||
<div class="col-12">
|
||||
<h2 class="text-center fw-semibold text-secondary">Niosomas y Fitosomas</h2>
|
||||
<p class="text-center">Son <b>sistemas nanotecnológicos de liberación prolongada</b> de gran
|
||||
efectividad.</p>
|
||||
</div>
|
||||
<div class="col-12 col-md-12 col-xl-10">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-7 col-md-4 col-xl-3">
|
||||
<img src="img/05.1.png" class="img-fluid">
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-6 col-md-2">
|
||||
<img src="img/05.2.png" class="img-fluid">
|
||||
<p class="text-center fw-semibold">Ácido hialurónico</p>
|
||||
</div>
|
||||
<div class="col-6 col-md-2">
|
||||
<p class="text-center text-pink-1 fw-bold">Niosomas</p>
|
||||
</div>
|
||||
<div class="col-6 col-md-2">
|
||||
<img src="img/05.3.png" class="img-fluid">
|
||||
<p class="text-center fw-semibold">β-glucano</p>
|
||||
</div>
|
||||
<div class="col-6 col-md-2">
|
||||
<p class="text-center text-pink-1 fw-bold">Fitosomas</p>
|
||||
</div>
|
||||
<div class="col-6 col-md-2">
|
||||
<img src="img/05.4.png" class="img-fluid">
|
||||
<p class="text-center fw-semibold">Centella asiática</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-2 col-xl-2 text-center btn-responsive">
|
||||
<button
|
||||
class="btn btn-transparent border-0 my-0 mx-0 py-0 px-0 text-white animate__animated animate__pulse animate__infinite disable btn-pop"
|
||||
style="display: non;" data-popid="#pop0" data-audio="0"><img src="img/question.png"
|
||||
class="img-fluid"></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-none">
|
||||
<div id="pop0">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="col-12 col-md-12 col-xl-12 text-start">
|
||||
<!-- <h3 class="fw-semibold text-pink-1 text-center">¿Para quién?</h3> -->
|
||||
<p>Mejoran la biodisponibilidad, permitiendo una <b>penetración más profunda</b> a nivel
|
||||
basal y una <b>liberación prolongada</b> para un efecto duradero de
|
||||
<b>Papilocare<sup>®</sup></b> en la mucosa cervical.
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-12 col-md-10 col-xl-10 mt-4 my-md-0">
|
||||
<img src="img/05.5.png" class="img-fluid floating" alt="Nombre comercial">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$(function () {
|
||||
"use strict";
|
||||
$('body').addClass('fake');
|
||||
const audiom15 = CourseNav.createSound('audio/audiom15.mp3');
|
||||
CourseNav.audioController.stopAllSoundsAndPlay(audiom15);
|
||||
audiom15.on('play', function () {
|
||||
|
||||
});
|
||||
audiom15.on("end", function () {
|
||||
|
||||
});
|
||||
|
||||
const audios = [
|
||||
CourseNav.createSound('audio/audiom16.mp3'),
|
||||
];
|
||||
|
||||
$('.btn-pop').click(function (e) {
|
||||
e.preventDefault();
|
||||
$(this).removeClass('animate__animated animate__pulse animate__infinite').addClass('completed visited');
|
||||
const index = $('.btn-pop').index(this);
|
||||
console.log(index);
|
||||
CourseNav.audioController.stopAllSoundsAndPlay(audios[index]);
|
||||
const html = $($(this).data('popid')).html();
|
||||
Swal.fire({
|
||||
html: html,
|
||||
target: "body",
|
||||
customClass: {
|
||||
popup: 'pop-type0 imgs bg-transparent p-0',
|
||||
htmlContainer: 'html-pop-style p-3',
|
||||
confirmButton: 'btn btn-begin text-white fw-bold animate__animated animate__pulse animate__infinite py-1 px-4'
|
||||
},
|
||||
confirmButtonText: "Cerrar",
|
||||
showConfirmButton: true,
|
||||
allowOutsideClick: false,
|
||||
allowEscapeKey: false,
|
||||
focusConfirm: false,
|
||||
backdrop: "rgba(171, 180, 183, .8)",
|
||||
// width: "45%",
|
||||
heightAuto: false,
|
||||
didOpen: () => {
|
||||
document.body.style.paddingRight = '';
|
||||
},
|
||||
didClose: () => {
|
||||
document.body.style.paddingRight = '';
|
||||
CourseNav.audioController.stopAudio();
|
||||
if ($('.btn-pop').length == $('.btn-pop.completed').length) {
|
||||
CourseNav.setSlideVisited(true);
|
||||
}
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user