Browse Source

Merge branch 'develop' into imgbot

pull/425/head
GilbN 3 years ago
committed by GitHub
parent
commit
463bd57553
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      .github/workflows/auto-build.yml
  2. 55
      css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text-logo.css
  3. BIN
      css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text.png
  4. 4
      docker-mods/librespeed/root/etc/cont-init.d/98-themepark
  5. 4
      docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run

4
.github/workflows/auto-build.yml

@ -78,7 +78,7 @@ jobs:
docker push ghcr.io/gilbn/theme.park:$directory
done
- name: manually build
if: ${{ github.event.inputs.app != 'build-all-the-mods' }}
if: ${{ github.event.inputs.app && github.event.inputs.app != 'build-all-the-mods' }}
run: |
docker build docker-mods/${{ github.event.inputs.app }} --tag ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
docker push ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
@ -124,7 +124,7 @@ jobs:
docker push gilbn/theme.park:$directory
done
- name: manually build
if: ${{ github.event.inputs.app != 'build-all-the-mods' }}
if: ${{ github.event.inputs.app && github.event.inputs.app != 'build-all-the-mods' }}
run: |
docker build docker-mods/${{ github.event.inputs.app }} --tag gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
docker push gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}

55
css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text-logo.css

@ -0,0 +1,55 @@
@media (min-width: 752px) {
[class*="PageHeader-logo-"] {
display: none !important;
}
[class*="PageHeader-logoContainer-"]:before {
background-image: url("/css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text.png");
display: inline-block;
margin-left: 15px;
width: 124px;
height: 40px;
content:"";
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
}
[class*="LoadingPage-logoFull-"] {
display: none !important;
}
[class*="LoadingPage-page-"]:before {
background-image: url("/css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text.png");
display: inline-block;
width: 124px;
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;
}
}

BIN
css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

4
docker-mods/librespeed/root/etc/cont-init.d/98-themepark

@ -43,8 +43,8 @@ if ! grep -q "${TP_DOMAIN}/css/base" /app/www/public/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/librespeed\/librespeed-base.css'><\/head> /g" /usr/share/webapps/librespeed/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" /usr/share/webapps/librespeed/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/librespeed\/librespeed-base.css'><\/head> /g" /app/www/public/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" /app/www/public/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi

4
docker-mods/librespeed/root/etc/s6-overlay/s6-rc.d/init-mod-themepark/run

@ -43,8 +43,8 @@ if ! grep -q "${TP_DOMAIN}/css/base" /app/www/public/index.html; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/librespeed\/librespeed-base.css'><\/head> /g" /usr/share/webapps/librespeed/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" /usr/share/webapps/librespeed/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/librespeed\/librespeed-base.css'><\/head> /g" /app/www/public/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" /app/www/public/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
Loading…
Cancel
Save