Update CSS/Look & feel
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user