Files
mirotalk/public/css/client.css
T
2026-03-31 07:20:40 +02:00

4127 lines
84 KiB
CSS
Executable File

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
/*--------------------------------------------------------------
# Root settings
--------------------------------------------------------------*/
:root {
/* common */
--navbar-bg: rgba(0, 0, 0, 0.2);
--body-bg: radial-gradient(#393939, #000000);
--border: 0.5px solid rgb(255 255 255 / 18%);
--dd-color: #ffffff;
--msger-top: 50%;
--msger-left: 50%;
--msger-height: min(760px, 92vh);
--msger-width: min(1120px, 92vw);
--msger-bubble-width: 85%;
--caption-top: 50%;
--caption-left: 50%;
--caption-height: 680px;
--caption-width: 420px;
/* video iframe */
--iframe-width: 640px;
--iframe-height: 480px;
/* whiteboard resize */
--wb-width: 1920px;
--wb-height: 1080px;
/* my settings */
--mySettings-select-w: 100%;
/* btns hover scale 110% zoom */
--btns-hover-scale: scale(1.1);
--hover-color: grey;
/* video elem border color */
--elem-border-color: none;
--tab-btn-active: rgb(30 29 29);
--btn-bar-bg-color: #ffffff;
--btn-bar-color: #000000;
/* bottom buttons bar horizontal default */
--bottom-btns-top: auto;
--bottom-btns-left: 50%;
--bottom-btns-bottom: 0;
--bottom-btns-translate-X: -50%;
--bottom-btns-translate-Y: 0%;
--bottom-btns-margin-bottom: 18px;
--bottom-btns-flex-direction: row;
/* dark theme */
--body-bg: radial-gradient(#393939, #000000);
--msger-bg: radial-gradient(#393939, #000000);
--msger-private-bg: radial-gradient(#393939, #000000);
--wb-bg: radial-gradient(#393939, #000000);
--select-bg: #2c2c2c;
--box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
/* chat msg boble */
--left-msg-bg: #252d31;
--right-msg-bg: #056162;
--private-msg-bg: #6b1226;
/* volume detected */
--volume-up: 0px 8px 16px 0px rgb(249, 253, 0);
/* video avatar img size */
--vmi-wh: 15vw;
/*
https://developer.mozilla.org/it/docs/Web/CSS/object-fit
*/
--video-object-fit: cover;
}
* {
outline: none;
font-family: 'Montserrat';
}
/*--------------------------------------------------------------
# Body Html setup
--------------------------------------------------------------*/
html,
body {
top: 0 !important;
width: 100%;
height: 100%;
margin: auto;
overflow: hidden;
background: var(--body-bg);
/* background: url('../images/bg.svg'); */
}
/*--------------------------------------------------------------
# Google Translate
--------------------------------------------------------------*/
.skiptranslate iframe,
.goog-te-banner-frame.skiptranslate,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
#goog-gt-tt,
#goog-gt-tt *,
#goog-gt-vt,
#goog-gt-vt * {
display: none !important;
}
#google_translate_element select {
background: var(--select-bg) !important;
padding: 6px 10px;
border: var(--border);
border-radius: 8px;
color: #fff;
}
/*--------------------------------------------------------------
# Loading...
--------------------------------------------------------------*/
#loadingDiv {
z-index: 9999;
color: #fff;
padding: 30px;
text-align: center;
border-radius: 10px;
background: var(--btns-bg-color, rgba(0, 0, 0, 0.7));
box-shadow: var(--box-shadow);
}
#loadingDiv h1 {
font-size: 60px;
font-family: 'Montserrat';
}
#loadingDiv pre {
padding: 5px;
font-family: 'Montserrat';
}
/* Custom CSS spinner */
.loading-spinner {
position: relative;
width: 120px;
height: 120px;
margin: 0 auto 15px;
}
.spinner-ring {
position: absolute;
inset: 0;
border-radius: 50%;
border: 4px solid rgba(255, 255, 255, 0.1);
border-top-color: #fff;
animation: spin 1s linear infinite;
}
.spinner-ring::before {
content: '';
position: absolute;
inset: 6px;
border-radius: 50%;
border: 4px solid rgba(255, 255, 255, 0.05);
border-top-color: rgba(255, 255, 255, 0.6);
animation: spin 1.5s linear reverse infinite;
}
.spinner-logo {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 48px;
height: 48px;
animation: pulse-logo 2s ease-in-out infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@keyframes pulse-logo {
0%,
100% {
opacity: 0.7;
transform: translate(-50%, -50%) scale(1);
}
50% {
opacity: 1;
transform: translate(-50%, -50%) scale(1.08);
}
}
/*--------------------------------------------------------------
# Init User
--------------------------------------------------------------*/
.init-modal-size {
width: 1024px !important;
height: auto !important;
}
.init-user {
z-index: 9999;
display: flex;
padding: 5px;
}
.init-video-container {
position: relative;
width: 100%;
}
.init-video-loader {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
background: rgba(0, 0, 0, 0.6);
border-radius: 8px;
}
.init-video-container video {
z-index: 0;
position: relative;
height: 240px;
}
.initComands {
width: 100%;
}
@media screen and (max-width: 1024px) {
.init-modal-size {
width: auto !important;
}
.init-user {
display: block;
}
.init-video-container {
padding: 0px;
}
.init-modal-size {
width: 480px !important;
}
}
.init-user select {
display: block;
width: 100%;
margin-top: 15px;
padding: 10px;
background: var(--select-bg) !important;
color: white;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
box-shadow: none;
cursor: pointer;
transition:
border-color 0.2s ease,
background 0.2s ease,
box-shadow 0.2s ease;
}
.init-user select:hover {
border-color: rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.08) !important;
}
.init-user select:focus {
outline: none;
border-color: rgba(70, 120, 249, 0.6);
box-shadow: 0 0 0 2px rgba(70, 120, 249, 0.15);
}
.init-user button {
width: 50px;
padding: 10px;
margin-top: 20px;
margin-bottom: 10px;
font-size: 1.5rem;
color: white;
border: var(--border);
border-radius: 8px;
background-color: transparent;
}
.init-user button:hover {
background: var(--body-bg);
}
.fa-phone-slash,
.fa-microphone-slash,
.fa-video-slash {
color: red !important;
}
/*--------------------------------------------------------------
# Session Time
--------------------------------------------------------------*/
#myCurrentSessionTime {
font-size: 14px;
color: white;
margin-right: 5px;
}
/*--------------------------------------------------------------
# Bottom buttons
--------------------------------------------------------------*/
#bottomButtons {
z-index: 10;
display: none;
position: fixed;
padding: 10px;
top: var(--bottom-btns-top);
left: var(--bottom-btns-left);
bottom: var(--bottom-btns-bottom);
transform: translate(var(--bottom-btns-translate-X), var(--bottom-btns-translate-Y));
flex-direction: var(--bottom-btns-flex-direction);
align-items: center;
justify-content: center;
gap: 0.5rem;
margin-bottom: var(--bottom-btns-margin-bottom);
border-radius: 10px;
border: none !important;
box-shadow: var(--box-shadow);
}
/* Split button (main action + device arrow) */
#bottomButtons .split-btn {
position: relative;
display: inline-flex;
align-items: stretch;
overflow: visible;
border-radius: 10px;
}
/* Let the dropdown menu anchor to the whole split button (not only the arrow). */
#bottomButtons #audioDropdown,
#bottomButtons #videoDropdown,
#bottomButtons #settingsExtraDropdown {
position: static;
}
#bottomButtons .split-btn > button {
border-radius: 0;
margin: 0;
}
#bottomButtons .split-btn > button:first-child {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
}
#bottomButtons .split-btn .device-dropdown-toggle {
border-radius: 0;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-left: var(--border);
margin: 0;
}
/* Keep the group visually together when hovering. */
#bottomButtons .split-btn button:hover {
transform: none;
}
#bottomButtons button {
width: 50px;
height: 50px;
padding: 10px;
font-size: 1.6rem;
color: var(--btn-bar-bg-color);
background: var(--btns-bg-color);
border: none !important;
border-radius: 10px;
transition: all 0.3s ease-in-out;
}
/* Quick device picker (Start Audio/Video) */
#bottomButtons .device-dropdown-toggle {
width: 35px;
height: 50px;
display: inline-flex;
align-items: center;
justify-content: center;
line-height: 1;
}
#bottomButtons .device-dropdown-toggle i {
font-size: 0.9rem;
}
#bottomButtons .dropdown-menu button {
width: auto;
font-size: 0.8em;
padding: 8px 16px;
border-radius: 8px;
background: none;
transition:
background 0.2s ease,
transform 0.15s ease;
}
#bottomButtons .dropdown-menu button:hover {
background: rgba(255, 255, 255, 0.08);
}
#bottomButtons .dropdown {
position: relative;
}
#bottomButtons .dropup .dropdown-menu {
z-index: 9999;
position: absolute;
left: 0;
padding: 8px;
bottom: 45px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
background: var(--body-bg);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
backdrop-filter: blur(12px);
}
#bottomButtons #audioMenu,
#bottomButtons #videoMenu {
min-width: 280px;
max-width: calc(100vw - 24px);
text-align: left;
}
#bottomButtons #settingsExtraMenu {
min-width: 220px;
max-width: calc(100vw - 24px);
text-align: left;
}
#bottomButtons #settingsExtraMenu .device-menu-header.extra-menu-group {
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.08em;
color: rgba(255, 255, 255, 0.4);
padding: 10px 16px 4px;
pointer-events: none;
user-select: none;
}
#bottomButtons #settingsExtraMenu button:hover {
transform: translateX(3px) !important;
}
#bottomButtons #settingsExtraMenu .extra-menu-divider.extra-menu-divider {
height: 1px;
background: rgba(255, 255, 255, 0.08);
margin: 6px 12px;
}
/* Mobile: keep settingsExtraMenu inside viewport and scrollable */
@media (max-width: 600px) {
#bottomButtons #audioMenu,
#bottomButtons #videoMenu,
#bottomButtons #settingsExtraMenu {
min-width: unset;
max-width: 90vw;
left: 5vw !important;
right: 5vw !important;
position: fixed !important;
bottom: 70px !important;
z-index: 9999;
overflow-y: auto;
max-height: 60vh;
border-radius: 12px;
box-shadow: var(--box-shadow);
}
}
#bottomButtons #audioMenu button,
#bottomButtons #videoMenu button,
#bottomButtons #settingsExtraMenu button {
display: flex;
width: 100%;
height: 35px;
align-items: center;
justify-content: flex-start;
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
transform: none !important;
}
#bottomButtons #settingsExtraMenu button i {
width: 20px;
min-width: 20px;
text-align: center;
margin-right: 10px;
font-size: 1.1em;
display: inline-block;
}
/* Quick device picker: section headers + divider (Cameras / Microphones / Speakers) */
#bottomButtons #videoMenu .device-menu-header,
#bottomButtons #audioMenu .device-menu-header,
#bottomButtons #settingsExtraMenu .device-menu-header {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
color: #fff;
font-weight: 600;
font-size: 1rem;
font-weight: 600;
user-select: none;
}
#bottomButtons #videoMenu .device-menu-header i,
#bottomButtons #audioMenu .device-menu-header i,
#bottomButtons #settingsExtraMenu .device-menu-header i {
width: 18px;
text-align: center;
}
#bottomButtons #videoMenu .device-menu-divider,
#bottomButtons #audioMenu .device-menu-divider,
#bottomButtons #settingsExtraMenu .device-menu-divider {
height: 1px;
background: var(--btns-bg-color);
opacity: 0.6;
margin: 8px 0;
}
/* Action buttons in device menu */
#bottomButtons #audioMenu .device-menu-action-btn,
#bottomButtons #videoMenu .device-menu-action-btn,
#bottomButtons #settingsExtraMenu .device-menu-action-btn {
background: var(--body-bg);
border: 1px solid var(--border-color);
color: #fff;
font-weight: 500;
gap: 8px;
transition: all 0.2s ease;
}
#bottomButtons #audioMenu .device-menu-action-btn:hover,
#bottomButtons #videoMenu .device-menu-action-btn:hover,
#bottomButtons #settingsExtraMenu .device-menu-action-btn:hover {
background: var(--btns-bg-color) !important;
border-color: var(--btns-color);
transform: translateY(-1px) !important;
}
#bottomButtons #audioMenu .device-menu-action-btn i,
#bottomButtons #videoMenu .device-menu-action-btn i,
#bottomButtons #settingsExtraMenu .device-menu-action-btn i {
width: 18px;
text-align: center;
}
#bottomButtons button:hover {
background: var(--body-bg);
transform: var(--btns-hover-scale);
}
#participantsBtn {
position: relative;
}
/* Participants count badge for participants button */
#participantsCountBadge {
position: absolute;
top: 2px;
right: 2px;
min-width: 16px;
height: 16px;
background: #e74c3c;
color: #fff;
border-radius: 8px;
font-size: 11px;
display: flex;
align-items: center;
justify-content: center;
padding: 0 0.4em;
pointer-events: none;
z-index: 2;
display: none;
box-sizing: border-box;
transition:
font-size 0.2s,
min-width 0.2s,
height 0.2s;
}
@media (max-width: 600px) {
#participantsCountBadge {
font-size: 12px;
min-width: 15px;
height: 15px;
top: 1px;
right: 1px;
}
#myCurrentSessionTime {
font-size: 12px;
}
}
@media (max-width: 400px) {
#participantsCountBadge {
font-size: 13px;
min-width: 14px;
height: 14px;
top: 0px;
right: 0px;
}
#myCurrentSessionTime {
font-size: 10px;
}
}
/*--------------------------------------------------------------
# Caption
--------------------------------------------------------------*/
.caption-draggable {
z-index: 14;
display: none;
flex-direction: column;
position: fixed;
height: var(--caption-height);
width: var(--caption-width);
min-height: var(--caption-height);
min-width: var(--caption-width);
background: var(--msger-bg);
border: var(--border);
resize: none;
overflow: hidden;
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
backdrop-filter: blur(10px);
transition:
width 0.4s ease-in-out,
height 0.4s ease-in-out;
}
.caption-draggable.caption-pinned {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.caption {
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
justify-content: space-between;
background: var(--msger-bg);
border-radius: 20px;
}
.caption-draggable.caption-pinned .caption {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
/* Draggable Header */
.caption-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
color: #fff;
cursor: move;
font-weight: 600;
font-size: 1.05rem;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
}
.caption-draggable.caption-pinned .caption-header {
border-top-right-radius: 0;
}
.caption-header-title button,
.caption-header-options button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 8px 12px;
border: none;
font-size: 1rem;
line-height: 1;
background: rgba(255, 255, 255, 0.1);
color: #fff;
border-radius: 8px;
transition: all 0.25s ease;
}
.caption-header-title button:hover,
.caption-header-options button:hover {
background: rgba(255, 255, 255, 0.2);
transform: scale(1.05);
}
/* Chat Box */
.caption-chat {
flex: 1;
overflow-y: auto;
padding: 16px;
background: transparent;
max-width: 100%;
font-size: 1rem;
line-height: 1.6;
}
/* Scrollbar Styling */
.caption-chat::-webkit-scrollbar {
width: 8px;
}
.caption-chat::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
border-radius: 10px;
}
.caption-chat::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.4);
border-radius: 10px;
border: 2px solid transparent;
background-clip: padding-box;
}
.caption-chat::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.6);
background-clip: padding-box;
}
/* Input Area */
.caption-inputarea {
display: flex;
align-items: center;
padding: 12px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(0, 0, 0, 0.2);
}
.caption-inputarea select {
min-width: 50px;
margin: 0 8px;
padding: 8px 12px;
background: rgba(255, 255, 255, 0.1) !important;
border-radius: 8px;
cursor: pointer;
border: 1px solid rgba(255, 255, 255, 0.1);
color: #fff;
transition: all 0.25s ease;
}
.caption-inputarea select:hover {
background: rgba(255, 255, 255, 0.15) !important;
border-color: rgba(255, 255, 255, 0.2);
}
.caption-inputarea select:focus {
outline: none;
border-color: rgba(255, 255, 255, 0.3);
background: rgba(255, 255, 255, 0.2) !important;
}
/* Message Bubble */
.left-msg .msg-caption-bubble {
background: linear-gradient(135deg, var(--left-msg-bg), rgba(0, 0, 0, 0.6));
border-bottom-left-radius: 4px;
color: #fff;
width: var(--msger-bubble-width);
padding: 12px 16px;
border-radius: 18px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
#captionMaxBtn,
#captionMinBtn {
display: none;
}
/* Speech Recognition Buttons */
#speechRecognitionStart,
#speechRecognitionStop {
margin: 0 6px;
padding: 8px 16px;
border: none;
border-radius: 8px;
color: #fff;
background: rgba(255, 255, 255, 0.1);
transition: all 0.25s ease;
font-weight: 500;
}
#speechRecognitionStart:hover,
#speechRecognitionStop:hover {
background: rgba(255, 255, 255, 0.2);
transform: scale(1.05);
}
/*--------------------------------------------------------------
# Empty caption illustration
--------------------------------------------------------------*/
.empty-caption-notice {
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1.5rem;
text-align: center;
padding: 2rem 1rem;
opacity: 0.85;
transition: opacity 0.2s;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
}
.empty-caption-img {
width: 50%;
max-width: 240px;
opacity: 0.8;
margin: 0 auto 0.5rem auto;
}
.empty-caption-title {
font-size: 1.3rem;
font-weight: 600;
color: #e0e0e0;
margin: 0.5rem 0 0.2rem 0;
}
.empty-caption-desc {
color: #b0b0b0;
max-width: 350px;
margin: 0 auto;
font-size: 1rem;
}
/*--------------------------------------------------------------
# Chat room aka msger
--------------------------------------------------------------*/
.msger-draggable {
z-index: 14;
display: none;
position: fixed;
height: var(--msger-height);
width: var(--msger-width);
min-height: var(--msger-height);
min-width: var(--msger-width);
background: var(--msger-bg);
border: var(--border);
resize: none;
overflow: hidden;
border-radius: 20px;
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
backdrop-filter: blur(22px);
transition: width 0.5s ease-in-out;
}
.msger-draggable.msger-pinned {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.msger-draggable.msger-pinned.msger-pinned-sidebar-open {
overflow: visible;
}
.msger-draggable.msger-pinned #msgerCPBtn {
display: inline-flex !important;
}
.msger-draggable.msger-pinned .msger-layout {
grid-template-columns: minmax(0, 1fr);
}
.msger-draggable.msger-pinned .msger-sidebar {
display: none;
}
.msger-draggable.msger-pinned.msger-pinned-sidebar-open .msger-sidebar {
z-index: 16;
display: flex;
position: absolute;
inset: 0;
gap: 16px;
padding: 20px 16px;
border-right: none;
background: var(--msger-private-bg);
overflow: visible;
}
.msger-draggable.msger-pinned.msger-pinned-sidebar-open #msgerSidebarCloseBtn {
display: inline-flex;
}
.msger-draggable.msger-pinned.msger-pinned-sidebar-open .msger-main {
visibility: hidden;
}
.msger-draggable.msger-pinned .msger-chat-item {
padding: 12px;
}
.msger-draggable.msger-pinned .msger-conversation-banner {
padding: 16px 18px;
}
.msger-draggable.msger-pinned .msger-chat {
padding: 18px 18px 14px;
}
.msger-draggable.msger-pinned .msger-composer {
padding: 14px 18px 18px;
}
@media (max-width: 1500px) {
.msger-draggable.msger-pinned .msger-header {
gap: 10px;
padding: 15px 16px;
}
.msger-draggable.msger-pinned .msger-header-options {
gap: 6px;
}
.msger-draggable.msger-pinned .msger-panel-heading h3 {
font-size: 1rem;
}
.msger-draggable.msger-pinned .msger-sidebar-label {
font-size: 0.66rem;
letter-spacing: 0.06em;
}
.msger-draggable.msger-pinned .msger-header-title button,
.msger-draggable.msger-pinned .msger-header-options button,
.msger-draggable.msger-pinned .msger-header-options .dropdown-toggle-custom {
width: 36px;
height: 36px;
font-size: 0.92rem;
border-radius: 10px;
}
}
@media (max-width: 1280px) {
.msger-draggable.msger-pinned .msger-header {
gap: 8px;
padding: 12px 14px;
}
.msger-draggable.msger-pinned .msger-header-options {
gap: 4px;
}
.msger-draggable.msger-pinned .msger-panel-heading h3 {
font-size: 0.92rem;
}
.msger-draggable.msger-pinned .msger-sidebar-label {
font-size: 0.6rem;
letter-spacing: 0.05em;
}
.msger-draggable.msger-pinned .msger-header-title button,
.msger-draggable.msger-pinned .msger-header-options button,
.msger-draggable.msger-pinned .msger-header-options .dropdown-toggle-custom {
width: 32px;
height: 32px;
font-size: 0.84rem;
border-radius: 9px;
}
}
.msger {
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
background: transparent;
border-radius: 20px;
min-height: 0;
}
.msger-layout {
flex: 1;
display: grid;
grid-template-columns: 300px minmax(0, 1fr);
min-height: 0;
}
.msger-sidebar,
.msger-main,
#msgerCP {
min-height: 0;
min-width: 0;
}
.msger-sidebar {
display: flex;
flex-direction: column;
gap: 18px;
padding: 20px 16px;
background: var(--msger-private-bg);
border-right: var(--border);
}
.msger-sidebar-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.msger-sidebar-header-options {
gap: 8px;
}
#msgerSidebarCloseBtn {
display: none;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
padding: 0;
border: none;
border-radius: 12px;
color: #fff;
background: var(--body-bg);
}
#msgerSidebarCloseBtn:hover {
background: var(--right-msg-bg);
}
.msger-main {
display: flex;
flex-direction: column;
min-height: 0;
background: var(--msger-bg);
}
.msger-panel-heading {
display: flex;
flex-direction: column;
gap: 4px;
}
.msger-panel-heading-compact {
gap: 2px;
}
.msger-panel-heading h3 {
margin: 0;
font-size: 1.15rem;
font-weight: 700;
color: #f1f6f7;
}
.msger-sidebar-label {
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: rgba(214, 234, 238, 0.58);
}
.msger-sidebar-section {
display: flex;
flex-direction: column;
gap: 12px;
}
.msger-sidebar-section:last-child {
flex: 1;
min-height: 0;
}
.msger-sidebar-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.msger-sidebar-empty {
padding: 12px 14px;
border: var(--border);
border-radius: 16px;
font-size: 0.9rem;
line-height: 1.5;
color: rgba(214, 234, 238, 0.72);
background: var(--body-bg);
}
.msger-chat-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.msger-chat-item {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
min-width: 0;
padding: 14px;
border: none;
border: var(--border);
border-radius: 18px;
background: var(--body-bg);
color: #edf5f6;
text-align: left;
}
.msger-chat-item.active,
.msger-chat-item:hover {
background: linear-gradient(135deg, var(--right-msg-bg), rgba(255, 255, 255, 0.08));
border-color: var(--right-msg-bg);
transform: translateY(-1px);
}
.msger-chat-item-icon,
.msger-chat-avatar {
flex: 0 0 42px;
width: 42px;
height: 42px;
border-radius: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--left-msg-bg);
color: #dff2f5;
}
.msger-chat-avatar {
object-fit: cover;
}
.msger-chat-item-copy {
display: flex;
flex-direction: column;
gap: 4px;
flex: 1;
min-width: 0;
}
.msger-chat-item-copy strong {
display: block;
font-size: 0.96rem;
font-weight: 600;
color: #f4fbfc;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.msger-chat-item-copy small {
display: block;
font-size: 0.8rem;
line-height: 1.4;
color: rgba(214, 234, 238, 0.7);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.msger-chat-unread-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 22px;
height: 22px;
padding: 0 7px;
margin-left: auto;
border-radius: 999px;
background: #ff5f57;
color: #fff;
font-size: 0.72rem;
font-weight: 700;
line-height: 1;
box-shadow: 0 8px 18px rgba(255, 95, 87, 0.28);
flex-shrink: 0;
}
.msger-private-chat-entry {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
position: relative;
}
.msger-private-chat-entry .msger-chat-item {
flex: 1;
}
.msger-private-chat-entry .dropdown-menu-custom {
position: relative;
z-index: 30;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
min-width: 40px;
height: 40px;
flex-shrink: 0;
overflow: visible;
}
.msger-private-chat-entry .dropdown-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
padding: 0;
border-radius: 12px;
background: var(--body-bg);
}
.msger-participant-dropdown-menu {
z-index: 40;
display: none;
position: absolute;
right: -4px;
top: calc(100% + 4px);
width: 272px;
min-width: 220px;
margin: 0;
list-style: none;
background: var(--msger-private-bg);
border: var(--border);
border-radius: 14px;
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
backdrop-filter: blur(12px);
padding: 8px;
overflow: hidden;
}
.msger-participant-dropdown-menu.show {
display: block;
}
.msger-participant-dropdown-menu.floating {
position: fixed;
top: 0;
right: auto;
left: 0;
margin: 0;
z-index: 10020;
max-height: calc(100vh - 24px);
overflow-y: auto;
overscroll-behavior: contain;
}
.msger-participant-dropdown-menu li {
padding: 0;
list-style: none;
}
.msger-participant-dropdown-menu li + li {
margin-top: 4px;
}
.msger-participant-dropdown-menu li button {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
padding: 10px 12px;
border: none !important;
border-radius: 10px;
font-size: 0.88rem;
line-height: 1.35;
color: #fff;
background: transparent;
}
.msger-participant-dropdown-menu li button i {
line-height: 1;
font-size: 0.86rem;
}
.msger-participant-dropdown-menu li button:hover {
background: rgba(255, 255, 255, 0.08);
}
.msger-participant-action-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
min-width: 28px;
height: 28px;
border-radius: 9px;
background: rgba(255, 255, 255, 0.06);
color: rgba(232, 247, 249, 0.92);
}
.msger-participant-action-label {
display: inline-flex;
align-items: center;
min-width: 0;
font-size: 0.88rem;
font-weight: 600;
line-height: 1.25;
color: #fff;
}
.msger-participant-action-danger .msger-participant-action-icon {
background: rgba(255, 95, 87, 0.12);
color: #ff8c84;
}
.msger-participant-action-danger:hover {
background: rgba(255, 95, 87, 0.1) !important;
}
.msger-participant-action-danger .msger-participant-action-label {
color: #ffe3df;
}
.msger-conversation-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 18px 22px;
border-bottom: var(--border);
background: var(--body-bg);
}
.msger-conversation-meta {
margin: 0;
text-align: right;
font-size: 0.9rem;
color: rgba(214, 234, 238, 0.74);
}
/*--------------------------------------------------------------
# Chat room header
--------------------------------------------------------------*/
.msger-header,
.msger-private-header {
z-index: 11;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 18px 22px;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
color: #fff;
cursor: move;
font-weight: 600;
font-size: 1.05rem;
border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
}
.msger-header-title,
.msger-header-options {
display: flex;
align-items: center;
gap: 8px;
}
.msger-header-title {
flex: 1;
min-width: 0;
}
.msger-header-options {
flex-shrink: 0;
}
.msger-header-title .msger-panel-heading {
min-width: 0;
}
.msger-header-title .msger-panel-heading h3 {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.msger-header-title button,
.msger-header-options button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
padding: 0;
border: none;
font-size: 1rem;
line-height: 1;
background: var(--body-bg);
color: #fff;
border-radius: 12px;
transition: all 0.25s ease;
}
.msger-header-options .dropdown-toggle-custom {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
padding: 0;
line-height: 1;
}
.msger-header-title button:hover,
.msger-header-options button:hover {
background: var(--right-msg-bg);
transform: translateY(-1px);
}
#msgerMaxBtn,
#msgerMinBtn {
display: none;
}
/*--------------------------------------------------------------
# Chat room output area
--------------------------------------------------------------*/
.msger-chat {
flex: 1;
overflow-y: auto;
position: relative;
padding: 24px 24px 20px;
background: transparent;
max-width: 100%;
font-size: 1rem;
line-height: 1.6;
}
.msger-chat::-webkit-scrollbar {
width: 8px;
}
.msger-chat::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
border-radius: 10px;
}
.msger-chat::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.4);
border-radius: 10px;
border: 2px solid transparent;
background-clip: padding-box;
}
.msger-chat::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.6);
background-clip: padding-box;
}
.msg {
display: flex;
gap: 12px;
align-items: flex-end;
font-size: 0.85rem;
margin-bottom: 12px;
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.msg:last-of-type {
margin: 0;
}
.msg-grouped {
margin-top: -4px;
}
/* left side */
.left-msg .msg-bubble {
background: linear-gradient(135deg, var(--left-msg-bg), rgba(0, 0, 0, 0.25));
border-bottom-left-radius: 8px;
color: #fff;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}
.left-msg .private-msg-bubble {
background: linear-gradient(135deg, var(--private-msg-bg), rgba(0, 0, 0, 0.25));
border-bottom-left-radius: 8px;
color: #fff;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}
.left-msg .msg-img {
margin: 0 0 2px;
}
/* right side */
.right-msg {
flex-direction: row-reverse;
}
.right-msg .msg-bubble {
background: linear-gradient(135deg, var(--right-msg-bg), rgba(0, 0, 0, 0.25));
border-bottom-right-radius: 8px;
color: #fff;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}
.right-msg .private-msg-bubble {
background: linear-gradient(135deg, var(--private-msg-bg), rgba(0, 0, 0, 0.25));
border-bottom-right-radius: 8px;
color: #fff;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}
.right-msg .msg-img {
margin: 0 0 2px;
}
/* common */
.msg-img {
width: 40px;
height: 40px;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
border-radius: 50%;
border: 2px solid rgba(255, 255, 255, 0.14);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.peer-img {
width: 42px;
height: 42px;
border-radius: 14px !important;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.private-msg-bubble,
.msg-bubble {
width: auto;
max-width: min(78%, 720px);
padding: 12px 14px;
border-radius: 20px;
overflow: hidden;
}
.msg-caption-bubble {
padding: 12px 16px;
border-radius: 18px;
}
.msg-info {
display: flex;
justify-content: space-between;
align-items: center;
gap: 14px;
margin-bottom: 6px;
}
.msg-info-name {
font-weight: 600;
font-size: 0.88rem;
color: #f6fbfc;
}
.msg-info-time {
font-size: 0.74rem;
opacity: 0.72;
}
.msg-text {
display: block;
overflow-wrap: break-word;
word-wrap: break-word;
hyphens: auto;
}
.msg-text hr {
margin: 10px 0 8px;
border: 0;
border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.msg-text button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
padding: 0;
margin-right: 6px;
border-radius: 10px;
background: var(--body-bg) !important;
}
.msg-text iframe {
width: 100%;
}
.msg-grouped .msg-img {
visibility: hidden;
}
.msg-grouped .msg-info-name {
display: none;
}
.msg-grouped .msg-info {
justify-content: flex-end;
}
.msger-copy-txt {
border: none;
border-radius: 8px;
color: #fff;
background: transparent;
}
a {
color: #fff;
}
a:hover {
color: var(--hover-color);
transition: all 0.3s ease-in-out;
}
#chat-msg-a {
color: #fff;
}
button {
padding: 10px 20px;
cursor: pointer;
transition:
color 0.3s ease,
background-color 0.3s ease,
border-color 0.3s ease,
transform 0.3s ease;
outline: none;
}
/* button:hover {
color: white !important;
background: var(--body-bg);
} */
/*--------------------------------------------------------------
# Chat room input area
--------------------------------------------------------------*/
.msger-inputarea {
display: flex;
padding: 0;
background: transparent;
}
.msger-input {
flex: 1;
min-height: 52px;
max-height: 160px;
padding: 14px 18px;
resize: none;
color: #fff;
font-size: 15px !important;
line-height: 1.45;
background: var(--body-bg);
border-radius: 18px;
border: var(--border);
}
.msger-input::-webkit-scrollbar {
width: 5px;
}
.msger-input::-webkit-scrollbar-track {
background: transparent;
}
.msger-input::-webkit-scrollbar-thumb {
background: #404040;
}
/*--------------------------------------------------------------
# Chat room buttons area
--------------------------------------------------------------*/
.msger-input-buttons {
display: flex;
align-items: center;
gap: 8px;
padding: 12px 0 0;
background: transparent;
}
.msger-input-buttons button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
padding: 0;
border: none;
border-radius: 12px;
font-size: 0.96rem;
color: #fff;
background: var(--body-bg);
transition: background 0.23s;
}
.msger-input-buttons button:hover {
background: var(--left-msg-bg);
}
.msger-input-buttons input {
cursor: pointer;
}
#msgerSendBtn {
margin-left: auto;
background: linear-gradient(135deg, var(--right-msg-bg), rgba(0, 0, 0, 0.2));
box-shadow: 0 14px 24px rgba(3, 74, 76, 0.28);
}
.msger-composer {
position: relative;
padding: 16px 22px 22px;
background: rgba(0, 0, 0, 0.2);
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/*--------------------------------------------------------------
# Chat participant dropdown and send button unified styles
--------------------------------------------------------------*/
.msger-peer-inputarea {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 0;
background: transparent;
}
.msger-peer-inputarea > span {
display: none;
}
.msger-peer-inputarea .peer-img {
width: 48px;
height: 48px;
border-radius: 50px !important;
border: 2px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.msger-peer-inputwrap {
flex: 1;
display: flex;
align-items: center;
gap: 4px;
position: relative;
}
.msger-peer-inputwrap .msger-input {
flex: 1;
min-width: 0;
padding: 6px 8px;
font-size: 14px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.15);
background: rgba(0, 0, 0, 0.18);
color: #fff;
resize: none;
height: 28px;
margin-right: 2px;
}
.msger-peer-inputwrap .msger-input:focus {
outline: none;
border-color: #66beff;
}
.msger-peer-inputarea .dropdown-menu-custom {
position: relative;
z-index: 10;
display: flex;
align-items: center;
width: 32px;
min-width: 28px;
max-width: 36px;
margin-left: 2px;
}
.msger-peer-inputarea .dropdown-menu-custom-list {
z-index: 9999;
display: none;
position: absolute;
right: 0;
top: 110%;
width: 240px;
min-width: 200px;
background: var(--body-bg);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(12px);
padding: 6px 0;
margin: 4px 35px 0px 0px;
}
.msger-peer-inputarea .dropdown-menu-custom-list.show {
display: block;
}
.msger-peer-inputarea .msgPrivate,
.msger-peer-inputarea .dropdown-toggle {
width: 24px;
height: 24px;
min-width: 24px;
min-height: 24px;
max-width: 24px;
max-height: 24px;
display: flex;
align-items: center;
justify-content: center;
padding: 0;
border-radius: 8px;
}
.msger-peer-inputarea .msgPrivate {
background: none;
border: none;
color: #fff;
font-size: 1em;
cursor: pointer;
}
/*--------------------------------------------------------------
# Empty chat illustration and message
--------------------------------------------------------------*/
.empty-chat-notice {
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: clamp(0.85rem, 2vw, 1.5rem);
text-align: center;
padding: clamp(1rem, 3vw, 2rem) clamp(0.85rem, 2vw, 1rem);
opacity: 0.85;
transition: opacity 0.2s;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: min(100%, calc(100% - 48px));
}
.empty-chat-img {
width: clamp(112px, 42%, 240px);
max-width: 240px;
opacity: 0.8;
margin: 0 auto 0.5rem auto;
}
.empty-chat-title {
font-size: clamp(1rem, 2.4vw, 1.3rem);
font-weight: 600;
color: #e0e0e0;
margin: 0.5rem 0 0.2rem 0;
line-height: 1.2;
}
.empty-chat-desc {
color: #b0b0b0;
max-width: min(350px, 100%);
margin: 0 auto;
font-size: clamp(0.85rem, 1.9vw, 1rem);
line-height: 1.5;
}
@media (max-width: 820px) {
.empty-chat-notice {
width: calc(100% - 32px);
}
}
@media (max-width: 520px) {
.empty-chat-img {
width: clamp(96px, 48%, 180px);
}
.empty-chat-title {
margin-top: 0.25rem;
}
.empty-chat-desc {
max-width: 28ch;
}
}
/*--------------------------------------------------------------
# Chat Connected Peers
--------------------------------------------------------------*/
#msgerCP {
display: none;
flex-direction: column;
min-height: 0;
background: var(--msger-bg);
}
#msgerCPChat {
flex: 1;
position: relative;
overflow-y: auto;
background: transparent;
padding: 18px 16px;
}
#msgerCPList {
display: none;
flex: 1;
min-height: 0;
overflow-y: auto;
border: none;
border-radius: 0;
padding: 0;
padding-right: 4px;
margin: 0;
background: transparent;
backdrop-filter: none;
transition: all 0.25s ease;
}
#msgerCPList::-webkit-scrollbar {
width: 6px;
}
#msgerCPList::-webkit-scrollbar-track {
background: transparent;
}
#msgerCPList::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.16);
border-radius: 999px;
}
#msgerCPList::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.28);
}
#msgerCPList:hover {
background: transparent;
border-color: transparent;
}
#msgerCPList textarea {
height: auto;
}
#msgerCPList button {
font-weight: 500;
}
#msgerCPList button:hover {
transform: none;
}
#searchPeerBarName {
display: block;
width: 100%;
min-width: 0;
padding: 12px 14px;
margin: 0;
font-size: 0.95rem;
background-color: transparent;
color: #ffffff;
border: var(--border);
border-radius: 14px;
box-sizing: border-box;
transition: all 0.25s ease;
}
#searchPeerBarName:focus {
outline: none;
border-color: rgba(97, 195, 201, 0.34);
background-color: transparent;
}
.search-container-sidebar {
margin-bottom: 2px;
width: 100%;
}
.msger-search-field {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
padding: 12px 14px;
border: var(--border);
border-radius: 18px;
background: var(--body-bg);
box-sizing: border-box;
overflow: hidden;
}
.msger-search-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
flex: 0 0 38px;
border-radius: 12px;
background: var(--left-msg-bg);
color: rgba(230, 245, 247, 0.88);
}
.msger-search-copy {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
width: 100%;
overflow: hidden;
}
.msger-search-copy strong {
font-size: 0.82rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
color: rgba(214, 234, 238, 0.76);
}
.msger-participants-list {
display: none;
flex-direction: column;
gap: 8px;
overflow: visible;
}
.msger-participant-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-width: 0;
padding: 12px 14px;
border-radius: 16px;
border: var(--border);
background: var(--body-bg);
overflow: visible;
}
.msger-participant-name {
display: block;
flex: 1;
min-width: 0;
font-size: 0.94rem;
font-weight: 600;
color: #edf5f6;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.msger-participant-item .dropdown-menu-custom {
position: relative;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
width: 40px;
min-width: 40px;
height: 40px;
flex-shrink: 0;
overflow: visible;
}
.msger-participant-item .dropdown-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
padding: 0;
border-radius: 12px;
background: var(--body-bg);
}
.msger-participant-item .dropdown-menu-custom-list {
z-index: 9999;
display: none;
position: absolute;
right: -4px;
top: calc(100% + 8px);
width: 260px;
min-width: 220px;
margin: 0;
list-style: none;
background: var(--msger-private-bg);
border: var(--border);
border-radius: 14px;
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
backdrop-filter: blur(12px);
padding: 8px;
overflow: hidden;
}
.msger-participant-item .dropdown-menu-custom-list li {
padding: 0;
list-style: none;
}
.msger-participant-item .dropdown-menu-custom-list li + li {
margin-top: 4px;
}
.msger-participant-item .dropdown-menu-custom-list li button {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
padding: 10px 12px;
border-radius: 10px;
font-size: 0.88rem;
line-height: 1.35;
color: #fff;
background: transparent;
}
.msger-participant-item .dropdown-menu-custom-list li button i {
width: 16px;
min-width: 16px;
text-align: center;
}
.msger-participant-item .dropdown-menu-custom-list li button:hover {
background: rgba(255, 255, 255, 0.08);
}
/*--------------------------------------------------------------
# Empty participants illustration
--------------------------------------------------------------*/
.empty-participants-notice {
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1.5rem;
text-align: center;
padding: 2rem 1rem;
opacity: 0.85;
transition: opacity 0.2s;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: calc(100% - 32px);
}
.empty-participants-img {
width: 50%;
max-width: 240px;
opacity: 0.8;
margin: 0 auto 0.5rem auto;
}
.empty-participants-title {
font-size: 1.3rem;
font-weight: 600;
color: #e0e0e0;
margin: 0.5rem 0 0.2rem 0;
}
.empty-participants-desc {
color: #b0b0b0;
max-width: 350px;
margin: 0 auto;
font-size: 1rem;
}
#msgerCPCloseBtn {
display: none;
}
#msgerCPBtn {
display: none !important;
}
@media (max-width: 1200px) {
.msger-layout {
grid-template-columns: 250px minmax(0, 1fr);
}
#msgerCPBtn {
display: none;
}
}
@media (min-width: 1201px) {
#msgerCPCloseBtn,
#msgerCPBtn {
display: none;
}
}
@media (max-width: 820px) {
.msger-draggable {
border-radius: 20px;
}
#msgerCPCloseBtn,
#msgerCPBtn {
display: inline-flex !important;
}
.msger-layout {
grid-template-columns: 1fr;
grid-template-rows: minmax(0, 1fr);
}
.msger-draggable.msger-mobile-participants-open .msger-header {
display: none;
}
.msger-draggable.msger-mobile-participants-open .msger-layout {
min-height: 100%;
}
.msger-sidebar {
display: none;
}
.msger-conversation-banner {
flex-direction: column;
align-items: flex-start;
}
.msger-conversation-meta {
text-align: left;
}
.msger-chat {
padding: 18px 16px 14px;
}
.private-msg-bubble,
.msg-bubble {
max-width: 86%;
}
}
/*--------------------------------------------------------------
# Chat/room/user emoji picker
--------------------------------------------------------------*/
#usernameEmoji {
position: absolute;
z-index: 9999;
background: var(--body-bg);
border: var(--border);
border-radius: 8px;
--rgb-background: var(--body-bg) !important;
--color-border-over: var(--body-bg) !important;
--font-family: 'Montserrat';
}
.chatEmojiPicker {
z-index: 12;
position: absolute;
display: none;
bottom: calc(100% + 12px);
left: 22px;
max-width: min(360px, calc(100vw - 48px));
background: var(--body-bg);
border: var(--border);
border-radius: 8px;
box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
--rgb-background: var(--body-bg) !important;
--color-border-over: var(--body-bg) !important;
--font-family: 'Montserrat';
}
@media (max-width: 820px) {
.chatEmojiPicker {
left: 12px;
max-width: calc(100vw - 32px);
}
}
/* Emoji Picker (Room) */
.roomEmoji {
z-index: 18;
position: absolute;
display: none;
background: var(--body-bg);
border: var(--border);
border-radius: 12px;
box-shadow: var(--box-shadow);
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
--rgb-background: var(--body-bg);
--color-border-over: var(--body-bg);
--font-family: 'Montserrat';
}
.room-emoji-header {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--body-bg);
border-top-left-radius: 12px;
border-top-right-radius: 12px;
padding: 8px 12px 4px 12px;
cursor: move;
}
.room-emoji-title {
font-weight: bold;
font-size: 1.05rem;
color: #fff;
}
.room-emoji-close-btn {
display: inline-block;
position: static;
margin-left: 8px;
font-size: 1.2rem;
background: none;
border: none;
cursor: pointer;
color: #fff;
}
.room-emoji-close-btn:hover {
background: var(--body-bg);
border-radius: 50%;
}
.room-emoji-tab-container {
display: flex;
justify-content: center;
margin: 0 0 8px 0;
gap: 6px;
}
.room-emoji-tab {
margin-top: 10px;
background: none;
color: #fff;
border: none;
border-radius: 8px;
padding: 3px 14px;
font-size: 0.95rem;
cursor: pointer;
transition: background 0.2s;
}
.room-emoji-tab.active {
background: rgba(255, 255, 255, 0.08);
}
.room-emoji-mart {
display: block;
}
.room-emoji-grid {
display: none;
gap: 8px;
font-size: 2rem;
max-width: 360px;
margin: 0 auto;
justify-items: center;
align-items: center;
padding: 16px 16px;
}
.room-emoji-grid.visible {
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-auto-rows: 56px;
}
.room-emoji-btn {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
background: none;
border: none;
cursor: pointer;
border-radius: 50%;
transition:
background 0.15s,
transform 0.15s;
color: #fff;
}
.room-emoji-btn:hover {
background: rgba(255, 255, 255, 0.18);
transform: scale(1.15);
}
.userEmoji {
z-index: 18;
position: absolute;
left: 15px;
bottom: 60px;
border-radius: 10px;
}
/*--------------------------------------------------------------
# Data time picker
--------------------------------------------------------------*/
#datetimePicker {
padding: 10px;
text-align: center;
color: white;
background: var(--body-bg);
border: var(--border);
border-radius: 8px;
}
/*--------------------------------------------------------------
# Room QR
--------------------------------------------------------------*/
#qrRoomContainer {
display: flex;
justify-content: center;
align-items: center;
}
#qrRoomPopupContainer {
z-index: 9999;
position: fixed;
display: none;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 10px;
background: var(--body-bg);
border: var(--border);
border-radius: 10px;
box-shadow: var(--box-shadow);
}
#qrText {
margin-top: 10px;
color: #fff;
font-size: 16px;
font-weight: bold;
text-align: center;
width: 100%;
}
#qrRoomPopup {
width: 256px;
height: 256px;
}
/*--------------------------------------------------------------
# My settings
--------------------------------------------------------------*/
#mySettings {
z-index: 16;
position: absolute;
display: none;
margin: auto;
padding: 10px;
width: 50%;
min-height: 560px !important;
background: var(--body-bg);
box-shadow: var(--box-shadow);
border: var(--border);
border-radius: 16px;
overflow: hidden;
}
.mySettingsMain {
display: flex;
}
@media screen and (max-width: 1030px) {
#mySettings {
width: 75%;
}
}
@media screen and (max-width: 830px) {
#mySettings {
width: 80%;
min-height: auto;
}
.mySettingsMain {
flex-direction: row;
}
}
@media screen and (max-width: 500px) {
#mySettings {
width: 90%;
}
#bottomButtons {
gap: 0.3rem;
padding: 3px;
}
#bottomButtons button {
width: 38px;
height: 38px;
font-size: 0.95rem;
padding: 8px;
margin: 0 1px;
}
#bottomButtons .device-dropdown-toggle {
width: 19px;
height: 38px;
}
#bottomButtons .device-dropdown-toggle i {
font-size: 0.8rem;
}
}
@media screen and (max-width: 360px) {
#bottomButtons {
gap: 0.15rem;
padding: 2px;
}
#bottomButtons button {
width: 28px;
font-size: 0.65rem;
padding: 6px;
margin: 0 1px;
}
#bottomButtons .device-dropdown-toggle {
width: 14px;
height: 24px;
}
#bottomButtons .device-dropdown-toggle i {
font-size: 0.7rem;
}
}
#mySettingsHeader {
height: 25px;
cursor: move;
}
#mySettings i,
#mySettings p {
display: inline-flex;
margin: auto;
color: #fff;
padding: 5px;
background: transparent;
}
#mySettings select {
display: block;
padding: 10px;
min-width: 150px;
max-width: 310px;
margin-top: 10px;
background: var(--select-bg) !important;
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
box-shadow: none;
cursor: pointer;
transition:
border-color 0.2s ease,
background 0.2s ease,
box-shadow 0.2s ease;
}
#mySettings select:hover {
border-color: rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.08) !important;
}
#mySettings select:focus {
outline: none;
border-color: rgba(70, 120, 249, 0.6);
box-shadow: 0 0 0 2px rgba(70, 120, 249, 0.15);
}
#mySettingsCloseBtn {
font-size: 1.2rem;
color: #fff;
border: none;
border-radius: 8px;
float: right;
background: transparent;
transition: background 0.23s;
}
#mySettingsCloseBtn:hover {
background: var(--body-bg);
}
.form-check-input {
cursor: pointer;
}
.title {
display: inline-table;
width: auto;
color: white;
font-size: 0.9rem;
/* font-weight: bold; */
}
.inline-check-box {
margin-bottom: 20px;
display: inline-flex;
text-align: left;
color: white;
}
#themeColorPicker {
z-index: 6;
padding: 10px;
margin-top: 10px;
margin-bottom: 20px;
width: 130px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
background: var(--select-bg);
color: white;
cursor: pointer;
transition:
border-color 0.2s ease,
background 0.2s ease,
box-shadow 0.2s ease;
}
#themeColorPicker:hover {
border-color: rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.08);
}
#themeColorPicker:focus {
outline: none;
border-color: rgba(70, 120, 249, 0.6);
box-shadow: 0 0 0 2px rgba(70, 120, 249, 0.15);
}
#keepCustomTheme {
margin-bottom: 10px;
}
.buttons {
padding: 10px;
float: left;
text-align: left;
color: #fff;
width: auto !important;
font-size: 0.9rem;
border: var(--border);
border-radius: 10px;
background: var(--selctt-bg);
outline: none;
cursor: pointer;
transition: 0.3s;
}
.buttons:hover {
background-color: var(--body-bg) !important;
transform: translateY(-3px) !important;
}
.extra-info-container {
margin-top: 15px;
border-radius: 8px;
background: var(--body-bg);
overflow-x: none;
overflow-y: auto;
}
#extraInfo {
padding: 10px;
font-size: 14px;
color: #fff;
/* background: var(--select-bg); */
border-radius: 10px;
}
/*--------------------------------------------------------------
# Settings buttons
--------------------------------------------------------------*/
#myPeerNameSet {
width: 50%;
padding: 10px;
border: var(--border);
border-radius: 8px;
color: #fff;
background-color: rgba(0, 0, 0, 0.2);
}
#tabRoomSecurity button {
width: 100%;
margin-bottom: 5px;
}
#myProfileAvatar {
margin-top: 10px;
width: 64px;
height: 64px;
border-radius: 50px;
}
#captionEveryoneStopBtn {
display: none;
padding: 10px;
font-size: 0.9rem;
border: var(--border);
border-radius: 8px;
color: #fff;
background-color: transparent;
}
#captionEveryoneStopBtnDesktop {
display: none;
}
#activeRoomsBtn,
#myPeerNameSetBtn,
#captionEveryoneBtn,
#muteEveryoneBtn,
#hideEveryoneBtn,
#ejectEveryoneBtn,
#roomSendEmailBtn,
#lockRoomBtn,
#unlockRoomBtn {
padding: 10px;
font-size: 0.9rem;
border: var(--border);
border-radius: 8px;
color: #fff;
background-color: transparent;
}
#myPeerNameSetBtn:hover,
#roomSendEmailBtn:hover,
#lockRoomBtn:hover,
#unlockRoomBtn:hover {
background: var(--body-bg);
transform: translateY(-3px);
transition: all 0.3s ease-in-out;
}
#recImage {
width: 128px;
height: auto;
margin-bottom: 10px;
margin-top: 5px;
border-radius: 30px;
cursor: pointer;
}
#recImage:hover {
box-shadow: 0px 4px 8px 0px rgba(255, 255, 255, 0.2);
transform: scale(0.95);
transition: all 0.3s ease-in-out;
}
#captionEveryoneStopBtn:hover {
color: orange;
transform: translateY(-3px);
transition: all 0.3s ease-in-out;
}
#muteEveryoneBtn:hover,
#hideEveryoneBtn:hover,
#ejectEveryoneBtn:hover {
color: red;
transform: translateY(-3px);
transition: all 0.3s ease-in-out;
}
#activeRoomsBtn:hover,
#captionEveryoneBtn:hover {
color: green;
transform: translateY(-3px);
transition: all 0.3s ease-in-out;
}
/*--------------------------------------------------------------
# Settings Table
--------------------------------------------------------------*/
#mySettingsTable {
width: 100%;
color: #fff;
table-layout: auto;
border-collapse: collapse;
border-radius: 10px;
background: var(--body-bg);
}
#mySettingsTable td,
#mySettingsTable th {
padding: 10px;
text-align: left;
}
#mySettingsTable td:first-child {
width: auto;
}
#mySettingsTable td:last-child {
width: 140px;
justify-content: center;
align-items: center;
}
/* Optional alternating row background */
/* #mySettingsTable tr:nth-child(even) {
background: var(--select-bg);
} */
#mySettingsTable i {
border: none;
border-radius: 8px;
}
#mySettingsTable select {
width: 100px !important;
}
/*--------------------------------------------------------------
# Shortcut Table
--------------------------------------------------------------*/
#shortcutsTable {
width: 100%;
border-collapse: collapse;
margin: 20px 0;
font-size: 16px;
text-align: left;
color: #fff;
border-radius: 10px;
background: var(--body-bg);
}
#shortcutsTable th,
#shortcutsTable td {
padding: 5px;
/* border: var(--border); */
}
#shortcutsTable th {
background: var(--body-bg);
font-weight: bold;
}
#shortcutsTable td i {
color: #007bff;
}
#shortcutsTable tr:nth-child(even) {
background: var(--body-bg);
}
/*--------------------------------------------------------------
# Style the tab
--------------------------------------------------------------*/
.tab {
padding: 10px 10px 10px 0;
overflow: hidden;
border-radius: 8px;
width: 35%;
background-color: var(--body-bg);
min-height: 480px;
display: flex;
flex-direction: column;
border-right: var(--border);
}
.tabActions {
position: relative;
width: 65%;
}
@media screen and (max-width: 830px) {
.tab {
display: flex;
flex-direction: column;
width: auto;
min-width: 50px;
min-height: auto;
}
.tab button {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.tabActions {
width: 100%;
border-radius: 10px;
}
.tabButtonText {
display: none !important;
}
}
/* Style the buttons inside the tab */
.tab button {
margin: 3px;
padding: 11px;
float: left;
text-align: left;
color: #fff;
font-size: 1rem;
border: var(--border);
border-radius: 8px;
background-color: rgba(0, 0, 0, 0.2);
outline: none;
cursor: pointer;
transition: 0.3s;
}
/* Change background color of buttons on hover */
.tab button:hover {
background: var(--body-bg);
transform: translateY(-3px);
}
/* Create an active/current tablink class */
.tab button.active {
background-color: var(--tab-btn-active);
}
/* Style the tab content */
.tabcontent {
display: none;
margin-top: 15px;
padding: 6px 12px;
width: 100%;
max-height: 530px;
min-height: 480px;
border-top: none;
background-color: var(--body-bg);
overflow-x: hidden;
overflow-y: auto;
}
.tabcontent button {
margin-top: 10px;
width: 100%;
text-align: left;
}
.tabcontent button:hover {
background: var(--body-bg);
transform: scale(1);
}
/* on open display devices tab */
#tabRoom {
display: block;
}
/*--------------------------------------------------------------
# Settings - microphone volume indicator
--------------------------------------------------------------*/
.volume-container {
display: flex;
align-items: center;
width: 100%;
background-color: var(--body-bg);
border-radius: 8px;
}
.volume-bar {
flex: 1;
height: 5px;
margin: 0 2px;
background-color: #ddd;
border-radius: 8px;
transition: all 0.3s ease;
}
.active {
background-color: limegreen;
}
/*--------------------------------------------------------------
# Input slider UI
--------------------------------------------------------------*/
.switch {
position: relative;
display: inline-block;
width: 41px;
height: 19px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: 0.4s;
transition: 0.4s;
}
.slider:before {
position: absolute;
content: '';
height: 17px;
width: 17px;
left: 0px;
bottom: 1px;
background-color: white;
-webkit-transition: 0.4s;
transition: 0.4s;
}
input:checked + .slider {
background-color: green;
}
input:focus + .slider {
box-shadow: 0 0 1px green;
}
input:checked + .slider:before {
-webkit-transform: translateX(24px);
-ms-transform: translateX(24px);
transform: translateX(24px);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}
/*--------------------------------------------------------------
# Swal2
--------------------------------------------------------------*/
.swal2-popup {
border: 1px solid rgba(255, 255, 255, 0.1) !important;
border-radius: 20px !important;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
backdrop-filter: blur(12px);
}
.swal2-popup .swal2-styled {
border-radius: 12px !important;
}
.swal2-popup .swal2-styled:focus {
box-shadow: none !important;
}
.swal2-validation-message,
.swal2-title,
.swal2-content,
.swal2-input {
text-align: center;
color: white !important;
background-color: transparent !important;
}
.swal2-input {
border: var(--border) !important;
border-radius: 12px !important;
box-shadow: none !important;
}
.swal2-file {
color: white !important;
background-color: transparent !important;
border-radius: 12px !important;
}
.swal2-html-container {
color: rgb(195, 195, 195) !important;
background-color: transparent !important;
}
.swal2-select {
background-color: var(--select-bg) !important;
color: white !important;
border-radius: 12px !important;
}
.swal2-timer-progress-bar-container {
background: var(--body-bg);
border-radius: 0 0 20px 20px !important;
overflow: hidden !important;
}
.swal2-timer-progress-bar {
background-color: #1d8ecd !important;
}
.swal2-input:-webkit-autofill,
.swal2-input:-webkit-autofill:hover,
.swal2-input:-webkit-autofill:focus,
.swal2-input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0 1000px #000000 inset !important;
-webkit-text-fill-color: #fff !important;
transition: background-color 5000s ease-in-out 0s;
caret-color: #fff;
}
.img-about {
margin: 0 !important;
}
/*--------------------------------------------------------------
# Fade in page on load
--------------------------------------------------------------*/
.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;
}
@-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;
}
}
/*--------------------------------------------------------------
# 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;
}
}
/*--------------------------------------------------------------
# Send File
--------------------------------------------------------------*/
#sendFileDiv,
#receiveFileDiv {
z-index: 17;
display: none;
min-width: 320px;
border-radius: 12px;
margin: auto;
padding: 10px;
color: #fff;
font-size: 1rem;
background: var(--body-bg);
box-shadow: var(--box-shadow);
overflow: hidden;
}
#sendAbortBtn,
#receiveAbortBtn,
#receiveHideBtn {
margin-top: 10px;
padding: 5px;
border: var(--border);
border-radius: 8px;
font-size: 1rem;
color: #fff;
background-color: transparent;
transition: background 0.23s;
}
#sendAbortBtn:hover,
#receiveAbortBtn:hover,
#receiveHideBtn:hover {
color: rgb(255, 0, 0);
background: var(--body-bg);
transform: translateY(-3px);
}
progress {
width: 0;
min-width: 100%;
}
#imgShareSend:hover,
#imgShareReceive:hover {
cursor: move;
}
#dropArea {
display: flex;
justify-content: center;
align-items: center;
height: 200px;
border: 2px dashed #ccc;
padding: 20px;
text-align: center;
}
#dropArea p {
margin: 0;
}
/*--------------------------------------------------------------
# Video Audio IFrame
--------------------------------------------------------------*/
#videoAudioUrlCont,
#videoUrlCont {
z-index: 15;
display: none;
width: var(--iframe-width);
height: var(--iframe-height);
border: var(--border);
box-shadow: var(--box-shadow);
border-radius: 12px;
}
#videoAudioUrlHeader,
#videoUrlHeader {
z-index: 15;
position: absolute;
display: flex;
left: 0px;
top: 0px;
width: 100%;
cursor: move;
border-radius: 12px;
}
#videoAudioUrlHeader button,
#videoUrlHeader button {
height: 30px;
width: 30px;
font-size: 1.2rem;
margin-top: 10px;
margin-left: 10px;
border: none;
color: #fff;
background: black;
}
#videoAudioUrlHeader button:hover,
#videoUrlHeader button:hover {
color: var(--hover-color);
transform: var(--btns-hover-scale);
transition: all 0.3s ease-in-out;
}
#videoUrlIframe {
width: var(--iframe-width);
height: var(--iframe-height);
border-radius: 12px;
}
#videoAudioUrlElement {
width: var(--iframe-width);
height: var(--iframe-height) - 20px;
border-radius: 12px;
}
/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
#about {
cursor: default;
/*text-decoration: none;*/
}
#about a {
color: #fff;
text-decoration: none;
}
#about a:hover {
color: var(--hover-color);
transition: all 0.3s ease-in-out;
}
#about img {
cursor: pointer;
border-radius: 10px;
}
#about button {
border: none;
width: 170px;
height: 40px;
font-size: 1.2rem;
border-radius: 8px;
color: #ffffff;
background: linear-gradient(65deg, #376df9 0, #ff5fa0 100%);
transition: background 0.23s;
cursor: pointer;
}
#about button:hover {
font-weight: bold;
filter: brightness(1.1) saturate(1.2);
transform: scale(1.05);
box-shadow: 0 6px 20px rgba(255, 0, 166, 0.4);
}
/*--------------------------------------------------------------
# Speech bar
--------------------------------------------------------------*/
.speechbar {
z-index: 9;
position: absolute;
top: 0;
bottom: 0;
right: 2px;
width: 10px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
pointer-events: none;
}
.bar {
width: 6px;
border-radius: 6px;
background: rgba(#19bb5c, 0.65);
transition-property: height background-color;
transition-duration: 0.25s;
/*box-shadow: var(--box-shadow);*/
}
.speaking {
box-shadow: 0 0 1px 1px rgb(255 255 255 / 32%); /* lightblue */
}
/*--------------------------------------------------------------
# speech recognition languages
--------------------------------------------------------------*/
#recognitionDialect,
#recognitionLanguage {
background: var(--select-bg);
color: #ffffff;
font-size: small;
max-width: 135px;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
padding: 6px 10px;
transition:
border-color 0.2s ease,
background 0.2s ease,
box-shadow 0.2s ease;
}
#recognitionDialect:hover,
#recognitionLanguage:hover {
border-color: rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.08);
}
#recognitionDialect:focus,
#recognitionLanguage:focus {
outline: none;
border-color: rgba(70, 120, 249, 0.6);
box-shadow: 0 0 0 2px rgba(70, 120, 249, 0.15);
}
/*--------------------------------------------------------------
# Other
--------------------------------------------------------------*/
#webRTCSeo {
/* just for SEO */
display: none;
}
#videoAudioCloseBtn,
#videoUrlCloseBtn {
border: none;
border-radius: 10px;
}
/*--------------------------------------------------------------
# Common
--------------------------------------------------------------*/
select {
height: 40px;
font-size: 0.9rem;
padding: 0 10px;
box-shadow: none;
color: #fff;
background: var(--select-bg);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
cursor: pointer;
transition:
border-color 0.2s ease,
background 0.2s ease,
box-shadow 0.2s ease;
}
select:hover {
border-color: rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.08);
}
select:focus {
outline: none;
border-color: rgba(70, 120, 249, 0.6);
box-shadow: 0 0 0 2px rgba(70, 120, 249, 0.15);
}
hr {
border: 0;
display: block;
height: 1px;
background: linear-gradient(90deg, rgba(214, 234, 238, 0.03), rgba(214, 234, 238, 0.14), rgba(214, 234, 238, 0.03));
margin-top: 15px;
margin-bottom: 15px;
}
.hidden {
display: none;
}
.show {
display: block;
}
.top-center {
position: fixed;
top: 10px;
left: 50%;
transform: translateX(-50%);
}
.center {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
}
.center-img {
display: block;
margin-left: auto;
margin-right: auto;
width: 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;
}
.clw {
color: #ffffff;
}
.mic-input-range {
width: 85px;
cursor: pointer;
}
/*--------------------------------------------------------------
# Toggle button
# https://danklammer.com/articles/simple-css-toggle-switch/
--------------------------------------------------------------*/
.toggle {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 55px;
height: 24px;
display: inline-block;
position: relative;
border-radius: 50px;
overflow: hidden;
outline: none;
border: var(--border);
cursor: pointer;
background-color: #000000;
transition: background-color ease 0.3s;
}
.toggle:before {
content: 'on off';
display: block;
position: absolute;
z-index: 2;
width: 20px;
height: 18px;
background: #fff;
left: 2px;
top: 2px;
border-radius: 50%;
font: 10px/20px Helvetica;
text-transform: uppercase;
font-weight: bold;
text-indent: -25px;
word-spacing: 35px;
color: #fff;
text-shadow: -1px -1px rgba(0, 0, 0, 0.15);
white-space: nowrap;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
transition: all cubic-bezier(0.3, 1.5, 0.7, 1) 0.3s;
}
.toggle:checked {
background-color: green;
}
.toggle:checked:before {
left: 32px;
}
/*--------------------------------------------------------------
# DropDown menu
--------------------------------------------------------------*/
/* Styles for the dropdown button */
.dropdown-toggle {
/* padding: 10px 20px; */
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
background-color: var(--body-bg);
cursor: pointer;
transition:
border-color 0.2s ease,
background 0.2s ease;
}
.dropdown-toggle:hover {
border-color: rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.06);
}
/* Styles for the dropdown menu container */
.dropdown-menu {
display: none;
margin-top: 5px;
margin-bottom: 20px;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 12px;
background-color: var(--body-bg);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(12px);
}
/*--------------------------------------------------------------
# Dropdown menu custom
--------------------------------------------------------------*/
/* .fas.fa-bars {
color: #66beff !important;
} */
/* General container for the dropdown */
.dropdown-custom {
position: relative;
display: inline-block;
}
/* Style the button that triggers the dropdown */
.dropdown-toggle-custom {
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
background: var(--body-bg);
cursor: pointer;
transition:
border-color 0.2s ease,
background 0.2s ease;
}
.dropdown-toggle-custom:hover {
border-color: rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.06);
}
/* Dropdown menu */
.dropdown-menu-custom {
display: none;
position: fixed;
right: 0;
padding: 8px;
min-width: 240px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.08);
background: var(--body-bg);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(12px);
z-index: 9999;
}
.msger-header-options .dropdown-custom > .msger-room-actions-menu {
position: absolute;
top: calc(100% + 10px);
right: 0;
left: auto;
min-width: 200px;
max-width: min(200px, calc(100vw - 32px));
}
.msger-room-actions-menu .msger-dropdown-divider {
height: 1px;
margin: 6px 4px;
padding: 0;
list-style: none;
background: linear-gradient(90deg, rgba(214, 234, 238, 0.04), rgba(214, 234, 238, 0.12), rgba(214, 234, 238, 0.04));
}
.dropdown-menu-custom.show {
display: block;
}
#msgerDropDownContent {
padding: 14px 10px 10px;
}
#msgerDropDownContent > li {
padding: 0;
}
#msgerDropDownContent hr {
margin: 6px 6px;
border: 0;
border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* Style for dropdown items */
.dropdown-menu-custom li {
padding: 8px 16px;
list-style-type: none;
}
.dropdown-menu-custom li button {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
border: none;
background: none;
width: 100%;
text-align: left;
padding: 8px 16px;
font-size: 0.8em;
cursor: pointer;
color: #fff;
border-radius: 8px;
transition: background 0.2s ease;
}
.msger-room-actions-menu {
padding: 6px;
border: none !important;
border-radius: 14px;
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
backdrop-filter: blur(16px);
}
.msger-room-actions-menu li {
padding: 0;
}
.msger-room-actions-menu li + li {
margin-top: 4px;
}
.msger-room-actions-menu li button {
display: flex;
align-items: center;
gap: 10px;
width: 100%;
min-height: 0;
padding: 9px 10px;
border: 0 !important;
border-radius: 10px;
outline: none !important;
box-shadow: none !important;
appearance: none;
-webkit-appearance: none;
font-size: 0.84rem;
font-weight: 600;
line-height: 1.25;
white-space: nowrap;
color: rgba(255, 255, 255, 0.88);
background: transparent;
transition:
background-color 0.18s ease,
color 0.18s ease;
}
.msger-room-actions-menu li button:hover {
color: #fff;
background: rgba(255, 255, 255, 0.06);
}
.msger-room-actions-menu .msger-participant-action-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
min-width: 24px;
height: 24px;
border-radius: 9px;
background: rgba(255, 255, 255, 0.06);
color: rgba(232, 247, 249, 0.88);
transition:
background-color 0.18s ease,
color 0.18s ease;
}
.msger-room-actions-menu .msger-participant-action-label {
display: inline-flex;
align-items: center;
min-width: 0;
font-size: 0.84rem;
color: rgba(255, 255, 255, 0.88);
transition: color 0.18s ease;
}
.msger-room-actions-menu li button:hover .msger-participant-action-icon {
background: rgba(255, 255, 255, 0.12);
color: #fff;
}
.msger-room-actions-menu li button:hover .msger-participant-action-label {
color: #fff;
}
.msger-room-actions-menu .msger-participant-action-danger .msger-participant-action-icon {
background: rgba(255, 95, 87, 0.12);
color: #ff8c84;
}
.msger-room-actions-menu .msger-participant-action-danger:hover {
color: #fff;
background: linear-gradient(90deg, rgba(255, 95, 87, 0.18), rgba(255, 95, 87, 0.08));
}
.msger-room-actions-menu .msger-participant-action-danger:hover .msger-participant-action-icon {
background: rgba(255, 95, 87, 0.18);
color: #ff6b60;
}
.msger-room-actions-menu .msger-participant-action-danger .msger-participant-action-label {
color: #ffd5cf;
}
.msger-room-actions-menu .msger-participant-action-danger:hover .msger-participant-action-label {
color: #fff;
}
@media (max-width: 820px) {
.msger-header-options .dropdown-custom > .msger-room-actions-menu {
right: 0;
left: auto;
min-width: min(214px, calc(100vw - 32px));
max-width: min(244px, calc(100vw - 32px));
}
}
#msgerDropDownContent .msger-menu-action {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
width: 100%;
min-height: 46px;
padding: 9px 12px 9px 52px;
border-radius: 10px;
font-size: 0.9rem;
font-weight: 500;
}
#msgerDropDownContent .msger-menu-action-row {
padding: 2px 0;
}
#msgerDropDownContent .msger-menu-action:hover {
background: rgba(255, 255, 255, 0.08);
}
#msgerDropDownContent .msger-menu-action-icon {
position: absolute;
left: 12px;
top: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
min-width: 28px;
height: 28px;
border-radius: 9px;
background: rgba(255, 255, 255, 0.06);
transform: translateY(-50%);
}
#msgerDropDownContent .msger-menu-action i {
display: inline-flex;
align-items: center;
justify-content: center;
width: 14px;
min-width: 14px;
line-height: 1;
font-size: 0.86rem;
color: rgba(232, 247, 249, 0.92);
}
#msgerDropDownContent .msger-menu-action-label {
display: inline-flex;
align-items: center;
width: 100%;
min-width: 0;
line-height: 1.25;
}
#msgerDropDownContent .msger-menu-action-danger {
color: #ffd3cf;
}
#msgerDropDownContent .msger-menu-action-danger .msger-menu-action-icon {
background: rgba(255, 95, 87, 0.12);
}
#msgerDropDownContent .msger-menu-action-danger i {
color: #ff8c84;
}
#msgerDropDownContent .msger-menu-action-danger:hover {
background: rgba(255, 95, 87, 0.1);
}
#msgerDropDownContent .msger-menu-toggle-row {
display: grid;
grid-template-columns: 18px minmax(0, 1fr) auto;
align-items: center;
gap: 12px;
padding: 10px 12px;
color: #ffffff;
}
#msgerDropDownContent .msger-menu-toggle-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 18px;
min-width: 18px;
color: rgba(232, 247, 249, 0.92);
}
#msgerDropDownContent .msger-menu-toggle-copy {
display: flex;
min-width: 0;
flex-direction: column;
gap: 2px;
}
#msgerDropDownContent .msger-menu-toggle-copy strong {
display: block;
font-size: 0.9rem;
font-weight: 600;
line-height: 1.2;
color: #ffffff;
}
#msgerDropDownContent .msger-menu-toggle-copy small {
display: block;
font-size: 0.76rem;
line-height: 1.3;
color: rgba(214, 234, 238, 0.7);
}
#msgerDropDownContent .msger-menu-toggle-row .switch {
margin-left: 8px;
}
/* Styles for table cell with title (td) */
.microphone-table-width {
width: 50%;
}
/* Styles for the Apply Options button */
#applyAudioOptionsBtn {
width: 100%;
padding: 10px 20px;
margin: 5px;
color: #fff;
border: var(--border);
border-radius: 8px;
background: var(--body-bg);
cursor: pointer;
}
#applyAudioOptionsBtn:hover {
background: var(--select-bg);
transform: scale(0.95);
transition: all 0.3s ease-in-out;
}
/*--------------------------------------------------------------
# Webkit-Scrollbar Styles
--------------------------------------------------------------*/
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-thumb {
background: var(--body-bg);
border-radius: 8px;
cursor: pointer;
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--body-bg);
}
::-webkit-scrollbar-track {
background: #1a1b1f;
}
/*--------------------------------------------------------------
# Common
--------------------------------------------------------------*/
/* strong {
color: #007bff;
} */
.w-80 {
width: 80% !important;
}
.ml-10 {
margin: 10px;
}
.cp {
cursor: pointer;
}
.trow {
display: table-row;
}
#initVideo {
object-fit: contain;
}
#audioMediaContainer,
#pauseRecBtn,
#resumeRecBtn {
display: none;
}
/*--------------------------------------------------------------
# Colors
--------------------------------------------------------------*/
.red {
color: #ff4500 !important;
}
.orange {
color: orange !important;
}
.green {
color: rgb(0, 255, 71) !important;
}
.b-yellow {
color: #d4a017 !important;
}
/*
z-index
6 theme custom picker
7 video avatar img
8 video nav bar
8 peer name
9 speech bar
10 left buttons
11 whiteboard
12 chat emoji
13 chat peers private msg
14 chat room
14 caption
15 video iframe
16 settings
17 send File Div
18 room Emoji reaction
*/