1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-20 01:52:32 +01:00
This commit is contained in:
GilbN 2022-08-13 14:48:53 +00:00
parent 855e8bb76e
commit 0f52a67ff5
36 changed files with 109 additions and 83 deletions

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/aquamarine.css?sha=7f02500167b598d1a64c86198ed3c9af9dec5466");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-abyss.css?sha=b64eb1f01cbd66a9dd888a96e62bb05ccf749802");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-amethyst.css?sha=1f1cd7d10acca7c00b54073724bb75e73c83a603");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-carol.css?sha=51ce48be9f6521bf9805a0b6206967540352ca2b");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-dreamscape.css?sha=adc24f5a940aa6f8e0061e4b1ad86126f95ba57f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-flamingo.css?sha=d075526c4af1caa77d1d6ccb11536b66aa993b99");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-hearth.css?sha=5a139953a525ca38111fd2dfa815c686bc5dbb88");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-martian.css?sha=6eb4cd0529632fca270378f66f777182f4e2fb3e");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-pumpkin.css?sha=0e4c45af378262c4705bc538fdc3357e24613098");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-royal.css?sha=6aebe0c7f1aa26cb9822b1e44ebd7ffa628d981a");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-shadow.css?sha=b1ea4de97e26ef32b52edc79e0fb8aeee4a7d83d");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-solar.css?sha=d53082caa15548ea53a518a9ca950eeab6a95059");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/blackberry-vanta.css?sha=5ae2f81e3d70a7a3f166ebfba6ae4ff050ea766d");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/dark.css?sha=08b228ea163be7beccc6bd88a6d002c4e172032e");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/dracula.css?sha=60d9ec4d3e22fe15d205242f41ce71d25c4cf056");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/hotline-old.css?sha=4befb6edb8a0b329baa4319e3c6fec9856f1d76f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/hotline.css?sha=1cf394f1f517bb0ce3672d67846a3ab1bf8eda4c");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/hotpink.css?sha=18ffb7ff0cf9d4ae97f09c2ccb980d8bb0fd9d3e");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/maroon.css?sha=2260540a1a97c69eadd787b998113b892e4124da");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/mind.css?sha=bd65d1ae6f686873d9ef0d04100ae358deca1844");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/nord.css?sha=66e2ab527d521003b7c1cd114a31af3d2cb6af7b");

View File

