From 6debdd2752686018065f6aa553a1a97d3bc4c496 Mon Sep 17 00:00:00 2001 From: Dulanic <2948206+Dulanic@users.noreply.github.com> Date: Thu, 30 Sep 2021 13:02:22 -0500 Subject: [PATCH] Update portainer-base.css (#262) * Develop (#256) * plex base badge color fix * addons_json fixes * pep8 formatting * themes.json update * update backslash note in custom_text_header.js * Closes #255 * themes.json * Adds mylar 3 (#261) * plex base badge color fix * addons_json fixes * pep8 formatting * themes.json update * update backslash note in custom_text_header.js * fix for #255 * addon link fix * mylar3 base init * mylar3 * pr template link fix * formatting * more mylar3 stuff * mylar3 base done..I think.prob not.. * mylar login page * mylar3 readme * theme.json update * themes.json * mylar3 dockermod * Update README.md * Update index.html * Update portainer-base.css Fix for https://github.com/GilbN/theme.park/issues/259 Co-authored-by: GilbN <24592972+GilbN@users.noreply.github.com> Co-authored-by: github-actions Co-authored-by: GilbN --- CSS/themes/portainer/portainer-base.css | 4 +- README.md | 562 +++++++++--------- docker-mods/mylar3/Dockerfile | 7 + .../mylar3/root/etc/cont-init.d/98-themepark | 54 ++ index.html | 2 +- themes.json | 4 + 6 files changed, 349 insertions(+), 284 deletions(-) create mode 100644 docker-mods/mylar3/Dockerfile create mode 100644 docker-mods/mylar3/root/etc/cont-init.d/98-themepark diff --git a/CSS/themes/portainer/portainer-base.css b/CSS/themes/portainer/portainer-base.css index 5e6a400d..052f98de 100644 --- a/CSS/themes/portainer/portainer-base.css +++ b/CSS/themes/portainer/portainer-base.css @@ -136,7 +136,7 @@ ul.sidebar .sidebar-list a { } .panel-body { - background-color: transparent; + background-color: transparent !important; } /* SIDEBAR */ @@ -709,4 +709,4 @@ pre { .widget .widget-body table thead tr:hover { background-color: rgba(0, 0, 0, .35) !important; background: rgba(0, 0, 0, .35) !important; -} \ No newline at end of file +} diff --git a/README.md b/README.md index 462bf378..ec1475a3 100644 --- a/README.md +++ b/README.md @@ -1,281 +1,281 @@ - - -[![Docs](https://img.shields.io/static/v1.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=theme-park.dev&message=Docs)](https://docs.theme-park.dev "Documentation for all the themes in this repository.") -[![Discord](https://img.shields.io/discord/591352397830553601.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=Discord&logo=discord)](https://discord.gg/HM5uUKU "Discord for theme installation support") -[![GitHub Stars](https://img.shields.io/github/stars/gilbn/theme.park.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/GilbN/theme.park) -[![Support](https://img.shields.io/static/v1.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=&message=sponsor&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABN0lEQVQ4T2NkoBAwIuv/HxDggMT/wLhhwwUQ/39AgAEDA4MATI5xw4YDcDaaAf+R+AcZN2wAG/g/IACkwR7JALjFYAbU5v0k+sYR5BLG/wEBCQwMDAUMDAz6DM3NDAxz5zIwPHhAjFkXGRgYJoAMaGBgYKgH6wgPZ2DYt4+B4fVrYgwAqWlENYBYbQwMDO8+sjH8+cvUSbYB6w9Kv/vwlW0aWYE4Z5MCAwfrf7fYnxN3wwwAxTEorvHGBMjZBy+Ivvv6jSXi20+OU+kMnR/RExIoQEGxIo8eHM/fcDA8fc114/J9/jVJv/prsSYkaJqYwMDAEIBsCMjme894bl6+w7s76e/EXGTDUVwAk0CJWgYGBliAIduM0wVIhoCS8X7kAMMWy1hdAPUKOGCXbJdnhQUYSQYQm6YAtdh8zhSGm1AAAAAASUVORK5CYII=)](https://github.com/sponsors/GilbN "Donate!") -[![GitHub](https://img.shields.io/github/license/gilbn/theme.park.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge)](https://github.com/gilbN/theme.park/blob/master/LICENSE) -[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=theme-park.dev&message=Packages&logo=github)](https://github.com/users/GilbN/packages/container/package/theme.park) -[![Docker Pulls](https://img.shields.io/docker/pulls/gilbn/theme.park.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/gilbn/theme.park) -[![Blog](https://img.shields.io/static/v1.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=technicalramblings&message=Blog)](https://technicalramblings.com/ "A blog with different guides :)") - -

A collection of themes/skins for your favorite apps!

-
- Screen Shot 1 - Screen Shot 2 - Screen Shot 3 - Screen Shot 4 -
- -

Themes

- -

Click on the banners for screenshots.

- -Dracula -Overseerr -Organizr-Dark -Aquamarine -Hotline -Hotpink -Space-Gray -Dark -Plex - -

Installation

- -

Addons

- -

Community Themes

- -

Adding your own theme-options

- -

Current themes in the repo

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

-

Sonarr

-
-

-

Radarr

-
-

-

Lidarr

-
-

-

Readarr

-
-

-

Prowlarr

-
-

-

Bazarr

-
-

-

Plex

-
-

-

Jellyfin

-
-

-

Emby

-
-

-

Ombi

-
-

-

Tautulli

-
-

-

Organizr

-
-

-

Synclounge

-
-

-

Deluge

-
-

-

qBittorrent

-
-

-

ruTorrent

-
-

-

Transmission

-
-

-

SABnzbd

-
-

-

NZBGet

-
-

-

NZBHydra 2

-
-

-

Jackett

-
-

-

Grafana (Deprecated)

-
-

-

Netdata

-
-

-

Monitorr (Deprecated)

-
-

-

Logarr (Deprecated)

-
-

-

Portainer

-
-

-

Pi-hole

-
-

-

Guacamole

-
-

-

Filebrowser

-
-

-

PLPP (Deprecated)

-
-

-

librespeed

-
-

-

The Lounge (Deprecated)

-
-

-

Lazylibrarian

-
-

-

Adguard

-
-

-

Gaps

-
-

-

Bitwarden

-
-

-

Duplicacy

-
-

-

Kitana

-
-

-

Webtools (Deprecated)

-
-

-

Resilio-Sync

-
-

-

Gitea

-
-

-

Unraid

-
-

-

Moviematch

-
-

-

Petio

-
-

-

Flood

-
-

-

VueTorrent

-
-

-

Dozzle

-
-

-

Calibre-web

-
-

-

Xbackbone

-
-

-

Requestrr

-
-

-

Uptime Kuma

-
-

-

Mylar 3

-
-
- -
- -

Honourable mentions

- -

Archmonger/Blackberry-Themes

- -

leram84/layer.Cake

+ + +[![Docs](https://img.shields.io/static/v1.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=theme-park.dev&message=Docs)](https://docs.theme-park.dev "Documentation for all the themes in this repository.") +[![Discord](https://img.shields.io/discord/591352397830553601.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=Discord&logo=discord)](https://discord.gg/HM5uUKU "Discord for theme installation support") +[![GitHub Stars](https://img.shields.io/github/stars/gilbn/theme.park.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&logo=github)](https://github.com/GilbN/theme.park) +[![Support](https://img.shields.io/static/v1.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=&message=sponsor&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABN0lEQVQ4T2NkoBAwIuv/HxDggMT/wLhhwwUQ/39AgAEDA4MATI5xw4YDcDaaAf+R+AcZN2wAG/g/IACkwR7JALjFYAbU5v0k+sYR5BLG/wEBCQwMDAUMDAz6DM3NDAxz5zIwPHhAjFkXGRgYJoAMaGBgYKgH6wgPZ2DYt4+B4fVrYgwAqWlENYBYbQwMDO8+sjH8+cvUSbYB6w9Kv/vwlW0aWYE4Z5MCAwfrf7fYnxN3wwwAxTEorvHGBMjZBy+Ivvv6jSXi20+OU+kMnR/RExIoQEGxIo8eHM/fcDA8fc114/J9/jVJv/prsSYkaJqYwMDAEIBsCMjme894bl6+w7s76e/EXGTDUVwAk0CJWgYGBliAIduM0wVIhoCS8X7kAMMWy1hdAPUKOGCXbJdnhQUYSQYQm6YAtdh8zhSGm1AAAAAASUVORK5CYII=)](https://github.com/sponsors/GilbN "Donate!") +[![GitHub](https://img.shields.io/github/license/gilbn/theme.park.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge)](https://github.com/gilbN/theme.park/blob/master/LICENSE) +[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=theme-park.dev&message=Packages&logo=github)](https://github.com/users/GilbN/packages/container/package/theme.park) +[![Docker Pulls](https://img.shields.io/docker/pulls/gilbn/theme.park.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=pulls&logo=docker)](https://hub.docker.com/r/gilbn/theme.park) +[![Blog](https://img.shields.io/static/v1.svg?color=009688&labelColor=555555&logoColor=ffffff&style=for-the-badge&label=technicalramblings&message=Blog)](https://technicalramblings.com/ "A blog with different guides :)") + +

A collection of themes/skins for your favorite apps!

+
+ Screen Shot 1 + Screen Shot 2 + Screen Shot 3 + Screen Shot 4 +
+ +

Themes

+ +

Click on the banners for screenshots.

+ +Dracula +Overseerr +Organizr-Dark +Aquamarine +Hotline +Hotpink +Space-Gray +Dark +Plex + +

Installation

+ +

Addons

+ +

Community Themes

+ +

Adding your own theme-options

+ +

Current themes in the repo

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+

Sonarr

+
+

+

Radarr

+
+

+

Lidarr

+
+

+

Readarr

+
+

+

Prowlarr

+
+

+

Bazarr

+
+

+

Plex

+
+

+

Jellyfin

+
+

+

Emby

+
+

+

Ombi

+
+

+

Tautulli

+
+

+

Organizr

+
+

+

Synclounge

+
+

+

Deluge

+
+

+

qBittorrent

+
+

+

ruTorrent

+
+

+

Transmission

+
+

+

SABnzbd

+
+

+

NZBGet

+
+

+

NZBHydra 2

+
+

+

Jackett

+
+

+

Grafana (Deprecated)

+
+

+

Netdata

+
+

+

Monitorr (Deprecated)

+
+

+

Logarr (Deprecated)

+
+

+

Portainer

+
+

+

Pi-hole

+
+

+

Guacamole

+
+

+

Filebrowser

+
+

+

PLPP (Deprecated)

+
+

+

librespeed

+
+

+

The Lounge (Deprecated)

+
+

+

Lazylibrarian

+
+

+

Adguard

+
+

+

Gaps

+
+

+

Bitwarden

+
+

+

Duplicacy

+
+

+

Kitana

+
+

+

Webtools (Deprecated)

+
+

+

Resilio-Sync

+
+

+

Gitea

+
+

+

Unraid

+
+

+

Moviematch

+
+

+

Petio

+
+

+

Flood

+
+

+

VueTorrent

+
+

+

Dozzle

+
+

+

Calibre-web

+
+

+

Xbackbone

+
+

+

Requestrr

+
+

+

Uptime Kuma

+
+

+

Mylar 3

+
+
+ +
+ +

Honourable mentions

+ +

Archmonger/Blackberry-Themes

+ +

leram84/layer.Cake

diff --git a/docker-mods/mylar3/Dockerfile b/docker-mods/mylar3/Dockerfile new file mode 100644 index 00000000..72ac169f --- /dev/null +++ b/docker-mods/mylar3/Dockerfile @@ -0,0 +1,7 @@ +FROM scratch + + +LABEL maintainer="GilbN" +LABEL app="Mylar3" +#copy local files. +COPY root/ / \ No newline at end of file diff --git a/docker-mods/mylar3/root/etc/cont-init.d/98-themepark b/docker-mods/mylar3/root/etc/cont-init.d/98-themepark new file mode 100644 index 00000000..e5896255 --- /dev/null +++ b/docker-mods/mylar3/root/etc/cont-init.d/98-themepark @@ -0,0 +1,54 @@ +#!/usr/bin/with-contenv bash + +echo '-------------------------' +echo '| Mylar3 theme.park Mod |' +echo '-------------------------' + +APP_FILEPATH='/app/mylar3/data/interfaces/default' +if [ "${TP_HOTIO}" = true ]; then + echo 'Changing to Hotio file path!' + APP_FILEPATH='/app/data/interfaces/default' +fi + +# Display variables for troubleshooting +echo -e "Variables set:\\n\ +'APP_FILEPATH'=${APP_FILEPATH}\\n\ +'TP_HOTIO'=${TP_HOTIO}\\n\ +'TP_DOMAIN'=${TP_DOMAIN}\\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 + +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-dark' + TP_THEME='organizr-dark' +fi + +sed_file(){ + sed -i "s/<\/head>/<\/head> /g" $1 + sed -i "s/<\/head>/<\/head> /g" $1 + printf 'Stylesheet set to %s on %s\n\n' "${TP_THEME}" "$1" +} + +# Adding stylesheets +echo '---------------------------------------' +echo '| Adding the stylesheet to html files |' +echo '---------------------------------------' + +if ! grep -q "${TP_DOMAIN}" "${APP_FILEPATH}/index.html"; then + find ${APP_FILEPATH} -type f -iname *.html | while read fname + do + sed_file $fname + done +fi diff --git a/index.html b/index.html index c5e1002c..ceac9cee 100644 --- a/index.html +++ b/index.html @@ -560,4 +560,4 @@ - \ No newline at end of file + diff --git a/themes.json b/themes.json index 08d3fa0d..72c6f098 100644 --- a/themes.json +++ b/themes.json @@ -215,6 +215,10 @@ "base_css": "https://theme-park.dev/CSS/themes/pihole/pihole-base.css?sha=1d5290da2a5cf98fe5b63da558336036883775f7", "addons": {} }, + "mylar3": { + "base_css": "https://theme-park.dev/CSS/themes/mylar3/mylar3-base.css?sha=3a4ccf284c4d4c7ec746736f6d4cbd4f7b261cce", + "addons": {} + }, "readarr": { "base_css": "https://theme-park.dev/CSS/themes/readarr/readarr-base.css?sha=cbdaeb841bc34531698f30739d6b32f98029cb99", "addons": {