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() { $("#footerLinkCookie").on("click", function() {
$("#cookieConsent").removeClass("displayNone"); $("#cookieConsent").removeClass("displayNone");
}); });
/**
* Animation du panneau des cookies
*/
$('#cookieConsent').delay(2000).animate({ left: '5%' }, 1500);
/** /**
* Affiche / Cache le menu en mode responsive * Affiche / Cache le menu en mode responsive

View File

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