Update Polish translations and enhance checkout styles

- Changed the button text for adding a voucher code to Polish ("Dodaj kod rabatowy").
- Updated placeholder text in checkout form fields to use field labels.
- Modified shipping template to display shipping time in Polish.
- Refined CSS styles for better layout and responsiveness in checkout areas.
- Updated custom CSS version in the head template and added a script to move the free shipping message to the top of the container.
This commit is contained in:
2025-08-05 23:55:00 +02:00
parent d39433f0d4
commit ec8b8e2992
8 changed files with 1936 additions and 33 deletions

View File

@@ -37,15 +37,6 @@
display: none !important;
}
.form-control,
select.form-control-select.form-control {
height: 35px;
line-height: 35px;
padding: 2px 5px;
background: #FFF;
font-size: 14px;
}
#select-widget {
width: 100% !important;
}
@@ -82,4 +73,183 @@
width: fit-content;
font-size: 14px;
}
}
#checkout .card {
background: #FFF !important;
}
#tc-container {
margin-top: 25px;
.checkout-area-2 {
margin-bottom: 10px;
}
.blocks {
border: 1px solid #eee;
padding: 15px;
}
.checkout-area-4 {
gap: 10px;
margin-bottom: 10px;
}
.checkout-area-9 {
margin-bottom: 10px;
gap: 10px;
}
.checkout-block {
#main {
.block-header {
padding: 0 !important;
}
.cart-grid {
margin: 0 !important;
.card {
padding: 0 !important;
}
.cart-detailed-totals {
background: #FFF !important;
}
.promo-highlighted {
margin-top: 15px;
padding-top: 15px;
border-top: 1px solid #d3d3d3;
}
}
}
}
@media (max-width: 825px) {
.blocks {
display: none !important;
}
}
}
#tc-container-mobile,
#tc-container {
.custom-checkbox {
margin-bottom: 10px !important;
}
.block-header.account-header,
.block-header.address-name-header,
.block-header.shipping-method-header,
.block-header.payment-method-header {
padding: 0 !important;
margin-bottom: 10px;
&::before {
background: #ff0f1c !important;
color: #FFF !important;
border: 0 !important;
}
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea,
select {
border: 1px solid #d3d3d3;
border-radius: 4px;
padding: 10px;
height: 40px;
line-height: 20px;
font-size: 14px;
width: 100%;
color: #000;
&::placeholder {
color: #999 !important;
visibility: visible !important;
opacity: 1 !important;
}
&:focus {
border-color: #7c7c7c !important;
}
}
.cart-line-product-quantity {
width: 80px !important;
}
.suggestion:hover,
.selected {
background: #FFF !important;
}
.remaining-amount-to-free-shipping-container {
margin-bottom: 10px;
}
a.cart-line-product-quantity-up,
a.cart-line-product-quantity-down {
height: 40px !important;
width: 40px !important;
border: 1px solid #d3d3d3 !important;
margin-left: 3px;
margin-right: 3px;
background-size: 30% !important;
}
.delivery-options-list.shipping-selected {
#select-widget {
border: 0 !important;
}
}
.block-promo .promo-input-button .promo-input+button {
flex-basis: auto;
}
}
body.compact-cart #tc-container .qty-container .qty-box {
transform: none !important;
margin-bottom: 5px;
}
#tc-container-mobile {
.checkout-block {
padding: 0 !important;
}
.card.cart-container {
padding: 0 !important;
}
.product-line-actions {
padding-top: 0 !important;
}
.product-line-price {
display: none !important;
}
.cart-detailed-totals {
background: #FFF !important;
}
.card.cart-summary {
padding: 0 !important;
background: #FFF !important;
}
.delivery-options-list.shipping-selected {
#select-widget {
padding-left: 10px;
background-image: none !important;
}
}
}