[mirotalksfu] - improve settings UI

هذا الالتزام موجود في:
Miroslav Pejic
2022-11-04 16:55:32 +01:00
الأصل d3ba3fd5bd
التزام 168d998fe4
3 ملفات معدلة مع 17 إضافات و4 حذوفات

عرض الملف

@@ -215,6 +215,10 @@ body {
border-radius: 5px;
}
#mySettingsCloseBtn {
margin: 10px;
}
#mySettings button:hover {
background-color: rgb(42 42 42 / 70%);
border-radius: 5px;
@@ -223,6 +227,7 @@ body {
#sessionTimeButton {
cursor: default;
position: absolute;
right: 15px;
bottom: 15px;
}
@@ -230,6 +235,11 @@ body {
cursor: pointer;
}
#soundsButton,
#lobbyButton {
padding: 10px;
}
/*--------------------------------------------------------------
# Style the tab
--------------------------------------------------------------*/

عرض الملف

@@ -142,6 +142,7 @@ function initClient() {
'Lobby mode lets you protect your meeting by only allowing people to enter after a formal approval by a moderator',
'right',
);
setTippy('switchSounds', 'Toggle the sounds notifications', 'right');
setTippy('whiteboardGhostButton', 'Toggle transparent background', 'bottom');
setTippy('wbBackgroundColorEl', 'Background color', 'bottom');
setTippy('wbDrawingColorEl', 'Drawing color', 'bottom');
@@ -172,7 +173,7 @@ function initClient() {
setTippy('chatGhostButton', 'Toggle transparent background', 'bottom');
setTippy('chatCloseButton', 'Close', 'right');
setTippy('participantsCloseBtn', 'Close', 'left');
setTippy('sessionTime', 'Session time', 'right');
setTippy('sessionTime', 'Session time', 'top');
}
setupWhiteboard();
initEnumerateDevices();

عرض الملف

@@ -184,9 +184,11 @@
<label class="form-check-label" style="color: #fff" for="switchLobby">&nbsp;Lobby</label>
</div>
</div>
<div class="form-check form-switch form-switch-md">
<input class="form-check-input" type="checkbox" id="switchSounds" checked />
<label class="form-check-label" style="color: #fff" for="switchSounds">&nbsp;Sounds</label>
<div id="soundsButton">
<div class="form-check form-switch form-switch-md">
<input class="form-check-input" type="checkbox" id="switchSounds" checked />
<label class="form-check-label" style="color: #fff" for="switchSounds">&nbsp;Sounds</label>
</div>
</div>
<button id="sessionTimeButton">
<i class="fas fa-clock"></i>