Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Snare-Hawk committed Mar 20, 2024
2 parents 7cbb91f + 2ed54cc commit a6a5850
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions server-icon-edits.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* fixes RiiConnect24's default icon */
/* fixes RiiConnect24's default icon
div [data-list-item-id="guildsnav___206934458954153984"] img {
content: url("images/RC24_fix.png");
max-width: 96px;
Expand Down Expand Up @@ -42,7 +42,7 @@ div [data-list-item-id="guildsnav___206934458954153984"]:hover img {
.avatarStack-3vfSFa
img[src*="206934458954153984"] {
content: url("images/RC24_fix.png") !important;
}
} */

/* always has the normal server icon for Nintendo Homebrew */
div [data-list-item-id="guildsnav___196618637950451712"] img {
Expand Down
16 changes: 12 additions & 4 deletions spotifymodal-hover.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
/* adds hover animation to controls for replugged's spotifymodal plugin */
/* ensures this is always at the same height because for some reason it changes on hover even when hover is set off */
/* visibility on controls must be set to "Shown" */
#spotify-modal div.divider {
margin-top: -12px;
margin-top: -3px;
}

#spotify-modal:hover div.divider {
margin-top: initial;
}

#spotify-modal-root #spotify-modal .controls {
transition: 250ms ease-out;
#spotify-modal-root
#spotify-modal
:is(.controls-container, .seekbar-timestamps) {
transition: 250ms ease-out !important;
opacity: 0 !important;
height: 0 !important;
}

#spotify-modal-root #spotify-modal:hover .controls {
#spotify-modal-root #spotify-modal:hover .controls-container {
height: 24px !important;
opacity: 1 !important;
}

#spotify-modal-root #spotify-modal:hover .seekbar-timestamps {
height: 14px !important;
opacity: 1 !important;
}

0 comments on commit a6a5850

Please sign in to comment.