Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
voice navigator - minor changes
DanielŻuławski08dae0fff164
diff --git a/src/Web/Grand.Web/Views/Shared/Components/VoiceNavigation/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/VoiceNavigation/Default.cshtmlindex 10ee5a79f..7bdd1c647 100644--- a/src/Web/Grand.Web/Views/Shared/Components/VoiceNavigation/Default.cshtml+++ b/src/Web/Grand.Web/Views/Shared/Components/VoiceNavigation/Default.cshtml@@ -141,11 +141,10 @@const transcript = event.results[current][0].transcript;if (event.results[0].isFinal) {const concatTranscript = transcript.replace(/[`~!#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi, '').toLowerCase();- const transcriptArray = concatTranscript.split(' ');voicenavigator.transcript = transcript;for (const [key, element] of Object.entries(voicenavigator.commands)) {- const found = element.triggers.some(r => transcriptArray.includes(r));+ const found = element.triggers.some(r => concatTranscript.includes(r));if (found) {voicenavigator.stopRecording();diff --git a/src/Web/Grand.Web/wwwroot/theme/css/common/common.css b/src/Web/Grand.Web/wwwroot/theme/css/common/common.cssindex e63f02307..138f71234 100644--- a/src/Web/Grand.Web/wwwroot/theme/css/common/common.css+++ b/src/Web/Grand.Web/wwwroot/theme/css/common/common.css@@ -711,7 +711,7 @@ input:checked ~ .color-container .color::before {box-shadow: 0px 12px 28px rgba(0,123,255,.25), 0 -4px 14px rgba(0,123,255,.25);transition: all .2s ease-in-out;-webkit-transition: all .2s ease-in-out;- z-index: 1039;+ z-index: 1033;}.voice-page-button.focus, .voice-page-button:focus {box-shadow: 0px 12px 28px rgba(0,123,255,.25), 0 -4px 14px rgba(0,123,255,.25);@@ -724,7 +724,7 @@ input:checked ~ .color-container .color::before {-moz-user-select: none;user-select: none;pointer-events: none;- z-index: 1034;+ z-index: 1035;}.recording-aniamtion {animation: fadeInOut 2s infinite;diff --git a/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css b/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.cssindex 9b5d2bf6d..d9683a62b 100644--- a/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css+++ b/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css@@ -797,7 +797,7 @@ input:checked ~ .color-container .color::before {box-shadow: 0px 12px 28px rgba(0,123,255,.25), 0 -4px 14px rgba(0,123,255,.25);transition: all .2s ease-in-out;-webkit-transition: all .2s ease-in-out;- z-index: 1039;+ z-index: 1033;}.voice-page-button.focus, .voice-page-button:focus {box-shadow: 0px 12px 28px rgba(0,123,255,.25), 0 -4px 14px rgba(0,123,255,.25);@@ -810,7 +810,7 @@ input:checked ~ .color-container .color::before {-moz-user-select: none;user-select: none;pointer-events: none;- z-index: 1034;+ z-index: 1035;}.recording-aniamtion {animation: fadeInOut 2s infinite;