@ -83,7 +83,7 @@ a:hover {
/* TOP NAV */
.top-search-bar .mat-form-field-flex {
border: 1px solid rgba(255, 255, 255, 0.10);
border: 1px solid rgba(255, 255, 255, 0.10) !important;
background: var(--transparency-dark-45);
}
@ -271,55 +271,20 @@ a:hover {
}
} */
/* MOBILE */
@media (min-width: 768px) {
.sidenav-container .sidenav {
background: var(--transparency-dark-45) !important;
}
.detailed-container {
border: none !important;
background-color: var(--transparency-dark-25) !important;
}
@media (max-width: 768px) {
.p-carousel-item {
min-height: 230px !important;
max-width: 11.7rem !important
}
.p-carousel .p-carousel-content .p-carousel-next,
.p-carousel .p-carousel-content .p-carousel-prev {
display: none;
}
.right {
text-align: right !important;
margin-top: -61px;
}
}
.p-carousel-item {
min-height: 290px;
max-height: 290px;
max-width: 12rem;
}
@media (max-width: 768px) {
.section h2 {
margin-left: 5px !important;
}
}
@media (min-width: 768px) {
.section h2 {
margin-left: 63px !important;
}
.detailed-container .poster {
border: 1px solid transparent !important;
}
/* CARDS */
.ombi-card {
.ombi-card {
padding: 0px !important;
margin: 5px !important;
}
/*
#cardImage,
.ombi-card {
border-radius: .75rem !important;
@ -328,7 +293,7 @@ a:hover {
#cardImage {
min-height: 225px;
}
*/
.p-carousel-indicators,
.p-carousel-items-container {
display: flex;
@ -339,11 +304,8 @@ a:hover {
.c .card-top-info {
top: -1px !important;
position: absolute;
border-radius: .75rem .75rem 0 0 !important;
background-color: var(--transparency-dark-70) !important;
backdrop-filter: blur(10px) !important;
-webkit-backdrop-filter: blur(10px) !important;
transition: 0s -webkit-filter linear;
border-radius:10px 10px 0 0 !important;
background-color: var(--transparency-dark-90) !important;
}
.ombi-card .button-request-container .button-request {

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/onedark.css?sha=7754291defa741c805bb0aec4d647ba27fec9cca");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/organizr.css?sha=2a1ee65a26780204509f713f7ea2d5ebdc5bd057");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/overseerr.css?sha=eedb2e0df6cc892903b8716a05184c61577ebe20");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/pine-shadow.css?sha=cc2adf274933630ff06539a244ba9fffff9090dc");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/plex.css?sha=f31f9e494f6e675b55d16f0f811d94a0b9def845");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/power.css?sha=e3e059c24433790a92157332489c91eb6fabaf96");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/reality.css?sha=411fda46ff8940263182b2cc9b8c0144e62473d7");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/soul.css?sha=07c2b204f14dbe38c7a5f9d0b7d901de99f4e4c3");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/theme-options/space-gray.css?sha=b8691b12c5972ad40471008c8d9fb05145b692d4");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/space.css?sha=0f922ed3e9d26c0a6242132bcdc1d2bc4aec6f7b");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/time.css?sha=6cc9173f0be75cbd57bce1bd2aeddbd6da8258c8");

View File

@ -1,2 +1,2 @@
@import url("/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41");
@import url("/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab");
@import url("/css/community-theme-options/trueblack.css?sha=de3a1b7f21d63c3c9d72c16e03f90c7309ceb695");

View File

@ -0,0 +1,63 @@
#!/usr/bin/with-contenv bash
echo '--------------------------------------'
echo '| Nginx Proxy Manager theme.park Mod |'
echo '--------------------------------------'
if [ -d "/app/frontend" ] then
APP_FILEPATH='/app/frontend/' # jc21/nginx-proxy-manager
else
APP_FILEPATH='/opt/nginx-proxy-manager/frontend/' # jlesage/nginx-proxy-manager
fi
# Display variables for troubleshooting
echo -e "Variables set:\\n\
'APP_FILEPATH'=${APP_FILEPATH}\\n\
'TP_DOMAIN'=${TP_DOMAIN}\\n\
'TP_COMMUNITY_THEME'=${TP_COMMUNITY_THEME}\\n\
'TP_SCHEME'=${TP_SCHEME}\\n\
'TP_THEME'=${TP_THEME}\\n"
# Set default
if [[ -z ${TP_DOMAIN} ]]; then
echo 'No domain set, defaulting to theme-park.dev'
TP_DOMAIN='theme-park.dev'
fi
if [[ -z ${TP_SCHEME} ]]; then
echo 'No scheme set, defaulting to https'
TP_SCHEME='https'
fi
THEME_TYPE='theme-options'
if [ "${TP_COMMUNITY_THEME}" = true ]; then
THEME_TYPE='community-theme-options'
fi
case ${TP_DOMAIN} in
*"github.io"*)
echo "Switching to github.io URL style"
TP_DOMAIN="${TP_DOMAIN}\/theme.park"
;;
esac
if [[ -z ${TP_THEME} ]]; then
echo 'No theme set, defaulting to organizr'
TP_THEME='organizr'
fi
sed_file(){
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/nginx-proxy-manager\/nginx-proxy-manager-base.css'><\/head> /g" $1
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" $1
printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1"
}
# Adding stylesheets
if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}/index.html"; then
echo '---------------------------------------'
echo '| Adding the stylesheet to html files |'
echo '---------------------------------------'
find ${APP_FILEPATH} -type f -iname *.html | while read fname
do
sed_file $fname
done
fi

View File

@ -292,7 +292,7 @@
},
"ombi": {
"addons": {},
"base_css": "https://develop.theme-park.dev/css/base/ombi/ombi-base.css?sha=2a3be2404cca0424593af4b983840e6ca58aba41"
"base_css": "https://develop.theme-park.dev/css/base/ombi/ombi-base.css?sha=b901fa084b32f6480a67dd1ed5d937bc2372d5ab"
},
"organizr": {
"addons": {
@ -556,6 +556,7 @@
"librespeed": "https://develop.theme-park.dev/docker-mods/librespeed/root/etc/cont-init.d/98-themepark",
"lidarr": "https://develop.theme-park.dev/docker-mods/lidarr/root/etc/cont-init.d/98-themepark",
"mylar3": "https://develop.theme-park.dev/docker-mods/mylar3/root/etc/cont-init.d/98-themepark",
"nginx-proxy-manager": "https://develop.theme-park.dev/docker-mods/nginx-proxy-manager/root/etc/cont-init.d/98-themepark",
"nzbget": "https://develop.theme-park.dev/docker-mods/nzbget/root/etc/cont-init.d/98-themepark",
"plex": "https://develop.theme-park.dev/docker-mods/plex/root/etc/cont-init.d/98-themepark",
"prowlarr": "https://develop.theme-park.dev/docker-mods/prowlarr/root/etc/cont-init.d/98-themepark",