1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-02 13:37:21 +02:00

Merge pull request #555 from themepark-dev/develop

1.16.2
This commit is contained in:
GilbN 2024-04-16 21:31:09 +02:00 committed by GitHub
commit b854e929cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 30 additions and 7 deletions

View File

@ -17,6 +17,10 @@ html {
/* TEXT */
.bazarr-Text-root {
color: var(--text);
}
[class$="-label"]:not([class$="-Button-label"]),
label {
color: var(--text-hover) !important;

View File

@ -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);
}
@ -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 */

View File

@ -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 {

View File

@ -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);

View File

@ -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\
@ -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
@ -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