Update CSS/Look & feel

This commit is contained in:
2026-04-03 00:39:39 +02:00
parent 23b105a47e
commit 9754bbc3a8
265 changed files with 12355 additions and 47899 deletions

View File

@@ -1,9 +1,9 @@
/* ==================== Actor Sheet Styles ==================== */
// NOTE: Ce fichier surcharge certaines règles de simple-converted.less
// Les sélecteurs .fvtt-mournblade.actor sont plus spécifiques et prennent priorité
// Les sélecteurs .fvtt-mournblade-cyd-2-0.actor sont plus spécifiques et prennent priorité
.fvtt-mournblade.actor {
.fvtt-mournblade-cyd-2-0.actor {
// Background pour toute la fiche d'acteur
background: url("../assets/ui/pc_sheet_bg.webp") repeat;
@@ -15,25 +15,9 @@
display: flex;
flex-direction: column;
overflow: hidden;
}
// Main form structure
form,
.sheet-form-layout {
height: 100%;
background: url("../assets/ui/pc_sheet_bg.webp") repeat-y;
color: black;
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
overflow: hidden;
padding: 0;
margin: 0;
// La section racine du template (if nested inside form, or simple direct children handling)
// AppV2 PARTS wrapper — direct child section with data-application-part attribute
> section {
height: 100%;
display: flex;
flex-direction: column;
flex: 1;
@@ -176,6 +160,26 @@
}
.header-fields {
// Force single-line stat rows — prevent Foundry's .flexrow wrap and h4 margins from breaking layout
.item.flexrow {
flex-wrap: nowrap !important;
align-items: center !important;
h4 {
margin: 0 !important;
padding-top: 0 !important;
}
}
h4.item-name-label.competence-name,
.item-name-label.competence-name,
label.item-name-label.competence-name {
color: #1a1008 !important;
text-shadow: none !important;
font-weight: bold !important;
background: none !important;
}
h4.item-name-label.competence-name {
font-size: 0.75rem;
padding-top: 3px;
@@ -197,6 +201,25 @@
font-size: 0.8rem;
}
}
.sheet-mode-toggle {
background: transparent;
border: none;
color: #fff;
padding: 2px 6px;
cursor: pointer;
font-size: 0.75rem;
transition: all 0.2s ease;
margin-left: 8px;
height: auto;
line-height: 1.2;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
&:hover {
color: #ffd700;
text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}
}
}
// Sheet navigation tabs
@@ -689,7 +712,7 @@
}
/* ==================== Creature Sheet Specific Styles ==================== */
.fvtt-mournblade.actor.creature-sheet {
.fvtt-mournblade-cyd-2-0.actor.creature-sheet {
// Variant background pour creatures - teinte légèrement différente
.background-sheet-header-creature {
@@ -745,7 +768,7 @@
// PNJ Sheet - Orange/Copper theme for visual distinction
.fvtt-mournblade.actor.pnj-sheet {
.fvtt-mournblade-cyd-2-0.actor.pnj-sheet {
// Variant background pour PNJs - teinte orange/cuivre
.background-sheet-header-creature {

View File

@@ -1,7 +1,7 @@
/* ==================== Item Sheet Styles ==================== */
/* Item header with image and name */
.fvtt-mournblade.item {
.fvtt-mournblade-cyd-2-0.item {
/* Background pour toute la fiche d'item */
background: url("../assets/ui/pc_sheet_bg.webp") repeat;
display: flex;

View File

@@ -82,7 +82,7 @@
/* For nav and title */
.window-app input,
.fvtt-mournblade .item-form,
.fvtt-mournblade-cyd-2-0 .item-form,
.sheet header.sheet-header .flex-group-center.flex-compteurs,
.sheet header.sheet-header .flex-group-center.flex-fatigue,
select,
@@ -244,7 +244,7 @@
/* Styles limited to foundryvtt-vadentis sheets */
.fvtt-mournblade .sheet-header {
.fvtt-mournblade-cyd-2-0 .sheet-header {
-webkit-box-flex: 0;
-ms-flex: 0 0 210px;
flex: 0 0 210px;
@@ -264,15 +264,16 @@
margin-bottom: 10px;
}
.fvtt-mournblade .sheet-header .profile-img {
.fvtt-mournblade-cyd-2-0 .sheet-header .profile-img {
-webkit-box-flex: 0;
-ms-flex: 0 0 128px;
flex: 0 0 128px;
height: 128px;
width: 128px;
-ms-flex: 0 0 80px;
flex: 0 0 80px;
height: 80px;
width: 80px;
margin-right: 10px;
object-fit: cover;
object-position: 50% 0;
cursor: pointer;
}
.button-img {
@@ -305,13 +306,13 @@
vertical-align: bottom;
}
.fvtt-mournblade .sheet-header .header-fields {
.fvtt-mournblade-cyd-2-0 .sheet-header .header-fields {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
}
.fvtt-mournblade .sheet-header h1.charname {
.fvtt-mournblade-cyd-2-0 .sheet-header h1.charname {
height: 50px;
padding: 0px;
margin: 5px 0;
@@ -321,7 +322,7 @@
font-family: "CentaurMT";
}
.fvtt-mournblade .sheet-header h1.charname input {
.fvtt-mournblade-cyd-2-0 .sheet-header h1.charname input {
width: 100%;
height: 100%;
margin: 0;
@@ -331,19 +332,19 @@
text-align: left;
}
.fvtt-mournblade .sheet-tabs {
.fvtt-mournblade-cyd-2-0 .sheet-tabs {
-webkit-box-flex: 0;
-ms-flex: 0;
flex: 0;
}
.fvtt-mournblade .sheet-body,
.fvtt-mournblade .sheet-body .tab {
.fvtt-mournblade-cyd-2-0 .sheet-body,
.fvtt-mournblade-cyd-2-0 .sheet-body .tab {
height: auto;
font-size: 0.9rem;
}
.fvtt-mournblade .sheet-body .tab .editor {
.fvtt-mournblade-cyd-2-0 .sheet-body .tab .editor {
height: 100%;
font-size: 0.9rem;
}
@@ -372,70 +373,83 @@
padding: 0 3px;
}
.fvtt-mournblade .tox .tox-editor-container {
.fvtt-mournblade-cyd-2-0 .tox .tox-editor-container {
background: #fff;
}
.fvtt-mournblade .tox .tox-edit-area {
.fvtt-mournblade-cyd-2-0 .tox .tox-edit-area {
padding: 0 8px;
}
.fvtt-mournblade .resource-label {
.fvtt-mournblade-cyd-2-0 .resource-label {
font-weight: bold;
text-transform: uppercase;
}
.fvtt-mournblade .tabs {
.fvtt-mournblade-cyd-2-0 .tabs {
height: 40px;
border-top: 1px solid #AAA;
border-bottom: 1px solid #AAA;
color: #000000;
}
.fvtt-mournblade .tabs .item {
line-height: 40px;
font-weight: bold;
.fvtt-mournblade-cyd-2-0 nav.sheet-tabs {
justify-content: flex-start !important;
gap: 0 !important;
padding: 0 !important;
}
.fvtt-mournblade .tabs .item.active {
.fvtt-mournblade-cyd-2-0 .tabs .item {
line-height: 40px;
font-size: 10px;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1 1 0;
text-align: center;
padding: 0 4px;
}
.fvtt-mournblade-cyd-2-0 .tabs .item.active {
text-decoration: underline;
text-shadow: none;
}
.fvtt-mournblade .items-list {
.fvtt-mournblade-cyd-2-0 .items-list {
list-style: none;
margin: 1px 0;
padding: 0;
overflow-y: auto;
}
.fvtt-mournblade .items-list .item-header {
.fvtt-mournblade-cyd-2-0 .items-list .item-header {
font-weight: bold;
}
.fvtt-mournblade .items-list .item {
.fvtt-mournblade-cyd-2-0 .items-list .item {
height: 30px;
line-height: 24px;
padding: 1px 0;
border-bottom: 1px solid #BBB;
}
.fvtt-mournblade .items-list .item .item-image {
.fvtt-mournblade-cyd-2-0 .items-list .item .item-image {
-webkit-box-flex: 0;
-ms-flex: 0 0 24px;
flex: 0 0 24px;
margin-right: 5px;
}
.fvtt-mournblade .items-list .item img {
.fvtt-mournblade-cyd-2-0 .items-list .item img {
display: block;
}
.fvtt-mournblade .items-list .item-name {
.fvtt-mournblade-cyd-2-0 .items-list .item-name {
margin: 0;
}
.fvtt-mournblade .items-list .item-controls {
.fvtt-mournblade-cyd-2-0 .items-list .item-controls {
-webkit-box-flex: 0;
-ms-flex: 0 0 86px;
flex: 0 0 86px;
@@ -1532,7 +1546,7 @@
.item-field-label-long {
flex-grow: 1;
max-width: 8rem;
max-width: 10rem;
min-width: 8rem;
}