Pulse animation added to the avatar and audio controls when the user is talking.
This commit is contained in:
parent
136fa72a7e
commit
5ef6bab9a5
17
bigbluebutton-html5/imports/ui/components/audio/audio-controls/styles.scss
Normal file → Executable file
17
bigbluebutton-html5/imports/ui/components/audio/audio-controls/styles.scss
Normal file → Executable file
@ -31,8 +31,19 @@
|
||||
}
|
||||
|
||||
&.glow {
|
||||
span:first-child{
|
||||
box-shadow: 0 0 0 1px #ffffff, 0 0 0 1px;
|
||||
}
|
||||
animation: pulse 1s infinite ease-in;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
box-shadow: 0 0 0 0 white;
|
||||
}
|
||||
70% {
|
||||
box-shadow: 0 0 0 0.5625rem transparent;
|
||||
}
|
||||
100% {
|
||||
box-shadow: 0 0 0 0 transparent;
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ $user-indicator-presenter-bg: $color-primary;
|
||||
$user-indicator-voice-bg: $color-success;
|
||||
$user-indicator-muted-bg: $color-danger;
|
||||
$user-list-bg: $color-off-white;
|
||||
$user-color: currentColor; //picks the current color reference in the class
|
||||
|
||||
.avatar {
|
||||
position: relative;
|
||||
@ -49,7 +50,19 @@ $user-list-bg: $color-off-white;
|
||||
}
|
||||
|
||||
.talking {
|
||||
box-shadow: 0 0 0 1px $user-list-bg, 0 0 0 6px;
|
||||
animation: pulse 1s infinite ease-in;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
box-shadow: 0 0 0 0 $user-color;
|
||||
}
|
||||
70% {
|
||||
box-shadow: 0 0 0 0.5625rem transparent;
|
||||
}
|
||||
100% {
|
||||
box-shadow: 0 0 0 0 transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.moderator {
|
||||
|
Loading…
Reference in New Issue
Block a user