From 7921ea3f71ca131300dce15ed65b2b2a1617c634 Mon Sep 17 00:00:00 2001 From: Leo McArdle Date: Thu, 27 Jul 2017 14:43:10 +0100 Subject: [PATCH] add nda nightly banner --- common/after_header.html | 11 +++++++++ common/common.scss | 51 ++++++++++++++++++++++++++++++++++++++++ common/head_tag.html | 47 ++++++++++++++++++++++++++++++++++++ 3 files changed, 109 insertions(+) create mode 100644 common/after_header.html diff --git a/common/after_header.html b/common/after_header.html new file mode 100644 index 0000000..719acab --- /dev/null +++ b/common/after_header.html @@ -0,0 +1,11 @@ +
+ +
diff --git a/common/common.scss b/common/common.scss index 4aafe93..66090b2 100644 --- a/common/common.scss +++ b/common/common.scss @@ -34,3 +34,54 @@ h1, h2, h3, h4, h5, h6 { .category-list tbody .category h3 { font-size: 1.4em; } + +.download-banner { + display: none; +} + +.sad-mayo { + display: none; +} + +.category-mozillians-nda .sad-mayo { + display: block; + position: fixed; + top: 0; + left: 0; + bottom: 0; + right: 0; + z-index: 99; + background: #fff; + text-align: center; + padding-top: 70px; + + button { + display: block; + position: absolute; + top: 100px; + right: 30px; + } + + a { + font-size: 2em; + + img { + display: block; + margin: 30px auto; + } + + #happy-mayo { + display: none; + } + + &:hover { + #sad-mayo { + display: none; + } + + #happy-mayo { + display: block; + } + } + } +} diff --git a/common/head_tag.html b/common/head_tag.html index c02e74b..fe91133 100644 --- a/common/head_tag.html +++ b/common/head_tag.html @@ -9,3 +9,50 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= })(window,document,'script','dataLayer','GTM-TMGHNBJ')}; + + + +