Ajouts de deux Css
Début du travail sur le repeating field, beaucoup a faire pour le rendre potable
This commit is contained in:
parent
68c2d0a610
commit
cf713cddf6
|
|
@ -57,20 +57,59 @@
|
|||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Perception [[(@{base-Perception}*2) + @{exal-Perception} + @{dice}]]"></button></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Perception brute[[(@{base-Perception}*2) + @{exal-Perception} + 1d10]]">Brut</button></td>
|
||||
</tr><tr>
|
||||
<td>Charisme</td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_base-Charisme" value="0" min="0" max="10"/></td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_exal-Charisme" value="0" min="0" max="10"/></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Charisme [[(@{base-Charisme}*2) + @{exal-Charisme} + @{dice}]]"></button></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Charisme brute[[(@{base-Charisme}*2) + @{exal-Charisme} + 1d10]]">Brut</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class='sheet-col'>
|
||||
<h3 class="sheet-center"> </h3>
|
||||
<table class="">
|
||||
<tr>
|
||||
<th>Carac</th>
|
||||
<th>Valeur</th>
|
||||
<th>Exaltée</th>
|
||||
<th colspan="2">Lancer</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Intelligence</td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_base-Intelligence" value="0" min="0" max="10"/></td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_exal-Intelligence" value="0" min="0" max="10"/></td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_base-Intelligence" value="0" min="0" max="10" /></td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_exal-Intelligence" value="0" min="0" max="10" /></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Intelligence [[(@{base-Intelligence}*2) + @{exal-Intelligence} + @{dice}]]"></button></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Intelligence brute[[(@{base-Intelligence}*2) + @{exal-Intelligence} + 1d10]]">Brut</button></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Intelligence brute [[(@{base-Intelligence}*2) + @{exal-Intelligence} + 1d10]]">Brut</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Volonte</td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_base-Volonte" value="0" min="0" max="10"/></td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_exal-Volonte" value="0" min="0" max="10"/></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Volonte [[(@{base-Volonte}*2) + @{exal-Volonte} + @{dice}]]"></button></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Volonte brute[[(@{base-Volonte}*2) + @{exal-Volonte} + 1d10]]">Brut</button></td>
|
||||
</tr><tr>
|
||||
<td>Psyché</td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_base-Psyche" value="0" min="0" max="10"/></td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_exal-Psyche" value="0" min="0" max="10"/></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Psyche [[(@{base-Psyche}*2) + @{exal-Psyche} + @{dice}]]"></button></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Psyche brute[[(@{base-Psyche}*2) + @{exal-Psyche} + 1d10]]">Brut</button></td>
|
||||
</tr><tr>
|
||||
<td>Chance</td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_base-Chance" value="0" min="0" max="10"/></td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_exal-Chance" value="0" min="0" max="10"/></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Chance [[(@{base-Chance}*2) + @{exal-Chance} + @{dice}]]"></button></td>
|
||||
<td><button type='roll' class="sheet-trait_roll" value="/e - Test de Chance brute[[(@{base-Chance}*2) + @{exal-Chance} + 1d10]]">Brut</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class='sheet-col'>
|
||||
<h3 class="sheet-center">Ressources</h3>
|
||||
<br/>
|
||||
<table class="sheet-center sheet-black">
|
||||
<tr>
|
||||
<td><h3>Points de Vie</h3></td>
|
||||
<td><input type="number" class="sheet-trait" name="attr_trait_base-Life_Points" value="0"/></td>
|
||||
<td><input type="number" class="sheet-trait" disabled="true" name="attr_trait_base-Max_Life_Points" value="@{base-Force}+@{base-Volonte}+@{base-Agilite}+10"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><h3>Points de Fatigue</h3></td>
|
||||
|
|
@ -79,13 +118,24 @@
|
|||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<br/>
|
||||
<!--TAB 1 -->
|
||||
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab1" value="1" title="Compétences" checked="checked" /><span></span>
|
||||
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab2" value="2" title="Combat" /><span></span>
|
||||
<input type="radio" name="attr_tab" class="sheet-tab sheet-tab3" value="3" title="Magie" /><span></span>
|
||||
<div class="sheet-tab-content sheet-tab1">
|
||||
<div class='sheet-col'>
|
||||
<h3>Skills</h3>
|
||||
<fieldset class="repeating_skills">
|
||||
<select name="attr_dtype" class="dtype">
|
||||
<option value="d4">d4</option>
|
||||
<option value="d6">d6</option>
|
||||
<option value="d8">d8</option>
|
||||
<option value="d10">d10</option>
|
||||
<option value="d12">d12</option>
|
||||
</select>
|
||||
<input type="text" name="attr_skillname" />
|
||||
</fieldset>
|
||||
<h2>COMPETENCES</h2>
|
||||
<table>
|
||||
<tr>
|
||||
|
|
|
|||
86
style.css
86
style.css
|
|
@ -26,4 +26,88 @@ td {
|
|||
|
||||
.sheet-dice>option {
|
||||
font-size: 0.4em;
|
||||
}
|
||||
}
|
||||
|
||||
div.sheet-tab-content { display: none; }
|
||||
input.sheet-tab1:checked ~ div.sheet-tab1,
|
||||
input.sheet-tab2:checked ~ div.sheet-tab2,
|
||||
input.sheet-tab3:checked ~ div.sheet-tab3,
|
||||
input.sheet-tab4:checked ~ div.sheet-tab4,
|
||||
input.sheet-tab5:checked ~ div.sheet-tab5,
|
||||
input.sheet-tab6:checked ~ div.sheet-tab6
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
input.sheet-secondary_tab1:checked ~ div.sheet-secondary_tab1,
|
||||
input.sheet-secondary_tab2:checked ~ div.sheet-secondary_tab2,
|
||||
input.sheet-secondary_tab3:checked ~ div.sheet-secondary_tab3,
|
||||
input.sheet-secondary_tab4:checked ~ div.sheet-secondary_tab4,
|
||||
input.sheet-secondary_tab5:checked ~ div.sheet-secondary_tab5,
|
||||
input.sheet-secondary_tab6:checked ~ div.sheet-secondary_tab6,
|
||||
input.sheet-secondary_tab7:checked ~ div.sheet-secondary_tab7,
|
||||
input.sheet-secondary_tab8:checked ~ div.sheet-secondary_tab8
|
||||
{
|
||||
display:block;
|
||||
}
|
||||
input.sheet-tab{
|
||||
width:150px;
|
||||
height: 20px;
|
||||
top: 5px;
|
||||
left: 6px;
|
||||
margin: 5px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
}
|
||||
input.sheet-tab::before{
|
||||
content: attr(title);
|
||||
|
||||
border-radius:.5em;
|
||||
border:2px solid black;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
|
||||
background: black;
|
||||
color:white;
|
||||
width: 150px;
|
||||
height: 20px;
|
||||
font-size: 18px;
|
||||
}
|
||||
input.sheet-tab:checked::before{
|
||||
background:#CCCCCC;
|
||||
color:black;
|
||||
border-radius:.5em;
|
||||
border:2px solid black;
|
||||
}
|
||||
|
||||
input.sheet-small_tab{
|
||||
width:90px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
margin:5px;
|
||||
}
|
||||
input.sheet-small_tab::before{
|
||||
content: attr(title);
|
||||
|
||||
border-radius:.5em;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
color:white;
|
||||
background:black;
|
||||
border:2px solid black;
|
||||
width: 90px;
|
||||
height:20px;
|
||||
font-size: 14px;
|
||||
|
||||
}
|
||||
input.sheet-small_tab:checked::before{
|
||||
border:2px solid black;
|
||||
background:#CCCCCC;
|
||||
color:black;
|
||||
border-radius:.5em;
|
||||
}
|
||||
|
||||
div.sheet-tab-content{
|
||||
border-top-color: #000;
|
||||
margin: 2px 0 0 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue