body { margin: 0; padding: 0; } .slack-context { display: inline-block; position: absolute; top: 0; bottom: 0; left: 0; width: 250px; overflow-x: hidden; overflow-y: scroll; } .slack-chat-container { display: inline-block; position: absolute; top: 0; bottom: 0; left: 250px; right: 0; overflow: hidden; } .slack-context-room.selected { background-color: lightgrey; } .hidden { display: none; } .error { display: none; position: fixed; top: 0; left: 0; right: 0; height: 2em; line-height: 2em; background: #ffa2a2; padding: 0.5em 1em; } .button { border: 1px solid black; background: white; cursor: pointer; font: 13.3333px Arial; margin: 0; padding: 1px 6px; } .no-network .error { display: inline-block; } .slack-chat-content { height: calc(100vh - 8em); overflow: auto; } .slack-chat-title { display: inline-block; height: 1.75em; font-size: 1.75em; font-style: italic; } .slack-chat-control { display: inline-block; position: relative; width: 100%; height: 2em; padding: 1.5em 0; } .slack-chat-control > * { display: inline-block; height: 100%; } .slack-context-room.unread { font-weight: bold; } .slack-context-room.slack-channel + .slack-context-room:not(.slack-channel), .slack-context-room.slack-group + .slack-context-room:not(.slack-group) { margin-top: 1em; border-top: 1px solid grey; } .slackmsg-item { position: relative; background: #eee; } .slackmsg-item:not(:first-child) { margin-top: 15px; } .slackmsg-author { display: inline-block; } .slackmsg-author-img { margin-right: 15px; } .slackmsg-author-name { position: absolute; max-height: 1em; overflow: hidden; font-style: italic; } .slackmsg-msg { display: inline-block; vertical-align: top; margin-top: 1em; } .slackmsg-ts {} .slackmsg-hover { display: none; position: absolute; top: 0; right: 0; margin: 0; list-style: none; padding: 0; } .slackmsg-hover > li { display: inline-block; width: 1.5em; height: 1.5em; background: white; border: 1px solid black; cursor: pointer; background-size: contain; background-repeat: no-repeat; background-position: center center; } .slackmsg-hover > li:first-child { border-bottom-left-radius: 5px; } .slackmsg-hover > li:last-child { border-top-right-radius: 5px; } .slackmsg-hover .slackmsg-hover-reply { background-image: url("repl.svg"); } .slack-chat-content .slackmsg-item:hover .slackmsg-hover { display: block; } .replyto-container { display: none; position: relative; height: 5em; width: 100%; } .replyingTo .replyto-container { display: inline-block; } .replyingTo .slack-chat-content { height: calc(100vh - 13em); } .replyto-container .replyto-close { position: absolute; display: inline-block; top: 15px; right: 0; height: 1.5em; width: 1.5em; text-align: center; cursor: pointer; z-index: 500; } .slackmsg-item.slackmsg-me_message { position: static; font-style: italic; } .slackmsg-item.slackmsg-me_message .slackmsg-author-name { position: static; } .slackmsg-item.slackmsg-me_message .slackmsg-msg { margin: 0 0 0 1em; } .slackmsg-item.slackmsg-me_message .slackmsg-author-img, .slackmsg-item.slackmsg-me_message .slackmsg-ts { display: none; } .slackmsg-style-bold { font-weight: bold; } .slackmsg-style-code { background: #FFF6B4; color: red; } .slackmsg-style-italic { font-style: italic; } .slackmsg-style-strike { text-decoration: line-through; } .slackmsg-style-quote { border-left: 3px solid grey; padding-left: 10px; } .attach-file-icon { height: 1.5em; vertical-align: bottom; } .file-upload-container { position: fixed; z-index: 5000; background: rgba(55, 55, 55, 0.8); top: 0; bottom: 0; right: 0; left: 0; max-width: 100%; margin: auto; height: 200px; width: 500px; max-height: 100%; padding: 1.5em; border: 1px solid rgba(55, 55, 55, 1); border-radius: 10px; } .file-upload-container > form { display: inline-block; background: white; height: 100%; width: 100%; } .file-upload-container input { display: block; } .file-upload-error { margin: 1em 0; padding: 0.5em 1.5em; background: #ffa2a2; }