Skip to content

Commit

Permalink
no cover fade in
Browse files Browse the repository at this point in the history
  • Loading branch information
JourneyOver committed Nov 3, 2020
1 parent 9a3f989 commit b65adc2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css/theme/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ a {
user-select: all !important;
}

[class^="CrossFadeImage-crossFade-"],
[class*="10Sndv"] {
-webkit-animation-name: none !important;
animation-name: none !important;
}

[class^="PrePlaySummary-summary-"] > div,
[class*="320PK"] > div {
overflow: visible !important;
Expand Down
5 changes: 5 additions & 0 deletions sass/partials/theme/_no-cover-fade-in.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Eliminates the fade-in of media covers
[class^="CrossFadeImage-crossFade-"],
[class*="10Sndv"] {
animation-name: none !important;
}
1 change: 1 addition & 0 deletions sass/theme.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import 'partials/version';
// Theme
@import 'partials/theme/text-select';
@import 'partials/theme/no-cover-fade-in';
@import 'partials/theme/summary';
@import 'partials/theme/premium';
@import 'partials/theme/edit-info';
Expand Down
6 changes: 6 additions & 0 deletions style.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ regexp("/*[[URL]]*/.*") {
user-select: all !important;
}

[class^="CrossFadeImage-crossFade-"],
[class*="10Sndv"] {
-webkit-animation-name: none !important;
animation-name: none !important;
}

[class^="PrePlaySummary-summary-"]>div,
[class*="320PK"]>div {
overflow: visible !important;
Expand Down

0 comments on commit b65adc2

Please sign in to comment.