Last active
March 16, 2017 22:49
-
-
Save Ratismal/20f3e291c4967a3b3bd7974e61de070b to your computer and use it in GitHub Desktop.
Member list slider for the discord client
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Updated so that the chat padding doesn't spill into private messages