descriptionslop

This commit is contained in:
legop3
2026-09-14 12:34:22 -04:00
parent 4635e1b40c
commit 3c385126ae
37 changed files with 339 additions and 174 deletions
+24 -10
View File
@@ -5,8 +5,9 @@
.configuration-tree {
/* A single ordered stack is the visual equivalent of YAML's top-to-bottom
document order. Separation comes from hierarchy, not unrelated tiles. */
@apply space-y-0.5;
document order. A deliberately large root gap makes the beginning and end
of every top-level section unmistakable, while nested lines stay compact. */
@apply mt-1 space-y-4;
}
.configuration-branch {
@@ -25,11 +26,6 @@
@apply text-sm font-semibold text-slate-100;
}
.configuration-branch-heading > div,
.configuration-branch-description {
@apply text-[0.7rem] text-slate-400;
}
.configuration-children {
/* Every container contributes exactly one indentation and one guide. Deep
descendants therefore explain their ancestry without calculating depth or
@@ -49,13 +45,31 @@
@apply min-w-0;
}
.configuration-key .field-description,
.configuration-key .help-block,
.configuration-branch-description {
.configuration-root-description,
.configuration-branch-description,
.configuration-item-description,
.configuration-value-description {
@apply block text-[0.7rem] leading-tight text-slate-500;
margin-top: 0.125rem;
}
.configuration-root-description {
@apply mb-1;
}
.configuration-branch-description,
.configuration-item-description {
/* Container help follows its heading at the same indentation; child keys
begin below it, preserving the same parent/child rhythm as YAML comments. */
@apply ml-0.5 max-w-[56rem];
}
.configuration-value-description {
/* A little separation from the widget keeps the help readable without
turning each setting back into a large card. */
@apply mb-0.5 max-w-[40rem];
}
.configuration-value input:not([type='checkbox']),
.configuration-value select,
.configuration-value textarea {