amelioration(champ.mandatory): utilise le param svg fill pour colorier l'asterisk en fonction de l'etat du champ
This commit is contained in:
parent
405c8dec17
commit
e859665ea4
3 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@
|
|||
|
||||
|
||||
.mandatory {
|
||||
color: $dark-red;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
label:not(.fr-label),
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.mandatory {
|
||||
.manager-mandatory {
|
||||
color: #A10005;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
%td.cell-data
|
||||
= type_de_champ.libelle
|
||||
- if type_de_champ.mandatory?
|
||||
%span.mandatory *
|
||||
%span.manager-mandatory *
|
||||
%td.cell-data
|
||||
= I18n.t("activerecord.attributes.type_de_champ.type_champs.#{type_de_champ.type_champ}")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue