@keyframes error-message-entrance { from { top: -1000px} to { top: 0} } @keyframes fullscreen-notification-entrance { from { background-color: rgba(0, 0, 0, 0) } to { background-color: rgba(0, 0, 0, 0.5) } } @keyframes fullscreen-notification-window-entrance { from { transform: scale(0)} } * { box-sizing: border-box; font-family: sans-serif; outline: none; } html, body { background-color: #251a25; } #chat { background: rgb(27, 47, 114) url("assets/graphics/bg_responsive.jpg") repeat; margin: 0; font-size: 16px; font-family: sans-serif; position: fixed; top: 0; left: 0; right: 0; bottom: 0; color: white; } #chat-post-area { position: fixed; top: 0; left: 0; right: 0; bottom: 50px; overflow-x: hidden; box-sizing: border-box; padding-bottom: 20px; } #chat-type-area { position: fixed; height: 50px; background-color: #cccccc; left: 0; right: 0; bottom: 0; box-shadow: 0 0 20px rgba(0, 0, 0, 0.9); } #textarea-container { position: absolute; left: 0; top: 0; right: 50px; bottom: 0; height: 100%; } #chat-textarea { width: 100%; height: 100%; background-color: #333333; font-family: sans-serif; font-size: 16px; color: white; border: 2px grey solid; border-bottom: 2px solid white; border-right: 2px solid white; box-sizing: border-box; padding: 5px; resize: none; outline: none; overflow: hidden; } .chat-post { background-color: rgba(37, 26, 37, 0.9); border-radius: 0 20px 20px 0; margin-right: 20px; margin-left: 0; margin-top: 10px; margin-bottom: 10px; padding: 20px; overflow: hidden; } .chat-own-post { border-radius: 20px 0 0 20px; margin-left: 20px; margin-right: 0; padding: 20px 0 20px 20px; background-color: rgba(26, 37, 26, 0.9); } .chat-avatar { width: 64px; height: 64px; border-radius: 32px; margin-right: 20px; float: left; } .chat-own-post > .chat-avatar { margin-left: 20px; float: right; } .chat-username { font-weight: bold; } .chat-post-message { margin-top: 10px; overflow: hidden; } .chat-datetime { font-style: italic; color: grey; margin-top: 10px; } #login { display: flex; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgb(37, 26, 37); align-items: center; } #login-form { max-width: 500px; margin: auto; text-align: center; padding: 20px; } #login-form label { display: block; color: white; font-weight: bold; margin-bottom: 20px; } #login-form input { display: block; background-color: transparent; border: solid 1px white; color: white; border-radius: 5px; font-size: 18px; width: 100%; padding: 5px; } #login-form input[type=submit] { margin-top: 50px; background-color: white; color: #2a2a2a; font-weight: bold; } .app-version { color: white; margin-top: 50px; } .error-message { background-color: #550000; border: solid 1px red; color: white; padding: 5px; margin-bottom: 30px; } #metasocket-banner { width: 100%; margin-bottom: 50px; } #metasocket-logo { height: 100%; } #topbar { position: fixed; top: 0; left: 0; right: 0; height: 40px; background-color: #888888; box-shadow: 0 0 20px rgba(0, 0, 0, 0.9); padding: 5px; display: inline-flex; justify-content: space-between; } #logout-button { width: 70px; text-align: center; } #error-message { position: absolute; top: 0; background-color: #550000; color: white; left: 0; right: 0; padding: 10px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.9); animation-name: error-message-entrance; animation-duration: 1s; display: none; z-index: 10; } .message-cite { padding: 5px; background-color: green; border-left: 8px solid #005500; font-style: italic; margin: 5px 0; } .message-cite-username { font-style: italic; font-weight: bold; } #button-send { position: absolute; right: 0; width: 50px; height: 50px; top: 0; background-image: url("assets/graphics/button_send.svg"); background-size: contain; background-position: center center; background-repeat: no-repeat; border-radius: 0; border: 2px solid white; border-bottom: 2px solid grey; border-right: 2px solid grey; } .button-send-online { background-color: green; } .button-send-offline { background-color: #550000; } .notification { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); z-index: 10; display: flex; justify-content: center; align-items: center; color: white; animation-name: fullscreen-notification-entrance; animation-duration: 0.5s; } .notification-window { background-color: #251a25; padding: 20px; margin: 20px; box-shadow: 0 0 20px black; animation-name: fullscreen-notification-window-entrance; animation-duration: 0.5s; } .notification-window-error { background-color: #bb0000; } .notification-button-area { display: flex; justify-content: space-around; margin-top: 30px; } .notification-button { background-color: white; color: #251a25; font-weight: bold; padding: 5px 20px; border: none; border-radius: 0; cursor: pointer; } input[type="checkbox"] { border: solid 1px white !important; border-radius: 0 !important; } a.notification-button { text-decoration: none; } .notification-headline { margin-top: 5px; } @media only screen and (max-height: 500px) { #login { position: static; display: block; } }