docs(docs): U2 boards re-check fixes, A15, notes aligned, owner gate
This commit is contained in:
1 parent
8bdb23ab0f
commit
272a7b54e4
13 files changed
+44
-13
No files matched your search
@@ -284,7 +284,10 @@ table.esc td.n { font-weight: 700; color: var(--color-accent-strong); width: 22p
|
||||
.racts { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--color-border); padding-top: 12px; }
|
||||
.racts .r1, .racts .r2 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
||||
.racts .r2 { justify-content: space-between; }
|
||||
.inp .v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
|
||||
.inp .v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
|
||||
.inp .v .sw { display: inline-block; vertical-align: -4px; margin-right: 8px; }
|
||||
.tab-frame .hbtn { height: 44px; }
|
||||
.tab-frame .tabs a { min-height: 44px; }
|
||||
.inp .caret { flex: none; }
|
||||
</style>
|
||||
</head>
|
||||
@@ -570,8 +573,8 @@ const ARROW = (x, y, u) => `<path d="M${x} ${y}l0 ${18 * u}l${5 * u} ${-5 * u}l$
|
||||
// The finger: a grey contact disc (named in the captions).
|
||||
const FINGER = (x, y, u) => `<circle cx="${x}" cy="${y}" r="${20 * u}" fill="rgba(31,27,22,.16)" stroke="rgba(31,27,22,.45)" stroke-width="${1.2 * u}"/>`
|
||||
// The magnifier of the validated board 13: above the finger, the area under it at twice the size.
|
||||
function LOUPE(x, y, u, inner, id) {
|
||||
const cx = x, cy = y - 70 * u, r = 38 * u
|
||||
function LOUPE(x, y, u, inner, id, off) {
|
||||
const cx = x, cy = y - (off || 70 * u), r = 38 * u
|
||||
return `<defs><clipPath id="${id}"><circle cx="${cx}" cy="${cy}" r="${r}"/></clipPath></defs><circle cx="${cx}" cy="${cy}" r="${r + 3 * u}" fill="#fff" stroke="#1f1b16" stroke-width="${2 * u}"/><g clip-path="url(#${id})"><g transform="translate(${cx} ${cy}) scale(2) translate(${-x} ${-y})"><image href="${HORSE}" x="0" y="0" width="${W}" height="${H}"/>${inner}</g></g>`
|
||||
}
|
||||
const shift = (p, dx, dy) => p.map((q) => [q[0] + dx, q[1] + dy])
|
||||
@@ -763,14 +766,14 @@ function crop(o) {
|
||||
extra: (u) => `${OLD(['p', THOR], u)}${polyEdit(P2, u, { on: 2, big: true })}${HIT(THOR[7][0], THOR[7][1], u)}${FINGER(v2[0], v2[1], u)}${LOUPE(v2[0], v2[1], u, `<polygon points="${pts(P2)}" fill="${vert.c}" fill-opacity="${vert.o}" stroke="#1f1b16" stroke-width="${u}"/>${V(v2[0], v2[1], u / 2, true)}`, 'l13')}` }) })
|
||||
const moved = shift(THOR, 24, -18)
|
||||
const c = vig('C. Déplacer la zone au doigt : mode explicite, le doigt glisse n\'importe où (ici hors de la zone), flèches de 44 px', crop({ w: 760, vb: [760, 330, 440, 283], hide: [thor.fr],
|
||||
strip: strip({ big: true, act: true, lead: lead2('move', 'Déplacer la zone', '', 'Glissez n\'importe où'), actions: `${ARROWS(true)}${B('Valider la position', 'primary', { big: true, icon: 'check' })}${B('Annuler', 'secondary', { big: true })}` }),
|
||||
strip: strip({ big: true, act: true, lead: lead2('move', 'Déplacer la zone', '', 'Glissez n\'importe où, ou utilisez les flèches'), actions: `${ARROWS(true)}${B('Valider la position', 'primary', { big: true, icon: 'check' })}${B('Annuler', 'secondary', { big: true })}` }),
|
||||
extra: (u) => `${OLD(['p', THOR], u)}<polygon points="${pts(moved)}" fill="${vert.c}" fill-opacity="${vert.o}" stroke="#1f1b16" stroke-width="${2 * u}"/>${FINGER(1110, 380, u)}` }))
|
||||
const b = vig('B. Toucher la zone déjà sélectionnée (aucun sommet choisi) : propriétés en lecture, boutons de 44 px', readDlg(thor, { static: true, big: true }), 360)
|
||||
const np = [STIFLE.g[1] + 16, STIFLE.g[2] + 12]
|
||||
const art = CATS.art
|
||||
const d = vig('D. Point au doigt : un doigt sur le point le déplace (loupe au-dessus), sa taille se règle au curseur de 44 px', crop({ w: 1000, vb: [1300, 800, 400, 250], hide: [STIFLE.fr],
|
||||
strip: selStrip(STIFLE, { big: true }),
|
||||
extra: (u) => `${OLD(STIFLE.g, u)}<circle cx="${np[0]}" cy="${np[1]}" r="34" fill="${art.c}" fill-opacity="${art.o}" stroke="${art.c}" stroke-width="2"/>${RING({ g: ['c', np[0], np[1], 34] }, u)}${FINGER(np[0], np[1], u)}${LOUPE(np[0], np[1], u, `<circle cx="${np[0]}" cy="${np[1]}" r="34" fill="${art.c}" fill-opacity="${art.o}" stroke="#1f1b16" stroke-width="${u}"/>`, 'l13d')}` }))
|
||||
extra: (u) => `${OLD(STIFLE.g, u)}<circle cx="${np[0]}" cy="${np[1]}" r="34" fill="${art.c}" fill-opacity="${art.o}" stroke="${art.c}" stroke-width="2"/>${RING({ g: ['c', np[0], np[1], 34] }, u)}${FINGER(np[0], np[1], u)}${LOUPE(np[0], np[1], u, `<circle cx="${np[0]}" cy="${np[1]}" r="34" fill="${art.c}" fill-opacity="${art.o}" stroke="#1f1b16" stroke-width="${u}"/>`, 'l13d', 34 + 64 * u)}` }))
|
||||
document.getElementById('b13').innerHTML = main
|
||||
+ `<div style="display:flex;gap:20px;margin-top:16px;width:1180px;align-items:flex-start">${b}${c}</div>`
|
||||
+ `<div style="display:flex;gap:20px;margin-top:16px;width:1180px;align-items:flex-start">${d}</div>`
|
||||
|
||||
Reference in new issue
Block a user