refactor(clues): settings facts, errors and empty state use the shared components
Dependency, plan, install and connection rows are FactRows (with a trailing action seat and data-* passthrough); source-list failures are ErrorBlocks; the empty catalogue is an EmptyState. Drops the settings sheet's dead rules.
This commit is contained in:
1 parent
3af5dd0a9c
commit
594d75cd13
6 files changed
+106
-286
No files matched your search
@@ -24,10 +24,12 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* A long value wraps under its label instead of squeezing it. */
|
||||
.factRow {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
gap: var(--ds-sidebar-space-2);
|
||||
gap: var(--ds-sidebar-space-1) var(--ds-sidebar-space-3);
|
||||
min-width: 0;
|
||||
padding: 3px 0;
|
||||
font: var(--dsw-font-xxs-12);
|
||||
@@ -35,15 +37,19 @@
|
||||
|
||||
.factLabel {
|
||||
flex: none;
|
||||
min-width: 72px;
|
||||
color: var(--dsw-alias-label-tertiary);
|
||||
}
|
||||
|
||||
.factValue {
|
||||
flex: 1 1 160px;
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--dsw-alias-label-primary);
|
||||
}
|
||||
|
||||
.factAction { flex: none; }
|
||||
|
||||
/* One ink rung per fact tone; a default fact stays secondary. */
|
||||
.factRow[data-tone='error'] .factValue { color: var(--dsw-alias-state-error-primary); }
|
||||
.factRow[data-tone='warn'] .factValue { color: var(--dsw-alias-state-warn-primary); }
|
||||
|
||||
Reference in new issue
Block a user