Skip to content

Commit

Permalink
Sonarr : Add-on : sonarr-text-logo (#415)
Browse files Browse the repository at this point in the history
* Create sonarr-text-logo.css

* Add files via upload

* Don't replace logo on mobile, adjust width to show whole logo

Co-authored-by: GilbN <24592972+GilbN@users.noreply.github.com>
Co-authored-by: GilbN <gilberg@gmail.com>
  • Loading branch information
3 people authored Aug 26, 2022
1 parent 4178dc8 commit d2d413d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions css/addons/sonarr/sonarr-text-logo/sonarr-text-logo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
@media (min-width: 752px) {
[class*="PageHeader-logo-"] {
display: none !important;
}
[class*="PageHeader-logoContainer-"]:before {
background-image: url("/css/addons/sonarr/sonarr-text-logo/sonarr-text.png");
display: inline-block;
margin-left: 15px;
width: 124px;
height: 40px;
content:"";
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
}
}


[class*="LoadingPage-logoFull-"] {
display: none !important;
}

[class*="LoadingPage-page-"]:before {
background-image: url("/css/addons/sonarr/sonarr-text-logo/sonarr-text.png");
display: inline-block;
width: 124px;
height: 40px;
content:"";
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
margin-top: 50px;
margin-right: auto;
margin-left: auto;

}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d2d413d

Please sign in to comment.