diff --git a/docs/assets/images/kitchen-sink/premium/keymakerii-thumb.png b/docs/assets/images/kitchen-sink/premium/keymakerii-thumb.png new file mode 100644 index 000000000..fcbe73f8b Binary files /dev/null and b/docs/assets/images/kitchen-sink/premium/keymakerii-thumb.png differ diff --git a/docs/assets/images/kitchen-sink/premium/morpheus-thumb.png b/docs/assets/images/kitchen-sink/premium/morpheus-thumb.png new file mode 100644 index 000000000..979078203 Binary files /dev/null and b/docs/assets/images/kitchen-sink/premium/morpheus-thumb.png differ diff --git a/docs/assets/images/kitchen-sink/premium/seraph-thumb.png b/docs/assets/images/kitchen-sink/premium/seraph-thumb.png new file mode 100644 index 000000000..04305c3d9 Binary files /dev/null and b/docs/assets/images/kitchen-sink/premium/seraph-thumb.png differ diff --git a/docs/pages/experimental/kitchen-sink.md b/docs/pages/experimental/kitchen-sink.md index 0844ac374..0a83db41a 100644 --- a/docs/pages/experimental/kitchen-sink.md +++ b/docs/pages/experimental/kitchen-sink.md @@ -1039,6 +1039,12 @@ toc: false z-index: 1; } + .grid-12-col { + display: grid; + grid-template-columns: repeat(12, 1fr); + gap: var(--wa-space-m); + } + /* general and utility */ .space-vertically { display: flex; @@ -1050,6 +1056,10 @@ toc: false padding: var(--wa-space-3xl) 10%; } + wa-input::part(input) { + width: 100%; + } + /* strata - hero/header */ .project-header { display: flex; @@ -1057,14 +1067,11 @@ toc: false justify-content: space-between; } + .project-header .title { + grid-column-end: col-end; + } /* strata product cards */ - .strata.products { - display: grid; - grid-template-columns: repeat(3, 1fr); - grid-auto-rows: 1fr; - gap: 1rem; - } .products wa-card::part(base) { height: 100%; @@ -1075,6 +1082,7 @@ toc: false } .product-card { + grid-column: span 4; position: relative; } @@ -1102,11 +1110,6 @@ toc: false } /* strata - blog post */ - .blog { - display: grid; - grid-template-columns: repeat(12, 1fr); - gap: 1rem; - } .blog .column-post-header { grid-column: 1 / 5; @@ -1168,11 +1171,6 @@ toc: false } /* strata - product detail */ - .product-detail { - display: grid; - grid-template-columns: repeat(12, 1fr); - gap: 1rem; - } .product-detail .product-detail-images { grid-column: 1 / 6; @@ -1231,7 +1229,47 @@ toc: false --size: var(--wa-font-size-2xl); } + /* strata - Checkout Form */ + .checkout-form .payment { + grid-column: 1 / 6; + } + .checkout-form .order { + grid-column: 7 / 13; + } + + .checkout-form .payment wa-input, + .checkout-form .payment wa-switch { + margin-bottom: var(--wa-space-l); + } + + .checkout-form .order-item { + display: grid; + gap: var(--wa-space-xl); + align-items: center; + justify-content: space-between; + margin-bottom: var(--wa-space-xl); + } + + .order-item img { + grid-column: span 2; + } + + .order-item .name { + grid-column: span 6; + } + + .order-item .finish { + display: block; + } + + .order-item wa-input { + grid-column: span 2; + } + + .order-item .price { + grid-column: span 2; + } /* other */ @@ -1282,7 +1320,7 @@ toc: false - + What you know you can't explain, but you feel it. @@ -1290,7 +1328,7 @@ toc: false - + New @@ -1354,7 +1392,7 @@ toc: false - + Web Awesome Themes @@ -1488,7 +1526,7 @@ toc: false - + @@ -1529,7 +1567,7 @@ toc: false - + Add to Basket @@ -1711,6 +1749,93 @@ toc: false + + + Payment + + + + + + + + + + + + + + + + + + + + + + United States + Canada + + + + + + Sign me up for more offers from this store + Pay Now + + + + Order Summary + + + + Morpheus + + + $120.00 + + + + + Seraph + Tinted + + + $180.00 + + + + + Keymaker II + Glossy + + + $50.00 + + + + Apply + + + + Subtotal + $530.00 + + + Shipping + $8.00 + + + Total + $538.00 + + + + + + + + diff --git a/src/themes/premium.css b/src/themes/premium.css index 00c3a0a73..c34829a77 100644 --- a/src/themes/premium.css +++ b/src/themes/premium.css @@ -307,7 +307,7 @@ /** * Component groups */ - --wa-form-controls-background: var(--wa-color-surface-default); + --wa-form-controls-background: transparent; --wa-form-controls-corners: var(--wa-corners-s); @@ -359,6 +359,14 @@ --symbol-color-active: var(--wa-color-base-50); } + wa-switch { + --thumb-color: var(--wa-color-neutral-fill-subtle); + --thumb-color-checked: var(--wa-color-brand-fill-subtle); + --border-width: var(--wa-border-width-m); + --height: 24px; + --width: 40px; + } + wa-button { --box-shadow: inset 0 0.03125rem 0 0 rgb(255 255 255 / 0.5), inset 0 0.125rem 0 0 rgb(255 255 255 / 0.1), inset 0 -0.0625rem 0 0 rgb(0 0 0 / 0.2), var(--wa-shadow-level-1); @@ -511,6 +519,23 @@ .support-table tr:hover { background-color: var(--wa-color-brand-fill-subtle); } */ + + .checkout-form wa-input, + .checkout-form wa-switch { + margin-bottom: var(--wa-space-l); + } + + .checkout-form wa-input::part(form-control-label), + .checkout-form wa-select::part(form-control-label) { + font-size: var(--wa-font-size-s); + margin-bottom: var(--wa-space-xs); + } + + .order-item .finish { + color: var(--wa-color-text-quiet); + font-size: var(--wa-font-size-s); + font-style: italic; + } } .wa-theme-premium-dark,