Compare commits
4 Commits
541901e8e6
...
d5c3a60e37
| Author | SHA1 | Date | |
|---|---|---|---|
| d5c3a60e37 | |||
| f848833091 | |||
| e209ddf5d9 | |||
| b208b00259 |
@@ -13,15 +13,12 @@ Look up all available Bootstrap variables here: https://rstudio.github.io/bslib/
|
||||
//@import "abstracts/base";
|
||||
@import "abstracts/functions";
|
||||
@import "abstracts/mixins";
|
||||
//@import "abstracts/utilities";
|
||||
@import "abstracts/utilities";
|
||||
|
||||
// Components: parts of the theme itself that are not associated with a module.
|
||||
@import "components/buttons";
|
||||
@import "components/forms";
|
||||
|
||||
// Modules: Styling for specific modules.
|
||||
//@import "modules/";
|
||||
|
||||
//Layouts: Parts of a page, such as the header, footer, etc.
|
||||
//@import "layout/footer";
|
||||
@import "layout/header";
|
||||
|
||||
@@ -15,6 +15,28 @@ $btn-color: (
|
||||
}
|
||||
}
|
||||
|
||||
// Configure btn-outline text color on hover per button. (Same thing as above but for btn-outline and only on hover)
|
||||
$btn-outline-hover: (
|
||||
"primary": $white,
|
||||
"secondary": $white,
|
||||
);
|
||||
|
||||
@each $name, $bg in $btn-outline-hover {
|
||||
$text-color: if(
|
||||
map-has-key($btn-color, $name),
|
||||
map-get($btn-color, $name),
|
||||
$white
|
||||
);
|
||||
|
||||
.btn-outline-#{$name}:hover,
|
||||
.btn-outline-#{$name}:focus,
|
||||
.btn-outline-#{$name}:active,
|
||||
.btn-outline-#{$name}.active,
|
||||
.show > .btn-outline-#{$name}.dropdown-toggle {
|
||||
color: $text-color !important;
|
||||
}
|
||||
}
|
||||
|
||||
// Bootstrap touchspin
|
||||
.bootstrap-touchspin {
|
||||
flex-wrap: nowrap;
|
||||
|
||||
@@ -66,6 +66,22 @@ function initStickyHeader() {
|
||||
}
|
||||
}
|
||||
|
||||
// Sync product thumbs height with main images height
|
||||
function syncThumbsHeight() {
|
||||
const mainImages = document.querySelector(".product-main-images");
|
||||
const thumbs = document.querySelector(".product-thumbs.swiper");
|
||||
// Only apply if Swiper is vertical
|
||||
if (mainImages && thumbs && thumbs.classList.contains("swiper-vertical")) {
|
||||
thumbs.style.maxHeight = mainImages.offsetHeight + "px";
|
||||
thumbs.style.height = mainImages.offsetHeight + "px";
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener("load", syncThumbsHeight);
|
||||
window.addEventListener("resize", syncThumbsHeight);
|
||||
|
||||
$(() => {
|
||||
initStickyHeader();
|
||||
accLinksTriggerActive();
|
||||
|
||||
@@ -38,6 +38,11 @@
|
||||
<span class="label">{$cart.totals.total.label} {if $configuration.display_taxes_label && $configuration.taxes_enabled}{$cart.labels.tax_short}{/if}</span>
|
||||
<span class="value">{$cart.totals.total.value}</span>
|
||||
</div>
|
||||
{if !$cart.has_delivery_address}
|
||||
<p class="no_delivery_address_yet_message">
|
||||
{l s='Shipping costs will be calculated in the next step, before you checkout. Shipping costs depend on the country the order is shipped to. For the Netherlands, orders with a value of € 125.00 will be shipped free of charge. You can view the shippingcosts <a href="https://www.nijssenbulbs.com/content/16-verzendkosten"><u>here</u></a>' d='Shop.Checkout.Total'}
|
||||
</p>
|
||||
{/if}
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user