diff --git a/assets/global.css b/assets/global.css index 763ac8c..e56f130 100644 --- a/assets/global.css +++ b/assets/global.css @@ -61,7 +61,7 @@ body { background: --mdc-theme-primary; color: --mdc-theme-background; text-align: center; - bottom: -100; + bottom: -100px; left: 0; z-index: 9999; } diff --git a/assets/global.js b/assets/global.js index b1f66d4..3288e0b 100644 --- a/assets/global.js +++ b/assets/global.js @@ -36,15 +36,13 @@ $(document).ready(function(){ if(Cookies.get("demo.matthew-grove.ml-cookies-accepted") != "true") { $("#cookies").load("/page-inserts/cookie-notice.html", function(){ $("#cookies").show(); - $("#cookies").animate({bottom: "+100px"}, 1000); - $(".source-code-link").animate({bottom: "+100px"}, 1000); + $("#cookies").animate({bottom: "0px"}, 1000); + $(".source-code-link").animate({bottom: "100px"}, 1000); $("#close-cookies").click(function(){ event.preventDefault(); - // $("#cookies").animate({bottom: "0px"}, 1000); - $("#cookies").removeAttr("style"); + $("#cookies").animate({bottom: "-100px"}, 1000); $("#cookies").hide(); - $(".source-code-link").removeAttr("style"); - // $(".source-code-link").animate({bottom: "0px"}, 1000); + $(".source-code-link").animate({bottom: "15px"}, 1000); Cookies.set("demo.matthew-grove.ml-cookies-accepted", "true", {expires: 30}); }); }); diff --git a/remove.html b/remove.html index af0006c..d755bff 100644 --- a/remove.html +++ b/remove.html @@ -1,5 +1,8 @@ +
+ +