213 lines
6.5 KiB
CSS
213 lines
6.5 KiB
CSS
:root {
|
|
--checkout-max-width: 1180px;
|
|
}
|
|
|
|
body.test1-checkout-page {
|
|
min-width: 320px;
|
|
}
|
|
|
|
.test1-checkout-page .checkout-shell {
|
|
display: grid;
|
|
gap: 28px;
|
|
align-items: start;
|
|
}
|
|
|
|
.test1-checkout-page .checkout-intro {
|
|
max-width: 780px;
|
|
}
|
|
|
|
.test1-checkout-page .checkout-card {
|
|
padding: clamp(22px, 3vw, 36px);
|
|
}
|
|
|
|
.test1-checkout-page .checkout-back-link {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.test1-checkout-page .entry-content,
|
|
.test1-checkout-page .woocommerce,
|
|
.test1-checkout-page .wc-block-checkout,
|
|
.test1-checkout-page .wc-block-cart,
|
|
.test1-checkout-page .is-large {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce {
|
|
color: var(--text);
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce a,
|
|
.test1-checkout-page .wc-block-components-text-input input,
|
|
.test1-checkout-page .wc-block-components-combobox .components-combobox-control__input,
|
|
.test1-checkout-page .wc-block-components-textarea,
|
|
.test1-checkout-page .wc-block-components-text-input label,
|
|
.test1-checkout-page .wc-block-components-checkbox label {
|
|
color: var(--text);
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce form .form-row input.input-text,
|
|
.test1-checkout-page .woocommerce form .form-row textarea,
|
|
.test1-checkout-page .woocommerce form .form-row select,
|
|
.test1-checkout-page .wc-block-components-text-input input,
|
|
.test1-checkout-page .wc-block-components-text-input select,
|
|
.test1-checkout-page .wc-block-components-textarea textarea,
|
|
.test1-checkout-page .components-text-control__input,
|
|
.test1-checkout-page .components-form-token-field__input,
|
|
.test1-checkout-page .components-combobox-control__input {
|
|
min-height: 56px;
|
|
padding: 14px 16px;
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(18, 48, 89, 0.14);
|
|
background: rgba(255, 255, 255, 0.9);
|
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce form .form-row textarea,
|
|
.test1-checkout-page .wc-block-components-textarea textarea {
|
|
min-height: 120px;
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce-checkout #payment,
|
|
.test1-checkout-page .woocommerce-billing-fields,
|
|
.test1-checkout-page .woocommerce-additional-fields,
|
|
.test1-checkout-page #order_review,
|
|
.test1-checkout-page .wc-block-components-sidebar,
|
|
.test1-checkout-page .wc-block-components-totals-wrapper,
|
|
.test1-checkout-page .wc-block-checkout__main,
|
|
.test1-checkout-page .wc-block-checkout__sidebar,
|
|
.test1-checkout-page .wc-block-components-checkout-step,
|
|
.test1-checkout-page .wc-block-components-order-summary,
|
|
.test1-checkout-page .wc-block-components-totals-coupon,
|
|
.test1-checkout-page .wc-block-components-shipping-rates-control,
|
|
.test1-checkout-page .wc-block-components-address-form {
|
|
border-radius: 24px;
|
|
border: 1px solid rgba(255, 255, 255, 0.72);
|
|
background: rgba(255, 255, 255, 0.76);
|
|
box-shadow: 0 30px 80px rgba(10, 43, 109, 0.12);
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce-checkout #payment,
|
|
.test1-checkout-page .woocommerce-billing-fields,
|
|
.test1-checkout-page .woocommerce-additional-fields,
|
|
.test1-checkout-page #order_review {
|
|
padding: 24px;
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce form .form-row {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce form .form-row label,
|
|
.test1-checkout-page .wc-block-components-text-input label,
|
|
.test1-checkout-page .wc-block-components-checkbox label,
|
|
.test1-checkout-page .wc-block-components-radio-control__option-label {
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce button.button,
|
|
.test1-checkout-page .woocommerce #payment #place_order,
|
|
.test1-checkout-page .wc-block-components-button,
|
|
.test1-checkout-page .wc-block-cart__submit-button,
|
|
.test1-checkout-page .wc-block-components-checkout-place-order-button {
|
|
min-height: 56px;
|
|
padding: 16px 22px;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
color: #fff;
|
|
background: linear-gradient(135deg, var(--primary-strong), var(--primary));
|
|
box-shadow: 0 16px 30px rgba(13, 79, 214, 0.25);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce button.button:hover,
|
|
.test1-checkout-page .woocommerce #payment #place_order:hover,
|
|
.test1-checkout-page .wc-block-components-button:hover,
|
|
.test1-checkout-page .wc-block-cart__submit-button:hover,
|
|
.test1-checkout-page .wc-block-components-checkout-place-order-button:hover {
|
|
transform: translateY(-1px);
|
|
filter: brightness(1.03);
|
|
}
|
|
|
|
.test1-checkout-page table.shop_table,
|
|
.test1-checkout-page .wc-block-components-order-summary-item,
|
|
.test1-checkout-page .wc-block-components-product-name {
|
|
color: var(--text);
|
|
}
|
|
|
|
.test1-checkout-page table.shop_table td,
|
|
.test1-checkout-page table.shop_table th,
|
|
.test1-checkout-page .woocommerce-checkout-review-order-table th,
|
|
.test1-checkout-page .woocommerce-checkout-review-order-table td {
|
|
border-color: rgba(18, 48, 89, 0.1);
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce-info,
|
|
.test1-checkout-page .woocommerce-message,
|
|
.test1-checkout-page .woocommerce-error,
|
|
.test1-checkout-page .wc-block-components-notice-banner {
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(18, 48, 89, 0.1);
|
|
background: rgba(255, 255, 255, 0.84);
|
|
color: var(--text);
|
|
}
|
|
|
|
.test1-checkout-page .select2-container--default .select2-selection--single,
|
|
.test1-checkout-page .select2-container--default .select2-selection--multiple {
|
|
min-height: 56px;
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(18, 48, 89, 0.14);
|
|
background: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.test1-checkout-page .woocommerce-checkout-review-order-table,
|
|
.test1-checkout-page #add_payment_method #payment div.payment_box,
|
|
.test1-checkout-page .woocommerce-cart #payment div.payment_box,
|
|
.test1-checkout-page .woocommerce-checkout #payment div.payment_box {
|
|
background: rgba(219, 246, 255, 0.45);
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.test1-checkout-page .wc-block-components-sidebar-layout {
|
|
gap: 24px;
|
|
}
|
|
|
|
.test1-checkout-page .wc-block-checkout__main,
|
|
.test1-checkout-page .wc-block-checkout__sidebar {
|
|
padding: 22px;
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.test1-checkout-page .checkout-shell {
|
|
grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 781px) {
|
|
.test1-checkout-page .header-row,
|
|
.test1-checkout-page .header-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.test1-checkout-page .header-actions {
|
|
width: 100%;
|
|
justify-content: stretch;
|
|
}
|
|
|
|
.test1-checkout-page .header-actions > * {
|
|
flex: 1 1 100%;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.test1-checkout-page .checkout-card,
|
|
.test1-checkout-page .woocommerce-checkout #payment,
|
|
.test1-checkout-page .woocommerce-billing-fields,
|
|
.test1-checkout-page .woocommerce-additional-fields,
|
|
.test1-checkout-page #order_review,
|
|
.test1-checkout-page .wc-block-checkout__main,
|
|
.test1-checkout-page .wc-block-checkout__sidebar {
|
|
padding: 18px;
|
|
}
|
|
}
|