[mirotalksfu] - improve UI

هذا الالتزام موجود في:
Miroslav Pejic
2023-01-21 03:06:03 +01:00
الأصل 336c8ccd6e
التزام 1b814a100a
2 ملفات معدلة مع 15 إضافات و3 حذوفات

عرض الملف

@@ -81,8 +81,8 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: hidden; overflow: hidden;
background: url('../images/background.jpg');
/* background: var(--body-bg); */ /* background: var(--body-bg); */
background: url('../images/background.jpg');
} }
/*-------------------------------------------------------------- /*--------------------------------------------------------------
@@ -131,14 +131,20 @@ body {
} }
.init-user select { .init-user select {
width: 100%;
margin-top: 15px; margin-top: 15px;
padding: 10px; padding: 10px;
background: #2c2c2c;
color: white;
border: var(--border);
border-radius: 5px;
cursor: pointer; cursor: pointer;
} }
.init-user button { .init-user button {
margin-top: 20px; margin-top: 20px;
margin-bottom: 10px; margin-bottom: 10px;
width: 50px;
} }
/*-------------------------------------------------------------- /*--------------------------------------------------------------
@@ -593,6 +599,10 @@ em-emoji-picker {
background-color: transparent !important; background-color: transparent !important;
} }
.swal2-input {
border: var(--border) !important;
}
.swal2-popup { .swal2-popup {
/* border: var(--border) !important; */ /* border: var(--border) !important; */
border: 0.5px solid rgb(255 255 255 / 32%) !important; border: 0.5px solid rgb(255 255 255 / 32%) !important;

عرض الملف

@@ -230,7 +230,6 @@ async function initEnumerateDevices() {
console.log('01 ----> init Enumerate Devices'); console.log('01 ----> init Enumerate Devices');
await initEnumerateVideoDevices(); await initEnumerateVideoDevices();
await initEnumerateAudioDevices(); await initEnumerateAudioDevices();
hide(loadingDiv);
whoAreYou(); whoAreYou();
if (!isVideoAllowed) { if (!isVideoAllowed) {
hide(initVideo); hide(initVideo);
@@ -447,6 +446,9 @@ function whoAreYou() {
console.log('04 ----> Who are you'); console.log('04 ----> Who are you');
sound('open'); sound('open');
hide(loadingDiv);
document.body.style.background = 'var(--body-bg)';
if (peer_name) { if (peer_name) {
checkMedia(); checkMedia();
getPeerInfo(); getPeerInfo();
@@ -465,7 +467,7 @@ function whoAreYou() {
Swal.fire({ Swal.fire({
allowOutsideClick: false, allowOutsideClick: false,
allowEscapeKey: false, allowEscapeKey: false,
background: 'rgba(0, 0, 0, 0.7)', //swalBackground, background: swalBackground,
title: 'MiroTalk SFU', title: 'MiroTalk SFU',
input: 'text', input: 'text',
inputPlaceholder: 'Enter your name', inputPlaceholder: 'Enter your name',