mirror of
https://github.com/gilbN/theme.park.git
synced 2024-10-02 21:47:12 +02:00
deploy: cc65baab0b
This commit is contained in:
parent
a969686081
commit
2250a10dc9
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
8
CSS/addons/plex/plex-alt-logo/plex-alt-logo.css
Normal file
8
CSS/addons/plex/plex-alt-logo/plex-alt-logo.css
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[class*="NavBar-plexLogo-"] {
|
||||||
|
background-image: url("https://theme-park.dev/CSS/addons/plex/plex-alt-logo/SeekPng.com_your-logo-here-png_2467553.png");
|
||||||
|
background-position: 50%;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
margin: 0 10px;
|
||||||
|
width: 45px;
|
||||||
|
}
|
@ -42,7 +42,9 @@ if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}"; then
|
|||||||
sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/variables\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
|
sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/variables\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
|
||||||
printf 'Stylesheet set to %s\n' "${TP_THEME}"
|
printf 'Stylesheet set to %s\n' "${TP_THEME}"
|
||||||
if [[ -n ${TP_ADDON} ]]; then
|
if [[ -n ${TP_ADDON} ]]; then
|
||||||
sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/addons\/plex\/${TP_ADDON}\/${TP_ADDON}.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
|
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
|
||||||
printf 'Added custom addon: %s\n\n' "${TP_ADDON}"
|
sed -i "s/<\/head>/<link rel='stylesheet' href='https:\/\/${TP_DOMAIN}\/CSS\/addons\/plex\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
|
||||||
|
printf 'Added custom addon: %s\n\n' "${addon}"
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user