From 5d1234b974894798919dca1cf1e606a5cfff5f9c Mon Sep 17 00:00:00 2001 From: nael Date: Mon, 27 May 2019 16:21:51 +0200 Subject: [PATCH] wip #2745 @0.20 --- public/_modules/cookies-banner/cookie.js | 3 +++ public/_modules/cookies-banner/index.html | 25 ++++++++++++++++++++++ public/_modules/cookies-banner/style.styl | 26 +++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 public/_modules/cookies-banner/cookie.js create mode 100644 public/_modules/cookies-banner/index.html create mode 100644 public/_modules/cookies-banner/style.styl diff --git a/public/_modules/cookies-banner/cookie.js b/public/_modules/cookies-banner/cookie.js new file mode 100644 index 0000000..72534c8 --- /dev/null +++ b/public/_modules/cookies-banner/cookie.js @@ -0,0 +1,3 @@ +$('.cookie-btn').on('click', function () { + $('#cookie-banner').hide(); +}); \ No newline at end of file diff --git a/public/_modules/cookies-banner/index.html b/public/_modules/cookies-banner/index.html new file mode 100644 index 0000000..39c3aa9 --- /dev/null +++ b/public/_modules/cookies-banner/index.html @@ -0,0 +1,25 @@ + + + + + + + + + + pmi + + + + + + + + \ No newline at end of file diff --git a/public/_modules/cookies-banner/style.styl b/public/_modules/cookies-banner/style.styl new file mode 100644 index 0000000..a67832f --- /dev/null +++ b/public/_modules/cookies-banner/style.styl @@ -0,0 +1,26 @@ +$h3 = 24px +$barlow = 'Barlow', sans-serif +$muli = 'Muli', sans-serif +$dark = #6B7287 +* + padding: 0 + box-sizing: border-box + margin: 0 + font-family: $muli + +#cookie-banner + height: 72px + width: 100vw + font-size: 14px + background-color: rgba(21, 47, 78, 0.8) + position: fixed + bottom: 0 + p:not(:last-child) { + margin-bottom: 0; + } + p + margin-right: 3.5vw + .cookie-btn + background-color: #0EAADA + padding: 9px 13px + border-radius: 3px \ No newline at end of file -- 2.39.5