From 5471bd935e1c63d98f7c51db71ebda4a8cdb416d Mon Sep 17 00:00:00 2001 From: JonathanMM Date: Wed, 17 May 2023 22:47:35 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20d'une=20ic=C3=B4ne=20de=20copie=20?= =?UTF-8?q?=C3=A0=20c=C3=B4t=C3=A9=20du=20bouton=20de=20partage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 7 ++++++- public/jeu.css | 28 ++++++++++++++++++++++++++++ ts/configurationPanel.ts | 1 + ts/finDePartiePanel.ts | 6 +++++- 4 files changed, 40 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index b2b03c7..1e7437f 100644 --- a/public/index.html +++ b/public/index.html @@ -91,11 +91,16 @@ d="M478 816q21 0 35.5-14.5T528 766q0-21-14.5-35.5T478 716q-21 0-35.5 14.5T428 766q0 21 14.5 35.5T478 816Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342 438l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506 530q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197 859q-54-54-85.5-127T80 576q0-83 31.5-156T197 293q54-54 127-85.5T480 176q83 0 156 31.5T763 293q54 54 85.5 127T880 576q0 83-31.5 156T763 859q-54 54-127 85.5T480 976Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" /> - + + + + diff --git a/public/jeu.css b/public/jeu.css index 646a025..e2e5c96 100644 --- a/public/jeu.css +++ b/public/jeu.css @@ -351,11 +351,26 @@ h1 { gap: 0.5em; } +#config-liste { + display: flex; + flex-direction: column; + gap: 0.5em; +} + .config-item { display: flex; justify-content: space-between; } +.config-item label { + font-size: 20px; +} + +.config-item select { + min-width: 20%; + text-align: end; +} + .stats-area { display: table; padding-left: 0.5em; @@ -378,6 +393,19 @@ h1 { text-align: left; } +#fin-de-partie-panel-resume-bouton { + text-decoration: none; +} + +#fin-de-partie-panel-resume-bouton-icone { + width: 20px; + height: 20px; +} + +#fin-de-partie-panel-resume-bouton-texte { + text-decoration: underline; +} + .fin-de-partie-panel-phrase { text-align: left; padding-left: 0.5em; diff --git a/ts/configurationPanel.ts b/ts/configurationPanel.ts index f451bec..63619c3 100644 --- a/ts/configurationPanel.ts +++ b/ts/configurationPanel.ts @@ -35,6 +35,7 @@ export default class ConfigurationPanel { public afficher(): void { let titre = "Configuration"; let contenu = document.createElement("div"); + contenu.id = "config-liste"; let config = Sauvegardeur.chargerConfig() ?? Configuration.Default; contenu.appendChild( this.genererConfigItem( diff --git a/ts/finDePartiePanel.ts b/ts/finDePartiePanel.ts index 6f91c67..3f1d56b 100644 --- a/ts/finDePartiePanel.ts +++ b/ts/finDePartiePanel.ts @@ -153,7 +153,11 @@ export default class FinDePartiePanel {

"; } contenu += - '

Résumé de ta partie − Partager

\ + '

Résumé de ta partie − \ + \ + \ + \ + Partager

\
' +
         this._resumeTexteLegacy +
         "
";