meet/styles/CustomControlBar.css
2025-02-23 17:32:31 +05:30

186 lines
3.4 KiB
CSS

@import url('https://fonts.googleapis.com/icon?family=Material+Symbols+Outlined');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
.custom-control-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.8);
z-index: 1000;
backdrop-filter: blur(5px);
}
.room-name-box {
background: rgba(144, 155, 170, 0.1);
border-radius: 8px;
padding: 5px 10px;
display: flex;
align-items: center;
gap: 5px;
}
.room-name {
font-family: 'Roboto', sans-serif;
font-size: 14px;
color: #909baa;
}
.copy-link-button {
background: none;
border: none;
cursor: pointer;
margin-left: 5px;
padding: 0;
}
.copy-link-button .material-symbols-outlined {
font-size: 20px;
color: #909baa;
}
.control-buttons {
display: flex;
gap: 10px;
justify-content: center;
flex-grow: 1;
}
.control-button {
width: 40px;
height: 40px;
background: rgba(144, 155, 170, 0.1);
border-radius: 8px;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
}
.mic-button[data-lk-audio-enabled="false"] {
background: #ff5252;
opacity: 0.8;
}
.mic-button[data-lk-audio-enabled="true"] .material-symbols-outlined {
content: 'mic';
color: #ffffff;
}
.mic-button[data-lk-audio-enabled="false"] .material-symbols-outlined {
content: 'mic_off';
color: #ffffff;
}
.camera-button[data-lk-video-enabled="false"] {
background: #ff5252;
opacity: 0.8;
}
.camera-button[data-lk-video-enabled="true"] .material-symbols-outlined {
content: 'videocam';
color: #ffffff;
}
.camera-button[data-lk-video-enabled="false"] .material-symbols-outlined {
content: 'videocam_off';
color: #ffffff;
}
.screen-share-button[data-lk-screen-share-enabled="true"] .material-symbols-outlined {
content: 'screen_share';
color: #49c998;
}
.screen-share-button[data-lk-screen-share-enabled="false"] .material-symbols-outlined {
content: 'screen_share';
color: #ffffff;
}
.record-sign {
background: rgba(144, 155, 170, 0.1);
}
.record-sign.disabled {
background: rgba(144, 155, 170, 0.1);
}
.record-sign .material-symbols-outlined,
.record-sign.disabled .material-symbols-outlined {
font-size: 24px;
}
.record-sign .material-symbols-outlined {
color: #ff6f6f;
animation: pulse 1s infinite;
}
.record-sign.disabled .material-symbols-outlined {
color: #ffffff;
}
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
.end-call-button {
width: 64px;
height: 40px;
background: #ff5252;
border-radius: 8px;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.end-call-button .material-symbols-outlined {
font-size: 24px;
color: #ffffff;
}
.settings-section {
position: relative;
}
.settings-button {
width: 40px;
height: 40px;
background: rgba(144, 155, 170, 0.1);
border-radius: 8px;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.settings-button .material-symbols-outlined {
font-size: 24px;
color: #ffffff;
}
.lk-grid-layout {
height: calc(100vh - 60px) !important;
width: 100% !important;
}
.lk-grid-layout > div {
position: relative !important;
overflow: hidden !important;
}
.lk-video {
object-fit: cover !important;
background-color: #000 !important;
}