[Vermine2047] Bugfix (#6445)

This commit is contained in:
Zakarik
2020-05-11 13:33:18 -04:00
committed by GitHub
parent 3ee2320a41
commit cc16bd8680
2 changed files with 32 additions and 6 deletions
+22 -5
View File
@@ -55,6 +55,7 @@ textarea
padding:0px;
text-align:justify;
border-radius:0px;
color:black;
}
label
@@ -76,6 +77,7 @@ select
display:flex;
flex-wrap:wrap;
font-family:"Fredericka the Great";
color:black;
}
h1
@@ -88,7 +90,7 @@ h1
letter-spacing:-2px;
line-height:35px;
z-index:100;
opacity:0.4;
opacity:0.7;
}
h2
@@ -2014,8 +2016,6 @@ div.sheet-bonusMalus
background-size: calc(30% + 43px) 100%;
}
div.sheet-bonusMalus > .repcontainer,
div.sheet-bonusMalus > .repcontainer > .repitem,
div.sheet-capacite > .repcontainer,
div.sheet-capacite > .repcontainer > .repitem
{
@@ -2024,10 +2024,17 @@ div.sheet-capacite > .repcontainer > .repitem
justify-content:space-between;
}
div.sheet-bonusMalus > .repcontainer,
div.sheet-bonusMalus > .repcontainer > .repitem
{
display:flex;
width:100%;
}
div.sheet-bonusMalus > .repcontainer > .repitem > input[type="text"]:first-of-type
{
display:flex;
width:calc(70% - 5px);
width:calc(70% - 5px - 30px);
border:0px;
border-bottom:1px dashed black;
padding-bottom:0px;
@@ -2035,7 +2042,7 @@ div.sheet-bonusMalus > .repcontainer > .repitem > input[type="text"]:first-of-ty
color: black;
}
div.sheet-bonusMalus > .repcontainer > .repitem > input[type="text"]:last-of-type
div.sheet-bonusMalus > .repcontainer > .repitem > input[type="text"]:nth-of-type(2)
{
display:flex;
width:calc(30% - 5px);
@@ -2045,6 +2052,7 @@ div.sheet-bonusMalus > .repcontainer > .repitem > input[type="text"]:last-of-typ
text-align:center;
background:transparent;
color: black;
margin-left:auto;
}
div.sheet-capacite > .repcontainer > .repitem > input[type="text"]
@@ -2058,6 +2066,7 @@ div.sheet-capacite > .repcontainer > .repitem > input[type="text"]
background:transparent;
}
div.sheet-bonusMalus > .repcontainer > .repitem > label,
div.sheet-capacite > .repcontainer > .repitem > label
{
width: 18px;
@@ -2065,6 +2074,7 @@ div.sheet-capacite > .repcontainer > .repitem > label
margin-top: 5px;
}
div.sheet-bonusMalus > .repcontainer > .repitem > label > input[type="checkbox"],
div.sheet-capacite > .repcontainer > .repitem > label > input[type="checkbox"]
{
position: absolute;
@@ -2076,6 +2086,7 @@ div.sheet-capacite > .repcontainer > .repitem > label > input[type="checkbox"]
margin-left: 2px;
}
div.sheet-bonusMalus > .repcontainer > .repitem > label > span,
div.sheet-capacite > .repcontainer > .repitem > label > span
{
width:100%;
@@ -2084,6 +2095,7 @@ div.sheet-capacite > .repcontainer > .repitem > label > span
transition:transform 2s;
}
div.sheet-bonusMalus > .repcontainer > .repitem > label > input[type="checkbox"] + span::before,
div.sheet-capacite > .repcontainer > .repitem > label > input[type="checkbox"] + span::before
{
content:']';
@@ -2093,6 +2105,7 @@ div.sheet-capacite > .repcontainer > .repitem > label > input[type="checkbox"] +
font-family: pictos;
}
div.sheet-bonusMalus > .repcontainer > .repitem > label > input[type="checkbox"]:checked + span::before,
div.sheet-capacite > .repcontainer > .repitem > label > input[type="checkbox"]:checked + span::before
{
@@ -2102,21 +2115,25 @@ div.sheet-capacite > .repcontainer > .repitem > label > input[type="checkbox"]:c
font-family: pictos;
}
div.sheet-bonusMalus > .repcontainer > .repitem > label > input[type="checkbox"] + span,
div.sheet-capacite > .repcontainer > .repitem > label > input[type="checkbox"] + span
{
transform:rotate(90deg);
}
div.sheet-bonusMalus > .repcontainer > .repitem > label > input[type="checkbox"]:checked + span,
div.sheet-capacite > .repcontainer > .repitem > label > input[type="checkbox"]:checked + span
{
transform:rotate(-90deg);
}
div.sheet-bonusMalus > .repcontainer > .repitem > div,
div.sheet-capacite > .repcontainer > .repitem > div
{
display:none;
}
div.sheet-bonusMalus > .repcontainer > .repitem > input[type="hidden"][value="1"] + div,
div.sheet-capacite > .repcontainer > .repitem > input[type="hidden"][value="1"] + div
{
display:flex;
+10 -1
View File
@@ -679,7 +679,7 @@
<label>
<span>Compétence</span>
<select name="attr_competence">
<option value="D10>@{difficulte}]]}} {{comp=}}" selected></option>
<option value="]]D10s>@{difficulte}]]}} {{comp=}} {{pComp=[[1]]}}" selected></option>
<optgroup label="L'Homme">
<option value="[[[[ceil(@{arts}/2)]]]]]]D10s>@{diff}]]}} {{comp=Arts}} {{pComp=[[1]]}}">Arts</option>
<option value="[[[[ceil(@{civilisation}/2)]]]]]]D10s>@{diff}]]}} {{comp=Civilisation}} {{pComp=[[1]]}}">Civilisation</option>
@@ -2190,8 +2190,17 @@
<div class="bonusMalus">
<h2>Bonus / Malus</h2>
<fieldset class="repeating_bonusMalus">
<label>
<input type="checkbox" name="attr_BMExtend" value="1" checked />
<span></span>
</label>
<input type="text" name="attr_nBonusMalus" />
<input type="text" name="attr_vBonusMalus" />
<input type="hidden" name="attr_BMExtend" value="1" />
<div class="autoex autoex28">
<span name="attr_BMDescription"></span>
<textarea name="attr_BMDescription"></textarea>
</div>
</fieldset>
</div>