Skip to content

Commit b854e92

Browse files
authored
Merge pull request #555 from themepark-dev/develop
1.16.2
2 parents 736ef64 + 5e72e5b commit b854e92

File tree

5 files changed

+30
-7
lines changed

5 files changed

+30
-7
lines changed

css/base/bazarr/bazarr-base.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ html {
1717

1818
/* TEXT */
1919

20+
.bazarr-Text-root {
21+
color: var(--text);
22+
}
23+
2024
[class$="-label"]:not([class$="-Button-label"]),
2125
label {
2226
color: var(--text-hover) !important;

css/base/prowlarr/prowlarr-base.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
@import url("/css/defaults/transparent.css");
1515
@import url("/css/defaults/servarr-base.css");
1616

17+
:root {
18+
--chartBackgroundColor: var(--transparency-dark-35) !important;
19+
}
20+
1721
[class*="IndexerSearchInput-sectionTitle-"] {
1822
color: var(--text-hover);
1923
}
@@ -62,14 +66,13 @@
6266
color: var(--text-hover);
6367
}
6468

65-
/* ChartJS */
66-
[class*="Stats-fullWidthChart-"],
67-
[class*="Stats-halfWidthChart-"] {
68-
background: var(--transparency-dark-25) !important;
69+
[class*="IndexerIndexTable-row-"]:hover {
70+
background: var(--transparency-dark-10);
71+
color: var(--text-hover);
6972
}
7073

7174
canvas {
72-
filter: invert(1)
75+
text: white !important;
7376
}
7477

7578
/* QUERY OPTIONS */

css/base/unraid/unraid-base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ div.shade-black {
675675
/* MODAL */
676676

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

681681
.sweet-alert.nchan h2 {

css/defaults/servarr-base.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
@import url("/css/defaults/placeholders.css");
1414
@import url("/css/defaults/transparent.css");
1515

16+
:root {
17+
--scrollbarBackgroundColor: var(--transparency-light-25) !important;
18+
--scrollbarHoverBackgroundColor: var(--transparency-light-35) !important;
19+
--linkColor: var(--link-color) !important;
20+
--linkHoverColor: var(--link-color-hover) !important;
21+
}
1622

1723
body {
1824
background: var(--main-bg-color);

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ if [ "${TP_DISABLE_THEME}" = true ]; then
2323
exit 0
2424
fi
2525

26+
if [ -z ${QBITTORRENT_VERSION+x} ]; then \
27+
echo 'QBITTORRENT_VERSION not set. Using the latest stable.'
28+
QBITTORRENT_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
29+
&& awk '/^P:qbittorrent-nox$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://' | sed 's/-.*//'); \
30+
fi
31+
2632
# Display variables for troubleshooting
2733
echo -e "Variables set:\\n\
2834
'APP_FILEPATH'=${APP_FILEPATH}\\n\
@@ -31,6 +37,7 @@ echo -e "Variables set:\\n\
3137
'TP_DOMAIN'=${TP_DOMAIN}\\n\
3238
'TP_COMMUNITY_THEME'=${TP_COMMUNITY_THEME}\\n\
3339
'TP_SCHEME'=${TP_SCHEME}\\n\
40+
'QBITTORRENT_VERSION'=${QBITTORRENT_VERSION}\\n\
3441
'TP_THEME'=${TP_THEME}\\n"
3542

3643
# Set default
@@ -66,13 +73,16 @@ if [[ ! -d /themepark ]]; then
6673
echo '| Downloading WebUI files from github |'
6774
echo '---------------------------------------'
6875
printf '\nDownloading qBittorrent to /temp\n'
69-
git clone --depth 1 https://github.com/qbittorrent/qBittorrent /temp
76+
echo 'Downloading WebUI for version:' "${QBITTORRENT_VERSION}"
77+
git clone --depth 1 -b release-${QBITTORRENT_VERSION} https://github.com/qbittorrent/qBittorrent /temp
78+
7079
printf '\nDownload finished\n\n'
7180
cp -a /temp/src/webui/www /themepark
7281
cp -a /temp/src/icons/. /themepark/public/icons
7382
cp -a /temp/src/icons/. /themepark/private/icons
7483
printf '\nCopy finished\n\n'
7584
rm -rf /temp
85+
rm -rf /tmp/*
7686
printf '\nCleanup finished\n\n'
7787
fi
7888

0 commit comments

Comments
 (0)