style checkout page more

This commit is contained in:
2025-04-10 11:28:28 +05:00
parent 48e855dd07
commit ce3abd953f
3 changed files with 48 additions and 22 deletions

View File

@ -1,10 +1,3 @@
<!-- wp:group {"tagName":"header","area":"header","metadata":{"name":"Checkout Header"},"layout":{"type":"constrained"}} -->
<header class="wp-block-group">
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|20","top":"var:preset|spacing|20"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide"
style="padding-top:var(--wp--preset--spacing--20);padding-bottom:var(--wp--preset--spacing--20)">
<!-- wp:site-title {"level":0} /-->
</div>
<!-- /wp:group -->
</header>
<!-- wp:group {"style":{"spacing":{"padding":{"left":"3rem","right":"6rem"}}},"fontSize":"tiny","fontFamily":"jura","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
<div class="wp-block-group has-jura-font-family has-tiny-font-size" style="padding-right:6rem;padding-left:3rem"><!-- wp:site-logo {"shouldSyncIcon":false} /--></div>
<!-- /wp:group -->

View File

@ -1,9 +1,9 @@
<!-- wp:template-part {"slug":"checkout-header","tagName":"header"} /-->
<!-- wp:woocommerce/page-content-wrapper {"page":"checkout"} -->
<!-- wp:group {"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-group">
<!-- wp:woocommerce/store-notices /-->
<!-- wp:post-content {"align":"wide"} /-->
</main>
<main class="wp-block-group"><!-- wp:woocommerce/store-notices /-->
<!-- wp:post-content {"align":"wide"} /--></main>
<!-- /wp:group -->
<!-- /wp:woocommerce/page-content-wrapper -->

View File

@ -313,6 +313,39 @@
"fontSize": "var(--wp--preset--font-size--standard)",
"fontWeight": "300"
}
},
"woocommerce/mini-cart-checkout-button-block": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
},
"variations": {
"outline": {
"color": {
"background": "var(--wp--preset--color--background)",
"text": "var(--wp--preset--color--foreground)"
},
"elements": {
"link": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
}
}
}
}
},
"woocommerce/order-confirmation-billing-address": {
"border": {
"radius": "12px"
}
}
},
"color": {
@ -325,20 +358,20 @@
"text": "var(--wp--preset--color--foreground)"
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--eb-garamond)",
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.0"
}
},
"heading": {
"color": {
"text": "var(--wp--preset--color--foreground)"
}
},
"h2": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--eb-garamond)",
"fontSize": "var(--wp--preset--font-size--x-large)",
"fontStyle": "normal",
"fontWeight": "700",
"lineHeight": "1.0"
}
},
"link": {
":hover": {
"color": {