Add fight options

This commit is contained in:
sladecraven 2022-03-10 23:48:49 +01:00
parent f2d793c622
commit f3e7a9b249
4 changed files with 10 additions and 9 deletions

View File

@ -1456,18 +1456,19 @@ display: inline-flex;
/* Tooltip text */ /* Tooltip text */
.tooltip .tooltiptext { .tooltip .tooltiptext {
text-align: center; text-align: center;
/* Position the tooltip text */ /* Position the tooltip text */
top: 20px;
position: absolute; position: absolute;
z-index: 1; z-index: 1;
/* Fade in tooltip */ /* Fade in tooltip */
visibility: hidden; visibility: hidden;
opacity: 0; opacity: 0;
transition: opacity 0.3s; transition: opacity 0.3s;
} }
.tooltip .left-competence {
transform: translate(-100%, 0%);
}
.tooltip .ttt-fatigue{ .tooltip .ttt-fatigue{
width: 360px; width: 360px;

View File

@ -2,7 +2,7 @@
"name": "foundryvtt-reve-de-dragon", "name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon", "title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT", "description": "Rêve de Dragon RPG for FoundryVTT",
"version": "1.5.65", "version": "1.5.66",
"manifestPlusVersion": "1.0.0", "manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.8.0", "minimumCoreVersion": "0.8.0",
"compatibleCoreVersion": "9", "compatibleCoreVersion": "9",

View File

@ -17,10 +17,10 @@
{{#unless @root.options.editCaracComp}}disabled{{/unless}} /> {{#unless @root.options.editCaracComp}}disabled{{/unless}} />
<span class="competence-xp tooltip"> <span class="competence-xp tooltip">
<input class="competence-xp " type="text" compname="{{name}}" name="comp-xp-{{name}}" <input class="competence-xp " type="text" compname="{{name}}" name="comp-xp-{{name}}"
value="{{numberFormat data.xp decimals=0 sign=false}}" data-dtype="number" value="{{numberFormat data.xp decimals=0 sign=false}}" data-dtype="number"
{{#unless @root.options.editCaracComp}}disabled{{/unless}} /> {{#unless @root.options.editCaracComp}}disabled{{/unless}} />
<span class="tooltiptext ttt-xp">Vous devez acquérir {{data.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}}</span> <span class="tooltiptext left-competence ttt-xp">Vous devez acquérir {{data.xpNext}} points d'Experience pour augmenter de 1 votre compétence {{name}}</span>
</span> </span>
{{#if (eq data.categorie 'draconic')}} {{#if (eq data.categorie 'draconic')}}