Projet

Général

Profil

0001-scss-introduce-a-public-pk-important-class-for-field.patch

Frédéric Péters, 19 juin 2020 14:54

Télécharger (1,31 ko)

Voir les différences:

Subject: [PATCH 1/2] scss: introduce a public pk-important class for fields
 (#44251)

 help/fr/misc-css-classes.page | 5 +++++
 static/includes/_library.scss | 7 +++++++
 2 files changed, 12 insertions(+)
help/fr/misc-css-classes.page
78 78
  <td><p><code>pk-hidden</code></p></td>
79 79
  <td><p>Cache le champ (applicable uniquement aux champs de type « Liste »).</p></td>
80 80
 </tr>
81
 <tr>
82
  <td><p><code>pk-important</code></p></td>
83
  <td><p>Marque le champ comme étant particulièrement important, le rendu sera
84
  généralement un libellé mis en gras.</p></td>
85
 </tr>
81 86
</table>
82 87
</section>
83 88

  
static/includes/_library.scss
94 94
		}
95 95
	}
96 96
}
97

  
98
.pk-important {
99
	// on form fields, turn the label bold.
100
	&.widget .title label {
101
		font-weight: bold;
102
	}
103
}
97
-