From d2e340032eb940ecc07ae901ff3f9b8124d9ab4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Sat, 31 Oct 2026 14:25:53 -0300 Subject: [PATCH] fix: the Kanban's login fits the window, the menus are the mockup's again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Sign-in: the page is the window's height, never scrolls; the sheet rolling under the marks is the design's (docs/design/folha-sapo-flor.svg). - The account, refresh and order menus had lost their look with the old panel's rules; they are popovers again. The account menu leaves the theme to the rail's button, right above it. - Números: panels of a row share their height; rework's lists by printer and waiting fold under a line. - Cotações: the chips of the mockup (Têxtil, UV, Folha, Avulsa, Com ressalva), no field of its own; a customer from the top search shows as a tag that takes the filter off. Co-Authored-By: Claude Opus 5.5 --- web/kanban.css | 38 ++++++++----- web/kanban.html | 21 ++++---- web/kanban.js | 21 ++++---- web/login-sheet.svg | 129 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 173 insertions(+), 36 deletions(-) create mode 100644 web/login-sheet.svg diff --git a/web/kanban.css b/web/kanban.css index afcfe92..2186c42 100644 --- a/web/kanban.css +++ b/web/kanban.css @@ -63,16 +63,13 @@ input:focus,textarea:focus{border-color:var(--acc)} .ok{color:var(--mine)}.warn{color:var(--warn)}.bad{color:var(--bad)} /* Sign-in (redesign, step 7): a sheet rolling under its marks, and the form. */ -.login:not([hidden]){min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--bg);color:var(--tx)} -.lart{position:relative;background:#060607;overflow:hidden;min-height:0;display:flex;align-items:center;justify-content:center;background-image:linear-gradient(#111114 1px,transparent 1px),linear-gradient(90deg,#111114 1px,transparent 1px);background-size:40px 40px;background-position:-1px -1px} -.ltable{position:relative;height:100%;display:flex;align-items:center;justify-content:center;padding:64px 0} +.login:not([hidden]){height:100vh;min-height:560px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--bg);color:var(--tx)} +.lart{position:relative;background:#060607;overflow:hidden;min-height:0;height:100%;display:flex;align-items:center;justify-content:center;background-image:linear-gradient(#111114 1px,transparent 1px),linear-gradient(90deg,#111114 1px,transparent 1px);background-size:40px 40px;background-position:-1px -1px} +.ltable{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center;padding:72px 0 120px} .lsheet{position:relative;width:340px;height:min(640px,100%);padding-left:34px} .lclip{height:100%;overflow:hidden;background:repeating-conic-gradient(#18181B 0 25%,#111113 0 50%) 0 0/14px 14px;box-shadow:0 0 0 1px #2A2A2F,0 40px 80px -30px #000} -.lroll{animation:roll 40s linear infinite} -.lprint{height:640px;background: - radial-gradient(circle at 30% 14%,#FF5F1F 0 34px,transparent 35px),radial-gradient(circle at 72% 30%,#2BB6D9 0 46px,transparent 47px), - linear-gradient(#E9C23A,#E9C23A) 18% 52%/44% 64px no-repeat,radial-gradient(circle at 70% 66%,#F2F2F0 0 28px,transparent 29px), - linear-gradient(#8E6BDE,#8E6BDE) 76% 86%/38% 48px no-repeat,radial-gradient(circle at 26% 84%,#3FB97A 0 30px,transparent 31px)} +.lroll{animation:roll 70s linear infinite} +.lroll img{width:100%;display:block} .lruler{position:absolute;left:0;top:0;bottom:0;width:26px;border-right:1px solid #2A2A2F;background:repeating-linear-gradient(to bottom,#4A4A52 0 1px,transparent 1px 30px) right top/10px 100% no-repeat,repeating-linear-gradient(to bottom,#2E2E34 0 1px,transparent 1px 6px) right top/5px 100% no-repeat} .lr{position:absolute;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px #FF5F1F} .lr::before,.lr::after{content:"";position:absolute;background:#FF5F1F} @@ -120,7 +117,6 @@ input:focus,textarea:focus{border-color:var(--acc)} .rbtn:hover{color:var(--railon);background:var(--railsel)} .account{position:relative} .avatar{width:38px;height:38px;margin-top:4px;border-radius:50%;border:0;background:var(--sf3);color:var(--tx);font-size:12.5px;font-weight:650} -.menu.acct{position:fixed;left:96px;right:auto;top:auto;bottom:16px;width:290px} .top{height:72px;display:flex;align-items:center;gap:16px;padding:0 24px;border-bottom:1px solid var(--ln);background:var(--top);position:sticky;top:0;z-index:5} .ptitle{display:flex;align-items:baseline;gap:14px;min-width:0} .ptitle h1{margin:0;font-size:24px;font-weight:650;letter-spacing:-.02em;line-height:1;white-space:nowrap} @@ -164,6 +160,20 @@ input:focus,textarea:focus{border-color:var(--acc)} .menu-label{padding:8px 10px 6px;font-size:12.5px;font-weight:600;color:var(--tx3)} .menusep{height:1px;margin:6px 4px;background:var(--ln)} @keyframes breathe{50%{opacity:.35}} +/* Menus: the account's, the refresh's and the order's, as popovers. */ +.menu{position:absolute;right:0;top:calc(100% + 8px);z-index:22;min-width:220px;display:flex;flex-direction:column;padding:6px;background:var(--sf);border:1px solid var(--ln2);border-radius:12px;box-shadow:var(--pop);animation:drop .22s cubic-bezier(.16,1,.3,1) both} +.menuitem{display:flex;align-items:center;gap:10px;width:100%;height:40px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:var(--tx);font-size:13.5px;font-weight:550;text-align:left;white-space:nowrap;flex:none} +.menuitem:hover,.menuitem:focus-visible{background:var(--sf2)} +.menuitem .i{color:var(--tx2)} +.menuitem .lbl{margin-left:auto} +.menuitem.bad,.menuitem.bad .i{color:var(--bad)} +.menuitem[role=menuitemradio]{height:36px} +.menuitem[role=menuitemradio] .i{margin-left:auto;color:var(--tx)} +.menu-head{display:flex;align-items:center;gap:12px;padding:10px 10px 12px;border-bottom:1px solid var(--ln);margin-bottom:6px} +.menu-head .who-text{display:flex;flex-direction:column;min-width:0} +.menu-head b{font-size:14px;font-weight:650} +.menu-head .who-text span{font-size:12.5px;color:var(--tx2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis} +.menu.acct{position:fixed;left:96px;right:auto;top:auto;bottom:16px;width:290px} /* The machine question: each machine with what it prints now and who is on it. */ .mchoices{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px} .mchoice{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:16px;border-radius:12px;border:1px solid var(--ln2);background:var(--sf);text-align:left;color:inherit;transition:border-color .15s,box-shadow .15s} @@ -181,9 +191,6 @@ input:focus,textarea:focus{border-color:var(--acc)} .job .free{color:var(--tx3)} .runmark{width:9px;height:9px;border-radius:2px;background:var(--ink);margin-left:2px} .ripmark{width:11px;height:11px;border-radius:50%;border:1.6px solid var(--tx2);border-right-color:transparent;animation:spin 1s linear infinite} -.menu-head{display:flex;flex-direction:column;gap:2px;padding:8px 10px 10px;border-bottom:1px solid var(--line2);margin-bottom:4px} -.menu-head b{font-size:14.5px} -.menu-head span{font-size:12.5px;color:var(--faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap} #status{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:40;margin:0;max-width:min(640px,calc(100vw - 32px));padding:10px 16px;border-radius:10px;border:1px solid var(--line3);background:var(--sf2);color:var(--tx);font-size:14px;box-shadow:var(--pop)} #status:empty,#login-status:empty{display:none} #status.error{border-color:var(--bad-line);color:var(--bad)} @@ -671,7 +678,8 @@ select.inp{appearance:none;-webkit-appearance:none;padding-right:32px;background .charttable summary{cursor:pointer;width:max-content} .charttable .table{margin-top:8px} @keyframes grow{from{transform:scaleY(.06)}} -.g12{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;align-items:start} +.g12{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;align-items:stretch} +.g12>.panel{display:flex;flex-direction:column} .s4{grid-column:span 4}.s6{grid-column:span 6} @media (max-width:1500px){.s4{grid-column:span 6}} @media (max-width:1100px){.s4,.s6{grid-column:span 12}.minis{grid-template-columns:repeat(3,minmax(0,1fr))}.hk b{font-size:32px}} @@ -688,7 +696,9 @@ select.inp{appearance:none;-webkit-appearance:none;padding-right:32px;background .byrow .track{height:8px;border-radius:4px;background:var(--sf3);overflow:hidden} .byrow .track i{display:block;height:100%;background:var(--tx2);border-radius:4px} .byrow b{text-align:right;font-weight:600} -.psub{padding:4px 18px 16px;border-top:1px solid var(--ln)} +.psub{padding:12px 18px;border-top:1px solid var(--ln);margin-top:auto;font-size:13px;color:var(--tx2)} +.psub summary{cursor:pointer;width:max-content;font-weight:550} +.psub[open]{padding-bottom:16px} .psub h3{margin:14px 0 6px;font-size:13px;font-weight:650;color:var(--tx2)} .psub .table td{padding:8px 0} .plainlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13.5px;color:var(--tx2)} diff --git a/web/kanban.html b/web/kanban.html index 1b23b8d..726db1d 100644 --- a/web/kanban.html +++ b/web/kanban.html @@ -14,7 +14,7 @@ 57 cm
-
+

Da arte recebida à folha conferida, num quadro só.

@@ -47,10 +47,11 @@