Update CSS and template files for improved styling and functionality

This commit is contained in:
2025-08-06 10:23:47 +02:00
parent ec8b8e2992
commit 8a4ef2e9ca
9 changed files with 57 additions and 26 deletions

View File

@@ -4267,14 +4267,14 @@
},
"cart-voucher.tpl": {
"type": "-",
"size": 3983,
"lmtime": 1754338439175,
"size": 3967,
"lmtime": 1754429181409,
"modified": false
},
"checkout-form-fields.tpl": {
"type": "-",
"size": 13038,
"lmtime": 1754338439226,
"size": 13042,
"lmtime": 1754420872980,
"modified": false
},
"customer-addresses-dropdown.tpl": {
@@ -4354,7 +4354,7 @@
"cart-summary.tpl": {
"type": "-",
"size": 2524,
"lmtime": 1754338439853,
"lmtime": 1754422978774,
"modified": false
},
"confirm.tpl": {
@@ -4389,8 +4389,8 @@
},
"shipping.tpl": {
"type": "-",
"size": 9428,
"lmtime": 1754338440077,
"size": 9443,
"lmtime": 1754423488828,
"modified": false
}
},
@@ -6567,20 +6567,20 @@
},
"custom.css": {
"type": "-",
"size": 1615,
"lmtime": 1754341327728,
"size": 7286,
"lmtime": 1754429437714,
"modified": false
},
"custom.css.map": {
"type": "-",
"size": 2022,
"lmtime": 1754341327728,
"size": 6269,
"lmtime": 1754429437714,
"modified": false
},
"custom.scss": {
"type": "-",
"size": 1315,
"lmtime": 1754341327544,
"size": 4413,
"lmtime": 1754429437405,
"modified": false
},
"default-skin.png": {
@@ -11591,8 +11591,8 @@
},
"head.tpl": {
"type": "-",
"size": 2512,
"lmtime": 1754341330563,
"size": 3136,
"lmtime": 1754429440226,
"modified": false
},
"head_.tpl": {
@@ -11603,15 +11603,15 @@
},
"header.tpl": {
"type": "-",
"size": 13310,
"size": 13200,
"lmtime": 1723829581165,
"modified": true
},
"header_.tpl": {
"type": "-",
"size": 16158,
"size": 16069,
"lmtime": 0,
"modified": false
"modified": true
},
"index.php": {
"type": "-",
@@ -12079,8 +12079,8 @@
},
"cart.tpl": {
"type": "-",
"size": 2739,
"lmtime": 1723829583921,
"size": 2826,
"lmtime": 1754422033981,
"modified": false
},
"checkout-process.tpl": {

View File

@@ -34,9 +34,17 @@
<div class="cart-summary-line{if $waitForShippingCls && 'products' != $subtotal.type}{$waitForShippingCls|escape:'javascript':'UTF-8'}{/if}{if !$subtotal.amount} free{/if}" id="cart-subtotal-{$subtotal.type|escape:'javascript':'UTF-8'}">
<span class="label{if 'products' === $subtotal.type} js-subtotal{/if}">
{if 'products' == $subtotal.type}
{$cart.summary_string|escape:'htmlall':'UTF-8'}
{$cart.products_count|escape:'htmlall':'UTF-8'}
{assign var=count value=$cart.products_count}
{if $count == 1}
sztuka
{elseif $count%10 >= 2 && $count%10 <= 4 && ($count%100 < 10 || $count%100 >= 20)}
sztuki
{else}
sztuk
{/if}
{else}
{$subtotal.label|escape:'htmlall':'UTF-8'}
{$subtotal.label|escape:'htmlall':'UTF-8'}
{/if}
</span>
<span class="value">{$subtotal.value|escape:'htmlall':'UTF-8'}</span>

View File

@@ -49,7 +49,7 @@
{/if}
</style>
{/if}
<div class="block-header address-name-header">{l s='Billing address' mod='thecheckout'}</div>
<div class="block-header address-name-header">Adres wysyłki</div>
<div class="inner-wrapper">
{if $z_tc_config->show_i_am_business || $z_tc_config->show_i_am_private}
<div class="business-private-checkboxes form-group">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -213,6 +213,15 @@
.block-promo .promo-input-button .promo-input+button {
flex-basis: auto;
}
#thecheckout-newsletter {
display: none !important;
}
.custom-checkbox input[type=checkbox]:checked+span .checkbox-checked {
color: #ff0f1c;
font-size: 20px;
}
}
body.compact-cart #tc-container .qty-container .qty-box {
@@ -252,4 +261,18 @@ body.compact-cart #tc-container .qty-container .qty-box {
background-image: none !important;
}
}
#promo-code {
.promo-input-button {
display: grid !important;
grid-template-columns: 1fr !important;
height: fit-content !important;
}
}
.promo-code {
form {
width: 100% !important;
}
}
}

View File

@@ -54,7 +54,7 @@
{include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
{/block}
<link rel="stylesheet" href="/themes/charme/assets/css/custom.css?ver=1.0102">
<link rel="stylesheet" href="/themes/charme/assets/css/custom.css?ver=1.0109">
{block name='javascript_head'}
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}