normalize rating to fsk

This commit is contained in:
Luke Pulverenti 2016-09-18 01:52:10 -04:00
parent 1f57d9b231
commit 2971ec0e69
86 changed files with 388 additions and 136 deletions

View file

@ -6,10 +6,15 @@
z-index: 1;
bottom: 0;
transition: transform 180ms linear;
contain: layout style;
}
.appfooter.headroom--unpinned {
transform: translateY(100%);
}
.appfooter-blurred {
background: rgba(28,28,28,.92);
-webkit-backdrop-filter: blur(5px);
backdrop-filter: blur(5px);
}
.appfooter.headroom--unpinned {
transform: translateY(100%);
}

View file

@ -1,4 +1,4 @@
define(['css!./appfooter'], function () {
define(['browser', 'css!./appfooter'], function (browser) {
function render(options) {
@ -6,6 +6,10 @@
elem.classList.add('appfooter');
if (browser.safari) {
elem.classList.add('appfooter-blurred');
}
document.body.appendChild(elem);
return elem;