Icône sonné pour daltoniens

This commit is contained in:
Vincent Vandemeulebrouck 2021-01-04 01:19:47 +01:00
parent faa3eb8187
commit f5a0a82f41
4 changed files with 10 additions and 7 deletions

View File

@ -245,18 +245,18 @@ table {border: 1px solid #7a7971;}
height: 8%; height: 8%;
border-width: 0; border-width: 0;
} }
.small-button-container { .small-button-container {
height: 16px; height: 16px;
width: 16px;
border: 0; border: 0;
vertical-align: bottom;
} }
.small-button-container img { .img-sonne {
max-height: 100%; vertical-align: baseline;
max-width: 100%; max-height: 16px;
} border: 0;
.small-button-img {
max-height: 24;
border-width: 0;
} }
.foundryvtt-reve-de-dragon .sheet-header .header-fields { .foundryvtt-reve-de-dragon .sheet-header .header-fields {

View File

@ -83,6 +83,7 @@
<span class="competence-label flexrow" name="data.sante.sonne.label">Sonné : </span> <span class="competence-label flexrow" name="data.sante.sonne.label">Sonné : </span>
<input class="resource-content" type="checkbox" name="data.sante.sonne.value" <input class="resource-content" type="checkbox" name="data.sante.sonne.value"
value="{{data.sante.sonne.value}}" {{#if data.sante.sonne.value}}checked{{/if}} /> value="{{data.sante.sonne.value}}" {{#if data.sante.sonne.value}}checked{{/if}} />
<img class="img-sonne" {{#if data.sante.sonne.value}}style="opacity: 1;"{{else}}style="opacity: 0;"{{/if}} src="icons/svg/stoned.svg" height="16" width="16"/>
</li> </li>
<li class="competence flexrow list-item" data-attribute="etat"> <li class="competence flexrow list-item" data-attribute="etat">
<span class="competence-label flexrow" name="data.compteurs.etat.label">Etat Général : </span> <span class="competence-label flexrow" name="data.compteurs.etat.label">Etat Général : </span>

View File

@ -83,6 +83,7 @@
<span class="competence-label flexrow" name="data.sante.sonne.label">Sonné : </span> <span class="competence-label flexrow" name="data.sante.sonne.label">Sonné : </span>
<input class="resource-content" type="checkbox" name="data.sante.sonne.value" <input class="resource-content" type="checkbox" name="data.sante.sonne.value"
value="{{data.sante.sonne.value}}" {{#if data.sante.sonne.value}}checked{{/if}} /> value="{{data.sante.sonne.value}}" {{#if data.sante.sonne.value}}checked{{/if}} />
<img class="img-sonne" {{#if data.sante.sonne.value}}style="opacity: 1;"{{else}}style="opacity: 0;"{{/if}} src="icons/svg/stoned.svg" height="16" width="16"/>
</li> </li>
<li class="competence flexrow list-item" data-attribute="etat"> <li class="competence flexrow list-item" data-attribute="etat">
<span class="competence-label flexrow" name="data.compteurs.etat.label">Etat Général : </span> <span class="competence-label flexrow" name="data.compteurs.etat.label">Etat Général : </span>

View File

@ -41,6 +41,7 @@
<label class="ctn-sonne"> <label class="ctn-sonne">
Sonné : Sonné :
<input class="resource-content" type="checkbox" name="data.sante.sonne.value" value="{{data.sante.sonne.value}}" {{#if data.sante.sonne.value}}checked{{/if}} /> <input class="resource-content" type="checkbox" name="data.sante.sonne.value" value="{{data.sante.sonne.value}}" {{#if data.sante.sonne.value}}checked{{/if}} />
<img class="img-sonne" {{#if data.sante.sonne.value}}style="opacity: 1;"{{else}}style="opacity: 0;"{{/if}} src="icons/svg/stoned.svg" height="16" width="16"/>
</label> </label>
</li> </li>
<li> <li>