animation cookie

This commit is contained in:
deltacms 2024-02-25 09:25:41 +01:00
parent 9410b6da65
commit 3be03a2dad
2 changed files with 7 additions and 4 deletions

View File

@ -291,6 +291,11 @@ core.start = function() {
$("#footerLinkCookie").on("click", function() {
$("#cookieConsent").removeClass("displayNone");
});
/**
* Animation du panneau des cookies
*/
$('#cookieConsent').delay(2000).animate({ left: '5%' }, 1500);
/**
* Affiche / Cache le menu en mode responsive

View File

@ -537,12 +537,10 @@ footer #footerSocials .delta-ico-github:hover {
}
/* Message sur les cookies */
#cookieConsent {
width: 60%;
margin: auto;
width: 40%;
position: fixed;
right: 0;
bottom: 5%;
left: 0;
left: -100%;
padding: 10px;
z-index: 60;
text-align: center;