Skip to content

Commit 562015e

Browse files
[mirotalkc2c] - refactor select inputs, update deps
1 parent 8012228 commit 562015e

6 files changed

Lines changed: 87 additions & 34 deletions

File tree

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ====================================================
2-
# MiroTalk C2C v.1.2.83 - Environment Configuration
2+
# MiroTalk C2C v.1.2.84 - Environment Configuration
33
# ====================================================
44

55
# App environment

backend/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @license For private project or commercial purposes contact us at: license.mirotalk@gmail.com or purchase it directly via Code Canyon:
1010
* @license https://codecanyon.net/item/mirotalk-c2c-webrtc-real-time-cam-2-cam-video-conferences-and-screen-sharing/43383005
1111
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
12-
* @version 1.2.83
12+
* @version 1.2.84
1313
*/
1414

1515
require('dotenv').config();

frontend/css/client.css

Lines changed: 58 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -441,15 +441,39 @@ video::-webkit-media-controls {
441441
}
442442

443443
#settings select {
444-
margin-top: 15px;
444+
-webkit-appearance: none;
445+
-moz-appearance: none;
446+
appearance: none;
447+
margin-top: 10px;
445448
width: 100%;
446-
height: 40px;
449+
height: auto;
447450
max-width: 280px;
448-
border-radius: 5px;
449-
background-color: var(--secondary-color);
451+
padding: 10px 36px 10px 14px;
452+
border: 1px solid var(--secondary-color);
453+
border-radius: 8px;
454+
background-color: var(--primary-color);
455+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f5f5f5' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
456+
background-repeat: no-repeat;
457+
background-position: right 12px center;
458+
background-size: 12px;
450459
color: var(--text-color);
460+
font-family: 'Montserrat', sans-serif;
451461
font-size: 0.9rem;
452462
cursor: pointer;
463+
box-sizing: border-box;
464+
transition:
465+
border-color 0.2s ease,
466+
box-shadow 0.2s ease;
467+
}
468+
469+
#settings select:hover {
470+
border-color: rgba(255, 255, 255, 0.25);
471+
}
472+
473+
#settings select:focus {
474+
outline: none;
475+
border-color: var(--accent-color);
476+
box-shadow: 0 0 0 3px rgba(55, 109, 249, 0.2);
453477
}
454478

455479
#settings span {
@@ -579,8 +603,37 @@ th {
579603
}
580604

581605
#google_translate_element select {
582-
background: var(--secondary-color) !important;
606+
-webkit-appearance: none;
607+
-moz-appearance: none;
608+
appearance: none;
609+
width: 100%;
610+
max-width: 280px;
611+
padding: 10px 36px 10px 14px !important;
612+
border: 1px solid var(--secondary-color) !important;
613+
border-radius: 8px !important;
614+
background-color: var(--primary-color) !important;
615+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f5f5f5' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") !important;
616+
background-repeat: no-repeat !important;
617+
background-position: right 12px center !important;
618+
background-size: 12px !important;
583619
color: var(--text-color) !important;
620+
font-family: 'Montserrat', sans-serif;
621+
font-size: 0.9rem;
622+
cursor: pointer;
623+
box-sizing: border-box;
624+
transition:
625+
border-color 0.2s ease,
626+
box-shadow 0.2s ease;
627+
}
628+
629+
#google_translate_element select:hover {
630+
border-color: rgba(255, 255, 255, 0.25) !important;
631+
}
632+
633+
#google_translate_element select:focus {
634+
outline: none;
635+
border-color: var(--accent-color) !important;
636+
box-shadow: 0 0 0 3px rgba(55, 109, 249, 0.2) !important;
584637
}
585638

586639
/*--------------------------------------------------------------

frontend/js/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* @license For private project or commercial purposes contact us at: license.mirotalk@gmail.com or purchase it directly via Code Canyon:
1010
* @license https://codecanyon.net/item/mirotalk-c2c-webrtc-real-time-cam-2-cam-video-conferences-and-screen-sharing/43383005
1111
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
12-
* @version 1.2.83
12+
* @version 1.2.84
1313
*/
1414

1515
const roomId = new URLSearchParams(window.location.search).get('room');

package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mirotalkc2c",
3-
"version": "1.2.83",
3+
"version": "1.2.84",
44
"description": "A free WebRTC Cam-2-Cam browser-based video calls",
55
"main": "server.js",
66
"scripts": {
@@ -38,7 +38,7 @@
3838
"license": "AGPL-3.0",
3939
"homepage": "https://github.com/miroslavpejic85/mirotalkc2c",
4040
"dependencies": {
41-
"@mattermost/client": "11.4.0",
41+
"@mattermost/client": "11.5.0",
4242
"@ngrok/ngrok": "1.7.0",
4343
"@sentry/node": "^10.46.0",
4444
"colors": "^1.4.0",
@@ -47,7 +47,7 @@
4747
"dompurify": "^3.3.3",
4848
"dotenv": "^17.3.1",
4949
"express": "^5.2.1",
50-
"express-openid-connect": "^2.19.4",
50+
"express-openid-connect": "^2.20.1",
5151
"he": "^1.2.0",
5252
"helmet": "^8.1.0",
5353
"httpolyglot": "0.1.2",

0 commit comments

Comments
 (0)