[mirotak] - add spin animation to room generate button
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
# ====================================================
|
||||
# MiroTalk P2P v.1.7.81 - Environment Configuration
|
||||
# MiroTalk P2P v.1.7.82 - Environment Configuration
|
||||
# ====================================================
|
||||
|
||||
# App environment
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* ==============================================
|
||||
* MiroTalk P2P v.1.7.81 - Configuration File
|
||||
* MiroTalk P2P v.1.7.82 - Configuration File
|
||||
* ==============================================
|
||||
*
|
||||
* This file is the central configuration source.
|
||||
|
||||
+1
-1
@@ -45,7 +45,7 @@ dependencies: {
|
||||
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.81
|
||||
* @version 1.7.82
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "mirotalk",
|
||||
"version": "1.7.81",
|
||||
"version": "1.7.82",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mirotalk",
|
||||
"version": "1.7.81",
|
||||
"version": "1.7.82",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"@mattermost/client": "11.5.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mirotalk",
|
||||
"version": "1.7.81",
|
||||
"version": "1.7.82",
|
||||
"description": "A free WebRTC browser-based video call",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -1488,6 +1488,23 @@ textarea.form-input {
|
||||
color: #376df9;
|
||||
}
|
||||
|
||||
.room-gen-btn.spin {
|
||||
animation: roomGenSpin 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
color: #4678f9;
|
||||
}
|
||||
|
||||
@keyframes roomGenSpin {
|
||||
0% {
|
||||
transform: translateY(-50%) rotate(0deg) scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(-50%) rotate(180deg) scale(1.25);
|
||||
}
|
||||
100% {
|
||||
transform: translateY(-50%) rotate(360deg) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.form-group-desktop .form-input {
|
||||
margin-bottom: 12px;
|
||||
|
||||
+1
-1
@@ -107,7 +107,7 @@ let brand = {
|
||||
},
|
||||
about: {
|
||||
imageUrl: '../images/mirotalk-logo.gif',
|
||||
title: 'WebRTC P2P v1.7.81',
|
||||
title: 'WebRTC P2P v1.7.82',
|
||||
html: `
|
||||
<button
|
||||
id="support-button"
|
||||
|
||||
+2
-2
@@ -15,7 +15,7 @@
|
||||
* @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.7.81
|
||||
* @version 1.7.82
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -14599,7 +14599,7 @@ function showAbout() {
|
||||
Swal.fire({
|
||||
background: swBg,
|
||||
position: 'center',
|
||||
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.7.81',
|
||||
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.7.82',
|
||||
imageUrl: brand.about?.imageUrl && brand.about.imageUrl.trim() !== '' ? brand.about.imageUrl : images.about,
|
||||
customClass: { image: 'img-about' },
|
||||
html: `
|
||||
|
||||
@@ -194,8 +194,14 @@ const adultCnt = document.getElementById('adultCnt');
|
||||
|
||||
if (genRoomButton) {
|
||||
genRoomButton.onclick = (e) => {
|
||||
genRoomButton.classList.remove('spin');
|
||||
void genRoomButton.offsetWidth;
|
||||
genRoomButton.classList.add('spin');
|
||||
genRoom();
|
||||
};
|
||||
genRoomButton.addEventListener('animationend', () => {
|
||||
genRoomButton.classList.remove('spin');
|
||||
});
|
||||
}
|
||||
|
||||
if (joinRoomButton) {
|
||||
|
||||
Reference in New Issue
Block a user