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.

DefaultTheme - minor changes

DanielŻuławski2efc4be9eb8e
diff --git a/src/Web/Grand.Web/Views/Shared/_Logo.cshtml b/src/Web/Grand.Web/Views/Shared/_Logo.cshtml
index 36ba799f8..323d6fe51 100644
--- a/src/Web/Grand.Web/Views/Shared/_Logo.cshtml
+++ b/src/Web/Grand.Web/Views/Shared/_Logo.cshtml
@@ -1,6 +1,6 @@
@inject StoreInformationSettings storeInformation
@inject IWorkContext workContext
<a class="navbar-brand store-logo mx-lg-0 mx-auto" target="_self" href="@Url.RouteUrl("HomePage")">
- <img width="236" height="56" src="/@storeInformation.LogoPicture" alt="@workContext.CurrentStore.Name"/>
+ <img width="236" height="53" src="/@storeInformation.LogoPicture" alt="@workContext.CurrentStore.Name"/>
<span class="sr-only">@Loc["admin.configuration.shipping.providers.fields.logo"]</span>
</a>
\ No newline at end of file
diff --git a/src/Web/Grand.Web/Views/ShoppingCart/CartSummary.cshtml b/src/Web/Grand.Web/Views/ShoppingCart/CartSummary.cshtml
index 2023766a7..70a0c216e 100644
--- a/src/Web/Grand.Web/Views/ShoppingCart/CartSummary.cshtml
+++ b/src/Web/Grand.Web/Views/ShoppingCart/CartSummary.cshtml
@@ -192,8 +192,8 @@
</b-form-checkbox>
<div class="alert alert-info my-2" v-show="vmorder.acceptTerms">@Loc["Checkout.TermsOfService.PleaseAccept"]</div>
</div>
- <div class="checkout-buttons text-center mt-3">
- <b-button type="button" id="checkoutasguest" v-if="vmorder.cart.ShowCheckoutAsGuestButton" @@click="vmorder.termsCheck(true)" variant="secondary" class="checkout-as-guest-button mx-1">
+ <div class="checkout-buttons flex-sm-nowrap flex-wrap text-center mt-3">
+ <b-button type="button" id="checkoutasguest" v-if="vmorder.cart.ShowCheckoutAsGuestButton" @@click="vmorder.termsCheck(true)" variant="secondary" class="checkout-as-guest-button mx-sm-1 mx-0">
@Loc["Account.Login.CheckoutAsGuest"]
</b-button>
<b-button id="checkout" name="checkout" @@click="vmorder.termsCheck(false)" variant="info" class="checkout-button mt-sm-0 mt-1">
@@ -207,8 +207,8 @@
</div>
</template>
<template v-else>
- <div class="checkout-buttons text-center mt-3">
- <b-button type="button" id="checkoutasguest" v-if="vmorder.cart.ShowCheckoutAsGuestButton" @@click="location.href='@Url.RouteUrl("Checkout")'" variant="secondary" class="checkout-as-guest-button mx-1">
+ <div class="checkout-buttons flex-sm-nowrap flex-wrap text-center mt-3">
+ <b-button type="button" id="checkoutasguest" v-if="vmorder.cart.ShowCheckoutAsGuestButton" @@click="location.href='@Url.RouteUrl("Checkout")'" variant="secondary" class="checkout-as-guest-button mx-sm-1 mx-0">
@Loc["Account.Login.CheckoutAsGuest"]
</b-button>
<b-button id="checkout" name="checkout" @@click="document.querySelector('#shopping-cart-form').setAttribute('action', '@Url.RouteUrl("StartCheckout")');document.querySelector('#shopping-cart-form').submit();" variant="info" class="checkout-button mt-sm-0 mt-1">
diff --git a/src/Web/Grand.Web/wwwroot/theme/css/cart/cart.css b/src/Web/Grand.Web/wwwroot/theme/css/cart/cart.css
index ec89fb2b3..40738a28c 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/cart/cart.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/cart/cart.css
@@ -325,6 +325,7 @@
@media (max-width: 575px) {
.shopping-cart.table tr {
width: 100%;
+ margin: 0 0 5px 0;
}
.order-completed-page .jumbotron .display-3 {
font-size: 56px;
diff --git a/src/Web/Grand.Web/wwwroot/theme/css/cart/cart.rtl.css b/src/Web/Grand.Web/wwwroot/theme/css/cart/cart.rtl.css
index d3b0f59d5..fa002159f 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/cart/cart.rtl.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/cart/cart.rtl.css
@@ -328,6 +328,7 @@
@media (max-width: 575px) {
.shopping-cart.table tr {
width: 100%;
+ margin: 0 0 5px 0;
}
.order-completed-page .jumbotron .display-3 {
font-size: 56px;
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 fa2e68920..fbfc3bc03 100644
--- a/src/Web/Grand.Web/wwwroot/theme/css/common/common.css
+++ b/src/Web/Grand.Web/wwwroot/theme/css/common/common.css
@@ -861,7 +861,7 @@ input:checked ~ .color-container .color::before {
-webkit-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
-.product-box:hover .hover-img {
+.product-box:not(.mobile):hover .hover-img {
opacity: 1;
visibility: visible;
}
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 e463e8938..c8e463c0b 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
@@ -947,7 +947,7 @@ input:checked ~ .color-container .color::before {
-webkit-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
-.product-box:hover .hover-img {
+.product-box:not(.mobile):hover .hover-img {
opacity: 1;
visibility: visible;
}