Files
wyczarujprezent.pl/themes/charme/assets/css/custom.scss

278 lines
4.5 KiB
SCSS

.an_banner {
position: relative;
.an_banner-link {
position: absolute;
inset: 0;
}
}
#tc-container,
#tc-container-mobile {
.text {
position: static !important;
}
.form-group {
margin-bottom: 0;
padding-right: 5px;
}
.custom-checkbox {
span.label {
font-size: 14px;
display: block;
}
}
.field-label {
font-size: 14px;
}
.checkout-block {
padding: 0 15px;
}
#thecheckout-html-box-1 {
display: none !important;
}
#select-widget {
width: 100% !important;
}
.delivery-options .row.delivery-option {
flex-wrap: wrap !important;
}
.delivery-option-detail,
.payment-option {
* {
font-size: 14px !important;
}
}
}
.top-bar {
background: #ff0f1c;
color: #FFF !important;
display: flex;
gap: 10px;
justify-content: center;
width: 100%;
.text-container {
width: 100%;
display: flex;
gap: 10px;
justify-content: center;
}
div.text {
text-align: center;
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;
}
#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 {
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;
}
}
#promo-code {
.promo-input-button {
display: grid !important;
grid-template-columns: 1fr !important;
height: fit-content !important;
}
}
.promo-code {
form {
width: 100% !important;
}
}
}