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.

RTL Language - minor changes

DanielŻuławski91b4dcc31056
diff --git a/src/Web/Grand.Web/Views/Catalog/_Selectors.cshtml b/src/Web/Grand.Web/Views/Catalog/_Selectors.cshtml
index 7289a8661..9b6764f97 100644
--- a/src/Web/Grand.Web/Views/Catalog/_Selectors.cshtml
+++ b/src/Web/Grand.Web/Views/Catalog/_Selectors.cshtml
@@ -56,15 +56,15 @@
<a class="viewmode-icon d-flex align-items-center" v-bind:class="{ selected: viewmode.Selected, 'text-info': viewmode.Selected }" @@click="catalog.loadProducts(viewmode.Value)" :title="viewmode.Text">
<template v-if="viewmode.Value.includes('viewmode=grid')">
<template v-if="viewmode.Selected">
- <b-icon scale="2" icon="grid3x2-gap-fill"></b-icon>
+ <b-icon scale="2" icon="grid3x2-gap-fill" class="grid-icon"></b-icon>
</template>
<template v-else>
- <b-icon scale="2" icon="grid3x2-gap"></b-icon>
+ <b-icon scale="2" icon="grid3x2-gap" class="grid-icon"></b-icon>
</template>
<span class="sr-only">viewmode grid</span>
</template>
<template v-else>
- <b-icon scale="2" icon="list" class="ml-4"></b-icon>
+ <b-icon scale="2" icon="list" class="list-icon"></b-icon>
<span class="sr-only">viewmode list</span>
</template>
</a>
diff --git a/src/Web/Grand.Web/wwwroot/theme/css/catalog/catalog.css b/src/Web/Grand.Web/wwwroot/theme/css/catalog/catalog.css
index 48a0f1343..765920ed1 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/catalog/catalog.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/catalog/catalog.css
@@ -116,6 +116,12 @@
height: auto;
border-radius: 0;
}
+.viewmode-icon {
+ cursor: pointer;
+}
+.viewmode-icon .list-icon {
+ margin: 0 0 0 20px;
+}
/* pagintaion */
diff --git a/src/Web/Grand.Web/wwwroot/theme/css/catalog/catalog.rtl.css b/src/Web/Grand.Web/wwwroot/theme/css/catalog/catalog.rtl.css
index 62dca0fb0..244011f58 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/catalog/catalog.rtl.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/catalog/catalog.rtl.css
@@ -109,7 +109,7 @@
}
.item-statistics .items-per-page span,
.item-statistics .items-separator {
- margin: 0 5px 0 0;
+ margin: 0 0 0 5px;
}
.block-recently-viewed-products .card {
border: 0;
@@ -126,6 +126,12 @@
height: auto;
border-radius: 0;
}
+.viewmode-icon {
+ cursor: pointer;
+}
+.viewmode-icon .list-icon {
+ margin: 0 20px 0 0;
+}
/* pagintaion */
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 fe1f43c04..61d4071b0 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
@@ -957,7 +957,7 @@ input:checked ~ .color-container .color::before {
line-height: 1;
}
.product-box .old-price {
- margin: 0 0 0 5px;
+ margin: 0 5px 0 0;
color: #999;
font-size: 16px;
font-weight: 400;
@@ -1189,6 +1189,14 @@ input:checked ~ .color-container .color::before {
padding: 15px 0;
background-color: transparent;
}
+.breadcrumb-item + .breadcrumb-item {
+ padding-left: 0;
+ padding-right: .5rem;
+}
+.breadcrumb-item+.breadcrumb-item::before {
+ padding-right: 0;
+ padding-left: .5rem;
+}
.breadcrumb-item.active {
color: #000;
}