Questa pagina è generata dai pacchetti Magma, documentati solo in inglese.
<!-- INCORRECT --><mds-price-table-features label="Funzioni di base"> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Utenti</mds-price-table-features-cell> <mds-price-table-features-cell type="text">10</mds-price-table-features-cell> </mds-price-table-features-row></mds-price-table-features>
<!-- CORRECT --><mds-price-table> <mds-price-table-features label="Funzioni di base"> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Utenti</mds-price-table-features-cell> <mds-price-table-features-cell type="text">10</mds-price-table-features-cell> </mds-price-table-features-row> </mds-price-table-features></mds-price-table><!-- INCORRECT --><mds-price-table> <mds-price-table-features label="Funzioni"> <tr> <td>Utenti</td> <td>10</td> </tr> </mds-price-table-features></mds-price-table>
<!-- CORRECT --><mds-price-table> <mds-price-table-features label="Funzioni"> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Utenti</mds-price-table-features-cell> <mds-price-table-features-cell type="text">10</mds-price-table-features-cell> </mds-price-table-features-row> </mds-price-table-features></mds-price-table><!-- INCORRECT --><mds-price-table-features-cell type="supported">Incluso</mds-price-table-features-cell><mds-price-table-features-cell type="unsupported">Non disponibile</mds-price-table-features-cell>
<!-- CORRECT --><mds-price-table-features-cell type="supported"></mds-price-table-features-cell><mds-price-table-features-cell type="unsupported"></mds-price-table-features-cell><!-- INCORRECT --><mds-price-table-features-row> <mds-price-table-features-cell type="text">Spazio di archiviazione</mds-price-table-features-cell> <mds-price-table-features-cell type="text">10 GB</mds-price-table-features-cell></mds-price-table-features-row>
<!-- CORRECT --><mds-price-table-features-row> <mds-price-table-features-cell type="label">Spazio di archiviazione</mds-price-table-features-cell> <mds-price-table-features-cell type="text">10 GB</mds-price-table-features-cell></mds-price-table-features-row><!-- INCORRECT - first row has 4 cells, second has 3 --><mds-price-table-features> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Utenti</mds-price-table-features-cell> <mds-price-table-features-cell type="text">5</mds-price-table-features-cell> <mds-price-table-features-cell type="text">20</mds-price-table-features-cell> <mds-price-table-features-cell type="text">Illimitati</mds-price-table-features-cell> </mds-price-table-features-row> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Supporto</mds-price-table-features-cell> <mds-price-table-features-cell type="unsupported"></mds-price-table-features-cell> <mds-price-table-features-cell type="supported"></mds-price-table-features-cell> </mds-price-table-features-row></mds-price-table-features>
<!-- CORRECT - every row has the same number of cells --><mds-price-table-features> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Utenti</mds-price-table-features-cell> <mds-price-table-features-cell type="text">5</mds-price-table-features-cell> <mds-price-table-features-cell type="text">20</mds-price-table-features-cell> <mds-price-table-features-cell type="text">Illimitati</mds-price-table-features-cell> </mds-price-table-features-row> <mds-price-table-features-row> <mds-price-table-features-cell type="label">Supporto</mds-price-table-features-cell> <mds-price-table-features-cell type="unsupported"></mds-price-table-features-cell> <mds-price-table-features-cell type="supported"></mds-price-table-features-cell> <mds-price-table-features-cell type="supported"></mds-price-table-features-cell> </mds-price-table-features-row></mds-price-table-features>/* INCORRECT */mds-price-table-features::part(table) { border-radius: 8px;}mds-price-table-features >>> table { border: 2px solid red;}
/* CORRECT */mds-price-table-features { --mds-price-table-features-border-color: rgb(var(--magma-accent-border)); --mds-price-table-features-padding: calc(var(--spacing) * 400);}mds-price-table-features::part(header) { background: rgb(var(--magma-wash-base));}