* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: Roboto Mono, monospace; background: #f0f0f0; } h1, h2, h3, h4, h5, h6 { font-family: Montserrat, sans-serif; font-weight: 400; } h1 { font-weight: 700; } input { font: 16px Roboto Mono, monospace; border: none; outline: none; } button { font: 16px Montserrat, sans-serif; border: none; outline: none; cursor: pointer; } p { line-height: 1.5; } i[class^="icon-"]:before, i[class*=" icon-"]:before { margin: 0; } .tablist { position: fixed; left: 0; top: 0; bottom: 0; width: 200px; background: #222; color: #FFF; font-family: Montserrat, sans-serif; transition: transform .2s; } .tab-container { position: absolute; top: 50px; bottom: 50px; width: 100%; overflow: auto; } .tablist p { padding: 3px 15px; padding-right: 10px; cursor: pointer; } .tablist p:last-child { margin-bottom: 10px; } .tablist p:hover { background: #111; } .tablist p.selected { padding-left: 10px; border-left: 5px solid #6BB758; } .tab-content { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tab-server { display: flex; align-items: center; color: #999; margin-top: 10px !important; } .tab-server .tab-content { flex: 1; margin-right: 5px; } .tab-indicator { width: 10px; height: 10px; border-radius: 50%; } .button-connect { width: 100%; height: 50px; background: #6BB758; color: #FFF; } .button-connect:hover { background: #7BBF6A; } .button-connect:active { background: #6BB758; } .side-buttons { position: fixed; bottom: 0; height: 50px; width: 200px; text-align: center; } .side-buttons i { display: inline-block; color: #999; width: 50%; line-height: 50px; cursor: pointer; font-size: 20px; border-top: 1px solid #1D1D1D; } .side-buttons i:not(:first-child) { border-left: 1px solid #1D1D1D; } .side-buttons i:hover { color: #CCC; background: #1D1D1D; } .main-container { position: fixed; left: 200px; top: 0; bottom: 0; right: 0; transition: left .2s, transform .2s; } .connect { display: flex; justify-content: center; position: absolute; top: 0; width: 100%; bottom: 0; overflow: auto; } .connect .navicon, .settings .navicon { position: absolute; top: 0; left: 0; } .connect-form { margin: auto 0; padding-top: 20px; width: 300px; } .connect-form h1 { margin-bottom: 15px; text-align: center; } .connect-form input { display: block; margin: 5px 0px; padding: 15px; border: none; } .connect-form input[type="submit"], .connect-form input[type="text"], .connect-form input[type="password"] { width: 100%; } .connect-form input[type="submit"] { height: 50px; margin-bottom: 20px; font-family: Montserrat, sans-serif; background: #6BB758; color: #FFF; cursor: pointer; } .connect-form input[type="submit"]:hover { background: #7BBF6A; } .connect-form input[type="submit"]:active { background: #6BB758; } .connect-form input[type="checkbox"] { display: inline-block; margin-right: 5px; vertical-align: middle; } .connect-form i { float: right; cursor: pointer; color: #999; padding: 10px 5px; font-size: 24px; } .connect-form i:hover { color: #000; } .connect-form label { display: inline-block; padding: 10px 0; color: #333; } .chat-title-bar { font-family: Montserrat, sans-serif; position: absolute; left: 0; top: 0; right: 0; height: 50px; line-height: 50px; border-bottom: 1px solid #DDD; display: flex; font-size: 20px; } .chat-channel .chat-title-bar { right: 200px; } .navicon { display: none; padding: 0 15px; line-height: 50px; font-size: 20px; cursor: pointer; } .chat-title-bar i { padding: 0 15px; cursor: pointer; } .chat-server .icon-search { display: none; } .chat-server .userlist-bar, .chat-private .userlist-bar { display: none; } .button-leave { border-left: 1px solid #DDD; } .button-leave:hover { background: #DDD; } .button-userlist { display: none; border-left: 1px solid #DDD; } .chat-server .button-userlist, .chat-private .button-userlist { display: none; } .chat-title { margin-left: 15px; font-size: 24px; white-space: nowrap; } .chat-topic-wrap { flex: 1; position: relative; margin: 0 15px; } .chat-topic { position: absolute; width: 100%; bottom: -4px; font-size: 16px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .chat-topic a { color: #999; text-decoration: none; } .chat-topic a:hover { text-decoration: underline; } .userlist-bar { position: absolute; top: 0; right: 0; width: 200px; height: 50px; border-left: 1px solid #DDD; border-bottom: 1px solid #DDD; line-height: 50px; text-align: center; padding: 0 15px; font-family: Montserrat, sans-serif; } .userlist-bar i { margin-right: 3px; } .search { display: none; position: absolute; left: 0; top: 50px; bottom: 50px; right: 200px; z-index: 3; background: #f0f0f0; } .chat-server .search { display: none; } .chat-private .search { right: 0; } .search-input-wrap { display: flex; width: 100%; background: #FFF; border-bottom: 1px solid #DDD; } .search i { padding: 15px; color: #DDD; } .search-input { flex: 1; padding: 15px; padding-left: 0; } .search-results { position: absolute; top: 50px; bottom: 0; width: 100%; overflow: auto; padding: 10px 15px; } .search-result:not(:last-child) { margin-bottom: 5px; } .messagebox { position: absolute; left: 0; top: 50px; bottom: 50px; right: 0; z-index: 1; overflow: hidden; } .chat-channel .messagebox { right: 200px; } .messagebox-top-indicator { color: #999; height: 100px; text-align: center; padding-top: 40px; } .VirtualScroll { overflow-x: hidden !important; } .message { padding: 4px 15px; } .message-info { color: #999; } .message-action { color: #FF6698; } .message-time { color: #999; } .message-sender { font-weight: 700; color: #6BB758; cursor: pointer; } .message a { text-decoration: none; color: #0066FF; } .message a:hover { text-decoration: underline; } .message-input-wrap { position: absolute; left: 0; bottom: 0; right: 0; height: 50px; z-index: 1; display: flex; border-top: 1px solid #DDD; background: #FFF; } .message-input-nick { margin: 10px; line-height: 30px; height: 30px; padding: 0 10px; background: #6BB758; color: #FFF; font-family: Montserrat, sans-serif; margin-right: 0; } .message-input { flex: 1; width: 100%; height: 100%; padding: 0 15px; } .userlist { position: absolute; top: 50px; bottom: 50px; right: 0; width: 200px; border-left: 1px solid #DDD; background: #f0f0f0; z-index: 2; transition: transform .2s; } .userlist p { padding: 0px 15px; cursor: pointer; } .userlist p:hover { background: #DDD; } .settings { text-align: center; } .settings p { color: #999; } .settings h1 { margin: 20px; } .settings h2 { margin: 15px; } .settings button { margin: 5px; color: #FFF; background: #6BB758; padding: 10px 20px; width: 200px; } .settings button:hover { background: #7BBF6A; } .settings button:active { background: #6BB758; } .settings div { display: inline-block; } .settings .error { margin: 10px; color: #F6546A; } .input-file { color: #FFF; background: #222 !important; padding: 10px; margin: 5px; width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ReactVirtualized__List { box-sizing: content-box !important; outline: none; } .rvlist-messages { padding: 7px 0; overflow-y: scroll !important; } .rvlist-users { padding: 10px 0; } @media (max-width: 600px) { .tablist { width: 200px; transform: translateX(-200px); } .main-container { transform: translateX(0); left: 0; } .navicon { display: inline-block; } .main-container.off-canvas { transform: translateX(200px); } .tablist.off-canvas { transform: translateX(0); } .chat-title { margin-left: 0; } .userlist-bar { display: none; } .userlist { transform: translateX(200px); } .userlist.off-canvas { transform: translateX(0); } .chat-channel .chat-title-bar, .chat-channel .messagebox { right: 0; } .button-userlist { display: inline-block; } .chat-topic { display: none; } .search { right: 0; } .connect-form { width: 100%; margin: auto 50px; max-width: 400px; } }