Compare commits

...

2 Commits

Author SHA1 Message Date
c1d6fb87eb glowing title 2023-11-12 22:43:13 +01:00
5e600bec56 bout en bout 2023-11-12 22:43:07 +01:00
3 changed files with 12 additions and 8 deletions

6
app.js
View File

@ -691,13 +691,13 @@ class Stats {
messagesSpan.addNewChild("div", { messagesSpan.addNewChild("div", {
className: "zoom-in-animation", className: "zoom-in-animation",
style: "animation-delay: .4s", style: "animation-delay: .4s",
innerHTML: `BOUT À BOUT<br/>${b2bScore}` innerHTML: `BOUT EN BOUT<br/>${b2bScore}`
}) })
} else { } else {
messagesSpan.addNewChild("div", { messagesSpan.addNewChild("div", {
className: "zoom-in-animation", className: "zoom-in-animation",
style: "animation-delay: .4s", style: "animation-delay: .4s",
innerHTML: `BOUT À BOUT x${this.b2b}<br/>${b2bScore}` innerHTML: `BOUT EN BOUT x${this.b2b}<br/>${b2bScore}`
}) })
} }
this.score += b2bScore this.score += b2bScore
@ -707,7 +707,7 @@ class Stats {
messagesSpan.addNewChild("div", { messagesSpan.addNewChild("div", {
className: "zoom-in-animation", className: "zoom-in-animation",
style: "animation-delay: .4s", style: "animation-delay: .4s",
innerHTML: `FIN DU BOUT À BOUT` innerHTML: `FIN DU BOUT EN BOUT`
}) })
} }
this.b2b = -1 this.b2b = -1

View File

@ -18,6 +18,10 @@ body {
background-color: rgb(37, 41, 45); background-color: rgb(37, 41, 45);
} }
.modal-title {
text-shadow: 0 0 8px var(--bs-light);
}
.minoes-table { .minoes-table {
--piece-column: 0; --piece-column: 0;
--piece-row : 0; --piece-row : 0;

View File

@ -188,7 +188,7 @@
<tr><th>Meilleur score</th><td id="statsModalHighScoreCell"> </td><th>Temps </th><td id="statsModalTimeCell"> </td></tr> <tr><th>Meilleur score</th><td id="statsModalHighScoreCell"> </td><th>Temps </th><td id="statsModalTimeCell"> </td></tr>
<tr><th>Lignes </th><td id="statsModaltotalClearedLines"></td><th>Lignes par minute </th><td id="statsModaltotalClearedLinesPM"></td></tr> <tr><th>Lignes </th><td id="statsModaltotalClearedLines"></td><th>Lignes par minute </th><td id="statsModaltotalClearedLinesPM"></td></tr>
<tr><th>Quatuors </th><td id="statsModalNbQuatuors"> </td><th>Plus long combo </th><td id="statsModalMaxCombo"> </td></tr> <tr><th>Quatuors </th><td id="statsModalNbQuatuors"> </td><th>Plus long combo </th><td id="statsModalMaxCombo"> </td></tr>
<tr><th>Pirouettes </th><td id="statsModalNbTSpin"> </td><th>Plus long bout à bout</th><td id="statsModalMaxB2B"> </td></tr> <tr><th>Pirouettes </th><td id="statsModalNbTSpin"> </td><th>Plus long bout en bout</th><td id="statsModalMaxB2B"> </td></tr>
</table> </table>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">