File size: 7,424 Bytes
fb62a97 2d71dc3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | /* "Bring your own test cases" (ImportCasesPage.tsx): a numbered guide like the run guide. Tokens only. */
.ic-guide { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.ic-step { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: var(--sp-4); padding-bottom: var(--sp-6); position: relative; }
.ic-step:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 1px; background: var(--sep-strong); }
.ic-step-n { width: 32px; height: 32px; border-radius: var(--r-md); display: grid; place-items: center; font-weight: var(--fw-semibold);
font-family: var(--font-display-mono, var(--mono)); font-size: var(--fs-sm); background: var(--fill); color: var(--label-2); }
.ic-step[data-state='current'] .ic-step-n { background: var(--accent); color: var(--on-accent); }
.ic-step[data-state='done'] .ic-step-n { background: var(--green-soft); color: var(--green); }
.ic-step-body { min-width: 0; }
.ic-step-body > h2 { margin: 4px 0 var(--sp-2); font-size: var(--fs-lg); line-height: var(--lh-lg); }
.ic-step[data-state='todo'] .ic-step-body > h2 { color: var(--label-2); }
.ic-lede { margin: 0 0 var(--sp-3); color: var(--label-2); font-size: var(--fs-base); line-height: var(--lh-base); max-width: 72ch; }
.ic-link { color: var(--accent-text); text-decoration: underline; font-size: inherit; }
.ic-panel { padding-top: var(--sp-3); }
.ic-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-1); min-height: 140px;
padding: var(--sp-6) var(--sp-4); border: 1.5px dashed var(--sep-strong); border-radius: var(--r-lg); background: var(--bg-elev-2);
color: var(--label-2); text-align: center; cursor: pointer; transition: border-color var(--d1) var(--ease), background var(--d1) var(--ease); }
.ic-drop:hover, .ic-drop[data-drag] { border-color: var(--accent); background: var(--fill); }
.ic-drop:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.ic-drop span { color: var(--label); font-size: var(--fs-base); }
.ic-drop small { font-size: var(--fs-xs); }
.ic-template { display: inline-flex; align-items: center; gap: var(--sp-1); margin-top: var(--sp-2); font-size: var(--fs-sm); }
.ic-mono { font-family: var(--mono); font-size: var(--fs-sm) !important; }
.ic-presence { display: flex; align-items: center; gap: var(--sp-2); margin: 0 0 var(--sp-3); font-size: var(--fs-base); color: var(--label-2); }
.ic-presence b { color: var(--label); font-weight: var(--fw-semibold); }
.ic-errors ul, .ic-warn { margin: 0; padding-left: var(--sp-5); }
.ic-cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: var(--sp-3); }
.ic-case { padding: var(--sp-3) var(--sp-4); }
.ic-case-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.ic-case-head h3 { margin: 0; flex: 1 1 200px; font-size: var(--fs-base); line-height: var(--lh-base); font-weight: var(--fw-semibold); }
.ic-steps { margin: 0; padding-left: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-1); font-size: var(--fs-sm); line-height: var(--lh-sm); }
.ic-steps li span { display: block; }
.ic-expect { color: var(--label-2); }
.ic-warn { margin-top: var(--sp-2); color: var(--orange); font-size: var(--fs-xs); }
.ic-pod { flex: 1 1 220px; max-width: 360px; }
.ic-status { margin-top: var(--sp-3); }
.ic-rows { list-style: none; margin: 0 0 var(--sp-2); padding: 0; border: 1px solid var(--sep); border-radius: var(--r-lg); background: var(--bg-elev); }
.ic-row { padding: var(--sp-3) var(--sp-4); }
.ic-row + .ic-row { border-top: 1px solid var(--sep); }
.ic-row-main { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.ic-row-title { flex: 1 1 200px; min-width: 0; font-size: var(--fs-base); overflow-wrap: anywhere; }
.ic-row-fail { margin: var(--sp-2) 0 0 30px; color: var(--red); font-size: var(--fs-sm); }
.ic-row-note { margin: var(--sp-2) 0 0 30px; color: var(--label-2); font-size: var(--fs-sm); }
.ic-preview-toggle { display: inline-flex; align-items: center; gap: var(--sp-1); margin: var(--sp-2) 0 0 30px; font-size: var(--fs-sm); color: var(--accent-text); }
.ic-preview-toggle svg { transition: transform var(--d1) var(--ease); }
.ic-preview-toggle svg[data-open] { transform: rotate(180deg); }
.ic-preview { margin: var(--sp-2) 0 0 30px; padding: var(--sp-3); max-height: 320px; overflow: auto; border-radius: var(--r-md); background: var(--bg-elev-2);
border: 1px solid var(--sep); font-family: var(--mono); font-size: var(--fs-xs); line-height: var(--lh-xs); white-space: pre-wrap; overflow-wrap: anywhere; }
.ic-run { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-3);
padding: var(--sp-3) var(--sp-4); border: 1px solid var(--sep); border-radius: var(--r-lg); background: var(--bg-elev-2); }
.ic-rec .ic-lede { margin: 0 0 var(--sp-2); }
.ic-rec-preview { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2); }
@media (max-width: 767px) {
.ic-step { grid-template-columns: 28px minmax(0, 1fr); column-gap: var(--sp-3); }
.ic-step-n { width: 28px; height: 28px; }
.ic-step:not(:last-child)::before { left: 13px; }
.ic-row-fail, .ic-row-note, .ic-preview-toggle, .ic-preview { margin-left: 0; }
.ic-pod { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .ic-preview-toggle svg { transition: none; } }
/* the side-by-side view: the consultant's own step, what Astra will do, and how it was worked out */
.ic-cases[data-wide] { grid-template-columns: minmax(0, 1fr); }
.ic-map { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: var(--lh-sm); table-layout: fixed; }
.ic-map th { text-align: left; padding: var(--sp-1) var(--sp-2); color: var(--label-2); font-weight: var(--fw-semibold); font-size: var(--fs-xs); border-bottom: 1px solid var(--sep); }
.ic-map td { padding: var(--sp-2); vertical-align: top; border-bottom: 1px solid var(--sep); overflow-wrap: anywhere; }
.ic-map th:nth-child(3), .ic-map td:nth-child(3) { width: 150px; }
.ic-map-row[data-origin='unmapped'] td { background: var(--orange-soft); }
.ic-map-you { display: flex; gap: var(--sp-2); }
.ic-map-n { flex: none; width: 20px; color: var(--label-2); font-family: var(--mono); font-size: var(--fs-xs); }
.ic-map-text { display: flex; flex-direction: column; min-width: 0; }
.ic-map-was { color: var(--label-2); margin-top: 2px; }
.ic-map-edit { flex: 1 1 auto; min-width: 0; }
.ic-map-does ul { margin: 0; padding-left: var(--sp-4); }
.ic-map-why { color: var(--label); }
.ic-map-how { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-1); }
.ic-map-note { margin-left: 0; }
.ic-map-review { margin-top: var(--sp-2); }
@media (max-width: 767px) {
.ic-map, .ic-map thead, .ic-map tbody, .ic-map tr, .ic-map td { display: block; }
.ic-map thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic-map td:nth-child(3), .ic-map th:nth-child(3) { width: auto; }
.ic-map-row { border-bottom: 1px solid var(--sep); padding: var(--sp-1) 0; }
.ic-map td { border-bottom: 0; padding: var(--sp-1) var(--sp-2); }
.ic-map-how { flex-direction: row; align-items: center; }
}
|