scss: introduce a public pk-important class for fields (#44251)

This commit is contained in:
Frédéric Péters 2020-06-19 10:15:20 +02:00
parent 6460cd2ae9
commit c3163ed333
2 changed files with 12 additions and 0 deletions

View File

@ -78,6 +78,11 @@ de classes CSS réutilisables.
<td><p><code>pk-hidden</code></p></td>
<td><p>Cache le champ (applicable uniquement aux champs de type « Liste »).</p></td>
</tr>
<tr>
<td><p><code>pk-important</code></p></td>
<td><p>Marque le champ comme étant particulièrement important, le rendu sera
généralement un libellé mis en gras.</p></td>
</tr>
</table>
</section>

View File

@ -94,3 +94,10 @@ table.pk-data-table {
}
}
}
.pk-important {
// on form fields, turn the label bold.
&.widget .title label {
font-weight: bold;
}
}