Skip to content
This repository was archived by the owner on Sep 13, 2019. It is now read-only.

Commit ac9d417

Browse files
committed
canary
1 parent 5007f9c commit ac9d417

File tree

5 files changed

+40
-16
lines changed

5 files changed

+40
-16
lines changed

client/templates/footer-canary.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Template.footerCanary.rendered = function(){
2+
this.$("[data-toggle=popover]").popover({html: true});
3+
};

styles/app.less

+25-16
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,31 @@ body{
272272
}
273273
}
274274
}
275+
276+
.popover{
277+
border-radius:0;
278+
border-color: #000;
279+
font-family: 'Roboto-Light', sans-serif;
280+
padding: 0;
281+
background-color: rgba(255,255,255,1);
282+
color: #333;
283+
max-width: 400px;
284+
.popover-title{
285+
background-color: rgba(0,0,0,0.8);
286+
color: #fff;
287+
border-radius: 0;
288+
border: 0;
289+
}
290+
.arrow{
291+
border-right-color: #000 !important;
292+
}
293+
.popover-content{
294+
p:last-of-type{
295+
margin-bottom: 0;
296+
}
297+
}
298+
}
299+
275300
}
276301

277302
.point-down, .subsection.point-from-left, .subsection.point-from-right{
@@ -378,22 +403,6 @@ body{
378403
}
379404
}
380405

381-
.popover{
382-
border-radius:0;
383-
border-color: #000;
384-
font-family: 'Roboto-Light', sans-serif;
385-
padding: 0;
386-
background-color: rgba(255,255,255,1);
387-
.popover-title{
388-
background-color: rgba(0,0,0,0.8);
389-
color: #fff;
390-
border-radius: 0;
391-
border: 0;
392-
}
393-
.arrow{
394-
border-right-color: #000 !important;
395-
}
396-
}
397406

398407
table.multicolored{
399408
table-layout: fixed;

styles/footer-canary.less

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#footer-canary{
2+
margin-top: 30px;
3+
a{
4+
color: #fff;
5+
}
6+
}

templates/footer-canary.html

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<template name="footerCanary">
2+
<section id="footer-canary">
3+
<a data-toggle="popover" title="Canary" data-content="<p>Stiftung Ethereum has never been contacted any government agency anywhere in the world in a way which requires that contact not to be disclosed.</p><p>Stiftung Ethereum will publicly disclose any sort of inquiry from government agencies that falls outside the scope of regular business operations.</p>" data-trigger="hover" data-placement="top">Canary</a>
4+
</section>
5+
</template>

templates/footer.html

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ <h4>Resources</h4>
6969
<div class="pull-right hidden-sm right-section">
7070
<img class="logo" src="/images/ETHEREUM_NAV-BAR-LOGO.png"/>
7171
{{> mediaLinks}}
72+
{{> footerCanary }}
7273
</div>
7374
</div>
7475
</div>

0 commit comments

Comments
 (0)