{% extends 'role/member/player/sheet/prophecy/player_form_figure_edit_template.html.twig' %} {% block stylesheets %} {{ parent() }} /* formulaire */ #member_template_layout { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; /*background: linear-gradient(to bottom, #D2B48C, #D2B48C);*/ background-color: #E3D2BF; min-height: unset; margin: 20px; border: solid; } form { border-radius: 20px; padding: 40px 30px; width: 100%; display: flex; flex-direction: column; gap: 20px; //espace entre chaque section } /* est ce utile???? form { background: linear-gradient(to bottom, #94746B, #A78D86); border-radius: 20px; padding: 40px 30px; width: 100%; box-shadow: 8px 8px 12px rgba(105, 94, 75, 1); display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; border: 1px solid #EBA307; } */ /* Champs de saisie (email, mot de passe) */ .input-wrapper { border-bottom: 1px solid #743B07; padding-bottom: 5px; } input.form-control { background: transparent; border: none; outline: none; color: white; font-size: 14px; width: 100%; padding: 10px 0; } input::placeholder { color: white; opacity: 0.7; } /* Jeton CSRF — non stylé */ .no-style { all: unset; } */ /* fin de formulaire */ .hidden-fields { display: none; } h1 { display: flex; flex-direction: row; justify-content: center; } .tooltip { position: relative; display: inline-block; cursor: pointer; font-weight: 900; } .tooltip .tooltiptext { visibility: hidden; background-color: #1765DA; color: #fff; text-align: left; border-radius: 6px; padding: 8px 12px; position: absolute; z-index: 5; bottom: 125%; /* Position au-dessus de l’élément */ left: 250%; transform: translateX(-50%); opacity: 0; transition: opacity 0.3s ease; min-width: 250px; max-width: 500px; /* Empêche la boîte d’être trop large */ width: max-content; /* S’ajuste au contenu */ white-space: normal; /* Permet les retours à la ligne */ box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15); font-size: 14px; line-height: 1.4; } .tooltip:hover .tooltiptext { visibility: visible; opacity: 1; } table th { color: red; } #section-campaign { display: flex; flex-direction: row; justify-content: space-between; } #section-campaign p { flex: 1; } #section-status { margin-top: 1em; } #section-status h3 { margin-top: 1.5em; font-size: 1.2em; border-bottom: 2px solid #ccc; padding-bottom: 4px; } #section-status ul { list-style: none; margin: 0; padding: 0; } #section-status li { display: flex; align-items: center; justify-content: flex-start; gap: 12px; /* espace entre les éléments */ border: 1px solid #ddd; border-radius: 6px; padding: 8px 12px; margin-bottom: 6px; background: #fafafa; transition: background 0.2s ease; } #section-status li:hover { background: #f0f0f0; } #section-status label { display: flex; align-items: center; gap: 8px; cursor: pointer; width: 100%; } #section-status input[type="radio"] { transform: scale(1.2); } #section-status strong { font-weight: 600; } #section-status .level { color: #555; font-size: 0.9em; } #section-status .description { color: #666; font-style: italic; font-size: 0.9em; } #section-status .description, #section-status .level, #section-status div { margin-left: 5px; } /* Conteneur */ #section-status { margin-top: 1em; } /* En-têtes de castes (clic accordéon) */ #section-status h3 { cursor: pointer; background: #eee; padding: 10px 14px; border-radius: 6px; margin: 8px 0; user-select: none; position: relative; transition: background 0.3s ease; } /* Flèche indicatrice à droite */ #section-status h3::after { content: "▸"; position: absolute; right: 14px; font-size: 0.9em; transition: transform 0.3s ease; } /* Quand la section est ouverte */ #section-status h3.open { background: #ddd; } #section-status h3.open::after { transform: rotate(90deg); } /* Contenu replié par défaut */ #section-status h3 + ul { display: none; margin: 0 0 10px 0; padding: 0; } /* Quand la section est ouverte */ #section-status h3.open + ul { display: block; } /* Toggle invisible */ .omen-toggle { display: none; } .omen-label { display: block; background: #eee; border-radius: 6px; padding: 10px 14px; margin: 6px 0; cursor: pointer; font-weight: 600; position: relative; transition: background 0.3s ease; } .omen-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease; } .omen-details { display: none; background: #f9f9f9; border-left: 3px solid #bbb; margin: -2px 0 8px 0; padding: 10px 14px; border-radius: 0 0 6px 6px; } /* Accordéon ouvert */ .omen-toggle:checked + .omen-label::after { transform: translateY(-50%) rotate(90deg); } .omen-toggle:checked + .omen-label { background: #ddd; } .omen-toggle:checked + .omen-label + .real-radio-omen + .omen-details { display: block; } /* Radio invisible */ .real-radio-omen input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; } /* Toggle invisibles */ .age-toggle { display: none; } /* Label accordéon */ .age-label { display: block; background: #eee; border-radius: 6px; padding: 10px 14px; margin: 6px 0; cursor: pointer; font-weight: 600; position: relative; transition: background 0.3s ease; } /* Petite flèche */ .age-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease; } /* Détails cachés */ .age-details { display: none; background: #f9f9f9; border-left: 3px solid #bbb; margin: -2px 0 8px 0; padding: 10px 14px; border-radius: 0 0 6px 6px; } /* Accordéon ouvert */ .age-toggle:checked + .age-label::after { transform: translateY(-50%) rotate(90deg); } .age-toggle:checked + .age-label { background: #ddd; } .age-toggle:checked + .age-label + .real-radio-age + .age-details { display: block; } /* Radio réel invisible */ .real-radio-age input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; } /* Toggle = seulement l'accordéon */ .caste-toggle { display: none; } .caste-label { display: block; background: #eee; border-radius: 6px; padding: 10px 14px; margin: 6px 0; cursor: pointer; font-weight: 600; position: relative; transition: background 0.3s ease; } .caste-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease; } .caste-details { display: none; background: #f9f9f9; border-left: 3px solid #bbb; margin: -2px 0 8px 0; padding: 10px 14px; border-radius: 0 0 6px 6px; } /* Accordéon ouvert */ .caste-toggle:checked + .caste-label::after { transform: translateY(-50%) rotate(90deg); } .caste-toggle:checked + .caste-label { background: #ddd; } .caste-toggle:checked + .caste-label + .real-radio + .caste-details { display: block; } /* Radio invisible mais actif */ .real-radio input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; } .nation-radio { display: none; } .nation-label { display: block; background: #eee; border-radius: 6px; padding: 10px 14px; margin: 6px 0; cursor: pointer; font-weight: 600; position: relative; transition: background 0.3s ease; } .nation-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease; } .nation-details { display: none; background: #f9f9f9; border-left: 3px solid #bbb; margin: -2px 0 8px 0; padding: 10px 14px; border-radius: 0 0 6px 6px; } /* Highlight + ouverture */ .nation-radio:checked + .nation-label { background: #ddd; } .nation-radio:checked + .nation-label::after { transform: translateY(-50%) rotate(90deg); } .nation-radio:checked + .nation-label + .nation-details { display: block; } .spell-group { margin-bottom: 0.8em; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #fff; } .spell-toggle { display: none; } .spell-label { display: block; background: #e9e9e9; padding: 10px 14px; cursor: pointer; position: relative; font-weight: 600; border-bottom: 1px solid #ccc; user-select: none; transition: background 0.3s ease; } .spell-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9em; color: #555; transition: transform 0.3s ease; } .spell-label:hover { background: #dcdcdc; } .spells-details { display: none; padding: 10px 14px; background: #f9f9f9; } .spell-toggle:checked + .spell-label::after { transform: translateY(-50%) rotate(90deg); } .spell-toggle:checked + .spell-label + .spells-details { display: block; } /* Conteneur principal */ #section-favours { margin-top: 1em; } /* Bloc contenant les faveurs (catégories) */ #section-favours #prophecy_edit_figure_sheet_form_favours { display: flex; flex-direction: column; margin-top: 8px; } /* On cache les cases principales (catégories) */ #section-favours #prophecy_edit_figure_sheet_form_favours input[type="checkbox"] { display: none; } /* Label = bouton d’option stylisé */ #section-favours #prophecy_edit_figure_sheet_form_favours label { display: block; background: #eee; border-radius: 6px; padding: 10px 14px; margin: 6px 0; cursor: pointer; position: relative; transition: background 0.3s ease, box-shadow 0.3s ease; user-select: none; } /* Flèche indicatrice à droite */ #section-favours #prophecy_edit_figure_sheet_form_favours label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9em; color: #666; transition: transform 0.3s ease; } /* Hover */ #section-favours #prophecy_edit_figure_sheet_form_favours label:hover { background: #ddd; } /* Quand le bouton est sélectionné */ #section-favours #prophecy_edit_figure_sheet_form_favours input[type="checkbox"]:checked + label { background: #ddd; font-weight: 600; } /* Quand sélectionné, la flèche tourne */ #section-favours #prophecy_edit_figure_sheet_form_favours input[type="checkbox"]:checked + label::after { transform: translateY(-50%) rotate(90deg); } /* Contenu caché/visible simulant l’accordéon */ #section-favours #prophecy_edit_figure_sheet_form_favours input[type="checkbox"] + label + .favours-details { display: none; background: #f9f9f9; border-left: 3px solid #bbb; margin: -2px 0 8px 0; padding: 8px 14px; border-radius: 0 0 6px 6px; } /* Quand le label correspondant est sélectionné → afficher le contenu */ #section-favours #prophecy_edit_figure_sheet_form_favours input[type="checkbox"]:checked + label + .favours-details { display: block; } /* ================================ STRUCTURE INTERNE PAR CATÉGORIE ================================ */ .favour-group { margin-bottom: 0.8em; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #fff; } .favour-toggle { display: none; } .favour-label { display: block; background: #e9e9e9; padding: 10px 14px; cursor: pointer; position: relative; font-weight: 600; border-bottom: 1px solid #ccc; user-select: none; transition: background 0.3s ease; } /* Flèche sur le label principal */ .favour-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9em; color: #555; transition: transform 0.3s ease; } /* Survol */ .favour-label:hover { background: #dcdcdc; } /* Bloc détaillé caché/visible */ .favours-details { display: none; padding: 10px 14px; background: #f9f9f9; } /* Rotation flèche quand ouvert */ .favour-toggle:checked + .favour-label::after { transform: translateY(-50%) rotate(90deg); } /* Afficher le contenu quand coché */ .favour-toggle:checked + .favour-label + .favours-details { display: block; } /* ================================ STYLISATION DU CONTENU INTERNE ================================ */ .favours-details ul { list-style: none; margin: 0; padding: 0; } .favours-details li { margin-bottom: 0.6em; background: #fff; /*border: 1px solid #ddd; border-radius: 4px;*/ padding: 8px 10px; background: #f9f9f9; } .favours-details strong { display: block; color: #333; } .favours-details em { color: #666; font-size: 0.9em; } .favours-details .description { font-size: 0.9em; color: #444; margin-top: 4px; } .favours-details input[type="checkbox"] { margin-right: 6px; transform: translateY(1px); } /* Accordéon */ .caste-toggle { display: none; } .caste-label { display: block; background: #eee; border-radius: 6px; padding: 10px 14px; margin: 6px 0; cursor: pointer; font-weight: 600; position: relative; transition: background 0.3s ease; } .caste-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); transition: transform 0.3s ease; } .caste-details { display: none; background: #f9f9f9; border-left: 3px solid #bbb; margin: -2px 0 8px 0; padding: 10px 14px; border-radius: 0 0 6px 6px; } /* Accordéon ouvert */ .caste-toggle:checked + .caste-label::after { transform: translateY(-50%) rotate(90deg); } .caste-toggle:checked + .caste-label { background: #ddd; } .caste-toggle:checked + .caste-label + .caste-details { display: block; } /* Radio invisible */ .real-radio input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; } /* ================================ SECTION DÉSAVANTAGES — ACCORDÉON ================================ */ /* Conteneur principal */ #section-disadvantages { margin-top: 1em; } /* Bloc principal du formulaire */ #section-disadvantages #prophecy_edit_figure_sheet_form_disadvantages { display: flex; flex-direction: column; margin-top: 8px; } /* On cache les checkboxes principales */ #section-disadvantages #prophecy_edit_figure_sheet_form_disadvantages input[type="checkbox"] { display: none; } /* Label = bouton d’accordéon */ #section-disadvantages #prophecy_edit_figure_sheet_form_disadvantages label { display: block; background: #eee; border-radius: 6px; padding: 10px 14px; margin: 6px 0; cursor: pointer; position: relative; transition: background 0.3s ease, box-shadow 0.3s ease; user-select: none; } /* Flèche indicatrice à droite */ #section-disadvantages #prophecy_edit_figure_sheet_form_disadvantages label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9em; color: #666; transition: transform 0.3s ease; } /* Hover */ #section-disadvantages #prophecy_edit_figure_sheet_form_disadvantages label:hover { background: #ddd; } /* Quand le bouton est sélectionné */ #section-disadvantages #prophecy_edit_figure_sheet_form_disadvantages input[type="checkbox"]:checked + label { background: #ddd; font-weight: 600; } /* Quand sélectionné, la flèche tourne */ #section-disadvantages #prophecy_edit_figure_sheet_form_disadvantages input[type="checkbox"]:checked + label::after { transform: translateY(-50%) rotate(90deg); } /* Contenu caché/visible simulant l’accordéon */ #section-disadvantages #prophecy_edit_figure_sheet_form_disadvantages input[type="checkbox"] + label + .disadvantages-details { display: none; background: #f9f9f9; border-left: 3px solid #bbb; margin: -2px 0 8px 0; padding: 8px 14px; border-radius: 0 0 6px 6px; } /* Quand le label correspondant est sélectionné → afficher le contenu */ #section-disadvantages #prophecy_edit_figure_sheet_form_disadvantages input[type="checkbox"]:checked + label + .disadvantages-details { display: block; } /* ================================ STRUCTURE INTERNE PAR CATÉGORIE ================================ */ .disadvantage-group { margin-bottom: 0.8em; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #fff; } .disadvantage-toggle { display: none; } .disadvantage-label { display: block; background: #e9e9e9; padding: 10px 14px; cursor: pointer; position: relative; font-weight: 600; border-bottom: 1px solid #ccc; user-select: none; transition: background 0.3s ease; } /* Flèche sur le label principal */ .disadvantage-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9em; color: #555; transition: transform 0.3s ease; } /* Survol */ .disadvantage-label:hover { background: #dcdcdc; } /* Bloc détaillé caché/visible */ .disadvantages-details { display: none; padding: 10px 14px; background: #f9f9f9; } /* Rotation flèche quand ouvert */ .disadvantage-toggle:checked + .disadvantage-label::after { transform: translateY(-50%) rotate(90deg); } /* Afficher le contenu quand coché */ .disadvantage-toggle:checked + .disadvantage-label + .disadvantages-details { display: block; } /* ================================ STYLISATION DU CONTENU INTERNE ================================ */ .disadvantages-details ul { list-style: none; margin: 0; padding: 0; } .disadvantages-details li { margin-bottom: 0.6em; background: #fff; border-radius: 4px; padding: 8px 10px; } .disadvantages-details strong { display: block; color: #333; } .disadvantages-details em { color: #666; font-size: 0.9em; } .disadvantages-details .description { font-size: 0.9em; color: #444; margin-top: 4px; } .disadvantages-details input[type="checkbox"] { margin-right: 6px; transform: translateY(1px); } /* ca marche jusqu'ici tester plus bas */ /* ================================ SECTION ARMES — ACCORDÉON CSS ================================ */ /* Conteneur principal */ #section-weapons { margin-top: 1em; } #section-weapons legend { font-weight: bold; font-size: 1.1em; color: #222; margin-bottom: 0.6em; } #weapon-collection-wrapper { display: flex; flex-direction: column; gap: 1em; margin-top: 8px; } /* ------------------------------- GROUPE D'ARMES (catégorie) ------------------------------- */ .weapon-group { border: 1px solid #ddd; border-radius: 6px; background: #fff; overflow: hidden; } /* Checkbox toggle caché */ .weapon-toggle { display: none; } /* Label = en-tête repliable */ .weapon-label { display: block; background: #e9e9e9; padding: 10px 14px; font-weight: 600; border-bottom: 1px solid #ccc; color: #333; cursor: pointer; position: relative; user-select: none; transition: background 0.3s ease; } /* Flèche à droite */ .weapon-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9em; color: #555; transition: transform 0.3s ease; } /* Hover effet */ .weapon-label:hover { background: #dcdcdc; } /* Flèche rotation quand ouvert */ .weapon-toggle:checked + .weapon-label::after { transform: translateY(-50%) rotate(90deg); } /* ------------------------------- CONTENU DÉPLIABLE (table) ------------------------------- */ .weapons-details { display: none; background: #f9f9f9; padding: 10px 14px; border-top: 1px solid #ccc; } /* Quand le toggle est activé → afficher le contenu */ .weapon-toggle:checked + .weapon-label + .weapons-details { display: block; } /* ------------------------------- TABLE STYLING ------------------------------- */ .weapons-details table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.95em; } .weapons-details th, .weapons-details td { padding: 6px 8px; border: 1px solid #ddd; vertical-align: top; } .weapons-details thead { background: #eee; font-weight: 600; } .weapons-details tbody tr:nth-child(even) { background: #fafafa; } .weapons-details td em { color: #777; } /* Champs du formulaire */ .weapons-details select, .weapons-details input[type="number"], .weapons-details input[type="text"] { width: 100%; padding: 5px; font-size: 0.9em; border: 1px solid #ccc; border-radius: 4px; background: #fff; transition: border-color 0.3s ease; } .weapons-details select:focus, .weapons-details input:focus { border-color: #999; outline: none; } /* ------------------------------- SECTION LOCK ------------------------------- */ #weapon-collection-wrapper .lock { display: block; margin-top: 10px; text-align: right; font-size: 0.85em; color: #777; } /* ================================ SECTION ARMURES — ACCORDÉON CSS ================================ */ /* Conteneur principal */ #section-armors { margin-top: 1em; } #section-armors legend { font-weight: bold; font-size: 1.1em; color: #222; margin-bottom: 0.6em; } #armor-collection-wrapper { display: flex; flex-direction: column; gap: 1em; margin-top: 8px; } /* ------------------------------- GROUPE D’ARMURES (catégorie) ------------------------------- */ .armor-group { border: 1px solid #ddd; border-radius: 6px; background: #fff; overflow: hidden; } /* Toggle caché */ .armor-toggle { display: none; } /* Label = en-tête repliable */ .armor-label { display: block; background: #e9e9e9; padding: 10px 14px; font-weight: 600; border-bottom: 1px solid #ccc; color: #333; cursor: pointer; position: relative; user-select: none; transition: background 0.3s ease; } /* Flèche à droite */ .armor-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9em; color: #555; transition: transform 0.3s ease; } /* Hover effet */ .armor-label:hover { background: #dcdcdc; } /* Flèche rotation quand ouvert */ .armor-toggle:checked + .armor-label::after { transform: translateY(-50%) rotate(90deg); } /* ------------------------------- CONTENU DÉPLIABLE ------------------------------- */ .armors-details { display: none; background: #f9f9f9; padding: 10px 14px; border-top: 1px solid #ccc; } /* Quand le toggle est activé → afficher le contenu */ .armor-toggle:checked + .armor-label + .armors-details { display: block; } /* ------------------------------- TABLE STYLING ------------------------------- */ .armors-details table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.95em; } .armors-details th, .armors-details td { padding: 6px 8px; border: 1px solid #ddd; vertical-align: top; } .armors-details thead { background: #eee; font-weight: 600; } .armors-details tbody tr:nth-child(even) { background: #fafafa; } .armors-details td em { color: #777; } /* Champs du formulaire */ .armors-details select, .armors-details input[type="number"], .armors-details input[type="text"] { width: 100%; padding: 5px; font-size: 0.9em; border: 1px solid #ccc; border-radius: 4px; background: #fff; transition: border-color 0.3s ease; } .armors-details select:focus, .armors-details input:focus { border-color: #999; outline: none; } /* ------------------------------- SECTION LOCK ------------------------------- */ #armor-collection-wrapper .lock { display: block; margin-top: 10px; text-align: right; font-size: 0.85em; color: #777; } /* ================================ SECTION BOUCLIERS — ACCORDÉON CSS ================================ */ /* Conteneur principal */ #section-shields { margin-top: 1em; } #section-shields legend { font-weight: bold; font-size: 1.1em; color: #222; margin-bottom: 0.6em; } #shield-collection-wrapper { display: flex; flex-direction: column; gap: 1em; margin-top: 8px; } /* ------------------------------- GROUPE DE BOUCLIERS (catégorie) ------------------------------- */ .shield-group { border: 1px solid #ddd; border-radius: 6px; background: #fff; overflow: hidden; } /* Toggle caché */ .shield-toggle { display: none; } /* Label = en-tête repliable */ .shield-label { display: block; background: #e9e9e9; padding: 10px 14px; font-weight: 600; border-bottom: 1px solid #ccc; color: #333; cursor: pointer; position: relative; user-select: none; transition: background 0.3s ease; } /* Flèche à droite */ .shield-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9em; color: #555; transition: transform 0.3s ease; } /* Hover effet */ .shield-label:hover { background: #dcdcdc; } /* Flèche rotation quand ouvert */ .shield-toggle:checked + .shield-label::after { transform: translateY(-50%) rotate(90deg); } /* ------------------------------- CONTENU DÉPLIABLE ------------------------------- */ .shields-details { display: none; background: #f9f9f9; padding: 10px 14px; border-top: 1px solid #ccc; } /* Quand le toggle est activé → afficher le contenu */ .shield-toggle:checked + .shield-label + .shields-details { display: block; } /* ------------------------------- TABLE STYLING ------------------------------- */ .shields-details table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.95em; } .shields-details th, .shields-details td { padding: 6px 8px; border: 1px solid #ddd; vertical-align: top; } .shields-details thead { background: #eee; font-weight: 600; } .shields-details tbody tr:nth-child(even) { background: #fafafa; } .shields-details td em { color: #777; } /* Champs du formulaire */ .shields-details select, .shields-details input[type="number"], .shields-details input[type="text"] { width: 100%; padding: 5px; font-size: 0.9em; border: 1px solid #ccc; border-radius: 4px; background: #fff; transition: border-color 0.3s ease; } .shields-details select:focus, .shields-details input:focus { border-color: #999; outline: none; } /* ------------------------------- SECTION LOCK ------------------------------- */ #shield-collection-wrapper .lock { display: block; margin-top: 10px; text-align: right; font-size: 0.85em; color: #777; } /* ================================ SECTION OBJETS DIVERS — ACCORDÉON CSS ================================ */ #section-items { margin-top: 1em; } #section-items legend { font-weight: bold; font-size: 1.1em; color: #222; margin-bottom: 0.6em; } #item-collection-wrapper { display: flex; flex-direction: column; gap: 1em; } /* ------------------------------- GROUPE D’OBJETS (catégorie) ------------------------------- */ .item-group { border: 1px solid #ddd; border-radius: 6px; background: #fff; overflow: hidden; } .item-toggle { display: none; } .item-label { display: block; background: #e9e9e9; padding: 10px 14px; font-weight: 600; border-bottom: 1px solid #ccc; color: #333; cursor: pointer; position: relative; user-select: none; transition: background 0.3s ease; } .item-label::after { content: "▸"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.9em; color: #555; transition: transform 0.3s ease; } .item-label:hover { background: #dcdcdc; } .item-toggle:checked + .item-label::after { transform: translateY(-50%) rotate(90deg); } .items-details { display: none; background: #f9f9f9; padding: 10px 14px; border-top: 1px solid #ccc; } .item-toggle:checked + .item-label + .items-details { display: block; } .items-details table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 0.95em; } .items-details th, .items-details td { padding: 6px 8px; border: 1px solid #ddd; vertical-align: top; } .items-details thead { background: #eee; font-weight: 600; } .items-details tbody tr:nth-child(even) { background: #fafafa; } .items-details select, .items-details input[type="number"], .items-details input[type="text"] { width: 100%; padding: 5px; font-size: 0.9em; border: 1px solid #ccc; border-radius: 4px; background: #fff; } .items-details select:focus, .items-details input:focus { border-color: #999; outline: none; } #item-collection-wrapper .lock { display: block; margin-top: 10px; text-align: right; font-size: 0.85em; color: #777; } #startXP, #startXPSpent { visibility: hidden; } {% endblock %} {% block breadcrumbs %} {{ parent() }} > creation de personnage {% endblock %} {% block member_navigation %} {{ parent() }} {% endblock %} {% block title_page %} {{ parent() }} {% endblock %} {% block member_template_layout %} {# #} {% set startXP = figureSheet.xperience %}
{{ startXP }}
0
{{ form_start(form) }} {# ==================== FORM DISPLAYED BY SECTIONS ===================== SECTIONS DISPLAYED : - section-description - section-poster - section-description - section-background - section-omen - section-age - section-caste - section-status (utile???) - section-bans - section-caracteristics - section-majorAttributes - section-minorAttributes - section nation - section-disadvantages - section-advantages - section-reputation - section-skills - section-favours - section-disciplines - section-spheres - section-spells - section-currencies - section-weapons - section-armors - section-shields ==================================================================== #}PROBLEME CONSTATE AVEC ARMES ARMURES BOUCLIERS : CONFUSION ENTRE SHOP ET EQUIPEMENT DETENU PAR LE PERSONNAGE. L AJOUT FONCTIONNE BIEN SUR FIGURESHEET MAIS LE RENDU N EST PAS BON CAR ON AFFICHE LE SHOP ET PAS LE POSSEDE
Total de points dépensés : 0
{{ form_row(form.submit) }}