Effort help: show the two scales as one table, (i) before the control
The sheet explained RIR and RPE in three paragraphs, which is a bad way to say "these are the same judgement counted from opposite ends" — you had to hold both sentences in your head to see the correspondence. A conversion table shows it in one look: RIR and RPE in fixed tabular columns you can read straight down, the feel in words next to them, and the row a working set usually lands on highlighted in the accent. The table is built from the same parts as the app's grouped lists (surface fill, inset hairlines) instead of a real <table>, so it inherits the card look and wraps on a narrow phone. The (i) moves ahead of the segmented control: you reach the explanation on the way to the choice rather than past it. The three paragraph strings are replaced by the table's strings in all 11 language packs.
This commit is contained in:
1 parent
4e27461b7e
commit
0c6c22c04b
13 files changed
+158
-57
No files matched your search
+30
-4
@@ -236,13 +236,13 @@ h4.sec{
|
||||
.lrow-c{color:var(--label);font-size:15px;flex:none;--icon-stroke:2.4}
|
||||
.lrow-k{color:var(--acc);font-size:17px;flex:none;--icon-stroke:2.4}
|
||||
.lrow.danger,.lrow.danger .lrow-t{color:var(--red)}
|
||||
/* an (i) next to a row's control: painted small and dim so the control stays the loud thing,
|
||||
/* an (i) before a row's control: painted small and dim so the control stays the loud thing,
|
||||
but with a finger-sized target like everything else — the padding is the hit area and the
|
||||
negative margin keeps it from making the row taller. Sits after the control so a long
|
||||
translation wrapping the title never pushes it around. */
|
||||
vertical negative margin keeps it from making the row taller. The horizontal ones pull the
|
||||
hit area back under the row's own 12px gap instead of adding to it. */
|
||||
.helpbtn{
|
||||
color:var(--label-3);font-size:16px;background:none;line-height:0;flex:none;
|
||||
margin:-11px -4px -11px 0;padding:11px 4px;
|
||||
margin:-11px -2px -11px -4px;padding:11px 4px;
|
||||
}
|
||||
.helpbtn:active{color:var(--label)}
|
||||
|
||||
@@ -653,6 +653,32 @@ h4.sec{
|
||||
:root[data-theme="light"] .center{background:#fff}
|
||||
@keyframes pop{from{transform:translate(-50%,-50%) scale(.94);opacity:0}to{transform:translate(-50%,-50%) scale(1);opacity:1}}
|
||||
|
||||
/* --- RIR/RPE conversion table (effort help sheet) ---
|
||||
The two scales only click when you see them side by side, so the numbers get fixed-width
|
||||
tabular columns you can read straight down, and the words take whatever is left. Built out
|
||||
of the same grouped-list parts as the rest of the app (surface fill, inset hairlines) rather
|
||||
than a real <table>, so it inherits the card look and wraps properly on a narrow phone. */
|
||||
.efftbl{background:var(--surface);border-radius:var(--r-lg);overflow:hidden;margin:14px 0 12px}
|
||||
.efftbl .r{display:flex;align-items:center;gap:10px;padding:10px 14px;position:relative}
|
||||
.efftbl .r+.r::before{
|
||||
content:'';position:absolute;left:14px;right:0;top:0;height:var(--hair);background:var(--sep);
|
||||
}
|
||||
.efftbl .n{
|
||||
width:36px;flex:none;text-align:center;font-size:17px;font-weight:600;
|
||||
letter-spacing:-.02em;font-variant-numeric:tabular-nums;
|
||||
}
|
||||
.efftbl .f{flex:1;min-width:0;font-size:15px;color:var(--label-2);line-height:1.3}
|
||||
/* the header names the columns without competing with them */
|
||||
.efftbl .hd{background:var(--surface-2);padding-top:8px;padding-bottom:8px}
|
||||
.efftbl .hd .n,.efftbl .hd .f{
|
||||
font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;
|
||||
color:var(--label-3);
|
||||
}
|
||||
/* the row a working set usually lands on — the anchor the others are read against */
|
||||
.efftbl .r.on{background:var(--acc-soft)}
|
||||
.efftbl .r.on .n{color:var(--acc)}
|
||||
.efftbl .r.on .f{color:var(--label)}
|
||||
|
||||
/* --- glyph picker (replaces the emoji grid) --- */
|
||||
.glyph-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}
|
||||
.glyph-cell{
|
||||
|
||||
Reference in new issue
Block a user