emby 4.8
This commit is contained in:
1
modules/appfooter/appfooter.css
Normal file
1
modules/appfooter/appfooter.css
Normal file
@@ -0,0 +1 @@
|
||||
.appfooter{position:fixed;left:0;right:0;bottom:0;inset-inline-start:0;inset-inline-end:0;z-index:1098;contain:layout style;display:-webkit-flex;display:flex;-webkit-flex-direction:column;flex-direction:column;padding-bottom:0;border-top:1px solid transparent;bottom:-1px!important}.appfooter-withContent{padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0);padding-bottom:env(safe-area-inset-bottom,0)}@media not all and (min-width:50em){.appfooter-withContent50w{padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0);padding-bottom:env(safe-area-inset-bottom,0)}}
|
||||
1
modules/appfooter/appfooter.js
Normal file
1
modules/appfooter/appfooter.js
Normal file
@@ -0,0 +1 @@
|
||||
define(["exports","./../dom.js"],function(_exports,_dom){function AppFooter(){var elem;this.element=((elem=document.createElement("div")).classList.add("appfooter"),_dom.default.allowBackdropFilter()&&elem.classList.add("appfooter-withbackdropfilter"),document.body.appendChild(elem),elem)}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,require(["css!modules/appfooter/appfooter.css"]),AppFooter.prototype.add=function(elem){"string"==typeof elem?this.element.insertAdjacentHTML("beforeend",elem):this.element.appendChild(elem)},AppFooter.prototype.insert=function(elem){var thisElement=this.element;"string"==typeof elem?thisElement.insertAdjacentHTML("afterbegin",elem):thisElement.insertBefore(elem,thisElement.firstChild)},AppFooter.prototype.setWithContent=function(withContent){var thisElement=this.element;withContent?thisElement.classList.add("appfooter-withContent"):thisElement.classList.remove("appfooter-withContent")},AppFooter.prototype.setWithContent50w=function(withContent){var thisElement=this.element;withContent?thisElement.classList.add("appfooter-withContent50w"):thisElement.classList.remove("appfooter-withContent50w")},AppFooter.prototype.destroy=function(){this.element=null};var _default=new AppFooter;_exports.default=_default});
|
||||
Reference in New Issue
Block a user