Skip to content

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.

voice navigator - css minor changes

DanielŻuławski11db0652c3b1
diff --git a/src/Web/Grand.Web/Views/Shared/Components/VoiceNavigation/Default.cshtml b/src/Web/Grand.Web/Views/Shared/Components/VoiceNavigation/Default.cshtml
index 01f9e2ad5..60d27eae9 100644
--- a/src/Web/Grand.Web/Views/Shared/Components/VoiceNavigation/Default.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/Components/VoiceNavigation/Default.cshtml
@@ -19,8 +19,7 @@
</template>
</button>
<b-alert :show="voicenavigator.recording"
- class="position-fixed fixed-top m-0 rounded-0"
- style="z-index: 2000;"
+ class="voice-alert position-fixed fixed-top m-0 rounded-0"
:variant="voicenavigator.variant">
<div class="recording-window">
<div class="recording-aniamtion">
diff --git a/src/Web/Grand.Web/wwwroot/theme/css/common/common.css b/src/Web/Grand.Web/wwwroot/theme/css/common/common.css
index 6e0c0dfef..09e98892c 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/common/common.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/common/common.css
@@ -719,6 +719,10 @@ input:checked ~ .color-container .color::before {
.voice-page-button.focus {
animation: boxShadow 2s infinite;
}
+.voice-alert {
+ pointer-events: none;
+ z-index: 1034;
+}
.recording-aniamtion {
animation: fadeInOut 2s infinite;
}
@@ -1432,7 +1436,9 @@ footer .list-group-item span:last-child {
text-align: right;
}
.voice-page-button {
- bottom: 135px;
+ bottom: 75px;
+ right: unset;
+ left: 15px;
}
.up-btn {
bottom: 75px;
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.css
index f2c5030f5..b1277d8d6 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
@@ -784,7 +784,7 @@ input:checked ~ .color-container .color::before {
.voice-page-button {
position: fixed;
bottom: 70px;
- right: 15px;
+ left: 15px;
display: flex;
justify-content: center;
align-items: center;
@@ -805,6 +805,10 @@ input:checked ~ .color-container .color::before {
.voice-page-button.focus {
animation: boxShadow 2s infinite;
}
+.voice-alert {
+ pointer-events: none;
+ z-index: 1034;
+}
.recording-aniamtion {
animation: fadeInOut 2s infinite;
}
@@ -1580,7 +1584,9 @@ footer .list-group-item span:last-child {
text-align: right;
}
.voice-page-button {
- bottom: 135px;
+ left: unset;
+ right: 15px;
+ bottom: 75px;
}
.up-btn {
bottom: 75px;