Browse Source

More fixes for the Visio UI

pull/1608/head
Timothée Jaussoin 2 months ago
parent
commit
a4f7959b0c
  1. 2
      app/Widgets/Chat/chat.css
  2. 10
      app/Widgets/Visio/visio.css
  3. 4
      public/scripts/movim_jingles.js

2
app/Widgets/Chat/chat.css

@ -166,6 +166,8 @@ main:not(.enabled) #chat_widget {
grid-column: start / end;
grid-row: header / end;
background-color: rgb(var(--movim-background-main));
display: flex;
align-items: center;
}
#chat_widget.call nav,

10
app/Widgets/Visio/visio.css

@ -288,7 +288,7 @@ body>#visio:not(:fullscreen) .participant img.avatar {
background-color: white;
position: relative;
border-radius: 1rem;
transition: height .4s;
transition: height .1s;
height: calc(var(--level) * 2.5rem);
opacity: 0.75;
margin-top: -1rem;
@ -450,6 +450,10 @@ body>#visio:not(:fullscreen) .participant img.avatar {
vertical-align: center;
}
#visio .participant:not(.audio_off):not(.video_off).screen_off div.status[data-name]::before {
margin-right: 0;
}
#visio .participant div.status span::before {
font-family: 'Material Symbols';
font-variation-settings: 'FILL' 1;
@ -515,14 +519,14 @@ body>#visio:not(:fullscreen) .participant img.avatar {
/* Active speaker */
#visio #participants.active .participant.active {
#visio #participants.active:has(.participant:nth-child(2)) .participant.active {
height: 80%;
width: 100%;
order: 1;
flex: 1 0 auto;
}
#visio #participants.active .participant:not(.active) {
#visio #participants.active:has(.participant:nth-child(2)) .participant:not(.active) {
height: 15%;
max-width: 25rem;
flex: 1;

4
public/scripts/movim_jingles.js

@ -232,9 +232,9 @@ MovimJingleSession.prototype.clearRemoteAudioMessage = function () {
MovimJingleSession.prototype.processRemoteAudioMessage = function (message) {
if (message.isMuteStep >= 5) {
this.remoteVideo.classList.add('audio_off');
this.participant.classList.add('audio_off');
} else {
this.remoteVideo.classList.remove('audio_off');
this.participant.classList.remove('audio_off');
}
this.lastPostMessage = message.published;

Loading…
Cancel
Save