Foundry v13 migration

This commit is contained in:
2025-05-02 00:00:24 +02:00
parent ee7f37878f
commit bb3a4fc5f7
186 changed files with 776 additions and 674 deletions

View File

@@ -1,8 +1,4 @@
/* ==================== (A) Fonts ==================== */
@font-face {
font-family: "GoudyAcc";
src: url('../fonts/goudyacc.ttf') format("truetype");
}
@font-face {
font-family: "MedievalSharp";
src: url('../fonts/MedievalSharp.ttf') format("truetype");
@@ -23,7 +19,7 @@
font-family: "Vinque";
src: url('../fonts/vinque_rg.ttf') format("truetype");
}
:root {
/* =================== 1. ACTOR SHEET FONT STYLES =========== */
--window-header-title-font-family: Vinque;
@@ -52,7 +48,7 @@
--actor-label-font-weight: 700;
--actor-label-color: #464331c4;
/* =================== 2. DEBUGGING HIGHLIGHTERS ============ */
/* =================== 2. DEBUGGING HIGHLIGHTERS ============ */
--debug-background-color-red: #ff000054;
--debug-background-color-blue: #1d00ff54;
--debug-background-color-green: #54ff0054;
@@ -62,10 +58,9 @@
--debug-box-shadow-green: inset 0 0 2px green;
}
/*@import url("https://fonts.googleapis.com/css2?family=Martel:wght@400;800&family=Roboto:wght@300;400;500&display=swap");*/
/* Global styles & Font */
.window-app {
font-family: Vinque;
font-family: Vinque, serif;
text-align: justify;
font-size: 16px;
letter-spacing: 1px;
@@ -74,7 +69,7 @@
/* Fonts */
.sheet header.sheet-header h1 input, .window-app .window-header, #actors .directory-list, #navigation #scene-list .scene.nav-item {font-family: "GoudyAcc"} /* For title, sidebar character and scene */
.sheet nav.sheet-tabs {font-family: "Vinque";} /* For nav and title */
.window-app input, .foundryvtt-vadentis .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue, select, button, .item-checkbox, #sidebar, #players, #navigation #nav-toggle {
.window-app input, .foundryvtt-vadentis .item-form, .sheet header.sheet-header .flex-group-center.flex-compteurs, .sheet header.sheet-header .flex-group-center.flex-fatigue {
font-family: "Vinque"; /* For sheet parts */
}
@@ -548,7 +543,7 @@ section.sheet-body:after {
text-align: center;
}
#combat #combat-round .encounters a {
#combat #combat-round .encounters a {
color: #3f1f1f;
}
@@ -592,7 +587,7 @@ ul, li {
box-shadow: inset 0px 0px 1px #00000096;
border-radius: 0.25rem;
padding: 0.125rem;
flex: 1 1 5rem;
flex: 1 1 5rem;
background: rgba(195, 152, 22, 0.5);
}
@@ -717,10 +712,10 @@ ul, li {
margin-right: 0.25rem;
margin-left: 0.25rem;
}
.blessures-title {
.blessures-title {
font-weight: bold;
}
.alchimie-title {
.alchimie-title {
font-weight: bold;
}
.blessure-data {
@@ -767,7 +762,7 @@ ul, li {
/* ======================================== */
.tokenhudext {
display: flex;
display: flex;
flex: 0 !important;
font-family: CaslonPro;
font-weight: 600;
@@ -835,7 +830,7 @@ ul, li {
.tooltipAppelAuMoral {
position: relative;
display: inline-block;
border-bottom: 0;
border-bottom: 0;
}
/* Show the tooltip text when you mouse over the tooltip container */
@@ -847,13 +842,13 @@ ul, li {
/* Tooltip text */
.tooltipAppelAuMoral .tooltipAppelAuMoralText {
text-align: center;
/* Position the tooltip text */
position: absolute;
z-index: 1;
top: -10px;
left: 18%;
/* Fade in tooltip */
visibility: hidden;
opacity: 0;
@@ -883,7 +878,7 @@ ul, li {
.sidebar-tab .directory-list .entity {
border-top: 1px dashed rgba(0,0,0,0.25);
border-bottom: 0 none;
padding: 0.25rem 0;
padding: 0.25rem 0;
}
.sidebar-tab .directory-list .entity:hover {
@@ -891,7 +886,7 @@ ul, li {
cursor: pointer;
}
.chat-message .message-header .flavor-text, .chat-message .message-header .whisper-to {
.chat-message .message-header .flavor-text, .chat-message .message-header .whisper-to {
font-size: 0.9rem;
}
@@ -900,6 +895,12 @@ ul, li {
font-size: 0.9rem;
}
.chat-message .message-content h3 {
font-family: Vinque, serif;
font-size: 1.1rem;
margin: 0.4rem;
}
.chat-message-header {
background: rgba(220,220,210,0.5);
font-size: 1.1rem;
@@ -907,7 +908,7 @@ ul, li {
text-align: center;
vertical-align: middle;
display: flex;
align-items: center;
align-items: center;
}
.chat-message.whisper {
@@ -957,23 +958,6 @@ ul, li {
}
/*#sidebar #sidebar-tabs i.fa-comments:before, #sidebar #sidebar-tabs i.fa-fist-raised:before, #sidebar #sidebar-tabs i.fa-users:before, #sidebar #sidebar-tabs i.fa-map:before, #sidebar #sidebar-tabs i.fa-suitcase:before, #sidebar #sidebar-tabs i.fa-book-open:before, #sidebar #sidebar-tabs i.fa-th-list:before, #sidebar #sidebar-tabs i.fa-music:before, #sidebar #sidebar-tabs i.fa-atlas:before, #sidebar #sidebar-tabs i.fa-cogs:before {content: "";}
#sidebar #sidebar-tabs i.fa-comments {background: url("img/ui/icon_sidebar_chat.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-fist-raised {background: url("img/ui/icon_sidebar_fight.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-users {background: url("img/ui/icon_sidebar_actor.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-map {background: url("img/ui/icon_sidebar_scene.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-suitcase {background: url("img/ui/icon_sidebar_item.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-book-open {background: url("img/ui/icon_sidebar_journal.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-th-list {background: url("img/ui/icon_sidebar_rolltable.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-music {background: url("img/ui/icon_sidebar_music.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-atlas {background: url("img/ui/icon_sidebar_compendium.svg") no-repeat;}
#sidebar #sidebar-tabs i.fa-cogs {background: url("img/ui/icon_sidebar_settings.svg") no-repeat;}
#combat #combat-controls {
box-shadow: inset 0 0 2rem rgba(0,0,0,0.5);
}
*/
/*--------------------------------------------------------------------------*/
/* Control, Tool, hotbar & navigation */
@@ -983,7 +967,6 @@ ul, li {
border-radius: 0;
background: rgba(30, 25, 20, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
}
@@ -991,7 +974,6 @@ ul, li {
#controls .scene-control.active, #controls .control-tool.active, #controls .scene-control:hover, #controls .control-tool:hover {
background: rgba(72, 46, 28, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
box-shadow: 0 0 3px #ff6400;
@@ -1010,13 +992,12 @@ ul, li {
border-radius: 0px;
}
#hotbar .bar-controls {
#hotbar .bar-controls {
background: rgba(30, 25, 20, 1);
border: 1px solid rgba(72, 46, 28, 1);
}
#players {
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
background: rgba(30, 25, 20, 1);
@@ -1029,7 +1010,6 @@ ul, li {
#navigation #scene-list .scene.nav-item {
background: rgba(30, 25, 20, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
}
@@ -1037,7 +1017,6 @@ ul, li {
#navigation #scene-list .scene.view, #navigation #scene-list .scene.context {
background: rgba(72, 46, 28, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
box-shadow: 0 0 3px #ff6400;
@@ -1046,7 +1025,6 @@ ul, li {
#navigation #nav-toggle {
background: rgba(30, 25, 20, 1);
background-origin: padding-box;
border-image: url(img/ui/footer-button.png) 10 repeat;
border-image-width: 4px;
border-image-outset: 0px;
}
@@ -1061,12 +1039,12 @@ ul, li {
/* Tooltip text */
.tooltip .tooltiptext {
text-align: center;
/* Position the tooltip text */
top: 20px;
position: absolute;
z-index: 1;
/* Fade in tooltip */
visibility: hidden;
opacity: 0;
@@ -1075,7 +1053,7 @@ ul, li {
.tooltip .ttt-fatigue{
width: 360px;
background: rgba(30, 25, 20, 0.9);
border-image: url(img/ui/bg_control.jpg) 21 repeat;
border-image-slice: 6 6 6 6 fill;