@import url('https://fonts.googleapis.com/css?family=Comfortaa:wght@500&display=swap'); /*-------------------------------------------------------------- # Keyframes --------------------------------------------------------------*/ @-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @-moz-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } :root { --body-bg: linear-gradient(to left, #1f1e1e, #000000); --msger-top: 50%; --msger-left: 50%; --msger-height: 680px; --msger-width: 420px; --msger-bg: linear-gradient(to left, #1f1e1e, #000000); --wb-width: 800px; --wb-height: 600px; --wb-bg: linear-gradient(to left, #1f1e1e, #000000); --left-msg-bg: #222328; --right-msg-bg: #0a0b0c; --box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); --btns-hover-scale: scale(1.1); } * { outline: none; font-family: 'Comfortaa'; } html, body { width: 100%; height: 100%; overflow: hidden; background: var(--body-bg); } /*-------------------------------------------------------------- # Loading... --------------------------------------------------------------*/ #loadingDiv { color: white; padding: 30px; border-radius: 10px; background: var(--body-bg); } #loadingDiv h1 { font-size: 60px; font-family: 'Comfortaa'; } #loadingDiv pre { padding: 5px; font-family: 'Comfortaa'; } /*-------------------------------------------------------------- # Buttons bar --------------------------------------------------------------*/ #openNavButton { z-index: 3; position: absolute; cursor: pointer; padding: 10px; font-size: 24px; color: white; background: rgba(0, 0, 0, 0.4); border-radius: 10px; } .sidenav { z-index: 4; height: 100%; width: 0; position: fixed; top: 0; left: 0; background-color: transparent; overflow-x: hidden; transition: 0.5s; padding-top: 60px; animation: show 0.4s ease; } .sidenav button { padding: 8px 8px 8px 32px; text-decoration: none; font-size: 20px; transition: 0.3s; } .sidenav button:hover { color: rgb(0, 180, 50); transform: var(--btns-hover-scale); } .sidenav .closebtn { position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; } .sidenav::-webkit-scrollbar { width: 5px; } .sidenav::-webkit-scrollbar-track { background: transparent; } .sidenav::-webkit-scrollbar-thumb { background: rgb(255 255 255 / 40%); } @media screen and (max-height: 450px) { .sidenav { padding-top: 20px; } .sidenav button { font-size: 20px; } } #control { position: fixed; padding: 10px; top: 0; width: 250px; background: var(--body-bg); } #control button { border-radius: 5px; } #exitButton:hover { color: red; } #settings { position: relative; background: var(--body-bg); } /*-------------------------------------------------------------- # Room QR --------------------------------------------------------------*/ #qrRoomContainer { display: flex; justify-content: center; align-items: center; } /*-------------------------------------------------------------- # Dropdown menĂ¹ --------------------------------------------------------------*/ .dropdown { position: relative; display: inline-block; } .dropdown-content { display: none; position: absolute; margin: auto; padding: 10px; max-width: 230px; background-color: rgba(0, 0, 0, 0.7); color: white; overflow: hidden; border-radius: 5px; box-shadow: var(--box-shadow); } .dropdown-content select { width: 210px; font-size: small; } /*-------------------------------------------------------------- # Recording --------------------------------------------------------------*/ #recording { position: relative; background: var(--body-bg); } #recording button, #recording p { padding: 5px; margin: 1px; font-size: 1.2rem; border-radius: 5px; } /*-------------------------------------------------------------- # Chat Room --------------------------------------------------------------*/ .chat-room { z-index: 5; display: none; position: fixed; height: var(--msger-height); width: var(--msger-width); background: var(--msger-bg); border-radius: 5px; border-radius: 10px; box-shadow: var(--box-shadow); overflow: hidden; } .msger { display: flex; flex-flow: column wrap; justify-content: space-between; top: var(--msger-top); left: var(--msger-left); height: var(--msger-height); width: var(--msger-width); background: var(--msger-bg); } /*-------------------------------------------------------------- # Chat room header --------------------------------------------------------------*/ .chat-header { display: flex; justify-content: space-between; padding: 10px; background: rgb(0, 0, 0); color: #666; cursor: move; } .chat-header-options button { border: none; font-size: 1.2rem; transition: all 0.3s ease-in-out; background: rgb(0, 0, 0); color: #fff; border-radius: 5px; transition: background 0.23s; } /*-------------------------------------------------------------- # Chat room output area --------------------------------------------------------------*/ .chat-msger { flex: 1; overflow-y: auto; padding: 10px; background: var(--msger-bg); } .chat-msger::-webkit-scrollbar { width: 5px; } .chat-msger::-webkit-scrollbar-track { background: transparent; } .chat-msger::-webkit-scrollbar-thumb { background: black; /*aqua;*/ } .msg { display: flex; align-items: flex-end; margin-bottom: 10px; } .msg:last-of-type { margin: 0; } /*-------------------------------------------------------------- # Chat room left side --------------------------------------------------------------*/ .left-msg .msg-bubble { background: var(--left-msg-bg); border-bottom-left-radius: 0; color: #fff; } .left-msg .private-msg-bubble { background: var(--private-msg-bg); border-bottom-left-radius: 0; color: #fff; } /*-------------------------------------------------------------- # Chat room right side --------------------------------------------------------------*/ .right-msg { flex-direction: row-reverse; } .right-msg .msg-bubble { background: var(--right-msg-bg); border-bottom-right-radius: 0; color: #fff; } .right-msg .private-msg-bubble { background: var(--private-msg-bg); border-bottom-right-radius: 0; color: #fff; } .right-msg .msg-img { margin: 0 0 0 10px; } /*-------------------------------------------------------------- # Chat room common --------------------------------------------------------------*/ .msg-img { width: 50px; height: 50px; margin-right: 10px; background-repeat: no-repeat; background-position: center; background-size: cover; } .msg-bubble { max-width: 200px; padding: 15px; border-radius: 15px; } .msg-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .msg-info-name { margin-right: 10px; font-weight: bold; } .msg-info-time { font-size: 0.85em; } .msg-text { overflow-wrap: break-word; word-wrap: break-word; hyphens: auto; } #chat-msg-a { color: white; } /*-------------------------------------------------------------- # Chat room input area --------------------------------------------------------------*/ .chat-msger-inputarea { display: flex; padding: 10px; background: #1f1e1e; } .chat-msger-input { flex: 1; padding: 10px; border: none; border-top-left-radius: 10px; background: rgb(0, 0, 0); color: white; } .chat-msger-inputarea button { width: 32px; } /*-------------------------------------------------------------- # Chat room emoji picker --------------------------------------------------------------*/ emoji-picker { position: absolute; top: 45px; width: 100%; height: 92%; --background: #16171b; --num-columns: 8; --emoji-size: 1.5rem; } /*-------------------------------------------------------------- # swal2 --------------------------------------------------------------*/ .swal2-validation-message, .swal2-title, .swal2-content, .swal2-input { text-align: center; color: white !important; background-color: transparent !important; } /*-------------------------------------------------------------- # About --------------------------------------------------------------*/ #about { cursor: default; } #about b { color: rgb(0, 180, 50); } #about img { cursor: pointer; border-radius: 10px; } #about a { color: white; text-decoration: none; } #about a:hover { color: rgb(0, 180, 50); transition: all 0.3s ease-in-out; } #about button { border: none; width: 170px; height: 40px; font-size: 1.2rem; background: linear-gradient(100deg, #376df9 0, #4b4547 75%, #222222 100%); box-shadow: 0 0 6px 0 rgb(251 255 0 / 82%); color: #ffffff; transition: background 0.23s; cursor: pointer; } #about button:hover { font-weight: bold; } /*-------------------------------------------------------------- # Common --------------------------------------------------------------*/ .hidden { display: none; } .show { display: block; } .center { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); } .fadein { -webkit-animation: fadeIn ease-in 1; -moz-animation: fadeIn ease-in 1; animation: fadeIn ease-in 1; -webkit-animation-fill-mode: forwards; -moz-animation-fill-mode: forwards; animation-fill-mode: forwards; -webkit-animation-duration: 1s; -moz-animation-duration: 1s; animation-duration: 1s; } p, button { background: transparent; color: white; border: none; } button:hover { color: rgb(0, 180, 50); transform: var(--btns-hover-scale); } /*-------------------------------------------------------------- # Room Participants --------------------------------------------------------------*/ #participants { z-index: 6; position: absolute; margin: auto; padding: 10px; min-width: 320px; background: var(--body-bg); border-radius: 10px; overflow: hidden; } .participants-header { display: flex; justify-content: space-between; background: rgb(0, 0, 0); border-radius: 10px; padding: 10px; color: white; cursor: move; } #roomParticipants { max-height: 480px; overflow: auto; } #roomParticipants table { border-collapse: collapse; width: 100%; } #roomParticipants td, #roomParticipants th { /* border: 1px solid #444444; */ color: white; text-align: left; padding: 8px; } /* #roomParticipants tr:nth-child(even) { background-color: #000000; } */ /*-------------------------------------------------------------- # Whiteboard --------------------------------------------------------------*/ #whiteboardSettings { position: relative; background: var(--body-bg); } #whiteboard { z-index: 2; position: absolute; margin: auto; padding: 10px; width: var(--wb-width); height: var(--wb-height); background: var(--wb-bg); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); overflow: hidden; } .whiteboard-header { display: flex; justify-content: space-between; background: rgb(0, 0, 0); border-radius: 10px; padding: 10px; color: white; cursor: move; } /*-------------------------------------------------------------- # Pulse class effect --------------------------------------------------------------*/ .pulsate { animation: pulsate 3s ease-out; animation-iteration-count: infinite; -webkit-animation: pulsate 3s ease-out; -webkit-animation-iteration-count: infinite; opacity: 0.5; } @-webkit-keyframes pulsate { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } } @keyframes pulsate { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } } @-webkit-keyframes pulsate { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } } /* z-index: - 1 videoMediaContainer - 2 whiteboard - 3 buttonBar - 4 sidenav - 4 whiteboard - 5 chat - 6 participants */