mirror of
https://github.com/gilbN/theme.park.git
synced 2024-08-17 15:39:36 +02:00
commit
f77c176992
@ -1,17 +1,5 @@
|
|||||||
.bazarr-Avatar-root[class*="bazarr-"] img {
|
[class*="bazarr-"].bazarr-Avatar-image {
|
||||||
display: none !important;
|
content: url("/css/addons/bazarr/bazarr-4k-logo/bazarr4k.png");
|
||||||
}
|
|
||||||
|
|
||||||
.bazarr-Avatar-root[class*="bazarr-"]:before {
|
|
||||||
background-image: url("/css/addons/bazarr/bazarr-4k-logo/bazarr4k.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
content: "";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#root>div>header>div>div.bazarr-Group-root[class*="bazarr-"]>div>span:after {
|
#root>div>header>div>div.bazarr-Group-root[class*="bazarr-"]>div>span:after {
|
||||||
|
@ -1,96 +1,27 @@
|
|||||||
/* Desktop */
|
|
||||||
@media (min-width: 752px) {
|
@media (min-width: 752px) {
|
||||||
.navbar-brand>img {
|
[class*="PageHeader-logoFull-"] {
|
||||||
display:none !important;
|
content: url("/css/addons/radarr/radarr-4k-logo/radarr4k-v3.png");
|
||||||
}
|
margin-left: 15px;
|
||||||
.navbar > .container-fluid .navbar-brand:before {
|
width: 120px;
|
||||||
background-image: url("/css/addons/radarr/radarr-4k-logo/radarr4k.png");
|
height: 40px;
|
||||||
display: inline-block;
|
|
||||||
width: 128px;
|
|
||||||
height: 128px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
/* Mobile */
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
.navbar-brand .visible-xs img {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.navbar-brand .visible-xs {
|
|
||||||
display: inline !important;
|
|
||||||
}
|
|
||||||
.navbar > .container-fluid .navbar-brand:before {
|
|
||||||
background-image: url("/css/addons/radarr/radarr-4k-logo/radarr4k.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
margin-bottom: -12px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Radarr V3*/
|
@media only screen and (max-width: 768px) {
|
||||||
@media (min-width: 752px) {
|
[class*="PageHeader-logo-"] {
|
||||||
[class*="PageHeader-logoFull-"] {
|
width: 32px;
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
[class*="PageHeader-logoContainer-"]:before {
|
|
||||||
background-image: url("/css/addons/radarr/radarr-4k-logo/radarr4k-v3.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 148px;
|
|
||||||
height: 48px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
[class*="PageHeader-logo-"] {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
[class*="PageHeader-logoContainer-"]{
|
|
||||||
background-image: url("/css/addons/radarr/radarr-4k-logo/radarr-v3-mobile.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
height: 32px;
|
||||||
content:"";
|
margin-left: 0px;
|
||||||
background-size: cover;
|
content: url("/css/addons/radarr/radarr-4k-logo/radarr-v3-mobile.png");
|
||||||
-webkit-background-size: cover;
|
}
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
margin-left: 20px;
|
|
||||||
margin-right: 8px;
|
|
||||||
flex: 0 0 32px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="LoadingPage-logoFull-"] {
|
[class*="LoadingPage-logoFull-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/radarr/radarr-4k-logo/radarr4k-v3.png");
|
||||||
}
|
margin-top: 50px;
|
||||||
|
margin-right: auto;
|
||||||
[class*="LoadingPage-page-"]:before {
|
margin-left: auto;
|
||||||
background-image: url("/css/addons/radarr/radarr-4k-logo/radarr4k-v3.png");
|
width: 120px;
|
||||||
display: inline-block;
|
height: 40px;
|
||||||
width: 148px;
|
opacity: 1;
|
||||||
height: 48px;
|
}
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
margin-top: 50px;
|
|
||||||
margin-right: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
|
|
||||||
}
|
|
@ -1,53 +1,16 @@
|
|||||||
@media (min-width: 752px) {
|
@media (min-width: 752px) {
|
||||||
[class*="PageHeader-logo-"] {
|
[class*="PageHeader-logo-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/readarr/readarr-alt-logo/readarr_alt.png");
|
||||||
}
|
}
|
||||||
[class*="PageHeader-logoContainer-"]:before {
|
}
|
||||||
background-image: url("/css/addons/readarr/readarr-alt-logo/readarr_alt.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 34px;
|
|
||||||
height: 34px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media only screen and (max-width: 768px) {
|
||||||
[class*="PageHeader-logo-"] {
|
[class*="PageHeader-logo-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/readarr/readarr-alt-logo/readarr_alt.png");
|
||||||
}
|
}
|
||||||
[class*="PageHeader-logoContainer-"]:before {
|
|
||||||
background-image: url("/css/addons/readarr/readarr-alt-logo/readarr_alt.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 34px;
|
|
||||||
height: 34px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="LoadingPage-logoFull-"] {
|
[class*="LoadingPage-logoFull-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/readarr/readarr-alt-logo/readarr_alt.png");
|
||||||
}
|
opacity: 1;
|
||||||
|
}
|
||||||
[class*="LoadingPage-page-"]:before {
|
|
||||||
background-image: url("/css/addons/readarr/readarr-alt-logo/readarr_alt.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 48px;
|
|
||||||
height: 48px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
margin-top: 50px;
|
|
||||||
margin-right: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
|
|
||||||
}
|
|
@ -1,53 +1,16 @@
|
|||||||
@media (min-width: 752px) {
|
@media (min-width: 752px) {
|
||||||
[class*="PageHeader-logo-"] {
|
[class*="PageHeader-logo-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
|
||||||
}
|
}
|
||||||
[class*="PageHeader-logoContainer-"]:before {
|
}
|
||||||
background-image: url("/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media only screen and (max-width: 768px) {
|
||||||
[class*="PageHeader-logo-"] {
|
[class*="PageHeader-logo-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
|
||||||
}
|
}
|
||||||
[class*="PageHeader-logoContainer-"]:before {
|
|
||||||
background-image: url("/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[class*="LoadingPage-logoFull-"] {
|
[class*="LoadingPage-logoFull-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
|
||||||
}
|
opacity: 1;
|
||||||
|
}
|
||||||
[class*="LoadingPage-page-"]:before {
|
|
||||||
background-image: url("/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 48px;
|
|
||||||
height: 48px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
margin-top: 50px;
|
|
||||||
margin-right: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
|
|
||||||
}
|
|
@ -1,55 +1,27 @@
|
|||||||
@media (min-width: 752px) {
|
@media (min-width: 752px) {
|
||||||
[class*="PageHeader-logo-"] {
|
[class*="PageHeader-logo-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text.png");
|
||||||
}
|
margin-left: 15px;
|
||||||
[class*="PageHeader-logoContainer-"]:before {
|
width: 120px;
|
||||||
background-image: url("/css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text.png");
|
|
||||||
display: inline-block;
|
|
||||||
margin-left: 15px;
|
|
||||||
width: 124px;
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
content:"";
|
}
|
||||||
background-size: cover;
|
}
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
[class*="PageHeader-logo-"] {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
margin-left: 0px;
|
||||||
|
content: url("/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[class*="LoadingPage-logoFull-"] {
|
[class*="LoadingPage-logoFull-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text.png");
|
||||||
}
|
margin-top: 50px;
|
||||||
|
margin-right: auto;
|
||||||
[class*="LoadingPage-page-"]:before {
|
margin-left: auto;
|
||||||
background-image: url("/css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text.png");
|
width: 120px;
|
||||||
display: inline-block;
|
height: 40px;
|
||||||
width: 124px;
|
opacity: 1;
|
||||||
height: 40px;
|
}
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
margin-top: 50px;
|
|
||||||
margin-right: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
|
||||||
[class*="PageHeader-logo-"] {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
[class*="PageHeader-logoContainer-"]:before {
|
|
||||||
background-image: url("/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
|
|
||||||
display: inline-block;
|
|
||||||
width: 32px;
|
|
||||||
height: 32px;
|
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,38 +1,27 @@
|
|||||||
@media (min-width: 752px) {
|
@media (min-width: 752px) {
|
||||||
[class*="PageHeader-logo-"] {
|
[class*="PageHeader-logo-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/sonarr/sonarr-text-logo/sonarr-text.png");
|
||||||
}
|
margin-left: 15px;
|
||||||
[class*="PageHeader-logoContainer-"]:before {
|
width: 120px;
|
||||||
background-image: url("/css/addons/sonarr/sonarr-text-logo/sonarr-text.png");
|
|
||||||
display: inline-block;
|
|
||||||
margin-left: 15px;
|
|
||||||
width: 124px;
|
|
||||||
height: 40px;
|
height: 40px;
|
||||||
content:"";
|
}
|
||||||
background-size: cover;
|
}
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
[class*="PageHeader-logo-"] {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
margin-left: 0px;
|
||||||
|
content: url("sonarr/Content/Images/logo.svg");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[class*="LoadingPage-logoFull-"] {
|
[class*="LoadingPage-logoFull-"] {
|
||||||
display: none !important;
|
content: url("/css/addons/sonarr/sonarr-text-logo/sonarr-text.png");
|
||||||
}
|
margin-top: 50px;
|
||||||
|
margin-right: auto;
|
||||||
[class*="LoadingPage-page-"]:before {
|
margin-left: auto;
|
||||||
background-image: url("/css/addons/sonarr/sonarr-text-logo/sonarr-text.png");
|
width: 120px;
|
||||||
display: inline-block;
|
height: 40px;
|
||||||
width: 124px;
|
opacity: 1;
|
||||||
height: 40px;
|
}
|
||||||
content:"";
|
|
||||||
background-size: cover;
|
|
||||||
-webkit-background-size: cover;
|
|
||||||
-moz-background-size: cover;
|
|
||||||
-o-background-size: cover;
|
|
||||||
margin-top: 50px;
|
|
||||||
margin-right: auto;
|
|
||||||
margin-left: auto;
|
|
||||||
|
|
||||||
}
|
|
@ -30,9 +30,11 @@ echo '--------------------------'
|
|||||||
if [ -x "$(command -v apk)" ]; then
|
if [ -x "$(command -v apk)" ]; then
|
||||||
apk update && \
|
apk update && \
|
||||||
apk add --no-cache subversion
|
apk add --no-cache subversion
|
||||||
|
apk add --no-cache perl
|
||||||
elif [ -x "$(command -v apt-get)" ]; then
|
elif [ -x "$(command -v apt-get)" ]; then
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y subversion
|
apt-get install -y subversion
|
||||||
|
apt-get install -y perl
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -95,21 +97,35 @@ sed_file(){
|
|||||||
printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1"
|
printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Adding stylesheets
|
clean_file() {
|
||||||
echo '---------------------------------------'
|
perl -i -pe 's/QBT_TR?\(//' "$1"
|
||||||
echo '| Adding the stylesheet to html files |'
|
perl -i -pe 's/\)QBT_TR\[CONTEXT=.*?\]//' "$1"
|
||||||
echo '---------------------------------------'
|
}
|
||||||
if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then
|
|
||||||
sed_file /themepark/public/index.html
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! grep -q "${TP_DOMAIN}/css/base" /themepark/private/index.html; then
|
if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then
|
||||||
find /themepark/private -type f -iname *.html | while read fname
|
# Adding stylesheets
|
||||||
|
echo '---------------------------------------'
|
||||||
|
echo '| Adding the stylesheet to html files |'
|
||||||
|
echo '---------------------------------------'
|
||||||
|
sed_file /themepark/public/index.html
|
||||||
|
clean_file /themepark/public/index.html
|
||||||
|
|
||||||
|
find /themepark/private -type f -iname "*.html" | while read fname
|
||||||
do
|
do
|
||||||
sed_file $fname
|
sed_file $fname
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Clean all files
|
||||||
|
printf 'Cleaning files in /themepark for any translation text...\n\n
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
| !!! RESTART THE CONTAINER IF THIS IS THE FIRST TIME CLEANING FILES !!! |
|
||||||
|
--------------------------------------------------------------------------\n\n'
|
||||||
|
find /themepark -type f \( ! -iname "*.svg" \) | while read fname
|
||||||
|
do
|
||||||
|
clean_file $fname
|
||||||
|
done
|
||||||
|
|
||||||
if ! grep -q "WebUI\\\RootFolder" "${APP_FILEPATH}"; then
|
if ! grep -q "WebUI\\\RootFolder" "${APP_FILEPATH}"; then
|
||||||
echo '--------------------------------------'
|
echo '--------------------------------------'
|
||||||
echo '| Adding WebUI\RootFolder=/themepark |'
|
echo '| Adding WebUI\RootFolder=/themepark |'
|
||||||
|
@ -2,4 +2,5 @@
|
|||||||
|
|
||||||
if ! [[ -x "$(command -v svn)" ]]; then
|
if ! [[ -x "$(command -v svn)" ]]; then
|
||||||
echo "subversion" >> /mod-repo-packages-to-install.list
|
echo "subversion" >> /mod-repo-packages-to-install.list
|
||||||
|
echo "perl" >> /mod-repo-packages-to-install.list
|
||||||
fi
|
fi
|
||||||
|
@ -82,21 +82,35 @@ sed_file(){
|
|||||||
printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1"
|
printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Adding stylesheets
|
clean_file() {
|
||||||
echo '---------------------------------------'
|
perl -i -pe 's/QBT_TR?\(//' "$1"
|
||||||
echo '| Adding the stylesheet to html files |'
|
perl -i -pe 's/\)QBT_TR\[CONTEXT=.*?\]//' "$1"
|
||||||
echo '---------------------------------------'
|
}
|
||||||
if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then
|
|
||||||
sed_file /themepark/public/index.html
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! grep -q "${TP_DOMAIN}/css/base" /themepark/private/index.html; then
|
if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then
|
||||||
find /themepark/private -type f -iname *.html | while read fname
|
# Adding stylesheets
|
||||||
|
echo '---------------------------------------'
|
||||||
|
echo '| Adding the stylesheet to html files |'
|
||||||
|
echo '---------------------------------------'
|
||||||
|
sed_file /themepark/public/index.html
|
||||||
|
clean_file /themepark/public/index.html
|
||||||
|
|
||||||
|
find /themepark/private -type f -iname "*.html" | while read fname
|
||||||
do
|
do
|
||||||
sed_file $fname
|
sed_file $fname
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Clean all files
|
||||||
|
printf 'Cleaning files in /themepark for any translation text...\n\n
|
||||||
|
--------------------------------------------------------------------------
|
||||||
|
| !!! RESTART THE CONTAINER IF THIS IS THE FIRST TIME CLEANING FILES !!! |
|
||||||
|
--------------------------------------------------------------------------\n\n'
|
||||||
|
find /themepark -type f \( ! -iname "*.svg" \) | while read fname
|
||||||
|
do
|
||||||
|
clean_file $fname
|
||||||
|
done
|
||||||
|
|
||||||
if ! grep -q "WebUI\\\RootFolder" "${APP_FILEPATH}"; then
|
if ! grep -q "WebUI\\\RootFolder" "${APP_FILEPATH}"; then
|
||||||
echo '--------------------------------------'
|
echo '--------------------------------------'
|
||||||
echo '| Adding WebUI\RootFolder=/themepark |'
|
echo '| Adding WebUI\RootFolder=/themepark |'
|
||||||
|
Loading…
Reference in New Issue
Block a user