Standalone per-card browser model/security/view modules for HUX-01..10 plus node+pytest suites that read the hux.v1 contract schemas directly. Reconciled drift found on integration: the activity model now accepts all 32 hux.event.v1 kinds (delegation.*, memory.suppressed, memory.retrieval_removed, budget.exhausted, side_effect.*), the autonomy model carries the external_side_effect capability, and the foundation boundary test now asserts the shipped static HUX surface exists on disk and that images never bake activated HUX_FLAGS. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BvMSXH8VH2tMWXanb8SJdf
198 lines
3.8 KiB
CSS
198 lines
3.8 KiB
CSS
.hux-memory {
|
|
color: var(--hux-text, #dce8f4);
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.hux-memory-heading {
|
|
align-items: start;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.hux-memory-heading h2,
|
|
.hux-memory-heading h2 svg,
|
|
.hux-memory-hidden,
|
|
.hux-memory-actions,
|
|
.hux-memory-approval {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
.hux-memory-heading h2 {
|
|
gap: 0.4rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.hux-memory-heading p,
|
|
.hux-memory-edit p {
|
|
color: color-mix(in srgb, currentColor 62%, transparent);
|
|
font-size: 0.72rem;
|
|
margin: 0.25rem 0 0;
|
|
}
|
|
|
|
.hux-memory-approval {
|
|
background: color-mix(in srgb, #25d4c3 10%, transparent);
|
|
border: 1px solid color-mix(in srgb, #25d4c3 35%, transparent);
|
|
border-radius: 0.75rem;
|
|
font-size: 0.72rem;
|
|
gap: 0.4rem;
|
|
max-width: 24rem;
|
|
padding: 0.55rem 0.65rem;
|
|
}
|
|
|
|
.hux-memory-blocks {
|
|
align-items: center;
|
|
border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
|
|
border-radius: 0.75rem;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
padding: 0.65rem;
|
|
}
|
|
|
|
.hux-memory-blocks legend {
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
padding: 0 0.3rem;
|
|
}
|
|
|
|
.hux-memory button,
|
|
.hux-memory select,
|
|
.hux-memory textarea {
|
|
background: color-mix(in srgb, currentColor 7%, transparent);
|
|
border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
|
|
border-radius: 0.5rem;
|
|
color: inherit;
|
|
font: inherit;
|
|
}
|
|
|
|
.hux-memory button {
|
|
cursor: pointer;
|
|
padding: 0.38rem 0.55rem;
|
|
}
|
|
|
|
.hux-memory button:focus-visible,
|
|
.hux-memory select:focus-visible,
|
|
.hux-memory textarea:focus-visible {
|
|
outline: 2px solid var(--hux-accent, #25d4c3);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.hux-memory button:disabled {
|
|
cursor: wait;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.hux-memory-ledger {
|
|
display: grid;
|
|
gap: 0.65rem;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.hux-memory-card {
|
|
background: color-mix(in srgb, currentColor 3.5%, transparent);
|
|
border: 1px solid color-mix(in srgb, currentColor 13%, transparent);
|
|
border-radius: 0.8rem;
|
|
padding: 0.8rem;
|
|
}
|
|
|
|
.hux-memory-card > header {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.hux-memory-kind,
|
|
.hux-memory-status {
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hux-memory-status {
|
|
color: var(--hux-accent, #25d4c3);
|
|
}
|
|
|
|
.hux-memory-content {
|
|
font-size: 0.86rem;
|
|
line-height: 1.55;
|
|
margin: 0.65rem 0;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.hux-memory-hidden {
|
|
color: color-mix(in srgb, currentColor 62%, transparent);
|
|
font-size: 0.78rem;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.hux-memory-meta {
|
|
display: grid;
|
|
font-size: 0.68rem;
|
|
gap: 0.35rem 0.7rem;
|
|
grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
|
|
margin: 0.75rem 0;
|
|
}
|
|
|
|
.hux-memory-meta div { min-width: 0; }
|
|
.hux-memory-meta dt { color: color-mix(in srgb, currentColor 52%, transparent); }
|
|
.hux-memory-meta dd { margin: 0.12rem 0 0; overflow-wrap: anywhere; }
|
|
|
|
.hux-memory-actions {
|
|
flex-wrap: wrap;
|
|
gap: 0.45rem;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.hux-memory-actions svg,
|
|
.hux-memory-heading svg,
|
|
.hux-memory-hidden svg,
|
|
.hux-memory-approval svg {
|
|
height: 0.9rem;
|
|
width: 0.9rem;
|
|
}
|
|
|
|
.hux-memory-edit {
|
|
display: grid;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.hux-memory-edit textarea {
|
|
min-height: 6rem;
|
|
padding: 0.55rem;
|
|
resize: vertical;
|
|
width: 100%;
|
|
}
|
|
|
|
.hux-memory-warning {
|
|
border-left: 2px solid #efb756;
|
|
color: #efcf96;
|
|
font-size: 0.72rem;
|
|
margin: 0;
|
|
padding-left: 0.6rem;
|
|
}
|
|
|
|
.hux-memory-empty {
|
|
color: color-mix(in srgb, currentColor 58%, transparent);
|
|
font-size: 0.78rem;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 34rem) {
|
|
.hux-memory-heading,
|
|
.hux-memory-approval { align-items: stretch; }
|
|
.hux-memory-approval { max-width: none; width: 100%; }
|
|
.hux-memory-meta { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.hux-memory * { scroll-behavior: auto; transition: none; }
|
|
}
|
|
|