New BG
This commit is contained in:
parent
4ab0680593
commit
a23deddcfe
3 changed files with 1211 additions and 0 deletions
|
@ -4,6 +4,7 @@ function register ({ registerHook, peertubeHelpers }) {
|
|||
const filterUrl = baseStaticUrl + '/images/filter_black.png';
|
||||
const keyboardUrl = baseStaticUrl + '/images/keyboard_black.png';
|
||||
const languagesUrl = baseStaticUrl + '/images/languages_black.png';
|
||||
const backgroundUrl = baseStaticUrl + '/images/back_cube_lm.svg';
|
||||
const image404 = baseStaticUrl + '/images/404.svg'
|
||||
const style = document.createElement('style')
|
||||
document.head.appendChild(style)
|
||||
|
@ -24,6 +25,11 @@ function register ({ registerHook, peertubeHelpers }) {
|
|||
rule+= " background-image: url('"+ keyboardUrl +"'); -webkit-filter: none; filter: none"
|
||||
rule+= " } "
|
||||
sheet.insertRule(rule, 0)
|
||||
// Change background
|
||||
rule = " #custom-css .sub-header-container{ "
|
||||
rule+= " background-image: url('"+ backgroundUrl +"'); -webkit-filter: none; filter: none"
|
||||
rule+= " } "
|
||||
sheet.insertRule(rule, 0)
|
||||
// STYLES END
|
||||
|
||||
/* ANGULAR NAVIGATION-END */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue