diff --git a/CSS/addons/README.MD b/CSS/addons/README.MD index aa29020f..11ba87b0 100644 --- a/CSS/addons/README.MD +++ b/CSS/addons/README.MD @@ -1,3 +1,6 @@ # CSS Addons -## [Organizr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/organizr/) \ No newline at end of file +## [Organizr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/organizr/) + +## [Radarr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/radarr) + diff --git a/CSS/addons/README.md b/CSS/addons/README.md new file mode 100644 index 00000000..11ba87b0 --- /dev/null +++ b/CSS/addons/README.md @@ -0,0 +1,6 @@ +# CSS Addons + +## [Organizr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/organizr/) + +## [Radarr](https://github.com/gilbN/theme.park/tree/master/CSS/addons/radarr) + diff --git a/CSS/addons/radarr/README.md b/CSS/addons/radarr/README.md new file mode 100644 index 00000000..7b7b81ec --- /dev/null +++ b/CSS/addons/radarr/README.md @@ -0,0 +1,54 @@ +# Radarr 4K logo + +Add a 4K logo to your Radarr css. + +### Desktop +![](desktop.png) +![](v3-desktop.png) + +### Mobile +![](mobile.png) +![](v3-mobile.png) + + +## Setup + +#### Nginx +Examples of how to add it: + +```nginx +proxy_set_header Accept-Encoding ""; +sub_filter +'' +' + +'; +sub_filter_once on; +``` + +#### Apache + +```nginx +AddOutputFilterByType SUBSTITUTE text/html + Substitute 's| ' +';|' +``` + +#### Caddy + +```nginx +filter rule { + content_type text/html.* + search_pattern + replacement "" +} +``` + +#### Stylus + +Just add another import line. + +```css +@import "https://gilbn.github.io/theme.park/CSS/themes/radarr/THEME.css"; +@import "https://gilbn.github.io/theme.park/CSS/addons/radarr/radarr-4k-logo.css"; +``` \ No newline at end of file diff --git a/CSS/addons/radarr/desktop.png b/CSS/addons/radarr/desktop.png new file mode 100644 index 00000000..84f8971e Binary files /dev/null and b/CSS/addons/radarr/desktop.png differ diff --git a/CSS/addons/radarr/mobile.png b/CSS/addons/radarr/mobile.png new file mode 100644 index 00000000..42ea84ed Binary files /dev/null and b/CSS/addons/radarr/mobile.png differ diff --git a/CSS/addons/radarr/radarr-4k-logo.css b/CSS/addons/radarr/radarr-4k-logo.css index 963fd865..3834fcbe 100644 --- a/CSS/addons/radarr/radarr-4k-logo.css +++ b/CSS/addons/radarr/radarr-4k-logo.css @@ -1,4 +1,4 @@ -/* Desttop */ +/* Desktop */ @media (min-width: 752px) { .navbar-brand>img { display:none !important; @@ -35,4 +35,39 @@ -o-background-size: cover; margin-bottom: -12px; } - } \ No newline at end of file + } + +/* Radarr V3*/ +@media (min-width: 752px) { + .PageHeader-logoFull-2z6pD { + display: none !important; + } + .PageHeader-logoContainer-3bOb3:before { + background-image: url("https://gflix.app/theme.park/CSS/addons/radarr/radarr4k-v3.png"); + display: inline-block; + width: 148px; + height: 48px; + content:""; + background-size: cover; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + } +} + +@media (max-width: 767px) { + .PageHeader-logo-2y8vm { + display: none !important; + } + .PageHeader-logoContainer-3bOb3:before { + background-image: url("https://gilbn.github.io/theme.park/CSS/addons/radarr/radarr-v3-mobile.png"); + display: inline-block; + width: 32px; + height: 32px; + content:""; + background-size: cover; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + } +} \ No newline at end of file diff --git a/CSS/addons/radarr/radarr-v3-mobile.png b/CSS/addons/radarr/radarr-v3-mobile.png new file mode 100644 index 00000000..65dee236 Binary files /dev/null and b/CSS/addons/radarr/radarr-v3-mobile.png differ diff --git a/CSS/addons/radarr/radarr4k-v3.png b/CSS/addons/radarr/radarr4k-v3.png new file mode 100644 index 00000000..ee888e27 Binary files /dev/null and b/CSS/addons/radarr/radarr4k-v3.png differ diff --git a/CSS/addons/radarr/v3-desktop.png b/CSS/addons/radarr/v3-desktop.png new file mode 100644 index 00000000..c399f4c7 Binary files /dev/null and b/CSS/addons/radarr/v3-desktop.png differ diff --git a/CSS/addons/radarr/v3-mobile.png b/CSS/addons/radarr/v3-mobile.png new file mode 100644 index 00000000..7826b843 Binary files /dev/null and b/CSS/addons/radarr/v3-mobile.png differ