mockups: domains rulings (chips, Detach, step 1 country)
Rebuilt on the regenerated kit shell (copied .tile-warn rule dropped); every mockup-only CSS rule commented with its future console class. Live/Waiting for DNS/In Trash use success/warning/neutral chips and "Addresses live" skips apps in Trash. Detach on every attached address, bought or registered elsewhere; address rows wrap on a phone so the status chip is never cut off. Step 1 gains the country select variant for an account with no billing currency and no saved contact. Overview notes the members' view.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 files changed,
+98
−92
docs/superpowers/mockups/domains-account-kit/buy-app.html+2 −13docs/superpowers/mockups/domains-account-kit/buy-name.html+26 −9docs/superpowers/mockups/domains-account-kit/buy-pay.html+11 −12docs/superpowers/mockups/domains-account-kit/contacts.html+6 −12docs/superpowers/mockups/domains-account-kit/domain-bought.html+9 −10docs/superpowers/mockups/domains-account-kit/domain-elsewhere.html+25 −14docs/superpowers/mockups/domains-account-kit/overview.html+15 −12docs/superpowers/mockups/domains-account-kit/purchase-card.html+4 −10
diff --git a/docs/superpowers/mockups/domains-account-kit/buy-app.html b/docs/superpowers/mockups/domains-account-kit/buy-app.html| index 1b1a9266e..cb573e5b3 100644 |
| --- a/docs/superpowers/mockups/domains-account-kit/buy-app.html |
| +++ b/docs/superpowers/mockups/domains-account-kit/buy-app.html |
| @@ -494,6 +494,8 @@ |
| .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; } |
| .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; } |
| + .tile-warn .tile-value { color: var(--warn, #a6790f); } |
| + |
| .chip { |
| display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; |
| padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0; |
| @@ -1187,19 +1189,6 @@ |
| </nav> |
| </header> |
| <main> |
| -<style> |
| -/* New for these mockups: nothing in the styleguide fits. */ |
| -/* A domain card's header row: the name, where it is registered, expiry. */ |
| -.domain-head { flex-wrap: wrap; row-gap: 0.2rem; background-color: var(--panel-cool); border-bottom: 1px solid var(--rule); } |
| -.domain-head .envvar-name { font-weight: 600; } |
| -.domain-head .envvar-value { flex: 1 1 14rem; white-space: normal; } |
| -.domain-head .chip { margin: 0; } |
| -/* Mockup-only: names the state when one file shows several. */ |
| -.mock-state { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--rule); } |
| -.pagehead + .mock-state { margin-top: 0; padding-top: 0; border-top: 0; } |
| -/* In console_chrome.html already; the kit shell predates it (stale shell). */ |
| -.tile-warn .tile-value { color: var(--warn, #a6790f); } |
| -</style> |
| <div class="pagehead"> |
| <p class="eyebrow">Domains · shop</p> |
| <h1>Buy a domain</h1> |
diff --git a/docs/superpowers/mockups/domains-account-kit/buy-name.html b/docs/superpowers/mockups/domains-account-kit/buy-name.html| index 107b85d16..04636d06f 100644 |
| --- a/docs/superpowers/mockups/domains-account-kit/buy-name.html |
| +++ b/docs/superpowers/mockups/domains-account-kit/buy-name.html |
| @@ -494,6 +494,8 @@ |
| .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; } |
| .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; } |
| + .tile-warn .tile-value { color: var(--warn, #a6790f); } |
| + |
| .chip { |
| display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; |
| padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0; |
| @@ -1188,17 +1190,10 @@ |
| </header> |
| <main> |
| <style> |
| -/* New for these mockups: nothing in the styleguide fits. */ |
| -/* A domain card's header row: the name, where it is registered, expiry. */ |
| -.domain-head { flex-wrap: wrap; row-gap: 0.2rem; background-color: var(--panel-cool); border-bottom: 1px solid var(--rule); } |
| -.domain-head .envvar-name { font-weight: 600; } |
| -.domain-head .envvar-value { flex: 1 1 14rem; white-space: normal; } |
| -.domain-head .chip { margin: 0; } |
| -/* Mockup-only: names the state when one file shows several. */ |
| +/* Mockup annotation only, not for the console: labels each state when one file shows several. */ |
| .mock-state { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--rule); } |
| +/* Mockup annotation only, not for the console: no rule when the label opens the page. */ |
| .pagehead + .mock-state { margin-top: 0; padding-top: 0; border-top: 0; } |
| -/* In console_chrome.html already; the kit shell predates it (stale shell). */ |
| -.tile-warn .tile-value { color: var(--warn, #a6790f); } |
| </style> |
| <div class="pagehead"> |
| <p class="eyebrow">Domains · shop</p> |
| @@ -1224,6 +1219,28 @@ |
| </div> |
| </form> |
| +<p class="small mock-state">Mockup: the same step for an account with no billing currency and no saved contact. The country sets the prices shown.</p> |
| +<form class="settings-row" method="get" action="/a/shop/domains/buy"> |
| + <label>Name <input type="text" name="q" value="example" autocomplete="off"></label> |
| + <label>Country <select name="country" autocomplete="country" required> |
| + <option value="">Choose</option> |
| + <option value="GB">United Kingdom</option> |
| + <option value="IE" selected>Ireland</option> |
| + <option value="US">United States</option> |
| + </select></label> |
| + <button type="submit" class="btn-secondary">Search</button> |
| +</form> |
| +<form method="post" action="/a/shop/domains/buy/name"> |
| + <input type="hidden" name="csrf" value="mockup"> |
| + <input type="hidden" name="country" value="IE"> |
| + <div class="tablewrap"> |
| + <ul class="envvars outcomes"> |
| + <li><div class="envvar-row"><code class="envvar-name">example.com</code><span class="envvar-value">€14 a year <button type="submit" class="btn-sm btn-secondary" name="name" value="example.com">Choose</button></span></div></li> |
| + <li><div class="envvar-row"><code class="envvar-name">example.net</code><span class="envvar-value">€17 a year <button type="submit" class="btn-sm btn-secondary" name="name" value="example.net">Choose</button></span></div></li> |
| + <li><div class="envvar-row"><code class="envvar-name">example.org</code><span class="envvar-value"><span class="chip chip-env">Taken</span></span></div></li> |
| + </ul> |
| + </div> |
| +</form> |
| </main> |
| <script> |
diff --git a/docs/superpowers/mockups/domains-account-kit/buy-pay.html b/docs/superpowers/mockups/domains-account-kit/buy-pay.html| index 69ac94d87..49fce272f 100644 |
| --- a/docs/superpowers/mockups/domains-account-kit/buy-pay.html |
| +++ b/docs/superpowers/mockups/domains-account-kit/buy-pay.html |
| @@ -494,6 +494,8 @@ |
| .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; } |
| .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; } |
| + .tile-warn .tile-value { color: var(--warn, #a6790f); } |
| + |
| .chip { |
| display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; |
| padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0; |
| @@ -1188,26 +1190,23 @@ |
| </header> |
| <main> |
| <style> |
| -/* New for these mockups: nothing in the styleguide fits. */ |
| -/* A domain card's header row: the name, where it is registered, expiry. */ |
| -.domain-head { flex-wrap: wrap; row-gap: 0.2rem; background-color: var(--panel-cool); border-bottom: 1px solid var(--rule); } |
| -.domain-head .envvar-name { font-weight: 600; } |
| -.domain-head .envvar-value { flex: 1 1 14rem; white-space: normal; } |
| -.domain-head .chip { margin: 0; } |
| -/* Mockup-only: names the state when one file shows several. */ |
| -.mock-state { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--rule); } |
| -.pagehead + .mock-state { margin-top: 0; padding-top: 0; border-top: 0; } |
| -/* In console_chrome.html already; the kit shell predates it (stale shell). */ |
| -.tile-warn .tile-value { color: var(--warn, #a6790f); } |
| -/* Step 3: radio rows for the saved contacts; the new-contact fields show only when that row is chosen (works without scripts). */ |
| +/* Mockup-only; becomes .contact-pick in console_chrome.html: radio rows on the variable-row list. */ |
| .contact-pick .envvar-row { align-items: center; cursor: pointer; } |
| +/* Mockup-only; part of .contact-pick in console_chrome.html: the radio in the accent colour. */ |
| .contact-pick input { margin: 0; accent-color: var(--accent); } |
| +/* Mockup-only; becomes .contact-find in console_chrome.html: the filter above the contact list. */ |
| .contact-find { margin: 0 0 0.6rem; width: 100%; max-width: 24rem; box-sizing: border-box; } |
| +/* Mockup-only; becomes .newcontact in console_chrome.html: the new-contact fields, hidden until chosen. */ |
| .newcontact { display: none; } |
| +/* Mockup-only; part of .newcontact in console_chrome.html: shown when "Add a new contact" is chosen, no script needed. */ |
| form:has(#contact-new:checked) .newcontact { display: block; } |
| +/* Mockup-only; becomes .fields in console_chrome.html: a wrapping grid of labelled inputs. */ |
| .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem 1rem; margin: 0.25rem 0 1rem; } |
| +/* Mockup-only; part of .fields in console_chrome.html: no paragraph margin inside the grid. */ |
| .fields p { margin: 0; } |
| +/* Mockup-only; part of .fields in console_chrome.html: the label sits above its input. */ |
| .fields label { display: block; font-size: 0.9rem; font-weight: 600; margin: 0 0 0.25rem; } |
| +/* Mockup-only; part of .fields in console_chrome.html: inputs fill their cell. */ |
| .fields :is(input, select) { width: 100%; box-sizing: border-box; } |
| </style> |
| <div class="pagehead"> |
diff --git a/docs/superpowers/mockups/domains-account-kit/contacts.html b/docs/superpowers/mockups/domains-account-kit/contacts.html| index 018f40991..5ec6b17a8 100644 |
| --- a/docs/superpowers/mockups/domains-account-kit/contacts.html |
| +++ b/docs/superpowers/mockups/domains-account-kit/contacts.html |
| @@ -494,6 +494,8 @@ |
| .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; } |
| .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; } |
| + .tile-warn .tile-value { color: var(--warn, #a6790f); } |
| + |
| .chip { |
| display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; |
| padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0; |
| @@ -1188,21 +1190,13 @@ |
| </header> |
| <main> |
| <style> |
| -/* New for these mockups: nothing in the styleguide fits. */ |
| -/* A domain card's header row: the name, where it is registered, expiry. */ |
| -.domain-head { flex-wrap: wrap; row-gap: 0.2rem; background-color: var(--panel-cool); border-bottom: 1px solid var(--rule); } |
| -.domain-head .envvar-name { font-weight: 600; } |
| -.domain-head .envvar-value { flex: 1 1 14rem; white-space: normal; } |
| -.domain-head .chip { margin: 0; } |
| -/* Mockup-only: names the state when one file shows several. */ |
| -.mock-state { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--rule); } |
| -.pagehead + .mock-state { margin-top: 0; padding-top: 0; border-top: 0; } |
| -/* In console_chrome.html already; the kit shell predates it (stale shell). */ |
| -.tile-warn .tile-value { color: var(--warn, #a6790f); } |
| -/* Contact fields: a wrapping grid of labelled inputs. */ |
| +/* Mockup-only; becomes .fields in console_chrome.html: a wrapping grid of labelled inputs. */ |
| .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem 1rem; margin: 0.25rem 0 1rem; } |
| +/* Mockup-only; part of .fields in console_chrome.html: no paragraph margin inside the grid. */ |
| .fields p { margin: 0; } |
| +/* Mockup-only; part of .fields in console_chrome.html: the label sits above its input. */ |
| .fields label { display: block; font-size: 0.9rem; font-weight: 600; margin: 0 0 0.25rem; } |
| +/* Mockup-only; part of .fields in console_chrome.html: inputs fill their cell. */ |
| .fields :is(input, select) { width: 100%; box-sizing: border-box; } |
| </style> |
| <div class="pagehead"> |
diff --git a/docs/superpowers/mockups/domains-account-kit/domain-bought.html b/docs/superpowers/mockups/domains-account-kit/domain-bought.html| index f55e6e825..456b55858 100644 |
| --- a/docs/superpowers/mockups/domains-account-kit/domain-bought.html |
| +++ b/docs/superpowers/mockups/domains-account-kit/domain-bought.html |
| @@ -494,6 +494,8 @@ |
| .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; } |
| .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; } |
| + .tile-warn .tile-value { color: var(--warn, #a6790f); } |
| + |
| .chip { |
| display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; |
| padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0; |
| @@ -1188,17 +1190,14 @@ |
| </header> |
| <main> |
| <style> |
| -/* New for these mockups: nothing in the styleguide fits. */ |
| -/* A domain card's header row: the name, where it is registered, expiry. */ |
| -.domain-head { flex-wrap: wrap; row-gap: 0.2rem; background-color: var(--panel-cool); border-bottom: 1px solid var(--rule); } |
| -.domain-head .envvar-name { font-weight: 600; } |
| -.domain-head .envvar-value { flex: 1 1 14rem; white-space: normal; } |
| -.domain-head .chip { margin: 0; } |
| -/* Mockup-only: names the state when one file shows several. */ |
| +/* Mockup-only; becomes .addr-rows in console_chrome.html: address rows wrap on a phone so the status chip is never cut off. */ |
| +.addr-rows .envvar > summary { flex-wrap: wrap; row-gap: 0.3rem; } |
| +/* Mockup-only; part of .addr-rows in console_chrome.html: the app and chip keep their full width. */ |
| +.addr-rows .envvar-value { flex: 1 0 auto; } |
| +/* Mockup annotation only, not for the console: labels each state when one file shows several. */ |
| .mock-state { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--rule); } |
| +/* Mockup annotation only, not for the console: no rule when the label opens the page. */ |
| .pagehead + .mock-state { margin-top: 0; padding-top: 0; border-top: 0; } |
| -/* In console_chrome.html already; the kit shell predates it (stale shell). */ |
| -.tile-warn .tile-value { color: var(--warn, #a6790f); } |
| </style> |
| <div class="pagehead"> |
| <p class="eyebrow">Domains · shop</p> |
| @@ -1220,7 +1219,7 @@ |
| <h2>Addresses</h2> |
| <div class="tablewrap"> |
| - <ul class="envvars"> |
| + <ul class="envvars addr-rows"> |
| <li><details class="envvar"><summary><code class="envvar-name">example.com</code><span class="envvar-value"><a href="/a/shop/apps/shop">shop</a> <span class="chip chip-health-ok">Live</span></span><span class="envvar-edit"><span class="envvar-when-closed">Detach</span><span class="envvar-when-open">Close</span></span></summary> |
| <form class="envvar-panel settings-row" method="post" action="/a/shop/apps/shop/domains/detach"> |
| <input type="hidden" name="csrf" value="mockup"> |
diff --git a/docs/superpowers/mockups/domains-account-kit/domain-elsewhere.html b/docs/superpowers/mockups/domains-account-kit/domain-elsewhere.html| index 0dc81f243..94bb8421f 100644 |
| --- a/docs/superpowers/mockups/domains-account-kit/domain-elsewhere.html |
| +++ b/docs/superpowers/mockups/domains-account-kit/domain-elsewhere.html |
| @@ -494,6 +494,8 @@ |
| .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; } |
| .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; } |
| + .tile-warn .tile-value { color: var(--warn, #a6790f); } |
| + |
| .chip { |
| display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; |
| padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0; |
| @@ -1188,17 +1190,10 @@ |
| </header> |
| <main> |
| <style> |
| -/* New for these mockups: nothing in the styleguide fits. */ |
| -/* A domain card's header row: the name, where it is registered, expiry. */ |
| -.domain-head { flex-wrap: wrap; row-gap: 0.2rem; background-color: var(--panel-cool); border-bottom: 1px solid var(--rule); } |
| -.domain-head .envvar-name { font-weight: 600; } |
| -.domain-head .envvar-value { flex: 1 1 14rem; white-space: normal; } |
| -.domain-head .chip { margin: 0; } |
| -/* Mockup-only: names the state when one file shows several. */ |
| -.mock-state { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--rule); } |
| -.pagehead + .mock-state { margin-top: 0; padding-top: 0; border-top: 0; } |
| -/* In console_chrome.html already; the kit shell predates it (stale shell). */ |
| -.tile-warn .tile-value { color: var(--warn, #a6790f); } |
| +/* Mockup-only; becomes .addr-rows in console_chrome.html: address rows wrap on a phone so the status chip is never cut off. */ |
| +.addr-rows .envvar > summary { flex-wrap: wrap; row-gap: 0.3rem; } |
| +/* Mockup-only; part of .addr-rows in console_chrome.html: the app and chip keep their full width. */ |
| +.addr-rows .envvar-value { flex: 1 0 auto; } |
| </style> |
| <div class="pagehead"> |
| <p class="eyebrow">Domains · shop</p> |
| @@ -1216,9 +1211,25 @@ |
| <h2>Addresses</h2> |
| <div class="tablewrap"> |
| - <ul class="envvars outcomes"> |
| - <li><div class="envvar-row"><code class="envvar-name">docs.example.org</code><span class="envvar-value"><a href="/a/shop/apps/docs">docs</a> <span class="chip chip-stale">Waiting for DNS</span></span></div></li> |
| - <li><div class="envvar-row"><code class="envvar-name">www.example.org</code><span class="envvar-value"><a href="/a/shop/apps/blog">blog</a> <span class="chip chip-health-ok">Live</span></span></div></li> |
| + <ul class="envvars addr-rows"> |
| + <li><details class="envvar"><summary><code class="envvar-name">docs.example.org</code><span class="envvar-value"><a href="/a/shop/apps/docs">docs</a> <span class="chip chip-stale">Waiting for DNS</span></span><span class="envvar-edit"><span class="envvar-when-closed">Detach</span><span class="envvar-when-open">Close</span></span></summary> |
| + <form class="envvar-panel settings-row" method="post" action="/a/shop/apps/docs/domains/detach"> |
| + <input type="hidden" name="csrf" value="mockup"> |
| + <input type="hidden" name="host" value="docs.example.org"> |
| + <label class="visually-hidden" for="detach-docs.example.org">Type docs.example.org to confirm detaching it</label> |
| + <input type="text" id="detach-docs.example.org" name="confirm" placeholder="type docs.example.org to confirm" autocomplete="off" required> |
| + <button type="submit" class="btn-sm btn-danger">Detach</button> |
| + </form> |
| + </details></li> |
| + <li><details class="envvar"><summary><code class="envvar-name">www.example.org</code><span class="envvar-value"><a href="/a/shop/apps/blog">blog</a> <span class="chip chip-health-ok">Live</span></span><span class="envvar-edit"><span class="envvar-when-closed">Detach</span><span class="envvar-when-open">Close</span></span></summary> |
| + <form class="envvar-panel settings-row" method="post" action="/a/shop/apps/blog/domains/detach"> |
| + <input type="hidden" name="csrf" value="mockup"> |
| + <input type="hidden" name="host" value="www.example.org"> |
| + <label class="visually-hidden" for="detach-www.example.org">Type www.example.org to confirm detaching it</label> |
| + <input type="text" id="detach-www.example.org" name="confirm" placeholder="type www.example.org to confirm" autocomplete="off" required> |
| + <button type="submit" class="btn-sm btn-danger">Detach</button> |
| + </form> |
| + </details></li> |
| </ul> |
| </div> |
diff --git a/docs/superpowers/mockups/domains-account-kit/overview.html b/docs/superpowers/mockups/domains-account-kit/overview.html| index bcd6db1fc..b8b34a35c 100644 |
| --- a/docs/superpowers/mockups/domains-account-kit/overview.html |
| +++ b/docs/superpowers/mockups/domains-account-kit/overview.html |
| @@ -494,6 +494,8 @@ |
| .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; } |
| .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; } |
| + .tile-warn .tile-value { color: var(--warn, #a6790f); } |
| + |
| .chip { |
| display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; |
| padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0; |
| @@ -1188,23 +1190,24 @@ |
| </header> |
| <main> |
| <style> |
| -/* New for these mockups: nothing in the styleguide fits. */ |
| -/* A domain card's header row: the name, where it is registered, expiry. */ |
| +/* Mockup-only; becomes .domain-head in console_chrome.html: a domain card's header row. */ |
| .domain-head { flex-wrap: wrap; row-gap: 0.2rem; background-color: var(--panel-cool); border-bottom: 1px solid var(--rule); } |
| +/* Mockup-only; part of .domain-head in console_chrome.html: the domain name in bold. */ |
| .domain-head .envvar-name { font-weight: 600; } |
| +/* Mockup-only; part of .domain-head in console_chrome.html: the expiry line wraps under the name on a phone. */ |
| .domain-head .envvar-value { flex: 1 1 14rem; white-space: normal; } |
| +/* Mockup-only; part of .domain-head in console_chrome.html: the chip sits on the row without extra margin. */ |
| .domain-head .chip { margin: 0; } |
| -/* Mockup-only: names the state when one file shows several. */ |
| -.mock-state { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--rule); } |
| -.pagehead + .mock-state { margin-top: 0; padding-top: 0; border-top: 0; } |
| -/* In console_chrome.html already; the kit shell predates it (stale shell). */ |
| -.tile-warn .tile-value { color: var(--warn, #a6790f); } |
| -/* Contact fields: a wrapping grid of labelled inputs. */ |
| +/* Mockup-only; becomes .fields in console_chrome.html: a wrapping grid of labelled inputs. */ |
| .fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem 1rem; margin: 0.25rem 0 1rem; } |
| +/* Mockup-only; part of .fields in console_chrome.html: no paragraph margin inside the grid. */ |
| .fields p { margin: 0; } |
| +/* Mockup-only; part of .fields in console_chrome.html: the label sits above its input. */ |
| .fields label { display: block; font-size: 0.9rem; font-weight: 600; margin: 0 0 0.25rem; } |
| +/* Mockup-only; part of .fields in console_chrome.html: inputs fill their cell. */ |
| .fields :is(input, select) { width: 100%; box-sizing: border-box; } |
| </style> |
| +<!-- Mockup: the owner's view. Members see the same page without Buy a domain, Add a domain you own, Point at an app and Saved contacts. "Addresses live" counts only addresses on apps not in Trash. --> |
| <div class="pagehead"> |
| <p class="eyebrow">Account · shop</p> |
| <h1>Domains</h1> |
| @@ -1213,8 +1216,8 @@ |
| <section class="tiles stat-tiles" aria-label="Domains at a glance"> |
| <div class="tile tile-warn"> |
| <h2>Addresses live</h2> |
| - <p class="tile-value">3 of 6</p> |
| - <p class="tile-detail">1 waiting for DNS, 2 on an app in Trash</p> |
| + <p class="tile-value">3 of 4</p> |
| + <p class="tile-detail">1 waiting for DNS</p> |
| </div> |
| <div class="tile"> |
| <h2>Next expiry</h2> |
| @@ -1234,8 +1237,8 @@ |
| <section class="tablewrap" aria-label="example.co.uk"> |
| <div class="envvar-row domain-head"><a class="envvar-name" href="/a/shop/domains/example.co.uk">example.co.uk</a><span class="chip chip-canary">Bought here</span><span class="envvar-value small">Expires <time datetime="2027-03-02">2 Mar 2027</time> · next year £9</span></div> |
| <ul class="envvars outcomes"> |
| - <li><div class="envvar-row"><code class="envvar-name">example.co.uk</code><span class="envvar-value"><a href="/a/shop/trash">oldshop</a> <span class="chip chip-stale">In Trash</span></span></div></li> |
| - <li><div class="envvar-row"><code class="envvar-name">www.example.co.uk</code><span class="envvar-value"><a href="/a/shop/trash">oldshop</a> <span class="chip chip-stale">In Trash</span></span></div></li> |
| + <li><div class="envvar-row"><code class="envvar-name">example.co.uk</code><span class="envvar-value"><a href="/a/shop/trash">oldshop</a> <span class="chip chip-env">In Trash</span></span></div></li> |
| + <li><div class="envvar-row"><code class="envvar-name">www.example.co.uk</code><span class="envvar-value"><a href="/a/shop/trash">oldshop</a> <span class="chip chip-env">In Trash</span></span></div></li> |
| </ul> |
| </section> |
diff --git a/docs/superpowers/mockups/domains-account-kit/purchase-card.html b/docs/superpowers/mockups/domains-account-kit/purchase-card.html| index f73e26f00..378b252ff 100644 |
| --- a/docs/superpowers/mockups/domains-account-kit/purchase-card.html |
| +++ b/docs/superpowers/mockups/domains-account-kit/purchase-card.html |
| @@ -494,6 +494,8 @@ |
| .tile-value { font-size: 1.6rem; font-weight: 600; margin: 0; } |
| .tile-detail { color: var(--muted); font-size: 0.8rem; margin: 0.25rem 0 0; } |
| + .tile-warn .tile-value { color: var(--warn, #a6790f); } |
| + |
| .chip { |
| display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 500; |
| padding: 0.15rem 0.55rem; border-radius: 999px; margin: 0.15rem 0.3rem 0.15rem 0; |
| @@ -1188,17 +1190,10 @@ |
| </header> |
| <main> |
| <style> |
| -/* New for these mockups: nothing in the styleguide fits. */ |
| -/* A domain card's header row: the name, where it is registered, expiry. */ |
| -.domain-head { flex-wrap: wrap; row-gap: 0.2rem; background-color: var(--panel-cool); border-bottom: 1px solid var(--rule); } |
| -.domain-head .envvar-name { font-weight: 600; } |
| -.domain-head .envvar-value { flex: 1 1 14rem; white-space: normal; } |
| -.domain-head .chip { margin: 0; } |
| -/* Mockup-only: names the state when one file shows several. */ |
| +/* Mockup annotation only, not for the console: labels each state when one file shows several. */ |
| .mock-state { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--rule); } |
| +/* Mockup annotation only, not for the console: no rule when the label opens the page. */ |
| .pagehead + .mock-state { margin-top: 0; padding-top: 0; border-top: 0; } |
| -/* In console_chrome.html already; the kit shell predates it (stale shell). */ |
| -.tile-warn .tile-value { color: var(--warn, #a6790f); } |
| /* Copied unchanged from internal/console/templates/domain_buy.html (Plan 1's purchase card); not new. */ |
| .purchase-card { box-sizing: border-box; max-width: 36rem; margin: 1.5rem auto 0; padding: 1.8rem 1.8rem 1.4rem; border: 1px solid var(--rst-line); border-radius: 0.875rem; background: var(--accent-soft); color: var(--ink); overflow-wrap: anywhere; } |
| .purchase-card [hidden] { display: none !important; } |
| @@ -1221,7 +1216,6 @@ |
| .purchase-steps [data-state="active"] .purchase-step-mark::before { animation: purchase-spin 1s linear infinite; } |
| } |
| @keyframes purchase-spin { to { transform: rotate(360deg); } } |
| -.purchase-card + .purchase-card { margin-top: 1rem; } |
| </style> |
| <div class="pagehead"> |
| <p class="eyebrow">Domains · shop</p> |