página del paquete→ /design/shtukbase-ui-html/components/composite/settings-group/settings-group.css
pages/design/shtukbase-ui-html/components/composite/settings-group/settings-group.css
11 líneas, 1.2 KB. Abrir tal cual (en un proyecto hay otros archivos a su lado; aquí pueden faltar).
El archivo tal como está en el paquete: el código y sus comentarios no se traducen.
- /* settings-group: rows of label and control, 6px apart; no frame, no plate, the panel's ground. */
- .settings-group { display: flex; flex-direction: column; gap: 2px; width: 100%; min-width: 0; }
- .settings-group-title { padding: 0 0 4px; font: 600 12px/1.3 var(--font-sans); color: var(--muted-foreground); overflow-wrap: anywhere; hyphens: auto; }
- .settings-group-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; min-height: 32px; }
- .settings-group-label { flex: 1 1 auto; min-width: 0; font: 400 13px/1.35 var(--font-sans); color: var(--foreground); overflow-wrap: anywhere; hyphens: auto; }
- .settings-group-row > :not(.settings-group-label, .panel-section-seg) { flex: none; max-width: 60%; }
- /* a segmented choice keeps the width its options need (none is cut); when the label and the choice do not fit in one row, the choice goes under the label and takes the whole row */
- .settings-group-row:has(> .panel-section-seg) { flex-wrap: wrap; row-gap: 4px; }
- .settings-group-row:has(> .panel-section-seg) > .settings-group-label { flex: 1000 1 auto; }
- .settings-group-row > .panel-section-seg { flex: 1 1 auto; width: auto; max-width: 100%; }
- .settings-group[data-disabled] { opacity: .5; pointer-events: none; }