Skip to content

Commit

Permalink
Merge pull request #555 from themepark-dev/develop
Browse files Browse the repository at this point in the history
1.16.2
  • Loading branch information
GilbN authored Apr 16, 2024
2 parents 736ef64 + 5e72e5b commit b854e92
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 7 deletions.
4 changes: 4 additions & 0 deletions css/base/bazarr/bazarr-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ html {

/* TEXT */

.bazarr-Text-root {
color: var(--text);
}

[class$="-label"]:not([class$="-Button-label"]),
label {
color: var(--text-hover) !important;
Expand Down
13 changes: 8 additions & 5 deletions css/base/prowlarr/prowlarr-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
@import url("/css/defaults/transparent.css");
@import url("/css/defaults/servarr-base.css");

:root {
--chartBackgroundColor: var(--transparency-dark-35) !important;
}

[class*="IndexerSearchInput-sectionTitle-"] {
color: var(--text-hover);
}
Expand Down Expand Up @@ -62,14 +66,13 @@
color: var(--text-hover);
}

/* ChartJS */
[class*="Stats-fullWidthChart-"],
[class*="Stats-halfWidthChart-"] {
background: var(--transparency-dark-25) !important;
[class*="IndexerIndexTable-row-"]:hover {
background: var(--transparency-dark-10);
color: var(--text-hover);
}

canvas {
filter: invert(1)
text: white !important;
}

/* QUERY OPTIONS */
Expand Down
2 changes: 1 addition & 1 deletion css/base/unraid/unraid-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ div.shade-black {
/* MODAL */

.sweet-alert, .sweet-alert .sa-icon.sa-success .sa-fix {
background-color: var(--modal-bg-color);
background: var(--modal-bg-color);
}

.sweet-alert.nchan h2 {
Expand Down
6 changes: 6 additions & 0 deletions css/defaults/servarr-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
@import url("/css/defaults/placeholders.css");
@import url("/css/defaults/transparent.css");

:root {
--scrollbarBackgroundColor: var(--transparency-light-25) !important;
--scrollbarHoverBackgroundColor: var(--transparency-light-35) !important;
--linkColor: var(--link-color) !important;
--linkHoverColor: var(--link-color-hover) !important;
}

body {
background: var(--main-bg-color);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ if [ "${TP_DISABLE_THEME}" = true ]; then
exit 0
fi

if [ -z ${QBITTORRENT_VERSION+x} ]; then \
echo 'QBITTORRENT_VERSION not set. Using the latest stable.'
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://' | sed 's/-.*//'); \
fi

# Display variables for troubleshooting
echo -e "Variables set:\\n\
'APP_FILEPATH'=${APP_FILEPATH}\\n\
Expand All @@ -31,6 +37,7 @@ echo -e "Variables set:\\n\
'TP_DOMAIN'=${TP_DOMAIN}\\n\
'TP_COMMUNITY_THEME'=${TP_COMMUNITY_THEME}\\n\
'TP_SCHEME'=${TP_SCHEME}\\n\
'QBITTORRENT_VERSION'=${QBITTORRENT_VERSION}\\n\
'TP_THEME'=${TP_THEME}\\n"

# Set default
Expand Down Expand Up @@ -66,13 +73,16 @@ if [[ ! -d /themepark ]]; then
echo '| Downloading WebUI files from github |'
echo '---------------------------------------'
printf '\nDownloading qBittorrent to /temp\n'
git clone --depth 1 https://github.com/qbittorrent/qBittorrent /temp
echo 'Downloading WebUI for version:' "${QBITTORRENT_VERSION}"
git clone --depth 1 -b release-${QBITTORRENT_VERSION} https://github.com/qbittorrent/qBittorrent /temp

printf '\nDownload finished\n\n'
cp -a /temp/src/webui/www /themepark
cp -a /temp/src/icons/. /themepark/public/icons
cp -a /temp/src/icons/. /themepark/private/icons
printf '\nCopy finished\n\n'
rm -rf /temp
rm -rf /tmp/*
printf '\nCleanup finished\n\n'
fi

Expand Down

0 comments on commit b854e92

Please sign in to comment.