From 4ce44feb70ba0434b79667fc93b2b86299d00676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Wed, 30 Sep 2026 14:22:13 -0300 Subject: [PATCH] fix: mark the required fields instead of a message about the address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes "Complete o endereço de entrega para ir ao pagamento." The required fields (CNPJ, WhatsApp, e-mail, and the delivery address except the complement) carry a red asterisk, and aria-required for screen readers. Co-Authored-By: Claude Opus 5.5 --- web/index.html | 41 ++++++++++++++++++++--------------------- web/site-flow.js | 2 -- web/site-v2.css | 3 +-- 3 files changed, 21 insertions(+), 25 deletions(-) diff --git a/web/index.html b/web/index.html index 44aeb23..c6e1bbd 100644 --- a/web/index.html +++ b/web/index.html @@ -1095,14 +1095,14 @@ footer a:hover{color:var(--laranja2)}

Seus dados

-
- +
+
-
- +
+
-
- +
+
@@ -1128,28 +1128,27 @@ footer a:hover{color:var(--laranja2)} —
- +
- +

-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-

diff --git a/web/site-flow.js b/web/site-flow.js index 7305d1b..6b87f73 100644 --- a/web/site-flow.js +++ b/web/site-flow.js @@ -80,8 +80,6 @@ function pintaEntrega(){ $('vFrete').textContent = entrega.tipo!=='frete' ? '—' : entrega.cotado ? rs(entrega.valor) : 'a cotar'; $('bPagar').disabled = !entrega.cotado || !clienteOk() || !enderecoOk() || !cartPodeEnviar(); - $('eEnd').textContent = entrega.tipo==='frete' && entrega.cotado && !enderecoOk() - ? 'Complete o endereço de entrega para ir ao pagamento.' : ''; pintaPedido(); } diff --git a/web/site-v2.css b/web/site-v2.css index 703157c..b2143d1 100644 --- a/web/site-v2.css +++ b/web/site-v2.css @@ -372,6 +372,7 @@ html:is([data-rota="pagamento"],[data-rota="pix"]) .pagGrid{display:grid;grid-te .envioArq .ic{width:19px;height:19px;margin:-2px 6px 0 0} .qi .c .ic{width:15px;height:15px;stroke-width:3} .passos a span .ic{width:17px;height:17px;stroke-width:3} +.obr{color:#B42318;font-weight:700} .envioArq{font-size:15px;color:var(--texto2);margin-top:14px;line-height:1.5} .envioArq.ok{color:var(--verde)} .envioArq.erro{color:#B42318} @@ -381,8 +382,6 @@ html:is([data-rota="pagamento"],[data-rota="pix"]) .pagGrid{display:grid;grid-te .cartEnvio{font-size:15px;font-weight:700;color:var(--laranja-escuro);margin-left:6px} .cartEnvio:empty{display:none} .envioArq:empty{display:none} -.dicaEnd{font-size:15px;color:var(--texto2);margin-top:12px} -.dicaEnd:empty{display:none} .pagCab{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:20px} .pagCab h3{font-size:26px;font-weight:800;letter-spacing:-.02em} .pagVolta{font-size:16px;color:var(--texto2)}