User:Dorumin/chat.css

/* IsTyping */ margin-bottom: 4px; }
 * 1) WikiaPage {

.typing-indicator { position: absolute; bottom: 2px; left: 2em; right: 2em; font-size: 10px; color: white; }

.typing-indicator .username { font-weight: bold; }

/* Scollbars not stolen from Discord */
 * -webkit-scrollbar {

width: 8px; }


 * -webkit-scrollbar-thumb, ::-webkit-scrollbar-track-piece {

background-color: #202225; border-color: #36393f; background-clip: padding-box; border-radius: 7px; }


 * -webkit-scrollbar-track-piece {

background-color: #2f3136; border-color: #36393f; }

/* General stuff */ body, #WikiaPage, #ChatHeader, .Chat li.you, #Write .message { background-color: #36393f; }

.Chat, #ChatHeader, #WikiaPage, #Write .message { border: none }

/* Text colors */ color: white; }
 * 1) WikiaPage, #Write textarea {

.User.away { color: #ccc; }

/* Round booty */ border-radius: 50%; border: 0 solid transparent; }
 * 1) Rail .User img, .Chat .avatar {

/* Textarea styles */ background: #484c52; border-radius: 5px; }
 * 1) Write, #Write .message {

border-top-left-radius: 23px; border-bottom-left-radius: 23px; }
 * 1) Write {

border: none; border-radius: 50%; margin: 3px; height: 40px; width: 40px; left: 0; }
 * 1) Write img {

/* Rail styles */ background: #2f3136; user-select: none; overflow-y: scroll; }
 * 1) Rail {

background: #484c52; border: none; text-align: center; }
 * 1) Rail > .private {

background: rgba(0, 0, 0, .2); box-shadow: none; }
 * 1) Rail .User:hover, #Rail .selected {

.User .username { margin-right: 0; }

background: rgba(0, 0, 0, .0); }
 * 1) Rail .wordmark.selected {

position: relative; margin: auto; display: block; padding: 2px 0; cursor: pointer; }
 * 1) Rail .wordmark {

position: absolute !important; top: 0; left: 0; right: 0; bottom: 0; height: 100%; width: 100%; border: none; }
 * 1) WikiaPage #Rail .chevron {

z-index: 200; }
 * 1) WikiaPage #Rail .selected .chevron {

/* Chat header */ background: #2f3136; color: #ccc; height: 45px; padding-top: 2px; padding-left: 2px; }
 * 1) ChatHeader {

opacity: .6 }
 * 1) ChatHeader .chat-toolbar__button:not(:hover) {

display: none; }
 * 1) ChatHeader .User {

right: 6px; top: 6px }
 * 1) ChatHeader .chat-toolbar {

/* Hide mod badges; there is now a list of groups in the user popout */ .User .badge { display: none; }

/* Make the rail bigger */ width: 170px; }
 * 1) Rail {

.Chat { right: 170px; }

right: 170px; }
 * 1) Write {

right: 180px !important; }
 * 1) UserStatsMenu {

/* User stats menu */ box-shadow: none; border: none; border-radius: 10px; overflow: hidden; background: #2f3136; width: 200px; }
 * 1) UserStatsMenu {

background: #202225; color: #ccc; padding-bottom: 10px; }
 * 1) UserStatsMenu .info {

display: block; float: none; height: 100px; width: 100px; margin: 10px auto; border-radius: 50%; border: none; }
 * 1) UserStatsMenu .info img {

margin: 0 20px; text-align: center; }
 * 1) UserStatsMenu .info > ul {

overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
 * 1) UserStatsMenu .info > ul > li {

margin: 0; }
 * 1) UserStatsMenu .regular-actions, #UserStatsMenu .admin-actions {

padding-top: 7px; padding-bottom: 7px; cursor: pointer; }
 * 1) UserStatsMenu .actions li {

padding-top: 9px; }
 * 1) UserStatsMenu .actions li:first-of-type {

padding-bottom: 9px; }
 * 1) UserStatsMenu .actions li:last-of-type {

body.chatmoderator #UserStatsMenu .regular-actions li:last-of-type { padding-bottom: 7px; }

body.chatmoderator #UserStatsMenu .admin-actions li:first-of-type { padding-top: 7px; }

border-color: #444; }
 * 1) UserStatsMenu .actions .separator {

background: rgba(0, 0, 0, .1); }
 * 1) UserStatsMenu .actions li:hover {

color: #09829d; }
 * 1) UserStatsMenu .actions a, #UserStatsMenu .actions li {

/* Modals */ .modalWrapper { background: #0f1013; border: none; box-shadow: 0 10px 60px 0 black; color: #ccc }

.blackout { background: black; }

/* User groups */ .groups { padding: 2px 5px 0 5px; }

.groups:empty { display: none; }

.group { margin: 5px 4px 0 0; border: 1px solid; border-color: currentColor; border-radius: 14px; padding: 4px 6px; display: inline-flex; align-items: center; height: 12px; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.group::before { content: ''; background-color: currentColor; border-radius: 6px; height: 12px; width: 12px; margin-right: 4px; }

.group::after { content: attr(data-group); color: #ccc; }

/* Most of these colors were stolen from Highlight and the Dev Wiki Discord but whatevs */ .group[data-group="bureaucrat"] { color: #90EE90; /* TODO: Better color that isn't confused with Vanguard */ }

.group[data-group="bureaucrat"]::after { content: 'Bureaucrat'; }

.group[data-group="sysop"] { color: #ee1a41; }

.group[data-group="sysop"]::after { content: 'Admin'; }

.group[data-group="staff"] { color: #5df2ae; }

.group[data-group="staff"]::after { content: 'Staff'; }

.group[data-group="voldev"] { color: #3498db; }

.group[data-group="voldev"]::after { content: 'VolDev'; }

.group[data-group="bot"] { color: #dfec24; }

.group[data-group="bot"]::after { content: 'Bot'; }

.group[data-group="vstf"] { color: #ff7777; }

.group[data-group="vstf"]::after { content: 'VSTF'; }

.group[data-group="chatmoderator"] { color: #a400a4; }

.group[data-group="chatmoderator"]::after { content: 'Chat Mod'; }

.group[data-group="content-moderator"] { color: #ff7000; }

.group[data-group="content-moderator"]::after { content: 'Content Mod'; }

.group[data-group="vanguard"] { color: #1eaf7a; }

.group[data-group="vanguard"]::after { content: 'Vanguard'; }

.group[data-group="council"] { color: #7289da; }

.group[data-group="council"]::after { content: 'Council' }

.group[data-group="helper"] { color: #bf6240; }

.group[data-group="helper"]::after { content: 'Helper' }

.group[data-group="global-discussions-moderator"] { color: #4286f4; }

.group[data-group="global-discussions-moderator"]::after { content: 'Global Discussions Mod'; /* GD Mod? */ }

/* Only use this on CC lol */ .wordmark img { filter: contrast(0) }