customize cart page

This commit is contained in:
2025-05-09 22:52:58 +05:00
parent 23691f5c22
commit f6830e56d2
4 changed files with 43 additions and 11 deletions

View File

@ -356,7 +356,11 @@ body {
// Make sure error feedback text uses foreground color
.wc-block-components-notice-banner,
.woocommerce-error {
// color: var(--wp--preset--color--foreground);
a {
color: black;
}
&.is-error,
&.is-info,
@ -534,6 +538,7 @@ body {
.form-row.woocommerce-SavedPaymentMethods-saveNew.woocommerce-validated label {
color: black;
}
#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
@ -549,6 +554,7 @@ body {
.payment_box.payment_method_stripe fieldset {
border: none;
}
.woocommerce form .form-row.woocommerce-invalid label {
color: var(--wp--preset--color--foreground) !important;
}
@ -557,7 +563,9 @@ body {
border-color: var(--wp--preset--color--foreground);
}
.woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
border-color: var(--wp--preset--color--foreground);
}
@ -578,19 +586,23 @@ body {
max-width: 1440px !important;
gap: 4rem;
&::before, &::after {
&::before,
&::after {
display: none;
}
.woocommerce-MyAccount-navigation {
width: unset;
float: unset;
li.woocommerce-MyAccount-navigation-link {
padding-bottom: 0;
&.is-active a {
background: var(--wp--preset--color--foreground);
color: var(--wp--preset--color--background);
}
a {
text-decoration: none;
text-transform: uppercase;
@ -605,7 +617,7 @@ body {
}
}
}
.woocommerce-MyAccount-content {
float: unset;
border: 1px solid;
@ -614,3 +626,12 @@ body {
}
}
}
.is-large.wc-block-cart .wc-block-cart-items {
border: 1px solid;
border-radius: 12px;
border-radius: 12px;
border-color: #FAF7EF5E;
padding-block: 1rem;
padding-inline: 1rem;
}