[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; border-radius: 5px;
} }
#mySettingsCloseBtn {
margin: 10px;
}
#mySettings button:hover { #mySettings button:hover {
background-color: rgb(42 42 42 / 70%); background-color: rgb(42 42 42 / 70%);
border-radius: 5px; border-radius: 5px;
@@ -223,6 +227,7 @@ body {
#sessionTimeButton { #sessionTimeButton {
cursor: default; cursor: default;
position: absolute; position: absolute;
right: 15px;
bottom: 15px; bottom: 15px;
} }
@@ -230,6 +235,11 @@ body {
cursor: pointer; cursor: pointer;
} }
#soundsButton,
#lobbyButton {
padding: 10px;
}
/*-------------------------------------------------------------- /*--------------------------------------------------------------
# Style the tab # 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', 'Lobby mode lets you protect your meeting by only allowing people to enter after a formal approval by a moderator',
'right', 'right',
); );
setTippy('switchSounds', 'Toggle the sounds notifications', 'right');
setTippy('whiteboardGhostButton', 'Toggle transparent background', 'bottom'); setTippy('whiteboardGhostButton', 'Toggle transparent background', 'bottom');
setTippy('wbBackgroundColorEl', 'Background color', 'bottom'); setTippy('wbBackgroundColorEl', 'Background color', 'bottom');
setTippy('wbDrawingColorEl', 'Drawing color', 'bottom'); setTippy('wbDrawingColorEl', 'Drawing color', 'bottom');
@@ -172,7 +173,7 @@ function initClient() {
setTippy('chatGhostButton', 'Toggle transparent background', 'bottom'); setTippy('chatGhostButton', 'Toggle transparent background', 'bottom');
setTippy('chatCloseButton', 'Close', 'right'); setTippy('chatCloseButton', 'Close', 'right');
setTippy('participantsCloseBtn', 'Close', 'left'); setTippy('participantsCloseBtn', 'Close', 'left');
setTippy('sessionTime', 'Session time', 'right'); setTippy('sessionTime', 'Session time', 'top');
} }
setupWhiteboard(); setupWhiteboard();
initEnumerateDevices(); initEnumerateDevices();

عرض الملف

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