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": { "cart-voucher.tpl": {
"type": "-", "type": "-",
"size": 3983, "size": 3967,
"lmtime": 1754338439175, "lmtime": 1754429181409,
"modified": false "modified": false
}, },
"checkout-form-fields.tpl": { "checkout-form-fields.tpl": {
"type": "-", "type": "-",
"size": 13038, "size": 13042,
"lmtime": 1754338439226, "lmtime": 1754420872980,
"modified": false "modified": false
}, },
"customer-addresses-dropdown.tpl": { "customer-addresses-dropdown.tpl": {
@@ -4354,7 +4354,7 @@
"cart-summary.tpl": { "cart-summary.tpl": {
"type": "-", "type": "-",
"size": 2524, "size": 2524,
"lmtime": 1754338439853, "lmtime": 1754422978774,
"modified": false "modified": false
}, },
"confirm.tpl": { "confirm.tpl": {
@@ -4389,8 +4389,8 @@
}, },
"shipping.tpl": { "shipping.tpl": {
"type": "-", "type": "-",
"size": 9428, "size": 9443,
"lmtime": 1754338440077, "lmtime": 1754423488828,
"modified": false "modified": false
} }
}, },
@@ -6567,20 +6567,20 @@
}, },
"custom.css": { "custom.css": {
"type": "-", "type": "-",
"size": 1615, "size": 7286,
"lmtime": 1754341327728, "lmtime": 1754429437714,
"modified": false "modified": false
}, },
"custom.css.map": { "custom.css.map": {
"type": "-", "type": "-",
"size": 2022, "size": 6269,
"lmtime": 1754341327728, "lmtime": 1754429437714,
"modified": false "modified": false
}, },
"custom.scss": { "custom.scss": {
"type": "-", "type": "-",
"size": 1315, "size": 4413,
"lmtime": 1754341327544, "lmtime": 1754429437405,
"modified": false "modified": false
}, },
"default-skin.png": { "default-skin.png": {
@@ -11591,8 +11591,8 @@
}, },
"head.tpl": { "head.tpl": {
"type": "-", "type": "-",
"size": 2512, "size": 3136,
"lmtime": 1754341330563, "lmtime": 1754429440226,
"modified": false "modified": false
}, },
"head_.tpl": { "head_.tpl": {
@@ -11603,15 +11603,15 @@
}, },
"header.tpl": { "header.tpl": {
"type": "-", "type": "-",
"size": 13310, "size": 13200,
"lmtime": 1723829581165, "lmtime": 1723829581165,
"modified": true "modified": true
}, },
"header_.tpl": { "header_.tpl": {
"type": "-", "type": "-",
"size": 16158, "size": 16069,
"lmtime": 0, "lmtime": 0,
"modified": false "modified": true
}, },
"index.php": { "index.php": {
"type": "-", "type": "-",
@@ -12079,8 +12079,8 @@
}, },
"cart.tpl": { "cart.tpl": {
"type": "-", "type": "-",
"size": 2739, "size": 2826,
"lmtime": 1723829583921, "lmtime": 1754422033981,
"modified": false "modified": false
}, },
"checkout-process.tpl": { "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'}"> <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}"> <span class="label{if 'products' === $subtotal.type} js-subtotal{/if}">
{if 'products' == $subtotal.type} {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} {else}
{$subtotal.label|escape:'htmlall':'UTF-8'} {$subtotal.label|escape:'htmlall':'UTF-8'}
{/if} {/if}
</span> </span>
<span class="value">{$subtotal.value|escape:'htmlall':'UTF-8'}</span> <span class="value">{$subtotal.value|escape:'htmlall':'UTF-8'}</span>

View File

@@ -49,7 +49,7 @@
{/if} {/if}
</style> </style>
{/if} {/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"> <div class="inner-wrapper">
{if $z_tc_config->show_i_am_business || $z_tc_config->show_i_am_private} {if $z_tc_config->show_i_am_business || $z_tc_config->show_i_am_private}
<div class="business-private-checkboxes form-group"> <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 { .block-promo .promo-input-button .promo-input+button {
flex-basis: auto; 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 { 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; 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} {include file="_partials/stylesheets.tpl" stylesheets=$stylesheets}
{/block} {/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'} {block name='javascript_head'}
{include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars} {include file="_partials/javascript.tpl" javascript=$javascript.head vars=$js_custom_vars}