diff --git a/ADnD_2E_Revised/2EStyle.css b/ADnD_2E_Revised/2EStyle.css index 1d012346a3..537e3bc738 100644 --- a/ADnD_2E_Revised/2EStyle.css +++ b/ADnD_2E_Revised/2EStyle.css @@ -916,11 +916,8 @@ input.sheet-toast-error:checked ~ .sheet-toast-content { } /* Add datalist arrow to Firefox */ - input[list] + span { - text-align: start; - } - input[list]:hover + span:before, - input[list]:focus + span:before { + input[list] + span:before, + input[list] + span:before { content: "▼"; color: #333; font-size: 10px; @@ -928,6 +925,11 @@ input.sheet-toast-error:checked ~ .sheet-toast-content { padding-right: 8px; pointer-events:none; text-align: start; + visibility: collapse; + } + input[list]:hover + span:before, + input[list]:focus + span:before { + visibility: visible; } input[type="number"][list]:hover + span:before, input[type="number"][list]:focus + span:before { diff --git a/ADnD_2E_Revised/css/browser-support.css b/ADnD_2E_Revised/css/browser-support.css index 7598d11a43..a5f20d2c2c 100644 --- a/ADnD_2E_Revised/css/browser-support.css +++ b/ADnD_2E_Revised/css/browser-support.css @@ -14,11 +14,8 @@ } /* Add datalist arrow to Firefox */ - input[list] + span { - text-align: start; - } - input[list]:hover + span:before, - input[list]:focus + span:before { + input[list] + span:before, + input[list] + span:before { content: "▼"; color: #333; font-size: 10px; @@ -26,6 +23,11 @@ padding-right: 8px; pointer-events:none; text-align: start; + visibility: collapse; + } + input[list]:hover + span:before, + input[list]:focus + span:before { + visibility: visible; } input[type="number"][list]:hover + span:before, input[type="number"][list]:focus + span:before { diff --git a/ADnD_2E_Revised/html/shared/priest-spell-template.html b/ADnD_2E_Revised/html/shared/priest-spell-template.html index 00c9b117a7..c91ad8d26c 100644 --- a/ADnD_2E_Revised/html/shared/priest-spell-template.html +++ b/ADnD_2E_Revised/html/shared/priest-spell-template.html @@ -12,7 +12,7 @@ - + diff --git a/ADnD_2E_Revised/html/shared/wizard-spell-template.html b/ADnD_2E_Revised/html/shared/wizard-spell-template.html index 139e0b8797..1520a29d4a 100644 --- a/ADnD_2E_Revised/html/shared/wizard-spell-template.html +++ b/ADnD_2E_Revised/html/shared/wizard-spell-template.html @@ -12,7 +12,7 @@ - + diff --git a/ADnD_2E_Revised/html/tabs/character-tab/followers-tab.html b/ADnD_2E_Revised/html/tabs/character-tab/followers-tab.html index 6a3b6fb07f..61774e07cf 100644 --- a/ADnD_2E_Revised/html/tabs/character-tab/followers-tab.html +++ b/ADnD_2E_Revised/html/tabs/character-tab/followers-tab.html @@ -1544,7 +1544,7 @@

Psionics Revised

- +

@@ -2726,7 +2726,7 @@

Psionics Revised

- +

diff --git a/ADnD_2E_Revised/html/tabs/character-tab/proficiencies-tab.html b/ADnD_2E_Revised/html/tabs/character-tab/proficiencies-tab.html index 77606992d3..80a9c148af 100644 --- a/ADnD_2E_Revised/html/tabs/character-tab/proficiencies-tab.html +++ b/ADnD_2E_Revised/html/tabs/character-tab/proficiencies-tab.html @@ -15,7 +15,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -109,18 +109,18 @@ - + - + ± ± - @@ -150,13 +150,13 @@ - + - + ± - + @@ -186,10 +186,10 @@ - + - + ± @@ -212,7 +212,7 @@ - + @@ -249,10 +249,10 @@ - + - + ± @@ -270,7 +270,7 @@ - + diff --git a/ADnD_2E_Revised/html/tabs/character-tab/psionics-tab/psionic-core-discipline.html b/ADnD_2E_Revised/html/tabs/character-tab/psionics-tab/psionic-core-discipline.html index 3d329b6aa6..9ad69c82ff 100644 --- a/ADnD_2E_Revised/html/tabs/character-tab/psionics-tab/psionic-core-discipline.html +++ b/ADnD_2E_Revised/html/tabs/character-tab/psionics-tab/psionic-core-discipline.html @@ -22,7 +22,7 @@ - + ± diff --git a/ADnD_2E_Revised/html/tabs/character-tab/psionics-tab/psionic-skills-and-powers-tab.html b/ADnD_2E_Revised/html/tabs/character-tab/psionics-tab/psionic-skills-and-powers-tab.html index 49b2d2dfca..030d19cb73 100644 --- a/ADnD_2E_Revised/html/tabs/character-tab/psionics-tab/psionic-skills-and-powers-tab.html +++ b/ADnD_2E_Revised/html/tabs/character-tab/psionics-tab/psionic-skills-and-powers-tab.html @@ -1,6 +1,6 @@

Psionics Revised

- +

diff --git a/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab.html b/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab.html index 3b19bffbfb..091eea7dff 100644 --- a/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab.html +++ b/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab.html @@ -17,7 +17,7 @@ - + @@ -32,7 +32,7 @@ - + diff --git a/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab/players-option-weapons-tab.html b/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab/players-option-weapons-tab.html index c99fc09270..31522dc30a 100644 --- a/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab/players-option-weapons-tab.html +++ b/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab/players-option-weapons-tab.html @@ -82,7 +82,7 @@ - + - + @@ -287,7 +287,7 @@ - + - + diff --git a/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab/standard-weapons-tab.html b/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab/standard-weapons-tab.html index fedba16cbb..93d61744aa 100644 --- a/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab/standard-weapons-tab.html +++ b/ADnD_2E_Revised/html/tabs/character-tab/weapons-tab/standard-weapons-tab.html @@ -77,7 +77,7 @@ - + - + @@ -252,7 +252,7 @@ - + - + diff --git a/ADnD_2E_Revised/pug/spellTemplate.pug b/ADnD_2E_Revised/pug/spellTemplate.pug index c62cca5f44..932c4c96c4 100644 --- a/ADnD_2E_Revised/pug/spellTemplate.pug +++ b/ADnD_2E_Revised/pug/spellTemplate.pug @@ -16,6 +16,7 @@ fieldset(name="repeating_spells-#REPLACE0#" class="repeating_spells-#REPLACE0#") td(class="sheet-td-dynamic50") input(type="text" name="attr_spell-name" title="@{repeating_spells-#REPLACE0#_$X_spell-name}" class="sheet-table-dynamic sheet-chrome" placeholder="Spell name" list="#REPLACE0#-spells") input(type="text" name="attr_spell-name" title="@{repeating_spells-#REPLACE0#_$X_spell-name}" class="sheet-table-dynamic sheet-firefox" placeholder="Spell name" list="#REPLACE0#-spells-ff") + span td(class="sheet-td-dynamic25") input(type="text" name="attr_spell-range" title="@{repeating_spells-#REPLACE0#_$X_spell-range}" class="sheet-table-dynamic" placeholder="Range") td(class="sheet-td-dynamic25")