Loading...
Loading...
Compare original and translation side by side
examples/dialog-sheet.htmlexamples/card-sheet.htmlexamples/dialog-sheet.htmlexamples/card-sheet.htmlcolor-scheme: lightTITLE SLOT · FLEXTRAILACTIONCONTENT SLOT · FILLMETA SLOT · FLEX · WRAPSLABEL SLOTVALUE SLOTH1 header-min = 2·S1+H3 = 64R2 r-inner = R1−B−S6 = 11E1 = BL+SP−YE2 = BL+SPE3 = BL+SP+YUI-CARD-001[TBD]color-scheme: lightTITLE SLOT · FLEXTRAILACTIONCONTENT SLOT · FILLMETA SLOT · FLEX · WRAPSLABEL SLOTVALUE SLOTH1 header-min = 2·S1+H3 = 64R2 r-inner = R1−B−S6 = 11E1 = BL+SP−YE2 = BL+SPE3 = BL+SP+YUI-CARD-001[TBD]| Prefix | Meaning | Examples |
|---|---|---|
| S# | spacing | S1 container pad, S2 inner pad, S3 stack gap, S4 min gap flex↔hug, S5 lead gap, S6 inner inset |
| H# / Z# / I# | heights / square sizes / icon size | H1 header-min, H2 footer-h, H3 action-h, H5 input-h, Z1 lead, I1 icon |
| B, W | border, width (range or fixed) | W = 420–680 |
| R# | radius | R1 container, R2 inner (derived), R3 control, R4 pill = h ÷ 2 |
| Y, BL, SP, E# | shadow offset/blur/spread, envelope | E1 top, E2 side, E3 bottom |
| T1, V1, MH | touch min, viewport margin, max height | MH = 100vh − 2·V1 |
| 前缀 | 含义 | 示例 |
|---|---|---|
| S# | 间距 | S1 container pad, S2 inner pad, S3 stack gap, S4 min gap flex↔hug, S5 lead gap, S6 inner inset |
| H# / Z# / I# | 高度 / 方形尺寸 / 图标尺寸 | H1 header-min, H2 footer-h, H3 action-h, H5 input-h, Z1 lead, I1 icon |
| B, W | 边框、宽度(范围或固定值) | W = 420–680 |
| R# | 圆角 | R1 container, R2 inner (derived), R3 control, R4 pill = h ÷ 2 |
| Y, BL, SP, E# | 阴影偏移/模糊/扩展,包络 | E1 top, E2 side, E3 bottom |
| T1, V1, MH | 最小触控尺寸、视口边距、最大高度 | MH = 100vh − 2·V1 |
NOTES: (UNLESS OTHERWISE SPECIFIED)W · card-w 420–680H1 · header-min 2·S1 + H3viewBox="0 0 1700 1060"width:100%; min-width:1100pxoverflow-x:autoDATE | UI COMPONENT REFERENCENAME, ARCHITECTURE | nSEE SHEET 2NOTES: (UNLESS OTHERWISE SPECIFIED)W · card-w 420–680H1 · header-min 2·S1 + H3viewBox="0 0 1700 1060"overflow-x:autowidth:100%; min-width:1100pxDATE | UI COMPONENT REFERENCENAME, ARCHITECTURE | nSEE SHEET 2[1](REF n)DETAIL CR2 = R1 − B − S6[1](REF n)DETAIL CR2 = R1 − B − S6(Z2−I1)÷2CONFLICT(Z2−I1)÷2CONFLICTgetBoundingClientRectgetComputedStylegetBoundingClientRectgetComputedStylebegin(svgId)<defs>dimH(x1,x2,y,ext1Y,ext2Y,label,{below,dx,dy,c}) // horizontal dim; <28px span → arrows outside
dimV(y1,y2,x,ext1X,ext2X,label,{side:'l'|'r'}) // vertical dim; no side → rotated label
callout(px,py,ex,ey,label,dir) // dot + leader + shoulder + text
rad(cornerX,cornerY,r,'tl'|'tr'|'bl'|'br',label,len)
nb(x,y,n) // boxed note number
detailRef(cx,cy,r,label,lx,ly) // dashed circle + leader
table(x,y,title,[[code,variable,value]…]) // widths 40/88/96, returns next y
notes([[n,text]…]) // n=0 → unnumberedpaint-order: strokeSCALE 0.9:1 · …fillfill="url(#hatch)"fillvector-effect: non-scaling-strokestyledxdymatrix(.94s, .17s, −.34s, .47s, tx, ty−z)begin(svgId)<defs>dimH(x1,x2,y,ext1Y,ext2Y,label,{below,dx,dy,c}) // horizontal dim; <28px span → arrows outside
dimV(y1,y2,x,ext1X,ext2X,label,{side:'l'|'r'}) // vertical dim; no side → rotated label
callout(px,py,ex,ey,label,dir) // dot + leader + shoulder + text
rad(cornerX,cornerY,r,'tl'|'tr'|'bl'|'br',label,len)
nb(x,y,n) // boxed note number
detailRef(cx,cy,r,label,lx,ly) // dashed circle + leader
table(x,y,title,[[code,variable,value]…]) // widths 40/88/96, returns next y
notes([[n,text]…]) // n=0 → unnumberedpaint-order: strokeSCALE 0.9:1 · …fillfill="url(#hatch)"fillvector-effect: non-scaling-strokestyledxdymatrix(.94s, .17s, −.34s, .47s, tx, ty−z)dimensional-drawing-motiondimensional-drawing-motion