ShtukbaseStandard
página del paquete→ /design/shtukbase-ui-html/components/composite/property-row/property-row.css

pages/design/shtukbase-ui-html/components/composite/property-row/property-row.css

13 líneas, 1.6 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.

  1. /* property-row: name column and value column; grey under the pointer, never a frame. */
  2. .property-row {
  3. display: grid; grid-template-columns: minmax(0, var(--property-row-name-width, 120px)) minmax(0, 1fr); align-items: start; gap: 8px;
  4. width: 100%; min-width: 0; font: 400 13.5px/1.4 var(--font-sans); color: var(--foreground);
  5. }
  6. .property-row-name { display: flex; align-items: flex-start; gap: 6px; min-width: 0; padding: 5px 6px; color: var(--muted-foreground); font-size: 13px; overflow-wrap: anywhere; hyphens: auto; }
  7. .property-row-icon { flex: none; width: 14px; height: 14px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
  8. .property-row-value { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; min-width: 0; min-height: 29px; box-sizing: border-box; padding: 5px 6px; border-radius: calc(var(--radius) - 4px); outline: none; overflow-wrap: anywhere; hyphens: auto; transition: background-color var(--sb-dur, .18s) var(--sb-ease, ease); }
  9. .property-row:is(:hover, [data-hover]) .property-row-value { background: color-mix(in srgb, var(--foreground) 5%, transparent); }
  10. .property-row-value:focus-visible, .property-row[data-focus] .property-row-value { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 35%, transparent); }
  11. .property-row[data-status="empty"] .property-row-value { color: color-mix(in srgb, var(--muted-foreground) 70%, var(--background)); }
  12. .property-row[data-status="error"] .property-row-value { color: var(--destructive); }
  13. .property-row[data-status="loading"] .skeleton { width: 100%; max-width: 140px; }