diff --git a/.env.template b/.env.template index b168a012..fe4b74b4 100644 --- a/.env.template +++ b/.env.template @@ -1,5 +1,5 @@ # ==================================================== -# MiroTalk P2P v.1.7.84 - Environment Configuration +# MiroTalk P2P v.1.7.85 - Environment Configuration # ==================================================== # App environment diff --git a/app/src/config.template.js b/app/src/config.template.js index 2966812b..d180f1f0 100644 --- a/app/src/config.template.js +++ b/app/src/config.template.js @@ -2,7 +2,7 @@ /** * ============================================== - * MiroTalk P2P v.1.7.84 - Configuration File + * MiroTalk P2P v.1.7.85 - Configuration File * ============================================== * * This file is the central configuration source. diff --git a/app/src/server.js b/app/src/server.js index 6af2b961..5a7f8c9c 100755 --- a/app/src/server.js +++ b/app/src/server.js @@ -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.84 + * @version 1.7.85 * */ diff --git a/package-lock.json b/package-lock.json index 95cc880f..f970988a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mirotalk", - "version": "1.7.84", + "version": "1.7.85", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mirotalk", - "version": "1.7.84", + "version": "1.7.85", "license": "AGPL-3.0", "dependencies": { "@mattermost/client": "11.5.0", diff --git a/package.json b/package.json index 653769dd..c78dea35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalk", - "version": "1.7.84", + "version": "1.7.85", "description": "A free WebRTC browser-based video call", "main": "server.js", "scripts": { diff --git a/public/css/videoGrid.css b/public/css/videoGrid.css index 0d95c64d..38e0eb15 100644 --- a/public/css/videoGrid.css +++ b/public/css/videoGrid.css @@ -126,6 +126,15 @@ display: inline; } +/* Dropdown overrides - must beat .navbar div */ +.navbar div.navbar-dropdown-content { + display: none !important; +} + +.navbar div.navbar-dropdown-item { + display: flex !important; +} + /* Extra small containers (mobile portrait, small screens) */ @container camera (max-width: 250px) { .navbar { @@ -223,26 +232,75 @@ } /*-------------------------------------------------------------- -# Expand buttons +# Navbar dropdown menu --------------------------------------------------------------*/ -.expand-video-content { +.navbar-dropdown { position: relative; - display: none; - float: right; - width: auto; + display: inline-flex; + align-items: center; } -.expand-video-content button { - display: none; +.navbar-dropdown-content { + display: none !important; + position: fixed; + z-index: 9999; + min-width: 180px; + background: var(--body-bg); + border-radius: 10px; + border: var(--border); + padding: 6px 0; + box-shadow: var(--box-shadow); + max-height: 70vh; + overflow-y: auto; } -.expand-video:hover .expand-video-content { - display: inline; +.navbar-dropdown-content.show { + display: block !important; } -.expand-video:hover .expand-video-content button { - display: inline; +.navbar-dropdown-item { + display: flex !important; + align-items: center; + gap: 10px; + padding: 8px 14px; + color: #fff; + font-size: 0.85rem; + cursor: pointer; + white-space: nowrap; + transition: background 0.15s ease; +} + +.navbar-dropdown-item:hover { + background: rgba(255, 255, 255, 0.1); +} + +.navbar-dropdown-item button, +.navbar .navbar-dropdown-item button, +.navbar .navbar-dropdown-content .navbar-dropdown-item button { + pointer-events: none; + background: none !important; + border: none !important; + color: #fff !important; + font-size: 1rem !important; + padding: 0 !important; + margin: 0 !important; + min-width: 20px !important; + min-height: auto !important; + flex-shrink: 0; + border-radius: 0 !important; + box-sizing: content-box; + transform: none !important; +} + +.navbar-dropdown-item button:hover, +.navbar .navbar-dropdown-item button:hover { + background: none !important; + transform: none !important; +} + +.navbar-dropdown-item span { + flex: 1; } /*-------------------------------------------------------------- diff --git a/public/js/brand.js b/public/js/brand.js index cb7d4f0e..35770f8f 100644 --- a/public/js/brand.js +++ b/public/js/brand.js @@ -107,7 +107,7 @@ let brand = { }, about: { imageUrl: '../images/mirotalk-logo.gif', - title: 'WebRTC P2P v1.7.84', + title: 'WebRTC P2P v1.7.85', html: `