Skip to content

Instantly share code, notes, and snippets.

@Ratismal
Last active March 16, 2017 22:49
Show Gist options
  • Save Ratismal/20f3e291c4967a3b3bd7974e61de070b to your computer and use it in GitHub Desktop.
Save Ratismal/20f3e291c4967a3b3bd7974e61de070b to your computer and use it in GitHub Desktop.
Member list slider for the discord client
/**
* Member List Stuff
**/
.channel-members-wrap {
position: absolute !important;
right: -150px;
height: 100%;
transition: 2s;
margin-left: 100%;
background: rgba(0, 0, 0, 0);
}
.channel-members-wrap .member .member-inner {
animation: fadeout 2s;
-webkit-animation-fill-mode: forwards;
}
.channel-members-wrap:hover {
transition: 0.5s;
right: 0px;
background: rgba(0, 0, 0, 0.3);
}
.channel-members-wrap:hover .member .member-inner {
animation: fadein 0.5s;
-webkit-animation-fill-mode: forwards;
}
@keyframes fadein {
to {opacity: 1}
}
@keyframes fadeout {
to {opacity: 0}
}
.chat:not(.private) .content {
padding-right: 90px;
}
@Ratismal
Copy link
Author

Updated so that the chat padding doesn't spill into private messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment