Soften default tables reference chrome

This commit is contained in:
2026-03-21 15:16:55 +01:00
parent 6a5d024029
commit 662640e5bd
4 changed files with 13 additions and 3 deletions

View File

@@ -36,7 +36,11 @@
<div class="@GetCellCssClass(cell, displayColumn.GroupKey)" @onclick="() => SelectCell(cell)">
<div class="critical-table-cell-shell">
<div class="critical-table-cell-actions">
@if (cell.IsCurated)
@if (string.Equals(CurrentMode, TablesReferenceMode.Reference, StringComparison.Ordinal))
{
<StatusIndicator Tone="@(cell.IsCurated ? "success" : "warning")" CssClass="tables-cell-status-indicator" />
}
else if (cell.IsCurated)
{
<span class="critical-cell-status-chip is-curated">Curated</span>
}

View File

@@ -11,7 +11,7 @@
<button type="button" class="btn btn-link" @onclick="() => OnToggleLegend.InvokeAsync()">
@(IsLegendOpen ? "Hide help" : "Reading help")
</button>
<p class="table-browser-edit-hint">Use the inspector to inspect, curate, or edit the selected result.</p>
<p class="table-browser-edit-hint">Select a result to inspect it beside the table.</p>
</div>
</div>

View File

@@ -1710,6 +1710,10 @@ pre,
margin-left: auto;
}
.tables-cell-status-indicator {
min-height: 1rem;
}
.critical-cell-action-button {
border: 1px solid rgba(127, 96, 55, 0.18);
border-radius: 999px;