web/repo: paths, file names, hashes and dids are set in maple mono
Signed-off-by: dawn <dawn@tangled.org>
274 unmodified linesExpand all27527627727827928028128228369 unmodified lines274 unmodified linesExpand all font-weight: 700; } .did { margin: 0.2rem 0 0; font-family: var(--font-mono); overflow: hidden; color: var(--y-muted); font-size: 0.8em; text-overflow: ellipsis;69 unmodified lines143 unmodified linesExpand all1441451461471481481491501511521531541551561561571581591603 unmodified lines16416516616716816916817017117217317477 unmodified lines143 unmodified linesExpand all role="group" aria-label="commit" bind:this={fit.ribbon} > <span class="y-seg y-seg-m shrink-0">{commit.shortHash}</span> <span class="y-seg y-seg-m shrink-0 font-mono">{commit.shortHash}</span> {#if parents.length === 1} <a class="y-seg shrink-1000" class:hidden={gone(1)} href={resolve(`${base}/commit/${parents[0]}` as "/")} > <span class="text-(--y-muted)">parent</span> {parents[0].slice(0, 8)} <span class="font-mono">{parents[0].slice(0, 8)}</span> </a> {:else if parents.length > 1} <span class="flex shrink-1000" class:hidden={gone(1)}> <Popover label="{parents.length} parents">3 unmodified lines {/snippet} <ul class="m-0 list-none px-3 py-1.5"> {#each parents as hash (hash)} <li> <a class="font-mono" <a href={resolve(`${base}/commit/${hash}` as "/")} href={resolve(`${base}/commit/${hash}` as "/")} >{hash.slice(0, 8)}</a > </li> {/each}77 unmodified lines79 unmodified lines80818283848485868788115 unmodified linesExpand all79 unmodified lines <summary class="relative flex min-w-0 cursor-pointer list-none items-baseline gap-x-3 py-1.5 pr-2 pl-4 group-open:bg-(--y-soft) hover:bg-(--y-soft) max-md:gap-x-2 [&::-webkit-details-marker]:hidden" > <CommitRail {colour} seamFrom={seamFrom && authorColour(seamFrom)} /> <span class="w-[8ch] shrink-0 text-(--y-accent) tabular-nums max-md:hidden" <span class="w-[8ch] shrink-0 font-mono text-(--y-accent) max-md:hidden" >{commit.shortHash}</span > {#if ditto} <span class="w-[10ch] shrink-0 pl-1 text-(--y-muted) max-md:hidden" aria-hidden="true"115 unmodified linesExpand all53 unmodified lines5455565758585960616249 unmodified lines53 unmodified lines <span data-testid="diffFileName" data-path={name} title={name} class="flex min-w-0 flex-auto items-center overflow-hidden" class="flex min-w-0 flex-auto items-center overflow-hidden font-mono" > <span class="min-w-0 truncate text-(--y-muted)">{cut === -1 ? "" : name.slice(0, cut)}</span > <span class="min-w-0 shrink-[0.001] truncate">{base.head}</span><span class="shrink-0"49 unmodified lines166 unmodified linesExpand all16716816917017117217317417517617717817934 unmodified lines166 unmodified linesExpand all .lab { display: flex; min-width: 0; } /* a file or folder's tab names its path */ .cur:not(.ticket) .lab, .path { font-family: var(--font-mono); } .num { flex: none; opacity: 0.7; }34 unmodified lines21 unmodified lines22232425262726272829303132323321 unmodified lines };</script>
{#if revIdHighlight.enabled} <span ><span class="font-[500] {tones[kind]}">{short.slice(0, prefix)}</span><span <span class="font-mono" ><span class="font-medium {tones[kind]}">{short.slice(0, prefix)}</span><span class="text-foreground-subtle">{short.slice(prefix)}</span ></span >{:else} <span class="text-foreground-muted">{short}</span> <span class="font-mono text-foreground-muted">{short}</span>{/if}70 unmodified lines7172737475757677787930 unmodified lines70 unmodified lines } .sha { color: var(--y-text); text-decoration: none; font-variant-numeric: tabular-nums; font-family: var(--font-mono); } .by { min-width: 0; overflow: hidden;30 unmodified lines88 unmodified lines8990919293949596972 unmodified lines88 unmodified lines
.sha { color: var(--y-accent); text-decoration: none; font-family: var(--font-mono); }
a.sha:hover { text-decoration: underline;2 unmodified lines25 unmodified lines2627282930303132333435363718 unmodified lines25 unmodified lines class="grid grid-cols-[minmax(0,1fr)_auto_calc(5*0.4375rem+4px)] items-center gap-md border-b border-(--y-border) px-sm py-2xs text-(--y-text) no-underline hover:bg-(--y-soft) hover:text-(--y-accent) max-sm:grid-cols-[minmax(0,1fr)_auto]" onclick={() => onSelect?.(file.name)} > <span class="flex min-w-0 items-baseline gap-sm overflow-hidden"> <span class="flex min-w-0 shrink items-baseline overflow-hidden" title={file.name}> <span class="flex min-w-0 shrink items-baseline overflow-hidden font-mono" title={file.name} > <span class="min-w-0 truncate text-(--y-muted)" >{cut === -1 ? "" : file.name.slice(0, cut)}</span > <span class="min-w-0 shrink-[0.001] truncate">{base.head}</span><span18 unmodified lines177 unmodified linesExpand all17817918018118218318418518618718818919019119219319443 unmodified lines177 unmodified linesExpand all max-width: none; } .rev { color: var(--y-accent); font-family: var(--font-mono); } .row { padding: 0 0.75rem; overflow-wrap: anywhere; } .row.path { font-family: var(--font-mono); } .row + .row { border-top: 1px solid var(--y-border); } /* the path and the footer frame the menu's rows */43 unmodified lines65 unmodified lines6667686970707172737433 unmodified lines65 unmodified lines <PipelineTriggerSeg {base} trigger={pipeline.trigger} {forkLabels} plain /> </span> <a href={commitHref} class="relative z-1 w-[8ch] shrink-0 text-(--y-accent) tabular-nums no-underline hover:underline max-md:hidden" class="relative z-1 w-[8ch] shrink-0 font-mono text-(--y-accent) no-underline hover:underline max-md:hidden" >{pipeline.sha.slice(0, 8)}</a > {#if ditto} <span class="w-[14ch] shrink-0 pl-1 text-(--y-muted) max-md:hidden" aria-hidden="true"33 unmodified lines100 unmodified lines10110210310410510510610710810939 unmodified lines100 unmodified lines ><span class="truncate">{currentWorkflow.name}</span></span > <a href={resolve(`${base}/commit/${currentPipeline.sha}` as "/")} class="y-seg shrink-0 max-md:hidden">{currentPipeline.sha.slice(0, 8)}</a class="y-seg shrink-0 font-mono max-md:hidden">{currentPipeline.sha.slice(0, 8)}</a > <Elapsed start={stamp(currentWorkflow.startedAt)} end={stamp(currentWorkflow.finishedAt)}39 unmodified lines46 unmodified lines4748495051515253545553545556575868 unmodified lines46 unmodified lines class="absolute inset-x-0 top-0 h-10" aria-label="open commit {commit.shortHash}" ></a> <div class="pointer-events-none col-start-1 row-start-1 flex h-10 items-center gap-sm"> <span class="w-[8ch] text-(--y-accent) tabular-nums">{commit.shortHash}</span> <span class="w-[8ch] font-mono text-(--y-accent)">{commit.shortHash}</span> {#if commit.changeId} <span class="w-[8ch] text-(--y-muted) tabular-nums max-sm:hidden" title={commit.changeId}>{commit.changeId.slice(0, 8)}</span <span class="w-[8ch] font-mono text-(--y-muted) max-sm:hidden" title={commit.changeId} >{commit.changeId.slice(0, 8)}</span > {/if} </div> <div68 unmodified lines136 unmodified linesExpand all13713813914014114114214314414544 unmodified lines136 unmodified linesExpand all } .sha { flex: none; color: var(--y-accent); font-variant-numeric: tabular-nums; font-family: var(--font-mono); } .ld :global(.age) { flex: none; min-width: 2.2em;44 unmodified lines345 unmodified linesExpand all34634734834935035135235335447 unmodified lines345 unmodified linesExpand all color: var(--y-accent); } .fn { min-width: 0; font-family: var(--font-mono); overflow: hidden; color: inherit; text-decoration: none; text-overflow: ellipsis;47 unmodified lines