feat: the Site's product cards and uploader as Dropstar's third round asks (items 1 to 4)
Some checks failed
Build and deploy / Validate source (push) Successful in 1m27s
Build and deploy / Integration suite on a real stack (push) Successful in 4m14s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Failing after 1m14s

- the "Mais vendido" card has a thick green border
- the four "Enviar..." buttons share that green as the action colour
- the uploader sits on top of the file list, the newest file right under it
- with files in, the uploader stays big and highlighted instead of shrinking
  to a thin dashed line

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-29 14:46:29 -03:00
parent 636c27ee88
commit 35b7701664
2 changed files with 14 additions and 10 deletions

View File

@@ -834,8 +834,7 @@ h2 em{font-style:normal;color:var(--laranja)}
<div class="foco2" id="foco2">
<div class="fila">
<div class="trocouCam" id="avisoTipo" style="display:none"></div>
<div class="recusa" id="recusa" style="display:none"></div>
<div id="lista"></div>
<!-- The uploader on top, the newest file right under it (Dropstar, 2026-10-29). -->
<div class="zona" id="zona" tabindex="0" role="button">
<div class="ico"><svg class="ic" viewBox="0 0 24 24" aria-hidden="true" focusable="false"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><path d="m17 8-5-5-5 5"/><path d="M12 3v12"/></svg></div>
<b id="zTit">Arraste aqui</b><span id="zSub"></span>
@@ -845,6 +844,8 @@ h2 em{font-style:normal;color:var(--laranja)}
<span class="zManual" id="zManual">Tem <b>CDR, AI, PSD ou TIFF</b>? Pode mandar também.
Alguém abre na mão, e o metro custa R$ 2,00 a mais.</span>
</div>
<div class="recusa" id="recusa" style="display:none"></div>
<div id="lista"></div>
<div class="resumoA" id="rA" style="display:none"></div>
<input type="file" id="inp" hidden>
<aside class="req" id="req">

View File

@@ -68,8 +68,8 @@ section+section{border-top:0}
.ec{text-align:left;padding:26px;gap:14px;border:1px solid var(--linha);border-radius:16px;box-shadow:none;cursor:pointer;font:inherit;color:inherit}
.ec::before,.ec::after{display:none}
.ec:hover{border-color:var(--laranja);box-shadow:0 10px 30px rgba(3,6,11,.08);transform:translateY(-2px)}
.ec.f,.ec.f:hover{border-color:var(--linha)}
.ec.f:hover{border-color:var(--laranja)}
/* "Mais vendido": a thick green border, where the eye lands first (Dropstar, 2026-10-29). */
.ec.f,.ec.f:hover{border:3px solid var(--verde-ml);padding:24px}
.ec-top{display:flex;align-items:center;gap:10px}
.ec-kind{font-family:"Inter",sans-serif;font-weight:700;font-size:14.5px;letter-spacing:.05em;color:#707070}
.marc2{margin-left:auto;font-family:"Inter",sans-serif;font-weight:800;font-size:13.5px;letter-spacing:.05em;text-transform:uppercase;padding:4px 10px;border-radius:999px;background:var(--preto);color:var(--laranja)}
@@ -79,8 +79,9 @@ section+section{border-top:0}
.ec-preco{display:flex;flex-direction:column;gap:2px}
.ec-preco span{font-size:15px;color:#707070}
.ec-preco b{font-family:"Inter",sans-serif;font-size:29px;font-weight:900;letter-spacing:-.02em;color:var(--preto)}
.ec-go{margin-left:auto;height:46px;padding:0 18px;border-radius:var(--raio2);background:var(--preto);color:#fff;font-family:"Inter",sans-serif;font-weight:700;font-size:16.5px;display:flex;align-items:center;white-space:nowrap}
.ec:hover .ec-go{background:var(--laranja);color:var(--preto)}
/* The four "Enviar…" buttons in one action colour, the border's green (2026-10-29). */
.ec-go{margin-left:auto;height:46px;padding:0 18px;border-radius:var(--raio2);background:var(--verde-ml);color:#fff;font-family:"Inter",sans-serif;font-weight:700;font-size:16.5px;display:flex;align-items:center;white-space:nowrap}
.ec:hover .ec-go{background:#008A43;color:#fff}
/* Progress bar */
.passos{position:sticky;top:var(--topo,64px);z-index:30;display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 22px;padding:14px 16px;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border-bottom:1px solid var(--linha);font-family:"Inter",sans-serif;font-size:16px}
@@ -139,11 +140,13 @@ section+section{border-top:0}
.zona .zManual[hidden]{display:none}
.zona .zManual b{display:inline;font-size:15px}
.zona .zOutra{display:none}
.zona.compacta{display:flex;justify-content:center;align-items:center;min-height:56px;padding:0 20px;border:1.5px dashed #D0D0D0;background:#fff;cursor:pointer}
/* With files already in, the uploader stays on top, big and highlighted: the
most visible thing on the page (Dropstar, 2026-10-29). */
.zona.compacta{display:flex;justify-content:center;align-items:center;gap:14px;min-height:104px;padding:18px 20px;border:2px dashed #F2B25A;background:var(--aviso-fundo);cursor:pointer;margin-bottom:14px}
.zona.compacta>*{display:none}
.zona.compacta .zOutra{display:inline;font-size:16px;color:var(--fraco)}
.zona.compacta .zOutra b{display:inline;font-size:16px;font-weight:600;color:var(--preto)}
.zona.compacta .zOutra b::before{content:"+";margin-right:8px;font-weight:700}
.zona.compacta .ico{display:flex}
.zona.compacta .zOutra{display:inline;font-size:17px;color:var(--fraco)}
.zona.compacta .zOutra b{display:inline;font-size:18px;font-weight:700;color:var(--preto)}
.zona.compacta:hover,.zona.compacta.sobre{border-color:var(--laranja2)}
#lista{display:flex;flex-direction:column;gap:10px}
#lista:empty{display:none}