[Aborea] bugfix & improvements (#7170)
* expand text fields individually * fix list macro fix issue #1
This commit is contained in:
File diff suppressed because one or more lines are too long
+7
-26
@@ -49,7 +49,6 @@
|
||||
<span class="sheet-slider"></span>
|
||||
</label>
|
||||
<label class="sheet-redbg">Beruf</label>
|
||||
<input style="display: none;" type="checkbox" name="attr_toggle_beruf" value="1" />
|
||||
<input type="text" name="attr_beruf" />
|
||||
<select name="attr_beruf">
|
||||
<option value="Barde">Barde</option>
|
||||
@@ -264,7 +263,7 @@
|
||||
</div>
|
||||
<div><input type="number" name="attr_list" value="0" /></div>
|
||||
<div><button type="roll" name="roll_list"
|
||||
value="@{abilityroll} würfelt List mit dem Ergebnis [[1d10! + @{athletik_attribut} + @{athletik} + ?{Modifier?|0}]]"></button>
|
||||
value="@{abilityroll} würfelt List mit dem Ergebnis [[1d10! + @{list_attribut} + @{list} + ?{Modifier?|0}]]"></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="repitem">
|
||||
@@ -401,28 +400,13 @@
|
||||
<div class="sheet-clear"></div>
|
||||
|
||||
<div class="sheet-float sheet-half sheet-inventar">
|
||||
<label class="sheet-switch">
|
||||
<input type="checkbox" name="attr_show_inventar" value="1" checked />
|
||||
<span class="sheet-slider"></span>
|
||||
</label>
|
||||
<input style="display: none;" type="checkbox" name="attr_show_inventar" value="1" />
|
||||
<div class="sheet-redbg">Inventar</div>
|
||||
<div class="sheet-options sheet-inventar-row">
|
||||
<input type="text" name="attr_ruestung1" placeholder="Rüstung" />
|
||||
<input type="number" name="attr_ruestung1_ruestwert" placeholder="Rüstwert" />
|
||||
<input type="number" name="attr_ruestung1_manoever" placeholder="Manöver" />
|
||||
<textarea name="attr_ruestung1_description" placeholder="Beschreibung"></textarea>
|
||||
</div>
|
||||
<div class="sheet-options sheet-inventar-row">
|
||||
<input type="text" name="attr_ruestung2" placeholder="Rüstung" />
|
||||
<input type="number" name="attr_ruestung2_ruestwert" placeholder="Rüstwert" />
|
||||
<input type="number" name="attr_ruestung2_manoever" placeholder="Manöver" />
|
||||
<textarea name="attr_ruestung2_description" placeholder="Beschreibung"></textarea>
|
||||
</div>
|
||||
<fieldset class="repeating_inventar">
|
||||
<div class="sheet-options sheet-inventar-row">
|
||||
<input type="text" name="attr_name" placeholder="Gegenstand" />
|
||||
<input type="text" name="attr_wight" placeholder="Info" />
|
||||
<input class="sheet-options-flag" name="attr_options-flag" type="checkbox"
|
||||
title="Show/hide options"><span>y</span>
|
||||
<input type="text" name="attr_name" placeholder="Gegenstand/Rüstung" />
|
||||
<input type="text" name="attr_wight" placeholder="Info/Rüstwert" />
|
||||
<input type="number" name="attr_costs" placeholder="Anzahl" />
|
||||
<textarea name="attr_description" placeholder="Beschreibung"></textarea>
|
||||
</div>
|
||||
@@ -430,14 +414,11 @@
|
||||
</div>
|
||||
|
||||
<div class="sheet-float sheet-half sheet-notes">
|
||||
<label class="sheet-switch">
|
||||
<input type="checkbox" name="attr_show_notes" value="1" checked />
|
||||
<span class="sheet-slider"></span>
|
||||
</label>
|
||||
<input style="display: none;" type="checkbox" name="attr_show_notes" value="1" />
|
||||
<div class="sheet-redbg">Notizen</div>
|
||||
<fieldset class="repeating_notes">
|
||||
<div class="sheet-options sheet-notes-row">
|
||||
<input class="sheet-options-flag" name="attr_options-flag" type="checkbox"
|
||||
title="Show/hide options"><span>y</span>
|
||||
<input type="text" name="attr_title" placeholder="Titel" />
|
||||
<textarea name="attr_body" placeholder="Inhalt"></textarea>
|
||||
</div>
|
||||
|
||||
+43
-1
@@ -113,6 +113,41 @@
|
||||
}
|
||||
}
|
||||
|
||||
.sheet-options-flag,
|
||||
.sheet-options-flag+span {
|
||||
position: absolute;
|
||||
top : -10px;
|
||||
left : -10px;
|
||||
}
|
||||
|
||||
.sheet-options-flag {
|
||||
opacity : 0;
|
||||
width : 16px !important;
|
||||
min-height: 16px;
|
||||
z-index : 2;
|
||||
|
||||
&+span {
|
||||
white-space : nowrap;
|
||||
width : 16px;
|
||||
height : 16px;
|
||||
font-size : 16px;
|
||||
font-family : pictos;
|
||||
color : #bbb;
|
||||
cursor : pointer;
|
||||
margin-top : 0;
|
||||
display : none;
|
||||
text-transform: lowercase;
|
||||
}
|
||||
|
||||
~textarea {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:checked~textarea {
|
||||
display: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
/* Tabelle */
|
||||
.sheet-grid,
|
||||
.sheet-gridplace .repcontainer .repitem,
|
||||
@@ -450,7 +485,9 @@
|
||||
.sheet-inventar {
|
||||
display: inherit;
|
||||
|
||||
input:first-child {
|
||||
input[name=attr_ruestung1],
|
||||
input[name=attr_ruestung2],
|
||||
input[name=attr_name] {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
@@ -513,6 +550,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sheet-notes-row:hover .sheet-options-flag+span,
|
||||
.sheet-inventar-row:hover .sheet-options-flag+span {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user