remove the cookiebar

no longer necessary \o/
This commit is contained in:
Astro 2016-12-09 01:11:38 +01:00
parent 2da09617f6
commit 3e406c5d7b
3 changed files with 0 additions and 54 deletions

View File

@ -1,15 +0,0 @@
dt = window.document.title;
if (!(window.localStorage.cookiebarHidden || dt.search('Spendenaufruf') > 0 || dt.search('Unterstützen') > 0)) {
var el = $("<aside class='cookiebar'><p class='close' title='Für immer verstecken'><small>Mit Cookie dauerhaft ausblenden: </small>✖</p><h2>Wir setzen keine Cookies</h2><p>, aber der C3D2 braucht regelmäßige <a href='/unterstuetzen.html'>Unterstützung…</a></p></article></aside>")
el.find('.close').click(function() {
window.localStorage.cookiebarHidden = true
el.removeClass('show')
setTimeout(function() {
el.remove()
}, 500)
})
$('body').prepend(el)
setTimeout(function() {
el.addClass('show')
}, 1000)
}

View File

@ -903,42 +903,6 @@ h3 + div {
margin: 1ex;
}
/* -- Cookiebar -- */
.cookiebar {
color: black;
background-color: #ffffcc;
border-bottom: 0.05rem solid black;
margin: 0;
margin-top: -1.6rem;
padding: 0.3rem 0.1rem 0 0.2rem;
transition: margin-top 0.3s ease-in;
height: 1.4rem;
}
.cookiebar.show {
margin-top: 0;
transition: margin-top 0.5s ease-out;
}
.cookiebar .close {
float: right;
cursor: pointer;
font-size: 100%;
color: #777;
margin: 0;
}
.cookiebar .close:hover {
color: #333;
}
.cookiebar h2, .cookiebar p {
display: inline;
margin: 0;
font-size: 80%;
line-height: 1rem;
font-weight: medium;
}
.cookiebar h2 {
font-size: 100%;
}
.calweek {
float: right;
color: #f99;

View File

@ -63,9 +63,6 @@
<xsl:call-template name="make-script-tag">
<xsl:with-param name="name" select="'bitlove-enclosures'"/>
</xsl:call-template>
<xsl:call-template name="make-script-tag">
<xsl:with-param name="name" select="'cookiebar'"/>
</xsl:call-template>
</xsl:template>