.fvtt-te-deum.window-app.sheet .window-content, .fvtt-te-deum.application.sheet .window-content { overflow: hidden; display: flex; flex-direction: column; } // AppV2: le part wrapper et la section root du template doivent propager la hauteur // Uniquement pour les fiches (.sheet) — les autres fenêtres (dialogs) gardent un layout block normal .application.fvtt-te-deum.sheet .window-content > [data-application-part], .application.fvtt-te-deum.sheet .window-content > [data-application-part] > section { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; } .fvtt-te-deum { display: flex; flex-direction: column; overflow: hidden; .sheet-header { flex: 0 0 auto; overflow: hidden; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; margin-bottom: 10px; background: linear-gradient( 135deg, rgba(226, 226, 222, 0.95) 0%, rgba(240, 235, 225, 0.9) 100% ); padding: 0.3rem 0.8rem; border-radius: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); border: 1px solid rgba(139, 115, 85, 0.3); .profile-img { flex: 0 0 128px; width: 128px; height: auto; max-height: 128px; margin-top: 0px; margin-right: 10px; -o-object-fit: cover; object-fit: cover; -o-object-position: 50% 0; object-position: 50% 0; border-width: 0px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); border: 2px solid rgba(139, 115, 85, 0.4); } .header-fields { flex: 1; } h1 { &.charname { height: 50px; padding: 0px; margin: 5px 0; border-bottom: 0; } } .header-identity-fields { flex-wrap: nowrap; align-items: center; gap: 0.3rem; margin-top: 0.2rem; input, select { flex: 1 1 auto; font-size: 0.75rem; height: 1.6rem; } } .header-identity-label { flex: 0 0 auto; font-size: 0.7rem; font-weight: 600; color: rgba(70, 67, 49, 0.9); white-space: nowrap; } } .sheet-tabs { flex: 0; font-family: "MailartRubberstamp"; font-size: 2.2rem; } .tox { .tox-editor-container { background: #fff; } .tox-edit-area { padding: 0 8px; } } .resource-label { font-weight: bold; text-transform: uppercase; } .tabs { height: 40px; border-top: 1px solid rgba(139, 115, 85, 0.4); border-bottom: 1px solid rgba(139, 115, 85, 0.4); background: linear-gradient( 180deg, rgba(226, 226, 222, 0.5) 0%, rgba(240, 235, 225, 0.3) 100% ); color: #000000; font-family: "GreatPrimer"; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); .item { line-height: 40px; font-weight: bold; padding: 0 1rem; transition: all 0.2s ease; &:hover { background: rgba(226, 226, 222, 0.6); color: rgba(70, 67, 49, 0.9); } &.active { text-decoration: underline; text-shadow: none; background: rgba(196, 186, 166, 0.4); border-bottom: 3px solid rgba(139, 115, 85, 0.8); } } } .items-list { list-style: none; margin: 1px 0; padding: 0; overflow-y: auto; .item-header { font-weight: bold; } .item { height: 30px; line-height: 24px; padding: 1px 0; border-bottom: 1px solid #bbb; .item-image { flex: 0 0 24px; margin-right: 5px; } img { display: block; } } .item-name { margin: 0; } .item-controls { flex: 0 0 86px; text-align: right; } } } .profile-img-container { margin-right: 0.2rem; max-width: 140px; width: 140px; } .button-img { vertical-align: baseline; width: 8%; height: 8%; max-height: 48px; border-width: 0px; border: 1px solid rgba(0, 0, 0, 0); &:hover { color: rgba(255, 255, 128, 0.7); border: 1px solid rgba(255, 128, 0, 0.8); cursor: pointer; } } .button-effect-img { vertical-align: baseline; width: 16px; max-height: 16px; height: 16; border-width: 0; } .small-button-container { height: 16px; width: 16px; border: 0; vertical-align: bottom; } .fvtt-te-deum .sheet-body { flex: 1 1 0; min-height: 0; overflow: hidden; font-size: 0.8rem; font-family: "GreatPrimer"; } .fvtt-te-deum .sheet-body .tab { height: 100%; overflow-y: auto; font-size: 0.8rem; font-family: "GreatPrimer"; } .fvtt-te-deum .sheet-body .tab .editor { height: 100%; font-size: 0.8rem; font-family: "GreatPrimer"; }