diff --git a/.history/README_20251025234409.md b/.history/README_20251025234409.md deleted file mode 100644 index 9ab3dcc..0000000 --- a/.history/README_20251025234409.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Hawkmoon (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Hawkmoon (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Hawkmoon (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026002959.md b/.history/README_20251026002959.md deleted file mode 100644 index 8114c1d..0000000 --- a/.history/README_20251026002959.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Hawkmoon (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Hawkmoon (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003003.md b/.history/README_20251026003003.md deleted file mode 100644 index 0a6fe62..0000000 --- a/.history/README_20251026003003.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Hawkmoon (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Hawkmoon (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003006.md b/.history/README_20251026003006.md deleted file mode 100644 index d8d4710..0000000 --- a/.history/README_20251026003006.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CY (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Hawkmoon (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Hawkmoon (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003011.md b/.history/README_20251026003011.md deleted file mode 100644 index 325232a..0000000 --- a/.history/README_20251026003011.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CYD 2.. (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Hawkmoon (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Hawkmoon (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003013.md b/.history/README_20251026003013.md deleted file mode 100644 index 52dfac2..0000000 --- a/.history/README_20251026003013.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CYD 2.0 (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Hawkmoon (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Hawkmoon (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003038.md b/.history/README_20251026003038.md deleted file mode 100644 index 0f058a6..0000000 --- a/.history/README_20251026003038.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CYD 2.0 (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for M (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Hawkmoon (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003041.md b/.history/README_20251026003041.md deleted file mode 100644 index b12094c..0000000 --- a/.history/README_20251026003041.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CYD 2.0 (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Mournblade (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Hawkmoon (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003045.md b/.history/README_20251026003045.md deleted file mode 100644 index 9a24680..0000000 --- a/.history/README_20251026003045.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CYD 2.0 (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Mournblade CYD 2.0 (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Hawkmoon (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003051.md b/.history/README_20251026003051.md deleted file mode 100644 index 436b281..0000000 --- a/.history/README_20251026003051.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CYD 2.0 (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Mournblade CYD 2.0 (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Mournblade (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Hawkmoon, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003057.md b/.history/README_20251026003057.md deleted file mode 100644 index c5139ab..0000000 --- a/.history/README_20251026003057.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CYD 2.0 (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Mournblade CYD 2.0 (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Mournblade (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Mournblade, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developmement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003102.md b/.history/README_20251026003102.md deleted file mode 100644 index b9f3d64..0000000 --- a/.history/README_20251026003102.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CYD 2.0 (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Mournblade CYD 2.0 (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Mournblade (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Mournblade, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developpement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/README_20251026003110.md b/.history/README_20251026003110.md deleted file mode 100644 index b9f3d64..0000000 --- a/.history/README_20251026003110.md +++ /dev/null @@ -1,29 +0,0 @@ -# Système Foundry pour Mournblade avec le règles CYD 2.0 (French RPG, Titam France/Sombres Projets) - -## EN - -Unofficial system for Mournblade CYD 2.0 (French version from Titam France). - -This system has been approved by Département des Sombres Projets ( http://www.titam-france.fr/ ), thanks ! - -Books are mandatory to play and are available at : http://www.titam-france.fr - -## FR - -Système non-officiel pour le JDR Mournblade (Titam France/Sombres Projets). - -Ce système a été autorisé par le Département des Sombres Projets ( http://www.titam-france.fr/ ), merci à eux ! - -Les livres du jeu sont nécessaires pour jouer, et sont disponibles ici : http://www.titam-france.fr - -# Credits - -Mournblade, le jeu de rôle du Troisième Millénaire, is a property of Titam France/Sombres Projets. - -# Developpement - -LeRatierBretonnien - -# Tests, icones et saisie des données - -Prêtre, Blondin, Zechrub/Chris, Kyllian, Lightbringer diff --git a/.history/lang/fr_20251026000859.json b/.history/lang/fr_20251026000859.json deleted file mode 100644 index 9ac2143..0000000 --- a/.history/lang/fr_20251026000859.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "cellule": "Cellule", - "creature": "Créature" - }, - "Item": { - "artefact": "Artefact", - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "mutation": "Mutation", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "HAWKMOON": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026001011.json b/.history/lang/fr_20251026001011.json deleted file mode 100644 index 9ac2143..0000000 --- a/.history/lang/fr_20251026001011.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "cellule": "Cellule", - "creature": "Créature" - }, - "Item": { - "artefact": "Artefact", - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "mutation": "Mutation", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "HAWKMOON": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026004844.json b/.history/lang/fr_20251026004844.json deleted file mode 100644 index c4c7826..0000000 --- a/.history/lang/fr_20251026004844.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "cellule": "Cellule", - "creature": "Créature" - }, - "Item": { - "artefact": "Artefact", - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "mutation": "Mutation", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026004905.json b/.history/lang/fr_20251026004905.json deleted file mode 100644 index c4c7826..0000000 --- a/.history/lang/fr_20251026004905.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "cellule": "Cellule", - "creature": "Créature" - }, - "Item": { - "artefact": "Artefact", - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "mutation": "Mutation", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026095913.json b/.history/lang/fr_20251026095913.json deleted file mode 100644 index 7b895f1..0000000 --- a/.history/lang/fr_20251026095913.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "creature": "Créature" - }, - "Item": { - "artefact": "Artefact", - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "mutation": "Mutation", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026100139.json b/.history/lang/fr_20251026100139.json deleted file mode 100644 index 7b895f1..0000000 --- a/.history/lang/fr_20251026100139.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "creature": "Créature" - }, - "Item": { - "artefact": "Artefact", - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "mutation": "Mutation", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026132312.json b/.history/lang/fr_20251026132312.json deleted file mode 100644 index 0313a22..0000000 --- a/.history/lang/fr_20251026132312.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "creature": "Créature" - }, - "Item": { - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "mutation": "Mutation", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026132458.json b/.history/lang/fr_20251026132458.json deleted file mode 100644 index 0313a22..0000000 --- a/.history/lang/fr_20251026132458.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "creature": "Créature" - }, - "Item": { - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "mutation": "Mutation", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026132800.json b/.history/lang/fr_20251026132800.json deleted file mode 100644 index 48ee64f..0000000 --- a/.history/lang/fr_20251026132800.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "creature": "Créature" - }, - "Item": { - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026132940.json b/.history/lang/fr_20251026132940.json deleted file mode 100644 index 48ee64f..0000000 --- a/.history/lang/fr_20251026132940.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "creature": "Créature" - }, - "Item": { - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "contact": "Contact", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026133304.json b/.history/lang/fr_20251026133304.json deleted file mode 100644 index 7dfab5d..0000000 --- a/.history/lang/fr_20251026133304.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "creature": "Créature" - }, - "Item": { - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editContact": "Modifier le contact", - "deleteContact": "Supprimer le contact", - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026133310.json b/.history/lang/fr_20251026133310.json deleted file mode 100644 index a003236..0000000 --- a/.history/lang/fr_20251026133310.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "creature": "Créature" - }, - "Item": { - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/lang/fr_20251026133355.json b/.history/lang/fr_20251026133355.json deleted file mode 100644 index a003236..0000000 --- a/.history/lang/fr_20251026133355.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "TYPES": { - "Actor": { - "personnage": "Personnage", - "creature": "Créature" - }, - "Item": { - "arme": "Arme", - "talent": "Talent", - "historique": "Historique", - "profil": "Profil", - "competence": "Compétence", - "protection": "Protection", - "monnaie": "Monnaie", - "equipement": "Equipement", - "ressource": "Ressource", - "don": "Don", - "pacte": "Pacte", - "rune": "Rune", - "runeeffect": "Effet de Rune", - "tendance": "Tendance", - "traitchaotique": "Trait Chaotique", - "traitespece": "Trait d'Espèce" - } - }, - "MOURNBLADE": { - "ui": { - "editTrait": "Modifier le trait", - "deleteTrait": "Supprimer le trait" - } - } -} \ No newline at end of file diff --git a/.history/macro-replace-images_20251026112045.js b/.history/macro-replace-images_20251026112045.js deleted file mode 100644 index 7b40e09..0000000 --- a/.history/macro-replace-images_20251026112045.js +++ /dev/null @@ -1,116 +0,0 @@ -/** - * Macro pour remplacer les chemins d'images dans les compendiums - * Remplace "fvtt-hawkmoon-cyd" par "fvtt-mournblade-cyd2" dans tous les champs 'img' - */ - -(async () => { - // Confirmation avant de procéder - let confirm = await Dialog.confirm({ - title: "Remplacement des chemins d'images", - content: `
Cette macro va :
-Voulez-vous continuer ?
`, - defaultYes: false - }); - - if (!confirm) { - ui.notifications.info("Opération annulée"); - return; - } - - ui.notifications.info("Début du traitement des compendiums..."); - - let totalUpdated = 0; - let compendiumsProcessed = 0; - - // Parcourir tous les compendiums - for (let pack of game.packs) { - // Filtrer uniquement les compendiums du système mournblade - if (!pack.metadata.packageName.includes("mournblade")) continue; - - console.log(`Traitement du compendium: ${pack.metadata.label}`); - compendiumsProcessed++; - - try { - // Unlock le compendium - await pack.configure({ locked: false }); - - // Récupérer tous les documents du compendium - let documents = await pack.getDocuments(); - let updatedInPack = 0; - - for (let doc of documents) { - let needsUpdate = false; - let updateData = {}; - - // Vérifier le champ img principal - if (doc.img && doc.img.includes("fvtt-hawkmoon-cyd")) { - updateData.img = doc.img.replace(/fvtt-hawkmoon-cyd/g, "fvtt-mournblade-cyd2"); - needsUpdate = true; - } - - // Pour les acteurs, vérifier aussi prototypeToken.texture.src - if (doc.documentName === "Actor" && doc.prototypeToken?.texture?.src) { - if (doc.prototypeToken.texture.src.includes("fvtt-hawkmoon-cyd")) { - updateData["prototypeToken.texture.src"] = doc.prototypeToken.texture.src.replace(/fvtt-hawkmoon-cyd/g, "fvtt-mournblade-cyd2"); - needsUpdate = true; - } - } - - // Pour les items contenus dans les acteurs - if (doc.documentName === "Actor" && doc.items) { - for (let item of doc.items) { - if (item.img && item.img.includes("fvtt-hawkmoon-cyd")) { - // Note: Les items embarqués nécessitent une approche différente - needsUpdate = true; - } - } - } - - // Pour les scènes, vérifier background.src et les tokens - if (doc.documentName === "Scene") { - if (doc.background?.src && doc.background.src.includes("fvtt-hawkmoon-cyd")) { - updateData["background.src"] = doc.background.src.replace(/fvtt-hawkmoon-cyd/g, "fvtt-mournblade-cyd2"); - needsUpdate = true; - } - } - - // Effectuer la mise à jour si nécessaire - if (needsUpdate) { - await doc.update(updateData); - updatedInPack++; - console.log(` - Mise à jour: ${doc.name}`); - } - } - - // Lock le compendium - await pack.configure({ locked: true }); - - if (updatedInPack > 0) { - ui.notifications.info(`${pack.metadata.label}: ${updatedInPack} document(s) mis à jour`); - totalUpdated += updatedInPack; - } - - } catch (error) { - console.error(`Erreur lors du traitement de ${pack.metadata.label}:`, error); - ui.notifications.error(`Erreur sur ${pack.metadata.label}: ${error.message}`); - - // Tenter de reverrouiller en cas d'erreur - try { - await pack.configure({ locked: true }); - } catch (lockError) { - console.error(`Impossible de reverrouiller ${pack.metadata.label}:`, lockError); - } - } - } - - ui.notifications.info(`Traitement terminé ! ${totalUpdated} document(s) mis à jour dans ${compendiumsProcessed} compendium(s).`); - console.log(`=== Résumé ===`); - console.log(`Compendiums traités: ${compendiumsProcessed}`); - console.log(`Total de documents mis à jour: ${totalUpdated}`); - -})(); diff --git a/.history/macro-replace-images_20251026112109.js b/.history/macro-replace-images_20251026112109.js deleted file mode 100644 index 6cfc9ec..0000000 --- a/.history/macro-replace-images_20251026112109.js +++ /dev/null @@ -1,116 +0,0 @@ -/** - * Macro pour remplacer les chemins d'images dans les compendiums - * Remplace "fvtt-hawkmoon-cyd" par "fvtt-mournblade-cyd2" dans tous les champs 'img' - */ - -(async () => { - // Confirmation avant de procéder - let confirm = await Dialog.confirm({ - title: "Remplacement des chemins d'images", - content: `Cette macro va :
-Voulez-vous continuer ?
`, - defaultYes: false - }); - - if (!confirm) { - ui.notifications.info("Opération annulée"); - return; - } - - ui.notifications.info("Début du traitement des compendiums..."); - - let totalUpdated = 0; - let compendiumsProcessed = 0; - - // Parcourir tous les compendiums - for (let pack of game.packs) { - // Filtrer uniquement les compendiums du système mournblade - if (!pack.metadata.packageName.includes("mournblade")) continue; - - console.log(`Traitement du compendium: ${pack.metadata.label}`); - compendiumsProcessed++; - - try { - // Unlock le compendium - await pack.configure({ locked: false }); - - // Récupérer tous les documents du compendium - let documents = await pack.getDocuments(); - let updatedInPack = 0; - - for (let doc of documents) { - let needsUpdate = false; - let updateData = {}; - - // Vérifier le champ img principal - if (doc.img && doc.img.includes("fvtt-hawkmoon-cyd")) { - updateData.img = doc.img.replace(/fvtt-hawkmoon-cyd/g, "fvtt-mournblade-cyd2"); - needsUpdate = true; - } - - // Pour les acteurs, vérifier aussi prototypeToken.texture.src - if (doc.documentName === "Actor" && doc.prototypeToken?.texture?.src) { - if (doc.prototypeToken.texture.src.includes("fvtt-hawkmoon-cyd")) { - updateData["prototypeToken.texture.src"] = doc.prototypeToken.texture.src.replace(/fvtt-hawkmoon-cyd/g, "fvtt-mournblade-cyd2"); - needsUpdate = true; - } - } - - // Pour les items contenus dans les acteurs - if (doc.documentName === "Actor" && doc.items) { - for (let item of doc.items) { - if (item.img && item.img.includes("fvtt-hawkmoon-cyd")) { - // Note: Les items embarqués nécessitent une approche différente - needsUpdate = true; - } - } - } - - // Pour les scènes, vérifier background.src et les tokens - if (doc.documentName === "Scene") { - if (doc.background?.src && doc.background.src.includes("fvtt-hawkmoon-cyd")) { - updateData["background.src"] = doc.background.src.replace(/fvtt-hawkmoon-cyd/g, "fvtt-mournblade-cyd2"); - needsUpdate = true; - } - } - - // Effectuer la mise à jour si nécessaire - if (needsUpdate) { - await doc.update(updateData); - updatedInPack++; - console.log(` - Mise à jour: ${doc.name}`); - } - } - - // Lock le compendium - await pack.configure({ locked: true }); - - if (updatedInPack > 0) { - ui.notifications.info(`${pack.metadata.label}: ${updatedInPack} document(s) mis à jour`); - totalUpdated += updatedInPack; - } - - } catch (error) { - console.error(`Erreur lors du traitement de ${pack.metadata.label}:`, error); - ui.notifications.error(`Erreur sur ${pack.metadata.label}: ${error.message}`); - - // Tenter de reverrouiller en cas d'erreur - try { - await pack.configure({ locked: true }); - } catch (lockError) { - console.error(`Impossible de reverrouiller ${pack.metadata.label}:`, lockError); - } - } - } - - ui.notifications.info(`Traitement terminé ! ${totalUpdated} document(s) mis à jour dans ${compendiumsProcessed} compendium(s).`); - console.log(`=== Résumé ===`); - console.log(`Compendiums traités: ${compendiumsProcessed}`); - console.log(`Total de documents mis à jour: ${totalUpdated}`); - -})(); diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026001316.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026001316.js deleted file mode 100644 index 8625e4c..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026001316.js +++ /dev/null @@ -1,222 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type =="talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, {async: true}), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, {async: true}), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents( ) { - let talents = [] - for(let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find( it => it.id == this.actor.id) - if (found) { - talents = talents.concat( cellule.getTalents() ) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get( itemId ) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity( li.data("item-id"), value ); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem( li.data("item-id") ); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse( data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if ( autoresult.isValid ) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn( autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026001548.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026001548.js deleted file mode 100644 index ac256e7..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026001548.js +++ /dev/null @@ -1,222 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026002630.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026002630.js deleted file mode 100644 index bf540bb..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026002630.js +++ /dev/null @@ -1,224 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026002719.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026002719.js deleted file mode 100644 index bf540bb..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026002719.js +++ /dev/null @@ -1,224 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026082045.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026082045.js deleted file mode 100644 index bb87554..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026082045.js +++ /dev/null @@ -1,226 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026082310.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026082310.js deleted file mode 100644 index bb87554..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026082310.js +++ /dev/null @@ -1,226 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026082630.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026082630.js deleted file mode 100644 index 93a89c1..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026082630.js +++ /dev/null @@ -1,227 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026082724.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026082724.js deleted file mode 100644 index 93a89c1..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026082724.js +++ /dev/null @@ -1,227 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026083617.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026083617.js deleted file mode 100644 index a32aaf3..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026083617.js +++ /dev/null @@ -1,228 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - ameMaxList: MournbladeCYD2Utility.getAmeMaxList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026083658.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026083658.js deleted file mode 100644 index a32aaf3..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026083658.js +++ /dev/null @@ -1,228 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - talentsCell: this.getCelluleTalents(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - ameMaxList: MournbladeCYD2Utility.getAmeMaxList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026095818.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026095818.js deleted file mode 100644 index 00a6cb4..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026095818.js +++ /dev/null @@ -1,227 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - ameMaxList: MournbladeCYD2Utility.getAmeMaxList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - getCelluleTalents() { - let talents = [] - for (let cellule of game.actors) { - if (cellule.type == "cellule") { - let found = cellule.system.members.find(it => it.id == this.actor.id) - if (found) { - talents = talents.concat(cellule.getTalents()) - } - } - } - return talents - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026095829.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026095829.js deleted file mode 100644 index 7147402..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026095829.js +++ /dev/null @@ -1,213 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - ameMaxList: MournbladeCYD2Utility.getAmeMaxList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026100139.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026100139.js deleted file mode 100644 index 7147402..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026100139.js +++ /dev/null @@ -1,213 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - artefacts: foundry.utils.duplicate(this.actor.getArtefacts()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - ameMaxList: MournbladeCYD2Utility.getAmeMaxList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026132141.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026132141.js deleted file mode 100644 index dceafea..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026132141.js +++ /dev/null @@ -1,212 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - ameMaxList: MournbladeCYD2Utility.getAmeMaxList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026132457.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026132457.js deleted file mode 100644 index dceafea..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026132457.js +++ /dev/null @@ -1,212 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - mutations: foundry.utils.duplicate(this.actor.getMutations() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - ameMaxList: MournbladeCYD2Utility.getAmeMaxList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026132705.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026132705.js deleted file mode 100644 index b887c08..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026132705.js +++ /dev/null @@ -1,211 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - ameMaxList: MournbladeCYD2Utility.getAmeMaxList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor-sheet_20251026132939.js b/.history/modules/mournblade-cyd2-actor-sheet_20251026132939.js deleted file mode 100644 index b887c08..0000000 --- a/.history/modules/mournblade-cyd2-actor-sheet_20251026132939.js +++ /dev/null @@ -1,211 +0,0 @@ -/** - * Extend the basic ActorSheet with some very simple modifications - * @extends {ActorSheet} - */ - -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; - -/* -------------------------------------------- */ -export class MournbladeCYD2ActorSheet extends foundry.appv1.sheets.ActorSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "actor"], - template: "systems/fvtt-mournblade-cyd2/templates/actor-sheet.html", - width: 640, - height: 720, - tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "stats" }], - dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }], - editScore: false - }) - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - - let formData = { - title: this.title, - id: objectData.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - system: objectData.system, - effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)), - limited: this.object.limited, - skills: this.actor.getSkills(), - armes: foundry.utils.duplicate(this.actor.getWeapons()), - monnaies: foundry.utils.duplicate(this.actor.getMonnaies()), - protections: foundry.utils.duplicate(this.actor.getArmors()), - historiques: foundry.utils.duplicate(this.actor.getHistoriques() || []), - talents: foundry.utils.duplicate(this.actor.getTalents() || []), - dons: foundry.utils.duplicate(this.actor.getDons() || []), - pactes: foundry.utils.duplicate(this.actor.getPactes() || []), - tendances: foundry.utils.duplicate(this.actor.getTendances() || []), - runes: foundry.utils.duplicate(this.actor.getRunes() || []), - traitsChaotiques: foundry.utils.duplicate(this.actor.getTraitsChaotiques() || []), - traitsEspeces: foundry.utils.duplicate(this.actor.getTraitsEspeces() || []), - aspect: this.actor.getAspect(), - marge: this.actor.getMarge(), - profils: foundry.utils.duplicate(this.actor.getProfils() || []), - combat: this.actor.getCombatValues(), - equipements: foundry.utils.duplicate(this.actor.getEquipments()), - richesse: this.actor.computeRichesse(), - coupDevastateur: this.actor.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup devastateur" && !it.system.used), - valeurEquipement: this.actor.computeValeurEquipement(), - nbCombativite: this.actor.system.sante.nbcombativite, - combativiteList: MournbladeCYD2Utility.getCombativiteList(this.actor.system.sante.nbcombativite), - nbAme: this.actor.system.ame.nbame, - ameMax: this.actor.getAmeMax(), - ameList: MournbladeCYD2Utility.getAmeList(this.actor.system.ame.nbame, this.actor.getAmeMax()), - ameMaxList: MournbladeCYD2Utility.getAmeMaxList(this.actor.system.ame.nbame), - initiative: this.actor.getFlag("world", "last-initiative") || -1, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.description, { async: true }), - habitat: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.biodata.habitat, { async: true }), - options: this.options, - owner: this.document.isOwner, - editScore: this.options.editScore, - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - this.formData = formData; - - console.log("PC : ", formData, this.object); - return formData; - } - - /* -------------------------------------------- */ - /** @override */ - activateListeners(html) { - super.activateListeners(html); - - // Everything below here is only needed if the sheet is editable - if (!this.options.editable) return; - - // Update Inventory Item - html.find('.item-edit').click(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - const item = this.actor.items.get(itemId) - item.sheet.render(true) - }) - // Delete Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - MournbladeCYD2Utility.confirmDelete(this, li); - }) - html.find('.edit-item-data').change(ev => { - const li = $(ev.currentTarget).parents(".item") - let itemId = li.data("item-id") - let itemType = li.data("item-type") - let itemField = $(ev.currentTarget).data("item-field") - let dataType = $(ev.currentTarget).data("dtype") - let value = ev.currentTarget.value - this.actor.editItemField(itemId, itemType, itemField, dataType, value) - }) - - html.find('.adversite-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - let adv = li.data("adversite") - let value = Number($(event.currentTarget).data("adversite-value")) - this.actor.incDecAdversite(adv, value) - }) - - html.find('.quantity-modify').click(event => { - const li = $(event.currentTarget).parents(".item") - const value = Number($(event.currentTarget).data("quantite-value")) - this.actor.incDecQuantity(li.data("item-id"), value); - }) - - html.find('.roll-initiative').click((event) => { - this.actor.rollAttribut("adr", true) - }) - - html.find('.roll-attribut').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = li.data("attr-key") - this.actor.rollAttribut(attrKey, false) - }) - html.find('.roll-competence').click((event) => { - const li = $(event.currentTarget).parents(".item") - let attrKey = $(event.currentTarget).data("attr-key") - let compId = li.data("item-id") - this.actor.rollCompetence(attrKey, compId) - }) - html.find('.roll-arme-offensif').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeOffensif(armeId) - }) - - html.find('.roll-assommer').click((event) => { - this.actor.rollAssommer() - }) - html.find('.roll-coup-bas').click((event) => { - this.actor.rollCoupBas() - }) - html.find('.roll-immobiliser').click((event) => { - this.actor.rollImmobiliser() - }) - html.find('.roll-repousser').click((event) => { - this.actor.rollRepousser() - }) - html.find('.roll-desengager').click((event) => { - this.actor.rollDesengager() - }) - - html.find('.roll-arme-degats').click((event) => { - const li = $(event.currentTarget).parents(".item") - let armeId = li.data("item-id") - this.actor.rollArmeDegats(armeId) - }) - - html.find('.item-add').click((event) => { - const itemType = $(event.currentTarget).data("type") - this.actor.createEmbeddedDocuments('Item', [{ name: `Nouveau ${itemType}`, type: itemType }], { renderSheet: true }) - }) - - html.find('.lock-unlock-sheet').click((event) => { - this.options.editScore = !this.options.editScore; - this.render(true); - }); - html.find('.item-equip').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - this.actor.equipItem(li.data("item-id")); - this.render(true); - }); - - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - return position; - } - - /* -------------------------------------------- */ - async _onDropItem(event, dragData) { - let data = event.dataTransfer.getData('text/plain') - let dataItem = JSON.parse(data) - let item = fromUuidSync(dataItem.uuid) - if (item.pack) { - item = await MournbladeCYD2Utility.searchItem(item) - } - let autoresult = MournbladeCYD2Automation.processAutomations("on-drop", item, this.actor) - if (autoresult.isValid) { - super._onDropItem(event, dragData) - } else { - ui.notifications.warn(autoresult.warningMessage) - } - } - -} diff --git a/.history/modules/mournblade-cyd2-actor_20260402224326.js b/.history/modules/mournblade-cyd2-actor_20260402224326.js deleted file mode 100644 index 33b6479..0000000 --- a/.history/modules/mournblade-cyd2-actor_20260402224326.js +++ /dev/null @@ -1,916 +0,0 @@ -/* -------------------------------------------- */ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2RollDialog } from "./applications/mournblade-cyd2-roll-dialog.mjs"; - -/* -------------------------------------------- */ -const __degatsBonus = [-2, -2, -1, -1, 0, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 8, 8, 9, 9, 10, 10] -const __vitesseBonus = [-2, -2, -1, -1, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8] - -/* -------------------------------------------- */ -/** - * Extend the base Actor entity by defining a custom roll data structure which is ideal for the Simple system. - * @extends {Actor} - */ -export class MournbladeCYD2Actor extends Actor { - - /* -------------------------------------------- */ - /** - * Override the create() function to provide additional SoS functionality. - * - * This overrided create() function adds initial items - * Namely: Basic skills, money, - * - * @param {Object} data Barebones actor data which this function adds onto. - * @param {Object} options (Unused) Additional options which customize the creation workflow. - * - */ - - static async create(data, options) { - - // Case of compendium global import - if (data instanceof Array) { - return super.create(data, options); - } - // If the created actor has items (only applicable to duplicated actors) bypass the new actor creation logic - if (data.items) { - let actor = super.create(data, options); - return actor; - } - - if (data.type == 'personnage') { - console.log("Loading skills for personnage") - const skills = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd-2-0.skills") - data.items = skills.map(i => i.toObject()) - } - if (data.type == 'creature') { - const skills = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd-2-0.skills-creatures") - data.items = skills.map(i => i.toObject()) - data.items.push({ name: "Arme naturelle 1", type: 'arme', img: "systems/fvtt-mournblade-cyd-2-0/assets/icons/melee.webp", system: { typearme: "contact", bonusmaniementoff: 0, seuildefense: 0, degats: "0" } }) - data.items.push({ name: "Arme naturelle 2", type: 'arme', img: "systems/fvtt-mournblade-cyd-2-0/assets/icons/melee.webp", system: { typearme: "contact", bonusmaniementoff: 0, seuildefense: 0, degats: "0" } }) - } - - return super.create(data, options); - } - - /* -------------------------------------------- */ - getBonusDefenseFromTalents() { - let talents = this.items.filter(item => item.type == "talent" && item.system.isautomated) - let bonus = 0 - for (let talent of talents) { - for (let auto of talent.system.automations) { - if (auto.eventtype == "bonus-permanent" && auto.bonusname == "bonus-defensif") { - bonus += Number(auto.bonus || 0) - } - } - } - return bonus - } - - /* -------------------------------------------- */ - prepareArme(arme) { - arme = foundry.utils.duplicate(arme) - let combat = this.getCombatValues() - if (arme.system.typearme == "contact" || arme.system.typearme == "contactjet") { - let bonusDefense = this.getBonusDefenseFromTalents() - arme.system.competence = foundry.utils.duplicate(this.items.find(item => item.type == "competence" && item.name.toLowerCase() == "mêlée")) - arme.system.attrKey = "pui" - arme.system.totalDegats = arme.system.degats + "+" + combat.bonusDegatsTotal - arme.system.totalOffensif = this.system.attributs.pui.value + arme.system.competence.system.niveau + arme.system.bonusmaniementoff + (this.system.combat.monte ? 3 : 0) - arme.system.totalDefensif = combat.defenseTotal + arme.system.competence.system.niveau + arme.system.seuildefense + bonusDefense + (this.system.combat.monte ? 3 : 0) - console.log("Arme", arme.system.totalDefensif, combat, arme.system.competence.system.niveau, arme.system.seuildefense, bonusDefense) - arme.system.isdefense = true - arme.system.isMelee = true - arme.system.isDistance = false - } - if (arme.system.typearme == "jet" || arme.system.typearme == "tir") { - arme.system.competence = foundry.utils.duplicate(this.items.find(item => item.type == "competence" && item.name.toLowerCase() == "armes à distance")) - arme.system.attrKey = "adr" - arme.system.totalOffensif = this.system.attributs.adr.value + arme.system.competence.system.niveau + arme.system.bonusmaniementoff - arme.system.totalDegats = arme.system.degats - arme.system.isMelee = false - arme.system.isDistance = true - if (arme.system.isdefense) { - arme.system.totalDefensif = combat.defenseTotal + arme.system.competence.system.niveau + arme.system.seuildefense - } - } - return arme - } - - /* -------------------------------------------- */ - getItemSorted(types) { - let items = this.items.filter(item => types.includes(item.type)) || [] - MournbladeCYD2Utility.sortArrayObjectsByName(items) - return items - } - getWeapons() { - let armes = [] - for (let arme of this.items) { - if (arme.type == "arme") { - armes.push(this.prepareArme(arme)) - } - } - MournbladeCYD2Utility.sortArrayObjectsByName(armes) - return armes - } - getMonnaies() { - return this.getItemSorted(["monnaie"]) - } - getEquipments() { - return this.getItemSorted(["equipement"]) - } - getArmors() { - return this.getItemSorted(["protection"]) - } - getHistoriques() { - return this.getItemSorted(["historique"]) - } - getProfils() { - return this.getItemSorted(["profil"]) - } - getTalents() { - return this.getItemSorted(["talent"]) - } - getRessources() { - return this.getItemSorted(["ressource"]) - } - getDons() { - return this.getItemSorted(["don"]) - } - getPactes() { - return this.getItemSorted(["pacte"]) - } - getTendances() { - return this.getItemSorted(["tendance"]) - } - getRunes() { - return this.getItemSorted(["rune"]) - } - getRuneEffects() { - return this.getItemSorted(["runeeffect"]) - } - getProfil() { - return this.getProfils()[0] ?? null - } - getTraitsChaotiques() { - return this.getItemSorted(["traitchaotique"]) - } - getTraitsEspeces() { - return this.getItemSorted(["traitespece"]) - } - - /* -------------------------------------------- */ - getAspect() { - return (this.system.balance.loi > this.system.balance.chaos) ? this.system.balance.loi : this.system.balance.chaos - } - getMarge() { - return Math.abs(this.system.balance.loi - this.system.balance.chaos) - } - getAlignement() { - return (this.system.balance.loi > this.system.balance.chaos) ? "loyal" : "chaotique" - } - - /* -------------------------------------------- */ - getSkills() { - let comp = [] - for (let item of this.items) { - item = foundry.utils.duplicate(item) - if (item.type == "competence") { - item.system.attribut1total = item.system.niveau + (this.system.attributs[item.system.attribut1]?.value || 0) - item.system.attribut2total = item.system.niveau + (this.system.attributs[item.system.attribut2]?.value || 0) - item.system.attribut3total = item.system.niveau + (this.system.attributs[item.system.attribut3]?.value || 0) - if (item.system.niveau == 0) { - item.system.attribut1total -= 3 - item.system.attribut2total -= 3 - item.system.attribut3total -= 3 - } - item.system.attribut1label = this.system.attributs[item.system.attribut1]?.label || "" - item.system.attribut2label = this.system.attributs[item.system.attribut2]?.label || "" - item.system.attribut3label = this.system.attributs[item.system.attribut3]?.label || "" - comp.push(item) - } - } - MournbladeCYD2Utility.sortArrayObjectsByName(comp) - return comp - } - - /* ----------------------- --------------------- */ - addMember(actorId) { - let members = foundry.utils.duplicate(this.system.members) - members.push({ id: actorId }) - this.update({ 'system.members': members }) - } - async removeMember(actorId) { - let members = this.system.members.filter(it => it.id != actorId) - this.update({ 'system.members': members }) - } - - /* -------------------------------------------- */ - getDefenseBase() { - return Math.max(this.system.attributs.tre.value, this.system.attributs.adr.value) - } - - /* -------------------------------------------- */ - getVitesseBase() { - return 5 + __vitesseBonus[this.system.attributs.adr.value] - } - /* -------------------------------------------- */ - getProtection() { - let equipProtection = 0 - for (let armor of this.items) { - if (armor.type == "protection" && armor.system.equipped) { - equipProtection += Number(armor.system.protection) - } - } - if (equipProtection < 4) { - return 4 + equipProtection // Cas des boucliers + sans armure - } - return equipProtection // Uniquement la protection des armures + boucliers - } - getProtectionTotal() { - return this.getProtection() - } - - /* -------------------------------------------- */ - getCombatValues() { - let combat = { - initBase: this.system.attributs.adr.value, - initTotal: this.system.attributs.adr.value + this.system.combat.initbonus, - bonusDegats: this.getBonusDegats(), - bonusDegatsTotal: this.getBonusDegats() + this.system.combat.bonusdegats, - vitesseBase: this.getVitesseBase(), - vitesseTotal: this.getVitesseBase() + this.system.combat.vitessebonus, - defenseBase: this.getDefenseBase(), - protection: this.getProtection(), - defenseTotal: this.getDefenseBase() + this.system.combat.defensebonus + this.getProtection() - this.getTotalAdversite() + (this.system.combat.defensetotale ? 3 : 0) - } - return combat - } - - - /* -------------------------------------------- */ - async prepareData() { - super.prepareData(); - } - - /* -------------------------------------------- */ - prepareDerivedData() { - - if (this.type == 'personnage') { - let talentBonus = this.getVigueurBonus() - let vigueur = Math.floor((this.system.attributs.pui.value + this.system.attributs.tre.value) / 2) + talentBonus + this.system.sante.vigueurmodifier - if (vigueur != this.system.sante.vigueur) { - this.update({ 'system.sante.vigueur': vigueur }) - } - - let seuilPouvoirBonus = this.getSeuilPouvoirBonus() - let seuilPouvoir = Math.floor((this.system.attributs.tre.value + this.system.attributs.cla.value) / 2) + seuilPouvoirBonus + this.system.ame.seuilpouvoirmodifier - if (seuilPouvoir != this.system.ame.seuilpouvoir) { - this.update({ 'system.ame.seuilpouvoir': seuilPouvoir }) - } - } - super.prepareDerivedData() - } - - /* -------------------------------------------- */ - _preUpdate(changed, options, user) { - if (changed?.system?.sante?.etat !== undefined && changed.system.sante.etat != this.system.sante.etat) { - const oldEtat = this.system.sante.etat - setTimeout(() => { - this.processCombativite(changed.system.sante, oldEtat) - }, 800) - } - if (changed?.system?.ame?.etat !== undefined && changed.system.ame.etat != this.system.ame.etat) { - // L'état d'Âme ne peut pas être inférieur au minimum (max dans le système) - let minAme = this.system.ame.max !== undefined ? this.system.ame.max : 0 - if (changed.system.ame.etat < minAme) { - changed.system.ame.etat = minAme - } - // L'état d'Âme ne peut pas dépasser nbame (Brisé) - if (changed.system.ame.etat > this.system.ame.nbame) { - changed.system.ame.etat = this.system.ame.nbame - } - const oldEtat = this.system.ame.etat - setTimeout(() => { - this.processAme(changed.system.ame, oldEtat) - }, 800) - } - // Si le max d'Âme change, ajuster l'état actuel si nécessaire - if (changed?.system?.ame?.max !== undefined && changed.system.ame.max != this.system.ame.max) { - if (this.system.ame.etat < changed.system.ame.max) { - changed.system.ame.etat = changed.system.ame.max - } - } - super._preUpdate(changed, options, user); - } - - /* -------------------------------------------- */ - _onUpdate(data, options, user) { - super._onUpdate(data, options, user); - } - /* -------------------------------------------- */ - getItemById(id) { - let item = this.items.find(item => item.id == id); - if (item) { - item = foundry.utils.duplicate(item) - } - return item; - } - - /* -------------------------------------------- */ - async equipItem(itemId) { - let item = this.items.find(item => item.id == itemId) - if (item && item.system) { - let update = { _id: item.id, "system.equipped": !item.system.equipped } - await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity - } - } - - /* -------------------------------------------- */ - editItemField(itemId, itemType, itemField, dataType, value) { - let item = this.items.find(item => item.id == itemId) - if (item) { - console.log("Item ", item, itemField, dataType, value) - if (dataType.toLowerCase() == "number") { - value = Number(value) - } else { - value = String(value) - } - let update = { _id: item.id, [`system.${itemField}`]: value }; - this.updateEmbeddedDocuments("Item", [update]) - } - } - - /* -------------------------------------------- */ - checkAttribut(attribut, minLevel) { - let attr = this.system.attributs.find(at => at.labelnorm == attribut.toLowerCase()) - if (attr && attr.value >= minLevel) { - return { isValid: true, attr: foundry.utils.duplicate(attr) } - } - return { isValid: false } - } - /* -------------------------------------------- */ - checkAttributOrCompetenceLevel(compName, minLevel) { - let comp = this.items.find(i => i.type == "competence" && i.name.toLowerCase() == compName.toLowerCase() && i.system.niveau >= minLevel) - if (comp) { - return { isValid: true, item: foundry.utils.duplicate(comp) } - } else { - for (let attrKey in this.system.attributs) { - if (this.system.attributs[attrKey].label.toLowerCase() == compName.toLowerCase() && this.system.attributs[attrKey].value >= minLevel) { - return { isValid: true, item: foundry.utils.duplicate(this.system.attributs[attrKey]) } - } - } - } - return { isValid: false, warningMessage: `Prérequis insuffisant : la compétence/attribut ${compName} doit être de niveau ${minLevel} au minimum` } - } - /* -------------------------------------------- */ - addCompetenceBonus(compName, bonus, baCost) { - let comp = this.items.find(i => i.type == "competence" && i.name.toLowerCase() == compName.toLowerCase()) - if (comp) { - comp = foundry.utils.duplicate(comp) - comp.system.bonus = bonus - comp.system.baCost = baCost - return { isValid: true, item: comp } - } - return { isValid: false, warningMessage: `Compétence ${compName} non trouvée` } - } - /* -------------------------------------------- */ - checkIfCompetence(compName) { - let comp = this.items.find(i => i.type == "competence" && i.name.toLowerCase() == compName.toLowerCase()) - if (comp) { - return { isValid: true, item: comp } - } - return { isValid: false } - } - /* -------------------------------------------- */ - getVigueur() { - return this.system.sante.vigueur - } - - /* -------------------------------------------- */ - getVigueurBonus() { - let talents = this.items.filter(item => item.type == "talent" && item.system.isautomated) - let bonus = 0 - for (let talent of talents) { - for (let auto of talent.system.automations) { - if (auto.eventtype == "bonus-permanent" && auto.bonusname == "vigueur") { - bonus += Number(auto.bonus || 0) - } - } - } - return bonus - } - - /* -------------------------------------------- */ - getSeuilPouvoir() { - return this.system.ame.seuilpouvoir - } - - /* -------------------------------------------- */ - getSeuilPouvoirBonus() { - let talents = this.items.filter(item => item.type == "talent" && item.system.isautomated) - let bonus = 0 - for (let talent of talents) { - for (let auto of talent.system.automations) { - if (auto.eventtype == "bonus-permanent" && auto.bonusname == "seuilpouvoir") { - bonus += Number(auto.bonus || 0) - } - } - } - return bonus - } - - /* -------------------------------------------- */ - getAmeMax() { - // Utiliser une vérification stricte car 0 (Serein) est une valeur valide - return this.system.ame.max !== undefined ? this.system.ame.max : this.system.ame.nbame - } - - /* -------------------------------------------- */ - getBonneAventure() { - return this.system.bonneaventure.actuelle - } - /* -------------------------------------------- */ - checkBonneAventure(cost) { - return (this.system.bonneaventure.actuelle >= cost) - } - /* -------------------------------------------- */ - changeBonneAventure(value) { - let newBA = this.system.bonneaventure.actuelle - newBA += value - this.update({ 'system.bonneaventure.actuelle': newBA }) - } - - /* -------------------------------------------- */ - getEclat() { - return this.system.eclat.value - } - - /* -------------------------------------------- */ - changeEclat(value) { - let newE = this.system.eclat.value - newE += value - this.update({ 'system.eclat.value': newE }) - } - - /* -------------------------------------------- */ - compareName(a, b) { - if (a.name < b.name) { - return -1; - } - if (a.name > b.name) { - return 1; - } - return 0; - } - - /* -------------------------------------------- */ - getAttribute(attrKey) { - return this.system.attributes[attrKey] - } - - /* -------------------------------------------- */ - getBonusDegats() { - return 0; - } - - /* -------------------------------------------- */ - changeEtatCombativite(value) { - if (value === "vaincu") { - value = 200 - } - let sante = foundry.utils.duplicate(this.system.sante) - sante.etat += Number(value) - sante.etat = Math.max(sante.etat, 0) - sante.etat = Math.min(sante.etat, this.system.sante.nbcombativite) - this.update({ 'system.sante': sante }) - if (sante.etat == this.system.sante.nbcombativite) { - ChatMessage.create({ content: `${this.name} est vaincu !` }) - } - // Duplicated ! this.processCombativite(sante) - } - - /* -------------------------------------------- */ - changeEtatAme(value) { - if (value === "brise") { - value = 200 - } - let ame = foundry.utils.duplicate(this.system.ame) - ame.etat += Number(value) - // L'état ne peut pas être inférieur au minimum (max dans le système) - let minAme = this.system.ame.max !== undefined ? this.system.ame.max : 0 - ame.etat = Math.max(ame.etat, minAme) - // L'état ne peut pas dépasser nbame (Brisé) - ame.etat = Math.min(ame.etat, this.system.ame.nbame) - this.update({ 'system.ame': ame }) - if (ame.etat >= this.system.ame.nbame) { - ChatMessage.create({ content: `${this.name} est brisé !` }) - } - } - - /* -------------------------------------------- */ - processCombativite(sante, oldEtat = undefined) { - sante = sante || foundry.utils.duplicate(this.system.sante) - const affaibli = this.system.sante.nbcombativite - 2 - const tresAffaibli = this.system.sante.nbcombativite - 1 - // oldEtat permet de détecter les sauts qui franchissent Affaibli ou Très Affaibli - // sans y atterrir exactement (ex: 0 → 5 doit déclencher les deux seuils) - const prev = oldEtat !== undefined ? oldEtat : sante.etat - const curr = sante.etat - - const passedAffaibli = curr >= affaibli && prev < affaibli - const passedTresAffaibli = curr >= tresAffaibli && prev < tresAffaibli - - if (passedAffaibli) { - if (this.items.find(item => item.type == "talent" && item.name.toLowerCase() == "encaissement")) { - ChatMessage.create({ content: `${this.name} ne subit pas les 2 adversités rouge (Affaibli) grâce à Encaissement. Pensez à les ajouter à la fin de la scène !` }) - } else { - ChatMessage.create({ content: `${this.name} est Affaibli et subit 2 adversités rouge !` }) - this.incDecAdversite("rouge", 2) - } - } - if (passedTresAffaibli) { - if (this.items.find(item => item.type == "talent" && item.name.toLowerCase().includes("vaillant"))) { - ChatMessage.create({ content: `${this.name} ne subit pas les 2 adversités rouge (Très Affaibli) grâce à Vaillant. Pensez à les ajouter à la fin de la scène !` }) - } else { - ChatMessage.create({ content: `${this.name} est Très Affaibli et subit 2 adversités rouge supplémentaires !` }) - this.incDecAdversite("rouge", 2) - } - } - } - - /* -------------------------------------------- */ - processAme(ame, oldEtat = undefined) { - ame = ame || foundry.utils.duplicate(this.system.ame) - const traumatiseValue = this.system.ame.nbame - 2 - const tresTraumatiseValue = this.system.ame.nbame - 1 - const briseValue = this.system.ame.nbame - const prev = oldEtat !== undefined ? oldEtat : ame.etat - const curr = ame.etat - - // Déclencher pour chaque seuil franchi ou atteint, même en cas de saut - if (curr >= traumatiseValue && prev < traumatiseValue) { - ChatMessage.create({ content: `${this.name} est Traumatisé et subit 1 adversité bleue et 1 adversité noire !` }) - this.incDecAdversite("bleue", 1) - this.incDecAdversite("noire", 1) - } - if (curr >= tresTraumatiseValue && prev < tresTraumatiseValue) { - ChatMessage.create({ content: `${this.name} est Très Traumatisé et subit 1 adversité bleue et 1 adversité noire !` }) - this.incDecAdversite("bleue", 1) - this.incDecAdversite("noire", 1) - } - if (curr >= briseValue && prev < briseValue) { - ChatMessage.create({ content: `${this.name} est Brisé et subit 1 adversité noire !` }) - this.incDecAdversite("noire", 1) - } - } - - /* -------------------------------------------- */ - async equipGear(equipmentId) { - let item = this.items.find(item => item.id == equipmentId); - if (item?.system?.data) { - let update = { _id: item.id, "system.equipped": !item.system.equipped }; - await this.updateEmbeddedDocuments('Item', [update]); // Updates one EmbeddedEntity - } - } - - /* -------------------------------------------- */ - getSubActors() { - let subActors = []; - for (let id of this.system.subactors) { - subActors.push(foundry.utils.duplicate(game.actors.get(id))); - } - return subActors; - } - /* -------------------------------------------- */ - async addSubActor(subActorId) { - let subActors = foundry.utils.duplicate(this.system.subactors); - subActors.push(subActorId); - await this.update({ 'system.subactors': subActors }); - } - /* -------------------------------------------- */ - async delSubActor(subActorId) { - let newArray = []; - for (let id of this.system.subactors) { - if (id != subActorId) { - newArray.push(id); - } - } - await this.update({ 'system.subactors': newArray }); - } - - /* -------------------------------------------- */ - getTotalAdversite() { - return this.system.adversite.bleue + this.system.adversite.rouge + this.system.adversite.noire - } - - /* -------------------------------------------- */ - async incDecAdversite(adv, incDec = 0) { - let adversite = foundry.utils.duplicate(this.system.adversite) - adversite[adv] += Number(incDec) - adversite[adv] = Math.max(adversite[adv], 0) - adversite[adv] = Math.min(adversite[adv], 20) - this.update({ 'system.adversite': adversite }) - } - /* -------------------------------------------- */ - async incDecQuantity(objetId, incDec = 0) { - let objetQ = this.items.get(objetId) - if (objetQ) { - let newQ = objetQ.system.quantite + incDec - newQ = Math.max(newQ, 0) - await this.updateEmbeddedDocuments('Item', [{ _id: objetQ.id, 'system.quantite': newQ }]); // pdates one EmbeddedEntity - } - } - - /* -------------------------------------------- */ - computeRichesse() { - let valueSC = 0 - for (let monnaie of this.items) { - if (monnaie.type == "monnaie") { - valueSC += Number(monnaie.system.prixsc) * Number(monnaie.system.quantite) - } - } - return MournbladeCYD2Utility.computeMonnaieDetails(valueSC) - } - - /* -------------------------------------------- */ - computeValeurEquipement() { - let valueSC = 0 - for (let equip of this.items) { - if (equip.type == "equipement" || equip.type == "arme" || equip.type == "protection") { - valueSC += Number(equip.system.prixsc) * Number(equip.system.quantite ?? 1) - valueSC += (Number(equip.system.prixca) * Number(equip.system.quantite ?? 1)) * 20 - valueSC += (Number(equip.system.prixpo) * Number(equip.system.quantite ?? 1)) * 400 - } - } - return MournbladeCYD2Utility.computeMonnaieDetails(valueSC) - } - - /* -------------------------------------------- */ - getCompetence(compId) { - return this.items.get(compId) - } - - /* -------------------------------------------- */ - async setPredilectionUsed(compId, predIdx) { - let comp = this.items.get(compId) - let pred = foundry.utils.duplicate(comp.system.predilections) - pred[predIdx].used = true - await this.updateEmbeddedDocuments('Item', [{ _id: compId, 'system.predilections': pred }]) - } - - /* -------------------------------------------- */ - getInitiativeScore() { - let init = this.getFlag("world", "last-initiative") - return init || -1 - } - - /* -------------------------------------------- */ - getBestAttackValue() { - let attackList = this.items.filter(item => (item.type == "arme" || item.type == "talent") && item.system.equipped) - let maxOff = 0 - let bestArme - for (let arme of attackList) { - if (arme.type == "arme") { - arme = this.prepareArme(arme) - } - if (arme.system.totalOffensif > maxOff) { - maxOff = arme.system.totalOffensif - bestArme = foundry.utils.duplicate(arme) - } - } - return bestArme - } - - /* -------------------------------------------- */ - getBestDefenseValue() { - let defenseList = this.items.filter(item => (item.type == "arme") && item.system.equipped) - let maxDef = 0 - let bestArme - for (let arme of defenseList) { - if (arme.type == "arme") { - arme = this.prepareArme(arme) - } - if (arme.system.totalDefensif > maxDef) { - maxDef = arme.system.totalDefensif - bestArme = foundry.utils.duplicate(arme) - } - } - return bestArme - } - - /* -------------------------------------------- */ - searchRelevantTalents(competence) { - let talents = [] - - for (let talent of this.items) { - if (talent.type == "talent" && talent.system.isautomated && talent.system.automations.length > 0) { - for (let auto of talent.system.automations) { - if (auto.eventtype === "prepare-roll") { - if (auto.competence.toLowerCase() == competence.name.toLowerCase()) { - talent = foundry.utils.duplicate(talent) - talent.system.bonus = auto.bonus - talent.system.baCost = auto.baCost - talents.push(talent) - } - } - } - } - } - return talents - } - - /* -------------------------------------------- */ - buildListeAdversites() { - return [] - } - - /* -------------------------------------------- */ - getCommonRollData(attrKey = undefined, compId = undefined, compName = undefined) { - let rollData = MournbladeCYD2Utility.getBasicRollData() - rollData.alias = this.name - rollData.actorImg = this.img - rollData.actorId = this.id - rollData.tokenId = this.token?.id - rollData.img = this.img - rollData.attributs = MournbladeCYD2Utility.getAttributs() - rollData.maitriseId = "none" - rollData.nbEclat = this.system.eclat.value - rollData.nbBA = this.system.bonneaventure.actuelle - rollData.nbAdversites = this.getTotalAdversite() - rollData.talents = [] - rollData.attrKey2 = "none" - rollData.coupDevastateur = this.items.find(it => it.type == "talent" && it.name.toLowerCase() == "coup dévastateur" && !it.system.used) - rollData.hasAmbidextre = this.items.find(it => it.type == "talent" && it.name.toLowerCase() == "ambidextre") - rollData.hasFeinte = this.system.bonneaventure.actuelle > 0 && this.items.find(it => it.type == "talent" && it.name.toLowerCase() == "feinte") - rollData.isMonte = this.system.combat.monte - rollData.config = game.system.mournbladecyd2.config - - if (attrKey) { - rollData.attrKey = attrKey - if (attrKey != "tochoose") { - rollData.actionImg = "systems/fvtt-mournblade-cyd-2-0/assets/icons/" + this.system.attributs[attrKey].labelnorm + ".webp" - rollData.attr = foundry.utils.duplicate(this.system.attributs[attrKey]) - } - } - if (compId) { - rollData.competence = foundry.utils.duplicate(this.items.get(compId) || {}) - let maitrises = [{ key: "none", label: "Aucune" }] - rollData.competence.system.predilections.forEach(function (item) { - if (item.maitrise) { - maitrises.push({ key: item.id, label: item.name }); - } - }) - rollData.maitrises = maitrises // rollData.competence.system.predilections.filter(p => p.maitrise) - rollData.actionImg = rollData.competence?.img - rollData.talents = this.searchRelevantTalents(rollData.competence) - } - if (compName) { - rollData.competence = foundry.utils.duplicate(this.items.find(item => item.name.toLowerCase() == compName.toLowerCase()) || {}) - rollData.actionImg = rollData.competence?.img - } - return rollData - } - - /* -------------------------------------------- */ - async rollAttribut(attrKey, isInit = false) { - let rollData = this.getCommonRollData(attrKey) - rollData.multiplier = (isInit) ? 1 : 2 - rollData.isInit = isInit - let rollDialog = await MournbladeCYD2RollDialog.create(this, rollData) - rollDialog.render(true) - } - - /* -------------------------------------------- */ - async rollCompetence(attrKey, compId) { - let rollData = this.getCommonRollData(attrKey, compId) - rollData.multiplier = 1 // Attr multiplier, always 1 in competence mode - console.log("RollDatra", rollData) - let rollDialog = await MournbladeCYD2RollDialog.create(this, rollData) - rollDialog.render(true) - } - - /* -------------------------------------------- */ - async rollArmeOffensif(armeId) { - let arme = this.items.get(armeId) - if (arme.type == "arme") { - arme = this.prepareArme(arme) - } - let rollData = this.getCommonRollData(arme.system.attrKey, arme.system.competence._id) - rollData.arme = arme - MournbladeCYD2Utility.updateWithTarget(rollData) - console.log("ARME!", rollData) - let rollDialog = await MournbladeCYD2RollDialog.create(this, rollData) - rollDialog.render(true) - } - /* -------------------------------------------- */ - async rollAssommer() { - let rollData = this.getCommonRollData("pui", undefined, "Filouterie") - rollData.assomer = true - rollData.conditionsCommunes = true - MournbladeCYD2Utility.updateWithTarget(rollData) - let rollDialog = await MournbladeCYD2RollDialog.create(this, rollData) - rollDialog.render(true) - } - /* -------------------------------------------- */ - async rollCoupBas() { - let rollData = this.getCommonRollData("pui", undefined, "Mêlée") - rollData.coupBas = true - rollData.conditionsCommunes = true - MournbladeCYD2Utility.updateWithTarget(rollData) - let rollDialog = await MournbladeCYD2RollDialog.create(this, rollData) - rollDialog.render(true) - } - /* -------------------------------------------- */ - async rollImmobiliser() { - let rollData = this.getCommonRollData("pui", undefined, "Mêlée") - rollData.immobiliser = true - rollData.conditionsCommunes = true - rollData.cibleconsciente = true - MournbladeCYD2Utility.updateWithTarget(rollData) - let rollDialog = await MournbladeCYD2RollDialog.create(this, rollData) - rollDialog.render(true) - } - /* -------------------------------------------- */ - async rollRepousser() { - let rollData = this.getCommonRollData("pui", undefined, "Mêlée") - rollData.repousser = true - rollData.conditionsCommunes = true - rollData.cibleconsciente = true - MournbladeCYD2Utility.updateWithTarget(rollData) - let rollDialog = await MournbladeCYD2RollDialog.create(this, rollData) - rollDialog.render(true) - } - /* -------------------------------------------- */ - async rollDesengager() { - let rollData = this.getCommonRollData("adr", undefined, "Mouvements") - rollData.desengager = true - rollData.conditionsCommunes = true - MournbladeCYD2Utility.updateWithTarget(rollData) - let rollDialog = await MournbladeCYD2RollDialog.create(this, rollData) - rollDialog.render(true) - } - - /* -------------------------------------------- */ - async rollArmeDegats(armeId, targetVigueur = undefined, rollDataInput = undefined) { - let arme = this.items.get(armeId) - if (arme.type == "arme") { - arme = this.prepareArme(arme) - } - console.log("DEGATS", arme, targetVigueur, rollDataInput) - let roll - let bonus = 0 - let bonus2 = 0 - - if (rollDataInput?.applyCoupDevastateur) { - bonus2 = Math.floor(this.system.attributs.pui.value / 2) - let talent = this.items.find(item => item.type == "talent" && item.name.toLowerCase() == "coup dévastateur") - this.updateEmbeddedDocuments('Item', [{ _id: talent.id, 'system.used': true }]) - } - - if (rollDataInput?.isHeroique) { - if (rollDataInput?.attaqueCharge) { - bonus = 5 - } - if (rollDataInput?.chargeCavalerie) { - bonus = 6 - } - roll = await new Roll("2d10rr10+" + arme.system.totalDegats + "+" + bonus + "+" + bonus2).roll() - } else { - if (rollDataInput?.attaqueCharge) { - bonus = 3 - } - if (rollDataInput?.chargeCavalerie) { - bonus = 4 - } - roll = await new Roll("1d10+" + arme.system.totalDegats + "+" + bonus + "+" + bonus2).roll() - } - await MournbladeCYD2Utility.showDiceSoNice(roll, game.settings.get("core", "rollMode")); - // CYD 2.0: états SUPPLÉMENTAIRES au-delà du -1 automatique à la réussite. - // Math.floor(total/SV) = 0 (Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter=>{ - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err=> - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251025235732.js b/.history/modules/mournblade-cyd2-main_20251025235732.js deleted file mode 100644 index 676cd49..0000000 --- a/.history/modules/mournblade-cyd2-main_20251025235732.js +++ /dev/null @@ -1,140 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2CelluleSheet } from "./mournblade-cyd2-cellule-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CelluleSheet, { types: ["cellule"], makeDefault: true }); - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026095731.js b/.history/modules/mournblade-cyd2-main_20251026095731.js deleted file mode 100644 index a815250..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026095731.js +++ /dev/null @@ -1,139 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CelluleSheet, { types: ["cellule"], makeDefault: true }); - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026095740.js b/.history/modules/mournblade-cyd2-main_20251026095740.js deleted file mode 100644 index 1de88c4..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026095740.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026100138.js b/.history/modules/mournblade-cyd2-main_20251026100138.js deleted file mode 100644 index 1de88c4..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026100138.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134251.js b/.history/modules/mournblade-cyd2-main_20251026134251.js deleted file mode 100644 index 044a9ea..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134251.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134253.js b/.history/modules/mournblade-cyd2-main_20251026134253.js deleted file mode 100644 index 6ed3375..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134253.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134255.js b/.history/modules/mournblade-cyd2-main_20251026134255.js deleted file mode 100644 index da6581b..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134255.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134256.js b/.history/modules/mournblade-cyd2-main_20251026134256.js deleted file mode 100644 index da6581b..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134256.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134257.js b/.history/modules/mournblade-cyd2-main_20251026134257.js deleted file mode 100644 index da6581b..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134257.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134302.js b/.history/modules/mournblade-cyd2-main_20251026134302.js deleted file mode 100644 index b4d7b41..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134302.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr ainsi que
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134307.js b/.history/modules/mournblade-cyd2-main_20251026134307.js deleted file mode 100644 index 11eeda4..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134307.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr ainsi que le supplément
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134320.js b/.history/modules/mournblade-cyd2-main_20251026134320.js deleted file mode 100644 index 6526e99..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134320.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr ainsi que le supplément de conversion de règle pour le CYD 2.0
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134322.js b/.history/modules/mournblade-cyd2-main_20251026134322.js deleted file mode 100644 index 6526e99..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134322.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr ainsi que le supplément de conversion de règle pour le CYD 2.0
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134323.js b/.history/modules/mournblade-cyd2-main_20251026134323.js deleted file mode 100644 index 6526e99..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134323.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr ainsi que le supplément de conversion de règle pour le CYD 2.0
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-main_20251026134327.js b/.history/modules/mournblade-cyd2-main_20251026134327.js deleted file mode 100644 index 6526e99..0000000 --- a/.history/modules/mournblade-cyd2-main_20251026134327.js +++ /dev/null @@ -1,138 +0,0 @@ -/** - * MournbladeCYD2 system - * Author: Uberwald - * Software License: Prop - */ - -/* -------------------------------------------- */ - -/* -------------------------------------------- */ -// Import Modules -import { MournbladeCYD2Actor } from "./mournblade-cyd2-actor.js"; -import { MournbladeCYD2ItemSheet } from "./mournblade-cyd2-item-sheet.js"; -import { MournbladeCYD2ActorSheet } from "./mournblade-cyd2-actor-sheet.js"; -import { MournbladeCYD2CreatureSheet } from "./mournblade-cyd2-creature-sheet.js"; -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Item } from "./mournblade-cyd2-item.js"; -import { MournbladeCYD2Automation } from "./mournblade-cyd2-automation.js"; -import { MournbladeCYD2TokenHud } from "./mournblade-cyd2-hud.js"; -import { MOURNBLADECYD2_CONFIG } from "./mournblade-cyd2-config.js"; - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ - -/************************************************************************************/ -Hooks.once("init", async function () { - console.log(`Initializing MournbladeCYD2 RPG`); - - /* -------------------------------------------- */ - // preload handlebars templates - MournbladeCYD2Utility.preloadHandlebarsTemplates() - - /* -------------------------------------------- */ - // Set an initiative formula for the system - CONFIG.Combat.initiative = { - formula: "1d10", - decimals: 1 - }; - - /* -------------------------------------------- */ - game.socket.on("system.fvtt-mournblade-cyd2", data => { - MournbladeCYD2Utility.onSocketMesssage(data) - }); - - /* -------------------------------------------- */ - // Define custom Entity classes - CONFIG.Combat.documentClass = MournbladeCYD2Combat - CONFIG.Actor.documentClass = MournbladeCYD2Actor - CONFIG.Item.documentClass = MournbladeCYD2Item - game.system.mournbladecyd2 = { - MournbladeCYD2Utility, - MournbladeCYD2Automation, - config: MOURNBLADECYD2_CONFIG - } - - /* -------------------------------------------- */ - // Regster sheet application classes - foundry.documents.collections.Actors.unregisterSheet("core", foundry.appv1.sheets.ActorSheet); - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ActorSheet, { types: ["personnage"], makeDefault: true }) - foundry.documents.collections.Actors.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2CreatureSheet, { types: ["creature"], makeDefault: true }) - - foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet); - foundry.documents.collections.Items.registerSheet("fvtt-mournblade-cyd2", MournbladeCYD2ItemSheet, { makeDefault: true }) - - MournbladeCYD2Utility.init() - MournbladeCYD2Automation.init() - MournbladeCYD2TokenHud.init() - -}); - -/* -------------------------------------------- */ -function welcomeMessage() { - ChatMessage.create({ - user: game.user.id, - whisper: [game.user.id], - content: `Les livres de Mournblade sont nécessaires pour jouer : https://www.titam-france.fr ainsi que le supplément de conversion de règle pour le CYD 2.0
-Mournblade est un jeu de rôle publié par Titam France/Sombres projets, tous les droits leur appartiennent.
-Système développé par LeRatierBretonnien, support sur le Discord FR de Foundry.
- ` }); -} - -/* -------------------------------------------- */ -async function importDefaultScene() { - let exists = game.scenes.find(j => j.name == "Accueil"); - if (!exists) { - const scenes = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.scenes") - let newDocuments = scenes.filter(i => i.name == "Accueil"); - if (newDocuments) { - await game.scenes.documentClass.create(newDocuments); - game.scenes.find(i => i.name == "Accueil").activate(); - } - } -} - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.once("ready", function () { - - MournbladeCYD2Utility.ready() - - // User warning - if (!game.user.isGM && game.user.character == undefined) { - ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); - ChatMessage.create({ - content: "ATTENTION Le joueur " + game.user.name + " n'est relié à aucun personnage !", - user: game.user._id - }); - } - - import("https://www.uberwald.me/fvtt_appcount/count-class-ready.js").then(moduleCounter => { - console.log("ClassCounter loaded", moduleCounter) - moduleCounter.ClassCounter.registerUsageCount() - }).catch(err => - console.log("No stats available, giving up.") - ) - - importDefaultScene() - welcomeMessage() - -}); - -/* -------------------------------------------- */ -/* Foundry VTT Initialization */ -/* -------------------------------------------- */ -Hooks.on("chatMessage", (html, content, msg) => { - if (content[0] == '/') { - let regExp = /(\S+)/g; - let commands = content.match(regExp); - if (game.system.mournblade.commands.processChatCommand(commands, content, msg)) { - return false; - } - } - return true; -}); diff --git a/.history/modules/mournblade-cyd2-utility_20251025235653.js b/.history/modules/mournblade-cyd2-utility_20251025235653.js deleted file mode 100644 index eb6a31b..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251025235653.js +++ /dev/null @@ -1,834 +0,0 @@ -/* -------------------------------------------- */ -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Commands } from "./mournblade-cyd2-commands.js"; - -/* -------------------------------------------- */ -const __distanceDifficulte = { "porteecourte": 5, "porteemoyenne": 9, "porteelongue": 14 } -const __tireurDeplacement = { immobile: 0, lent: 3, rapide: 5 } -const __cibleCouvert = { aucun: 0, leger: 5, complet: 10 } -const __tailleCible = { normal: 0, main: 10, enfant: 3, maison: -10 } - -/* -------------------------------------------- */ -export class MournbladeCYD2Utility { - - - /* -------------------------------------------- */ - static async init() { - Hooks.on('renderChatLog', (log, html, data) => MournbladeCYD2Utility.chatListeners(html)) - Hooks.on("getChatMessageContextOptions", (html, options) => MournbladeCYD2Utility.chatRollMenu(html, options)) - Hooks.on("getCombatTrackerEntryContext", (html, options) => { - MournbladeCYD2Utility.pushInitiativeOptions(html, options); - }) - - this.rollDataStore = {} - this.defenderStore = {} - MournbladeCYD2Commands.init() - - Handlebars.registerHelper('count', function (list) { - return list.length; - }) - Handlebars.registerHelper('includes', function (array, val) { - return array.includes(val); - }) - Handlebars.registerHelper('upper', function (text) { - return text.toUpperCase(); - }) - Handlebars.registerHelper('lower', function (text) { - return text.toLowerCase() - }) - Handlebars.registerHelper('upperFirst', function (text) { - if (typeof text !== 'string') return text - return text.charAt(0).toUpperCase() + text.slice(1) - }) - Handlebars.registerHelper('notEmpty', function (list) { - return list.length > 0; - }) - Handlebars.registerHelper('mul', function (a, b) { - return parseInt(a) * parseInt(b); - }) - - game.settings.register("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo", { - name: "Logo de pause", - scope: "world", - config: true, - requiresReload: true, - default: "logo_pause_resistance", - type: String, - choices: { // If choices are defined, the resulting setting will be a select menu - "mournblade-cyd2_logo": "MournbladeCYD2 (Texte)", - "logo_pause_resistance": "Résistance", - "logo_pause_mournblade-cyd2_stone": "MournbladeCYD2 (Pierre)", - "logo_pause_mournblade-cyd2_violet": "MournbladeCYD2 (Violet)", - "logo_pause_mournblade-cyd2_beige": "MournbladeCYD2 (Beige)", - "logo_pause_mournblade-cyd2_rouge": "MournbladeCYD2 (Rouge)" - }, - }) - - } - - /* -------------------------------------------- */ - static sortArrayObjectsByName(myArray) { - myArray.sort((a, b) => { - return a.name.localeCompare(b.name); - }) - } - - /* -------------------------------------------- */ - static getModificateurOptions() { - let opt = [] - for (let i = -15; i <= 15; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getPointAmeOptions() { - let opt = [] - for (let i = 1; i <= 20; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getAttributs() { - return { adr: "Adresse", pui: "Puissance", cla: "Clairvoyance", pre: "Présence", tre: "Trempe" } - } - /* -------------------------------------------- */ - static pushInitiativeOptions(html, options) { - } - - /* -------------------------------------------- */ - static getSkills() { - return this.skills - } - - /* -------------------------------------------- */ - static async ready() { - const skills = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.skills") - this.skills = skills.map(i => i.toObject()) - - // Setup pause logo - let logoPause = "systems/fvtt-mournblade-cyd2/assets/logos/" + game.settings.get("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo") + ".webp" - let logoImg = document.querySelector('#pause').children[0] - logoImg.setAttribute('style', `content: url(${logoPause})`) - - game.system.mournbladecyd2.config.listeNiveauSkill = this.createDirectOptionList(0, 10) - game.system.mournbladecyd2.config.listeNiveauCreature = this.createDirectOptionList(0, 35) - game.system.mournbladecyd2.config.listeNiveauContact = this.createDirectOptionList(1, 3) - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - static createArrayOptionList(min, max) { - let options = []; - for (let i = min; i <= max; i++) { - options.push({ key: `${i}`, label: `${i}` }); - } - return options; - } - - /* -------------------------------------------- */ - static async loadCompendiumData(compendium) { - const pack = game.packs.get(compendium); - return await pack?.getDocuments() ?? []; - } - - /* -------------------------------------------- */ - static async loadCompendium(compendium, filter = item => true) { - let compendiumData = await MournbladeCYD2Utility.loadCompendiumData(compendium); - return compendiumData.filter(filter); - } - - /* -------------------------------------------- */ - static getOptionsStatusList() { - return this.optionsStatusList; - } - /* -------------------------------------------- */ - static async chatListeners(html) { - - $(html).on("click", '.predilection-reroll', async event => { - let predIdx = $(event.currentTarget).data("predilection-index") - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - await actor.setPredilectionUsed(rollData.competence._id, predIdx) - rollData.competence = foundry.utils.duplicate(actor.getCompetence(rollData.competence._id)) - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - }) - - $(html).on("click", '.roll-chat-degat', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - $(html).on("click", '.roll-chat-degat-devastateur', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - rollData.applyCoupDevastateur = true - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - - } - - /* -------------------------------------------- */ - static async preloadHandlebarsTemplates() { - - const templatePaths = [ - 'systems/fvtt-mournblade-cyd2/templates/editor-notes-gm.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-header.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-description.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-prix.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-automation.html', - 'systems/fvtt-mournblade-cyd2/templates/hud-adversites.html', - ] - return foundry.applications.handlebars.loadTemplates(templatePaths); - } - - /* -------------------------------------------- */ - static removeChatMessageId(messageId) { - if (messageId) { - game.messages.get(messageId)?.delete(); - } - } - - static findChatMessageId(current) { - return MournbladeCYD2Utility.getChatMessageId(MournbladeCYD2Utility.findChatMessage(current)); - } - - static getChatMessageId(node) { - return node?.attributes.getNamedItem('data-message-id')?.value; - } - - static findChatMessage(current) { - return MournbladeCYD2Utility.findNodeMatching(current, it => it.classList.contains('chat-message') && it.attributes.getNamedItem('data-message-id')) - } - - static findNodeMatching(current, predicate) { - if (current) { - if (predicate(current)) { - return current; - } - return MournbladeCYD2Utility.findNodeMatching(current.parentElement, predicate); - } - return undefined; - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - - /* -------------------------------------------- */ - static buildListOptions(min, max) { - let options = "" - for (let i = min; i <= max; i++) { - options += `` - } - return options; - } - - /* -------------------------------------------- */ - static getTarget() { - if (game.user.targets && game.user.targets.size == 1) { - for (let target of game.user.targets) { - return target; - } - } - return undefined; - } - - /* -------------------------------------------- */ - static getActorFromRollData(rollData) { - let actor = game.actors.get(rollData.actorId) - if (rollData.tokenId) { - let token = canvas.tokens.placeables.find(t => t.id == rollData.tokenId) - if (token) { - actor = token.actor - } - } - return actor - } - - /* -------------------------------------------- */ - static updateRollData(rollData) { - - let id = rollData.rollId; - let oldRollData = this.rollDataStore[id] || {}; - let newRollData = foundry.utils.mergeObject(oldRollData, rollData); - this.rollDataStore[id] = newRollData; - } - - /* -------------------------------------------- */ - static onSocketMesssage(msg) { - if (msg.msg == "msg_apply_combativite") { - let defender = game.canvas.tokens.get(msg.data.defenderTokenId)?.actor - if (defender) { - defender.changeEtatCombativite(msg.data.value) - } else { - console.warn("MournbladeCYD2Utility.onSocketMesssage : Impossible de trouver le token pour appliquer la combativité", msg.defenderTokenId) - } - } - } - - /* -------------------------------------------- */ - static chatDataSetup(content, modeOverride, isRoll = false, forceWhisper) { - let chatData = { - user: game.user.id, - rollMode: modeOverride || game.settings.get("core", "rollMode"), - content: content - }; - - if (["gmroll", "blindroll"].includes(chatData.rollMode)) chatData["whisper"] = ChatMessage.getWhisperRecipients("GM").map(u => u.id); - if (chatData.rollMode === "blindroll") chatData["blind"] = true; - else if (chatData.rollMode === "selfroll") chatData["whisper"] = [game.user]; - - if (forceWhisper) { // Final force ! - chatData["speaker"] = ChatMessage.getSpeaker(); - chatData["whisper"] = ChatMessage.getWhisperRecipients(forceWhisper); - } - - return chatData; - } - - /* -------------------------------------------- */ - static async showDiceSoNice(roll, rollMode) { - if (game.modules.get("dice-so-nice")?.active) { - if (game.dice3d) { - let whisper = null; - let blind = false; - rollMode = rollMode ?? game.settings.get("core", "rollMode"); - switch (rollMode) { - case "blindroll": //GM only - blind = true; - case "gmroll": // GM + rolling player - whisper = this.getUsers(user => user.isGM); - break; - case "roll": // everybody - whisper = this.getUsers(user => user.active); - break; - case "selfroll": - whisper = [game.user.id]; - break; - } - await game.dice3d.showForRoll(roll, game.user, true, whisper, blind); - } - } - } - - /* -------------------------------------------- */ - static computeMonnaieDetails(valueSC) { - let po = Math.floor(valueSC / 400) - let pa = Math.floor((valueSC - (po * 400)) / 20) - let sc = valueSC - (po * 400) - (pa * 20) - return { - po, pa, sc, valueSC - } - } - - /* -------------------------------------------- */ - static computeResult(rollData) { - rollData.diceResult = rollData.roll.terms[0].results[0].result - if (rollData.mainDice.includes("d20")) { - let diceValue = rollData.roll.terms[0].results[0].result - if (diceValue % 2 == 1) { - //console.log("PAIR/IMP2", diceValue) - rollData.finalResult -= rollData.roll.terms[0].results[0].result // Substract value - if (diceValue == 1 || diceValue == 11) { - rollData.isDramatique = true - rollData.isSuccess = false - } - } - } - - //console.log("Result : ", rollData - this.computeResultQuality(rollData) - } - - /* -------------------------------------------- */ - static computeResultQuality(rollData) { - if (rollData.difficulte > 0 && !rollData.isDramatique) { - rollData.isSuccess = (rollData.finalResult >= rollData.difficulte) - rollData.isHeroique = ((rollData.finalResult - rollData.difficulte) >= 10) - rollData.isDramatique = ((rollData.finalResult - rollData.difficulte) <= -10) - } - } - - /* -------------------------------------------- */ - static applyCombativite(rollData, value) { - if (game.user.isGM) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.changeEtatCombativite(value) - } else { - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_apply_combativite", data: { defenderTokenId: rollData.defenderTokenId, value } }); - } - } - /* -------------------------------------------- */ - static async rollMournbladeCYD2(rollData) { - - let actor = this.getActorFromRollData(rollData) - if (rollData.attrKey == "tochoose") { // No attr selected, force address - rollData.attrKey = "adr" - } - if (!rollData.attr) { - rollData.actionImg = "systems/fvtt-mournblade-cyd2/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp" - rollData.attr = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey]) - } - if (rollData.attrKey2 != "none") { - rollData.attr2 = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey2]) - } - - if (rollData.maitriseId != "none") { - rollData.selectedMaitrise = rollData.maitrises.find(p => p.id == rollData.maitriseId) - rollData.diceFormula = "2" + rollData.mainDice + "kh" - } else { - rollData.diceFormula = "1" + rollData.mainDice - } - - //console.log("BEFORE COMP", rollData) - if (rollData.competence) { - rollData.predilections = foundry.utils.duplicate(rollData.competence.system.predilections || []) - let compmod = (rollData.competence.system.niveau == 0) ? -3 : 0 - rollData.diceFormula += `+${rollData.attr.value}+${rollData.competence.system.niveau}+${rollData.modificateur}+${compmod}` - - if (rollData.selectedTalents && rollData.selectedTalents.length > 0) { - for (let id of rollData.selectedTalents) { - let talent = rollData.talents.find(t => t._id == id) - let bonusOK = true - if (talent.system.baCost) { - bonusOK = actor.checkBonneAventure(talent.system.baCost) - if (bonusOK) { - actor.changeBonneAventure(-talent.system.baCost) - } else { - ui.notifications.warn("Vous n'avez pas assez de points de Bonne Aventure !") - } - } - if (bonusOK) { - rollData.diceFormula += `+${talent.system.bonus}` - } - } - } - rollData.diceFormula += `+${rollData.bonusMalusContext}` - } else if (rollData.attr2) { - rollData.diceFormula += `+${rollData.attr.value}+${rollData.attr2.value}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } else { - rollData.diceFormula += `+${rollData.attr.value}*${rollData.multiplier}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } - - // Bonus arme naturelle en défense - if (rollData.bonusArmeNaturelle) { - rollData.diceFormula += `+${rollData.bonusArmeNaturelle}` - } - if (rollData.attaquantsMultiples) { - rollData.diceFormula += `+3` - } - if (rollData.hasAmbidextre) { - if (rollData.ambidextre1) { - rollData.diceFormula += `-3` - } else if (rollData.ambidextre2) { - rollData.diceFormula += `-6` - } - } - if (rollData.defenseurAuSol) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurAveugle) { - rollData.diceFormula += `+10` - } - if (rollData.defenseurDeDos) { - rollData.diceFormula += `+5` - } - if (rollData.defenseurRestreint) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurImmobilise) { - rollData.diceFormula += `+5` - } - if (rollData.soutiens > 0) { // 1 soutien = +3, 2 soutiens = +4, 3 soutiens = +5 - rollData.diceFormula += `+${rollData.soutiens + 2}` - } - - if (rollData.arme?.system.isDistance) { - rollData.difficulte = __distanceDifficulte[rollData.distanceTir] - rollData.difficulte += __tireurDeplacement[rollData.tireurDeplacement] - rollData.difficulte += __cibleCouvert[rollData.cibleCouvert] - rollData.difficulte += __tailleCible[rollData.tailleCible] - rollData.difficulte += rollData.cibleDeplace ? 3 : 0 - rollData.difficulte += rollData.cibleCaC ? 3 : 0 - rollData.difficulte += rollData.protectionDefenseur - } - if (rollData.attaqueDesarme) { - rollData.difficulte += 10 - } - - // Ajout adversités - rollData.diceFormula += `-${rollData.nbAdversites}` - - if (rollData.arme && rollData.arme.type == "arme") { - rollData.diceFormula += `+${rollData.arme.system.bonusmaniementoff}` - } - - // Gestion de la feinte éventuelle - rollData.nbCombativitePerdu = 1 - - let myRoll = await new Roll(rollData.diceFormula).roll() - await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) - rollData.roll = foundry.utils.duplicate(myRoll) - console.log(">>>> ", myRoll) - - rollData.finalResult = myRoll.total - this.computeResult(rollData) - if (rollData.isInit) { - actor.setFlag("world", "last-initiative", rollData.finalResult) - } - if (rollData.feinte) { - actor.changeBonneAventure(-1) - if (rollData.isHeroique) { - rollData.nbCombativitePerdu = "vaincu" - } else if (rollData.isSuccess) { - rollData.nbCombativitePerdu = 2 - } - } - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - if ((rollData.coupBas || rollData.arme) && rollData.isSuccess && rollData.defenderTokenId) { - this.applyCombativite(rollData, rollData.nbCombativitePerdu) - } - if (rollData.coupBas && rollData.isSuccess && rollData.defenderTokenId) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.incDecAdversite("bleue", -2) - } - } - - /* -------------------------------------------- */ - static getCombativiteList(nbActivite) { - let list = [{ value: String(0), label: "Combatif" }] - for (let i = 1; i < nbActivite - 2; i++) { - list.push({ value: String(i), label: "Eprouvé " + i }) - } - list[nbActivite - 2] = { value: String(nbActivite - 2), label: "Affaibli" } - list[nbActivite - 1] = { value: String(nbActivite - 1), label: "Très Affaibli" } - list[nbActivite] = { value: String(nbActivite), label: "Vaincu" } - return list - } - - /* -------------------------------------------- */ - static async bonusRollMournbladeCYD2(rollData) { - rollData.bonusFormula = rollData.addedBonus - console.log("Bonus Roll MournbladeCYD2", rollData.bonusFormula) - - if (!Number(rollData.bonusFormula)) { - let bonusRoll = await new Roll(rollData.bonusFormula).roll() - await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode")); - rollData.bonusRoll = foundry.utils.duplicate(bonusRoll) - rollData.finalResult += Number(rollData.bonusRoll.total) - } else { - rollData.finalResult += Number(rollData.bonusFormula) - console.log("Bonus Roll MournbladeCYD2 2", rollData.finalResult) - } - - this.computeResultQuality(rollData) - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - } - - /* -------------------------------------------- */ - static getUsers(filter) { - return game.users.filter(filter).map(user => user._id); - } - - /* -------------------------------------------- */ - static getWhisperRecipients(rollMode, name) { - switch (rollMode) { - case "blindroll": return this.getUsers(user => user.isGM); - case "gmroll": return this.getWhisperRecipientsAndGMs(name); - case "selfroll": return [game.user.id]; - } - return undefined; - } - /* -------------------------------------------- */ - static getWhisperRecipientsAndGMs(name) { - let recep1 = ChatMessage.getWhisperRecipients(name) || []; - return recep1.concat(ChatMessage.getWhisperRecipients('GM')); - } - - /* -------------------------------------------- */ - static blindMessageToGM(chatOptions) { - let chatGM = foundry.utils.duplicate(chatOptions); - chatGM.whisper = this.getUsers(user => user.isGM); - chatGM.content = "Blinde message of " + game.user.name + "Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - - /************************************************************************************/ - static async __create_talents_table() { - let compName = "fvtt-mournblade-cyd2.talents-cellule" - const compData = await MournbladeCYD2Utility.loadCompendium(compName) - let talents = compData.map(i => i.toObject()) - - let htmlTab = "| @UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}} | ` - htmlTab += `${entryData.system.description} | `; - htmlTab += "
Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026100139.js b/.history/modules/mournblade-cyd2-utility_20251026100139.js deleted file mode 100644 index f2bb274..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026100139.js +++ /dev/null @@ -1,885 +0,0 @@ -/* -------------------------------------------- */ -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Commands } from "./mournblade-cyd2-commands.js"; - -/* -------------------------------------------- */ -const __distanceDifficulte = { "porteecourte": 5, "porteemoyenne": 9, "porteelongue": 14 } -const __tireurDeplacement = { immobile: 0, lent: 3, rapide: 5 } -const __cibleCouvert = { aucun: 0, leger: 5, complet: 10 } -const __tailleCible = { normal: 0, main: 10, enfant: 3, maison: -10 } - -/* -------------------------------------------- */ -export class MournbladeCYD2Utility { - - - /* -------------------------------------------- */ - static async init() { - Hooks.on('renderChatLog', (log, html, data) => MournbladeCYD2Utility.chatListeners(html)) - Hooks.on("getChatMessageContextOptions", (html, options) => MournbladeCYD2Utility.chatRollMenu(html, options)) - Hooks.on("getCombatTrackerEntryContext", (html, options) => { - MournbladeCYD2Utility.pushInitiativeOptions(html, options); - }) - - this.rollDataStore = {} - this.defenderStore = {} - MournbladeCYD2Commands.init() - - Handlebars.registerHelper('count', function (list) { - return list.length; - }) - Handlebars.registerHelper('includes', function (array, val) { - return array.includes(val); - }) - Handlebars.registerHelper('upper', function (text) { - return text.toUpperCase(); - }) - Handlebars.registerHelper('lower', function (text) { - return text.toLowerCase() - }) - Handlebars.registerHelper('upperFirst', function (text) { - if (typeof text !== 'string') return text - return text.charAt(0).toUpperCase() + text.slice(1) - }) - Handlebars.registerHelper('notEmpty', function (list) { - return list.length > 0; - }) - Handlebars.registerHelper('mul', function (a, b) { - return parseInt(a) * parseInt(b); - }) - - game.settings.register("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo", { - name: "Logo de pause", - scope: "world", - config: true, - requiresReload: true, - default: "mournblade_logo_chaos", - type: String, - choices: { // If choices are defined, the resulting setting will be a select menu - "mournblade_logo_chaos": "Mournblade (Chaos)", - "mournblade_logo_texte": "Mournblade (Texte)", - "mournblade-cyd2_logo": "MournbladeCYD2 (Texte)", - "logo_pause_resistance": "Résistance", - "logo_pause_mournblade-cyd2_stone": "MournbladeCYD2 (Pierre)", - "logo_pause_mournblade-cyd2_violet": "MournbladeCYD2 (Violet)", - "logo_pause_mournblade-cyd2_beige": "MournbladeCYD2 (Beige)", - "logo_pause_mournblade-cyd2_rouge": "MournbladeCYD2 (Rouge)" - }, - }) - - } - - /* -------------------------------------------- */ - static sortArrayObjectsByName(myArray) { - myArray.sort((a, b) => { - return a.name.localeCompare(b.name); - }) - } - - /* -------------------------------------------- */ - static getModificateurOptions() { - let opt = [] - for (let i = -15; i <= 15; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getPointAmeOptions() { - let opt = [] - for (let i = 1; i <= 20; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getAttributs() { - return { adr: "Adresse", pui: "Puissance", cla: "Clairvoyance", pre: "Présence", tre: "Trempe" } - } - /* -------------------------------------------- */ - static pushInitiativeOptions(html, options) { - } - - /* -------------------------------------------- */ - static getSkills() { - return this.skills - } - - /* -------------------------------------------- */ - static async ready() { - const skills = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.skills") - this.skills = skills.map(i => i.toObject()) - - // Setup pause logo - let logoPause = "systems/fvtt-mournblade-cyd2/assets/logos/" + game.settings.get("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo") + ".webp" - let logoImg = document.querySelector('#pause').children[0] - logoImg.setAttribute('style', `content: url(${logoPause})`) - - game.system.mournbladecyd2.config.listeNiveauSkill = this.createDirectOptionList(0, 10) - game.system.mournbladecyd2.config.listeNiveauCreature = this.createDirectOptionList(0, 35) - game.system.mournbladecyd2.config.listeNiveauContact = this.createDirectOptionList(1, 3) - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - static createArrayOptionList(min, max) { - let options = []; - for (let i = min; i <= max; i++) { - options.push({ key: `${i}`, label: `${i}` }); - } - return options; - } - - /* -------------------------------------------- */ - static async loadCompendiumData(compendium) { - const pack = game.packs.get(compendium); - return await pack?.getDocuments() ?? []; - } - - /* -------------------------------------------- */ - static async loadCompendium(compendium, filter = item => true) { - let compendiumData = await MournbladeCYD2Utility.loadCompendiumData(compendium); - return compendiumData.filter(filter); - } - - /* -------------------------------------------- */ - static getOptionsStatusList() { - return this.optionsStatusList; - } - /* -------------------------------------------- */ - static async chatListeners(html) { - - $(html).on("click", '.predilection-reroll', async event => { - let predIdx = $(event.currentTarget).data("predilection-index") - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - await actor.setPredilectionUsed(rollData.competence._id, predIdx) - rollData.competence = foundry.utils.duplicate(actor.getCompetence(rollData.competence._id)) - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - }) - - $(html).on("click", '.roll-chat-degat', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - $(html).on("click", '.roll-chat-degat-devastateur', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - rollData.applyCoupDevastateur = true - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - - } - - /* -------------------------------------------- */ - static async preloadHandlebarsTemplates() { - - const templatePaths = [ - 'systems/fvtt-mournblade-cyd2/templates/editor-notes-gm.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-header.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-description.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-prix.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-automation.html', - 'systems/fvtt-mournblade-cyd2/templates/hud-adversites.html', - ] - return foundry.applications.handlebars.loadTemplates(templatePaths); - } - - /* -------------------------------------------- */ - static removeChatMessageId(messageId) { - if (messageId) { - game.messages.get(messageId)?.delete(); - } - } - - static findChatMessageId(current) { - return MournbladeCYD2Utility.getChatMessageId(MournbladeCYD2Utility.findChatMessage(current)); - } - - static getChatMessageId(node) { - return node?.attributes.getNamedItem('data-message-id')?.value; - } - - static findChatMessage(current) { - return MournbladeCYD2Utility.findNodeMatching(current, it => it.classList.contains('chat-message') && it.attributes.getNamedItem('data-message-id')) - } - - static findNodeMatching(current, predicate) { - if (current) { - if (predicate(current)) { - return current; - } - return MournbladeCYD2Utility.findNodeMatching(current.parentElement, predicate); - } - return undefined; - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - - /* -------------------------------------------- */ - static buildListOptions(min, max) { - let options = "" - for (let i = min; i <= max; i++) { - options += `` - } - return options; - } - - /* -------------------------------------------- */ - static getTarget() { - if (game.user.targets && game.user.targets.size == 1) { - for (let target of game.user.targets) { - return target; - } - } - return undefined; - } - - /* -------------------------------------------- */ - static getActorFromRollData(rollData) { - let actor = game.actors.get(rollData.actorId) - if (rollData.tokenId) { - let token = canvas.tokens.placeables.find(t => t.id == rollData.tokenId) - if (token) { - actor = token.actor - } - } - return actor - } - - /* -------------------------------------------- */ - static updateRollData(rollData) { - - let id = rollData.rollId; - let oldRollData = this.rollDataStore[id] || {}; - let newRollData = foundry.utils.mergeObject(oldRollData, rollData); - this.rollDataStore[id] = newRollData; - } - - /* -------------------------------------------- */ - static onSocketMesssage(msg) { - if (msg.msg == "msg_apply_combativite") { - let defender = game.canvas.tokens.get(msg.data.defenderTokenId)?.actor - if (defender) { - defender.changeEtatCombativite(msg.data.value) - } else { - console.warn("MournbladeCYD2Utility.onSocketMesssage : Impossible de trouver le token pour appliquer la combativité", msg.defenderTokenId) - } - } - } - - /* -------------------------------------------- */ - static chatDataSetup(content, modeOverride, isRoll = false, forceWhisper) { - let chatData = { - user: game.user.id, - rollMode: modeOverride || game.settings.get("core", "rollMode"), - content: content - }; - - if (["gmroll", "blindroll"].includes(chatData.rollMode)) chatData["whisper"] = ChatMessage.getWhisperRecipients("GM").map(u => u.id); - if (chatData.rollMode === "blindroll") chatData["blind"] = true; - else if (chatData.rollMode === "selfroll") chatData["whisper"] = [game.user]; - - if (forceWhisper) { // Final force ! - chatData["speaker"] = ChatMessage.getSpeaker(); - chatData["whisper"] = ChatMessage.getWhisperRecipients(forceWhisper); - } - - return chatData; - } - - /* -------------------------------------------- */ - static async showDiceSoNice(roll, rollMode) { - if (game.modules.get("dice-so-nice")?.active) { - if (game.dice3d) { - let whisper = null; - let blind = false; - rollMode = rollMode ?? game.settings.get("core", "rollMode"); - switch (rollMode) { - case "blindroll": //GM only - blind = true; - case "gmroll": // GM + rolling player - whisper = this.getUsers(user => user.isGM); - break; - case "roll": // everybody - whisper = this.getUsers(user => user.active); - break; - case "selfroll": - whisper = [game.user.id]; - break; - } - await game.dice3d.showForRoll(roll, game.user, true, whisper, blind); - } - } - } - - /* -------------------------------------------- */ - static computeMonnaieDetails(valueSC) { - let po = Math.floor(valueSC / 400) - let pa = Math.floor((valueSC - (po * 400)) / 20) - let sc = valueSC - (po * 400) - (pa * 20) - return { - po, pa, sc, valueSC - } - } - - /* -------------------------------------------- */ - static computeResult(rollData) { - rollData.diceResult = rollData.roll.terms[0].results[0].result - if (rollData.mainDice.includes("d20")) { - let diceValue = rollData.roll.terms[0].results[0].result - if (diceValue % 2 == 1) { - //console.log("PAIR/IMP2", diceValue) - rollData.finalResult -= rollData.roll.terms[0].results[0].result // Substract value - if (diceValue == 1 || diceValue == 11) { - rollData.isDramatique = true - rollData.isSuccess = false - } - } - } - - //console.log("Result : ", rollData - this.computeResultQuality(rollData) - } - - /* -------------------------------------------- */ - static computeResultQuality(rollData) { - if (rollData.difficulte > 0 && !rollData.isDramatique) { - rollData.isSuccess = (rollData.finalResult >= rollData.difficulte) - rollData.isHeroique = ((rollData.finalResult - rollData.difficulte) >= 10) - rollData.isDramatique = ((rollData.finalResult - rollData.difficulte) <= -10) - } - } - - /* -------------------------------------------- */ - static applyCombativite(rollData, value) { - if (game.user.isGM) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.changeEtatCombativite(value) - } else { - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_apply_combativite", data: { defenderTokenId: rollData.defenderTokenId, value } }); - } - } - /* -------------------------------------------- */ - static async rollMournbladeCYD2(rollData) { - - let actor = this.getActorFromRollData(rollData) - if (rollData.attrKey == "tochoose") { // No attr selected, force address - rollData.attrKey = "adr" - } - if (!rollData.attr) { - rollData.actionImg = "systems/fvtt-mournblade-cyd2/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp" - rollData.attr = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey]) - } - if (rollData.attrKey2 != "none") { - rollData.attr2 = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey2]) - } - - if (rollData.maitriseId != "none") { - rollData.selectedMaitrise = rollData.maitrises.find(p => p.id == rollData.maitriseId) - rollData.diceFormula = "2" + rollData.mainDice + "kh" - } else { - rollData.diceFormula = "1" + rollData.mainDice - } - - //console.log("BEFORE COMP", rollData) - if (rollData.competence) { - rollData.predilections = foundry.utils.duplicate(rollData.competence.system.predilections || []) - let compmod = (rollData.competence.system.niveau == 0) ? -3 : 0 - rollData.diceFormula += `+${rollData.attr.value}+${rollData.competence.system.niveau}+${rollData.modificateur}+${compmod}` - - if (rollData.selectedTalents && rollData.selectedTalents.length > 0) { - for (let id of rollData.selectedTalents) { - let talent = rollData.talents.find(t => t._id == id) - let bonusOK = true - if (talent.system.baCost) { - bonusOK = actor.checkBonneAventure(talent.system.baCost) - if (bonusOK) { - actor.changeBonneAventure(-talent.system.baCost) - } else { - ui.notifications.warn("Vous n'avez pas assez de points de Bonne Aventure !") - } - } - if (bonusOK) { - rollData.diceFormula += `+${talent.system.bonus}` - } - } - } - rollData.diceFormula += `+${rollData.bonusMalusContext}` - } else if (rollData.attr2) { - rollData.diceFormula += `+${rollData.attr.value}+${rollData.attr2.value}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } else { - rollData.diceFormula += `+${rollData.attr.value}*${rollData.multiplier}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } - - // Bonus arme naturelle en défense - if (rollData.bonusArmeNaturelle) { - rollData.diceFormula += `+${rollData.bonusArmeNaturelle}` - } - if (rollData.attaquantsMultiples) { - rollData.diceFormula += `+3` - } - if (rollData.hasAmbidextre) { - if (rollData.ambidextre1) { - rollData.diceFormula += `-3` - } else if (rollData.ambidextre2) { - rollData.diceFormula += `-6` - } - } - if (rollData.defenseurAuSol) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurAveugle) { - rollData.diceFormula += `+10` - } - if (rollData.defenseurDeDos) { - rollData.diceFormula += `+5` - } - if (rollData.defenseurRestreint) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurImmobilise) { - rollData.diceFormula += `+5` - } - if (rollData.soutiens > 0) { // 1 soutien = +3, 2 soutiens = +4, 3 soutiens = +5 - rollData.diceFormula += `+${rollData.soutiens + 2}` - } - - if (rollData.arme?.system.isDistance) { - rollData.difficulte = __distanceDifficulte[rollData.distanceTir] - rollData.difficulte += __tireurDeplacement[rollData.tireurDeplacement] - rollData.difficulte += __cibleCouvert[rollData.cibleCouvert] - rollData.difficulte += __tailleCible[rollData.tailleCible] - rollData.difficulte += rollData.cibleDeplace ? 3 : 0 - rollData.difficulte += rollData.cibleCaC ? 3 : 0 - rollData.difficulte += rollData.protectionDefenseur - } - if (rollData.attaqueDesarme) { - rollData.difficulte += 10 - } - - // Ajout adversités - rollData.diceFormula += `-${rollData.nbAdversites}` - - if (rollData.arme && rollData.arme.type == "arme") { - rollData.diceFormula += `+${rollData.arme.system.bonusmaniementoff}` - } - - // Gestion de la feinte éventuelle - rollData.nbCombativitePerdu = 1 - - let myRoll = await new Roll(rollData.diceFormula).roll() - await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) - rollData.roll = foundry.utils.duplicate(myRoll) - console.log(">>>> ", myRoll) - - rollData.finalResult = myRoll.total - this.computeResult(rollData) - if (rollData.isInit) { - actor.setFlag("world", "last-initiative", rollData.finalResult) - } - if (rollData.feinte) { - actor.changeBonneAventure(-1) - if (rollData.isHeroique) { - rollData.nbCombativitePerdu = "vaincu" - } else if (rollData.isSuccess) { - rollData.nbCombativitePerdu = 2 - } - } - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - if ((rollData.coupBas || rollData.arme) && rollData.isSuccess && rollData.defenderTokenId) { - this.applyCombativite(rollData, rollData.nbCombativitePerdu) - } - if (rollData.coupBas && rollData.isSuccess && rollData.defenderTokenId) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.incDecAdversite("bleue", -2) - } - } - - /* -------------------------------------------- */ - static getCombativiteList(nbActivite) { - let list = [{ value: String(0), label: "Combatif" }] - for (let i = 1; i < nbActivite - 2; i++) { - list.push({ value: String(i), label: "Eprouvé " + i }) - } - list[nbActivite - 2] = { value: String(nbActivite - 2), label: "Affaibli" } - list[nbActivite - 1] = { value: String(nbActivite - 1), label: "Très Affaibli" } - list[nbActivite] = { value: String(nbActivite), label: "Vaincu" } - return list - } - - /* -------------------------------------------- */ - static getAmeList(nbAme, ameMin = null) { - // ameMin représente le meilleur état accessible (le minimum où l'âme peut remonter) - // Si ameMin = 3 (Stressé 3), la liste commence à Stressé 3 et va jusqu'à Brisé - // Si ameMin = 0 (Serein), tous les états sont disponibles - let minEffectif = ameMin !== null && ameMin !== undefined ? Math.min(ameMin, nbAme) : 0 - - let list = [] - - // Ajouter Serein seulement si ameMin <= 0 - if (minEffectif <= 0) { - list.push({ value: String(0), label: "Serein" }) - } - - // Génération des états Stressé - let nbStresseTotal = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresseTotal; i++) { - if (i >= minEffectif) { - list.push({ value: String(i), label: "Stressé " + i }) - } - } - - // Ajout des états finaux - let traumatiseValue = nbAme - 2 - let tresTraumatiseValue = nbAme - 1 - let briseValue = nbAme - - if (traumatiseValue >= minEffectif) { - list.push({ value: String(traumatiseValue), label: "Traumatisé" }) - } - if (tresTraumatiseValue >= minEffectif) { - list.push({ value: String(tresTraumatiseValue), label: "Très Traumatisé" }) - } - if (briseValue >= minEffectif) { - list.push({ value: String(briseValue), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static getAmeMaxList(nbAme) { - // Génère la liste complète des états d'âme pour le dropdown "Max" - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé (de 1 à nbAme-3) - let nbStresse = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux - if (nbAme >= 3) { - list.push({ value: String(nbAme - 2), label: "Traumatisé" }) - } - if (nbAme >= 2) { - list.push({ value: String(nbAme - 1), label: "Très Traumatisé" }) - } - if (nbAme >= 1) { - list.push({ value: String(nbAme), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static async bonusRollMournbladeCYD2(rollData) { - rollData.bonusFormula = rollData.addedBonus - console.log("Bonus Roll MournbladeCYD2", rollData.bonusFormula) - - if (!Number(rollData.bonusFormula)) { - let bonusRoll = await new Roll(rollData.bonusFormula).roll() - await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode")); - rollData.bonusRoll = foundry.utils.duplicate(bonusRoll) - rollData.finalResult += Number(rollData.bonusRoll.total) - } else { - rollData.finalResult += Number(rollData.bonusFormula) - console.log("Bonus Roll MournbladeCYD2 2", rollData.finalResult) - } - - this.computeResultQuality(rollData) - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - } - - /* -------------------------------------------- */ - static getUsers(filter) { - return game.users.filter(filter).map(user => user._id); - } - - /* -------------------------------------------- */ - static getWhisperRecipients(rollMode, name) { - switch (rollMode) { - case "blindroll": return this.getUsers(user => user.isGM); - case "gmroll": return this.getWhisperRecipientsAndGMs(name); - case "selfroll": return [game.user.id]; - } - return undefined; - } - /* -------------------------------------------- */ - static getWhisperRecipientsAndGMs(name) { - let recep1 = ChatMessage.getWhisperRecipients(name) || []; - return recep1.concat(ChatMessage.getWhisperRecipients('GM')); - } - - /* -------------------------------------------- */ - static blindMessageToGM(chatOptions) { - let chatGM = foundry.utils.duplicate(chatOptions); - chatGM.whisper = this.getUsers(user => user.isGM); - chatGM.content = "Blinde message of " + game.user.name + "Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026133256.js b/.history/modules/mournblade-cyd2-utility_20251026133256.js deleted file mode 100644 index 5d7caef..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026133256.js +++ /dev/null @@ -1,884 +0,0 @@ -/* -------------------------------------------- */ -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Commands } from "./mournblade-cyd2-commands.js"; - -/* -------------------------------------------- */ -const __distanceDifficulte = { "porteecourte": 5, "porteemoyenne": 9, "porteelongue": 14 } -const __tireurDeplacement = { immobile: 0, lent: 3, rapide: 5 } -const __cibleCouvert = { aucun: 0, leger: 5, complet: 10 } -const __tailleCible = { normal: 0, main: 10, enfant: 3, maison: -10 } - -/* -------------------------------------------- */ -export class MournbladeCYD2Utility { - - - /* -------------------------------------------- */ - static async init() { - Hooks.on('renderChatLog', (log, html, data) => MournbladeCYD2Utility.chatListeners(html)) - Hooks.on("getChatMessageContextOptions", (html, options) => MournbladeCYD2Utility.chatRollMenu(html, options)) - Hooks.on("getCombatTrackerEntryContext", (html, options) => { - MournbladeCYD2Utility.pushInitiativeOptions(html, options); - }) - - this.rollDataStore = {} - this.defenderStore = {} - MournbladeCYD2Commands.init() - - Handlebars.registerHelper('count', function (list) { - return list.length; - }) - Handlebars.registerHelper('includes', function (array, val) { - return array.includes(val); - }) - Handlebars.registerHelper('upper', function (text) { - return text.toUpperCase(); - }) - Handlebars.registerHelper('lower', function (text) { - return text.toLowerCase() - }) - Handlebars.registerHelper('upperFirst', function (text) { - if (typeof text !== 'string') return text - return text.charAt(0).toUpperCase() + text.slice(1) - }) - Handlebars.registerHelper('notEmpty', function (list) { - return list.length > 0; - }) - Handlebars.registerHelper('mul', function (a, b) { - return parseInt(a) * parseInt(b); - }) - - game.settings.register("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo", { - name: "Logo de pause", - scope: "world", - config: true, - requiresReload: true, - default: "mournblade_logo_chaos", - type: String, - choices: { // If choices are defined, the resulting setting will be a select menu - "mournblade_logo_chaos": "Mournblade (Chaos)", - "mournblade_logo_texte": "Mournblade (Texte)", - "mournblade-cyd2_logo": "MournbladeCYD2 (Texte)", - "logo_pause_resistance": "Résistance", - "logo_pause_mournblade-cyd2_stone": "MournbladeCYD2 (Pierre)", - "logo_pause_mournblade-cyd2_violet": "MournbladeCYD2 (Violet)", - "logo_pause_mournblade-cyd2_beige": "MournbladeCYD2 (Beige)", - "logo_pause_mournblade-cyd2_rouge": "MournbladeCYD2 (Rouge)" - }, - }) - - } - - /* -------------------------------------------- */ - static sortArrayObjectsByName(myArray) { - myArray.sort((a, b) => { - return a.name.localeCompare(b.name); - }) - } - - /* -------------------------------------------- */ - static getModificateurOptions() { - let opt = [] - for (let i = -15; i <= 15; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getPointAmeOptions() { - let opt = [] - for (let i = 1; i <= 20; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getAttributs() { - return { adr: "Adresse", pui: "Puissance", cla: "Clairvoyance", pre: "Présence", tre: "Trempe" } - } - /* -------------------------------------------- */ - static pushInitiativeOptions(html, options) { - } - - /* -------------------------------------------- */ - static getSkills() { - return this.skills - } - - /* -------------------------------------------- */ - static async ready() { - const skills = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.skills") - this.skills = skills.map(i => i.toObject()) - - // Setup pause logo - let logoPause = "systems/fvtt-mournblade-cyd2/assets/logos/" + game.settings.get("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo") + ".webp" - let logoImg = document.querySelector('#pause').children[0] - logoImg.setAttribute('style', `content: url(${logoPause})`) - - game.system.mournbladecyd2.config.listeNiveauSkill = this.createDirectOptionList(0, 10) - game.system.mournbladecyd2.config.listeNiveauCreature = this.createDirectOptionList(0, 35) - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - static createArrayOptionList(min, max) { - let options = []; - for (let i = min; i <= max; i++) { - options.push({ key: `${i}`, label: `${i}` }); - } - return options; - } - - /* -------------------------------------------- */ - static async loadCompendiumData(compendium) { - const pack = game.packs.get(compendium); - return await pack?.getDocuments() ?? []; - } - - /* -------------------------------------------- */ - static async loadCompendium(compendium, filter = item => true) { - let compendiumData = await MournbladeCYD2Utility.loadCompendiumData(compendium); - return compendiumData.filter(filter); - } - - /* -------------------------------------------- */ - static getOptionsStatusList() { - return this.optionsStatusList; - } - /* -------------------------------------------- */ - static async chatListeners(html) { - - $(html).on("click", '.predilection-reroll', async event => { - let predIdx = $(event.currentTarget).data("predilection-index") - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - await actor.setPredilectionUsed(rollData.competence._id, predIdx) - rollData.competence = foundry.utils.duplicate(actor.getCompetence(rollData.competence._id)) - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - }) - - $(html).on("click", '.roll-chat-degat', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - $(html).on("click", '.roll-chat-degat-devastateur', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - rollData.applyCoupDevastateur = true - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - - } - - /* -------------------------------------------- */ - static async preloadHandlebarsTemplates() { - - const templatePaths = [ - 'systems/fvtt-mournblade-cyd2/templates/editor-notes-gm.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-header.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-description.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-prix.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-automation.html', - 'systems/fvtt-mournblade-cyd2/templates/hud-adversites.html', - ] - return foundry.applications.handlebars.loadTemplates(templatePaths); - } - - /* -------------------------------------------- */ - static removeChatMessageId(messageId) { - if (messageId) { - game.messages.get(messageId)?.delete(); - } - } - - static findChatMessageId(current) { - return MournbladeCYD2Utility.getChatMessageId(MournbladeCYD2Utility.findChatMessage(current)); - } - - static getChatMessageId(node) { - return node?.attributes.getNamedItem('data-message-id')?.value; - } - - static findChatMessage(current) { - return MournbladeCYD2Utility.findNodeMatching(current, it => it.classList.contains('chat-message') && it.attributes.getNamedItem('data-message-id')) - } - - static findNodeMatching(current, predicate) { - if (current) { - if (predicate(current)) { - return current; - } - return MournbladeCYD2Utility.findNodeMatching(current.parentElement, predicate); - } - return undefined; - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - - /* -------------------------------------------- */ - static buildListOptions(min, max) { - let options = "" - for (let i = min; i <= max; i++) { - options += `` - } - return options; - } - - /* -------------------------------------------- */ - static getTarget() { - if (game.user.targets && game.user.targets.size == 1) { - for (let target of game.user.targets) { - return target; - } - } - return undefined; - } - - /* -------------------------------------------- */ - static getActorFromRollData(rollData) { - let actor = game.actors.get(rollData.actorId) - if (rollData.tokenId) { - let token = canvas.tokens.placeables.find(t => t.id == rollData.tokenId) - if (token) { - actor = token.actor - } - } - return actor - } - - /* -------------------------------------------- */ - static updateRollData(rollData) { - - let id = rollData.rollId; - let oldRollData = this.rollDataStore[id] || {}; - let newRollData = foundry.utils.mergeObject(oldRollData, rollData); - this.rollDataStore[id] = newRollData; - } - - /* -------------------------------------------- */ - static onSocketMesssage(msg) { - if (msg.msg == "msg_apply_combativite") { - let defender = game.canvas.tokens.get(msg.data.defenderTokenId)?.actor - if (defender) { - defender.changeEtatCombativite(msg.data.value) - } else { - console.warn("MournbladeCYD2Utility.onSocketMesssage : Impossible de trouver le token pour appliquer la combativité", msg.defenderTokenId) - } - } - } - - /* -------------------------------------------- */ - static chatDataSetup(content, modeOverride, isRoll = false, forceWhisper) { - let chatData = { - user: game.user.id, - rollMode: modeOverride || game.settings.get("core", "rollMode"), - content: content - }; - - if (["gmroll", "blindroll"].includes(chatData.rollMode)) chatData["whisper"] = ChatMessage.getWhisperRecipients("GM").map(u => u.id); - if (chatData.rollMode === "blindroll") chatData["blind"] = true; - else if (chatData.rollMode === "selfroll") chatData["whisper"] = [game.user]; - - if (forceWhisper) { // Final force ! - chatData["speaker"] = ChatMessage.getSpeaker(); - chatData["whisper"] = ChatMessage.getWhisperRecipients(forceWhisper); - } - - return chatData; - } - - /* -------------------------------------------- */ - static async showDiceSoNice(roll, rollMode) { - if (game.modules.get("dice-so-nice")?.active) { - if (game.dice3d) { - let whisper = null; - let blind = false; - rollMode = rollMode ?? game.settings.get("core", "rollMode"); - switch (rollMode) { - case "blindroll": //GM only - blind = true; - case "gmroll": // GM + rolling player - whisper = this.getUsers(user => user.isGM); - break; - case "roll": // everybody - whisper = this.getUsers(user => user.active); - break; - case "selfroll": - whisper = [game.user.id]; - break; - } - await game.dice3d.showForRoll(roll, game.user, true, whisper, blind); - } - } - } - - /* -------------------------------------------- */ - static computeMonnaieDetails(valueSC) { - let po = Math.floor(valueSC / 400) - let pa = Math.floor((valueSC - (po * 400)) / 20) - let sc = valueSC - (po * 400) - (pa * 20) - return { - po, pa, sc, valueSC - } - } - - /* -------------------------------------------- */ - static computeResult(rollData) { - rollData.diceResult = rollData.roll.terms[0].results[0].result - if (rollData.mainDice.includes("d20")) { - let diceValue = rollData.roll.terms[0].results[0].result - if (diceValue % 2 == 1) { - //console.log("PAIR/IMP2", diceValue) - rollData.finalResult -= rollData.roll.terms[0].results[0].result // Substract value - if (diceValue == 1 || diceValue == 11) { - rollData.isDramatique = true - rollData.isSuccess = false - } - } - } - - //console.log("Result : ", rollData - this.computeResultQuality(rollData) - } - - /* -------------------------------------------- */ - static computeResultQuality(rollData) { - if (rollData.difficulte > 0 && !rollData.isDramatique) { - rollData.isSuccess = (rollData.finalResult >= rollData.difficulte) - rollData.isHeroique = ((rollData.finalResult - rollData.difficulte) >= 10) - rollData.isDramatique = ((rollData.finalResult - rollData.difficulte) <= -10) - } - } - - /* -------------------------------------------- */ - static applyCombativite(rollData, value) { - if (game.user.isGM) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.changeEtatCombativite(value) - } else { - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_apply_combativite", data: { defenderTokenId: rollData.defenderTokenId, value } }); - } - } - /* -------------------------------------------- */ - static async rollMournbladeCYD2(rollData) { - - let actor = this.getActorFromRollData(rollData) - if (rollData.attrKey == "tochoose") { // No attr selected, force address - rollData.attrKey = "adr" - } - if (!rollData.attr) { - rollData.actionImg = "systems/fvtt-mournblade-cyd2/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp" - rollData.attr = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey]) - } - if (rollData.attrKey2 != "none") { - rollData.attr2 = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey2]) - } - - if (rollData.maitriseId != "none") { - rollData.selectedMaitrise = rollData.maitrises.find(p => p.id == rollData.maitriseId) - rollData.diceFormula = "2" + rollData.mainDice + "kh" - } else { - rollData.diceFormula = "1" + rollData.mainDice - } - - //console.log("BEFORE COMP", rollData) - if (rollData.competence) { - rollData.predilections = foundry.utils.duplicate(rollData.competence.system.predilections || []) - let compmod = (rollData.competence.system.niveau == 0) ? -3 : 0 - rollData.diceFormula += `+${rollData.attr.value}+${rollData.competence.system.niveau}+${rollData.modificateur}+${compmod}` - - if (rollData.selectedTalents && rollData.selectedTalents.length > 0) { - for (let id of rollData.selectedTalents) { - let talent = rollData.talents.find(t => t._id == id) - let bonusOK = true - if (talent.system.baCost) { - bonusOK = actor.checkBonneAventure(talent.system.baCost) - if (bonusOK) { - actor.changeBonneAventure(-talent.system.baCost) - } else { - ui.notifications.warn("Vous n'avez pas assez de points de Bonne Aventure !") - } - } - if (bonusOK) { - rollData.diceFormula += `+${talent.system.bonus}` - } - } - } - rollData.diceFormula += `+${rollData.bonusMalusContext}` - } else if (rollData.attr2) { - rollData.diceFormula += `+${rollData.attr.value}+${rollData.attr2.value}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } else { - rollData.diceFormula += `+${rollData.attr.value}*${rollData.multiplier}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } - - // Bonus arme naturelle en défense - if (rollData.bonusArmeNaturelle) { - rollData.diceFormula += `+${rollData.bonusArmeNaturelle}` - } - if (rollData.attaquantsMultiples) { - rollData.diceFormula += `+3` - } - if (rollData.hasAmbidextre) { - if (rollData.ambidextre1) { - rollData.diceFormula += `-3` - } else if (rollData.ambidextre2) { - rollData.diceFormula += `-6` - } - } - if (rollData.defenseurAuSol) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurAveugle) { - rollData.diceFormula += `+10` - } - if (rollData.defenseurDeDos) { - rollData.diceFormula += `+5` - } - if (rollData.defenseurRestreint) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurImmobilise) { - rollData.diceFormula += `+5` - } - if (rollData.soutiens > 0) { // 1 soutien = +3, 2 soutiens = +4, 3 soutiens = +5 - rollData.diceFormula += `+${rollData.soutiens + 2}` - } - - if (rollData.arme?.system.isDistance) { - rollData.difficulte = __distanceDifficulte[rollData.distanceTir] - rollData.difficulte += __tireurDeplacement[rollData.tireurDeplacement] - rollData.difficulte += __cibleCouvert[rollData.cibleCouvert] - rollData.difficulte += __tailleCible[rollData.tailleCible] - rollData.difficulte += rollData.cibleDeplace ? 3 : 0 - rollData.difficulte += rollData.cibleCaC ? 3 : 0 - rollData.difficulte += rollData.protectionDefenseur - } - if (rollData.attaqueDesarme) { - rollData.difficulte += 10 - } - - // Ajout adversités - rollData.diceFormula += `-${rollData.nbAdversites}` - - if (rollData.arme && rollData.arme.type == "arme") { - rollData.diceFormula += `+${rollData.arme.system.bonusmaniementoff}` - } - - // Gestion de la feinte éventuelle - rollData.nbCombativitePerdu = 1 - - let myRoll = await new Roll(rollData.diceFormula).roll() - await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) - rollData.roll = foundry.utils.duplicate(myRoll) - console.log(">>>> ", myRoll) - - rollData.finalResult = myRoll.total - this.computeResult(rollData) - if (rollData.isInit) { - actor.setFlag("world", "last-initiative", rollData.finalResult) - } - if (rollData.feinte) { - actor.changeBonneAventure(-1) - if (rollData.isHeroique) { - rollData.nbCombativitePerdu = "vaincu" - } else if (rollData.isSuccess) { - rollData.nbCombativitePerdu = 2 - } - } - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - if ((rollData.coupBas || rollData.arme) && rollData.isSuccess && rollData.defenderTokenId) { - this.applyCombativite(rollData, rollData.nbCombativitePerdu) - } - if (rollData.coupBas && rollData.isSuccess && rollData.defenderTokenId) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.incDecAdversite("bleue", -2) - } - } - - /* -------------------------------------------- */ - static getCombativiteList(nbActivite) { - let list = [{ value: String(0), label: "Combatif" }] - for (let i = 1; i < nbActivite - 2; i++) { - list.push({ value: String(i), label: "Eprouvé " + i }) - } - list[nbActivite - 2] = { value: String(nbActivite - 2), label: "Affaibli" } - list[nbActivite - 1] = { value: String(nbActivite - 1), label: "Très Affaibli" } - list[nbActivite] = { value: String(nbActivite), label: "Vaincu" } - return list - } - - /* -------------------------------------------- */ - static getAmeList(nbAme, ameMin = null) { - // ameMin représente le meilleur état accessible (le minimum où l'âme peut remonter) - // Si ameMin = 3 (Stressé 3), la liste commence à Stressé 3 et va jusqu'à Brisé - // Si ameMin = 0 (Serein), tous les états sont disponibles - let minEffectif = ameMin !== null && ameMin !== undefined ? Math.min(ameMin, nbAme) : 0 - - let list = [] - - // Ajouter Serein seulement si ameMin <= 0 - if (minEffectif <= 0) { - list.push({ value: String(0), label: "Serein" }) - } - - // Génération des états Stressé - let nbStresseTotal = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresseTotal; i++) { - if (i >= minEffectif) { - list.push({ value: String(i), label: "Stressé " + i }) - } - } - - // Ajout des états finaux - let traumatiseValue = nbAme - 2 - let tresTraumatiseValue = nbAme - 1 - let briseValue = nbAme - - if (traumatiseValue >= minEffectif) { - list.push({ value: String(traumatiseValue), label: "Traumatisé" }) - } - if (tresTraumatiseValue >= minEffectif) { - list.push({ value: String(tresTraumatiseValue), label: "Très Traumatisé" }) - } - if (briseValue >= minEffectif) { - list.push({ value: String(briseValue), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static getAmeMaxList(nbAme) { - // Génère la liste complète des états d'âme pour le dropdown "Max" - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé (de 1 à nbAme-3) - let nbStresse = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux - if (nbAme >= 3) { - list.push({ value: String(nbAme - 2), label: "Traumatisé" }) - } - if (nbAme >= 2) { - list.push({ value: String(nbAme - 1), label: "Très Traumatisé" }) - } - if (nbAme >= 1) { - list.push({ value: String(nbAme), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static async bonusRollMournbladeCYD2(rollData) { - rollData.bonusFormula = rollData.addedBonus - console.log("Bonus Roll MournbladeCYD2", rollData.bonusFormula) - - if (!Number(rollData.bonusFormula)) { - let bonusRoll = await new Roll(rollData.bonusFormula).roll() - await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode")); - rollData.bonusRoll = foundry.utils.duplicate(bonusRoll) - rollData.finalResult += Number(rollData.bonusRoll.total) - } else { - rollData.finalResult += Number(rollData.bonusFormula) - console.log("Bonus Roll MournbladeCYD2 2", rollData.finalResult) - } - - this.computeResultQuality(rollData) - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - } - - /* -------------------------------------------- */ - static getUsers(filter) { - return game.users.filter(filter).map(user => user._id); - } - - /* -------------------------------------------- */ - static getWhisperRecipients(rollMode, name) { - switch (rollMode) { - case "blindroll": return this.getUsers(user => user.isGM); - case "gmroll": return this.getWhisperRecipientsAndGMs(name); - case "selfroll": return [game.user.id]; - } - return undefined; - } - /* -------------------------------------------- */ - static getWhisperRecipientsAndGMs(name) { - let recep1 = ChatMessage.getWhisperRecipients(name) || []; - return recep1.concat(ChatMessage.getWhisperRecipients('GM')); - } - - /* -------------------------------------------- */ - static blindMessageToGM(chatOptions) { - let chatGM = foundry.utils.duplicate(chatOptions); - chatGM.whisper = this.getUsers(user => user.isGM); - chatGM.content = "Blinde message of " + game.user.name + "Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026133355.js b/.history/modules/mournblade-cyd2-utility_20251026133355.js deleted file mode 100644 index 5d7caef..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026133355.js +++ /dev/null @@ -1,884 +0,0 @@ -/* -------------------------------------------- */ -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Commands } from "./mournblade-cyd2-commands.js"; - -/* -------------------------------------------- */ -const __distanceDifficulte = { "porteecourte": 5, "porteemoyenne": 9, "porteelongue": 14 } -const __tireurDeplacement = { immobile: 0, lent: 3, rapide: 5 } -const __cibleCouvert = { aucun: 0, leger: 5, complet: 10 } -const __tailleCible = { normal: 0, main: 10, enfant: 3, maison: -10 } - -/* -------------------------------------------- */ -export class MournbladeCYD2Utility { - - - /* -------------------------------------------- */ - static async init() { - Hooks.on('renderChatLog', (log, html, data) => MournbladeCYD2Utility.chatListeners(html)) - Hooks.on("getChatMessageContextOptions", (html, options) => MournbladeCYD2Utility.chatRollMenu(html, options)) - Hooks.on("getCombatTrackerEntryContext", (html, options) => { - MournbladeCYD2Utility.pushInitiativeOptions(html, options); - }) - - this.rollDataStore = {} - this.defenderStore = {} - MournbladeCYD2Commands.init() - - Handlebars.registerHelper('count', function (list) { - return list.length; - }) - Handlebars.registerHelper('includes', function (array, val) { - return array.includes(val); - }) - Handlebars.registerHelper('upper', function (text) { - return text.toUpperCase(); - }) - Handlebars.registerHelper('lower', function (text) { - return text.toLowerCase() - }) - Handlebars.registerHelper('upperFirst', function (text) { - if (typeof text !== 'string') return text - return text.charAt(0).toUpperCase() + text.slice(1) - }) - Handlebars.registerHelper('notEmpty', function (list) { - return list.length > 0; - }) - Handlebars.registerHelper('mul', function (a, b) { - return parseInt(a) * parseInt(b); - }) - - game.settings.register("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo", { - name: "Logo de pause", - scope: "world", - config: true, - requiresReload: true, - default: "mournblade_logo_chaos", - type: String, - choices: { // If choices are defined, the resulting setting will be a select menu - "mournblade_logo_chaos": "Mournblade (Chaos)", - "mournblade_logo_texte": "Mournblade (Texte)", - "mournblade-cyd2_logo": "MournbladeCYD2 (Texte)", - "logo_pause_resistance": "Résistance", - "logo_pause_mournblade-cyd2_stone": "MournbladeCYD2 (Pierre)", - "logo_pause_mournblade-cyd2_violet": "MournbladeCYD2 (Violet)", - "logo_pause_mournblade-cyd2_beige": "MournbladeCYD2 (Beige)", - "logo_pause_mournblade-cyd2_rouge": "MournbladeCYD2 (Rouge)" - }, - }) - - } - - /* -------------------------------------------- */ - static sortArrayObjectsByName(myArray) { - myArray.sort((a, b) => { - return a.name.localeCompare(b.name); - }) - } - - /* -------------------------------------------- */ - static getModificateurOptions() { - let opt = [] - for (let i = -15; i <= 15; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getPointAmeOptions() { - let opt = [] - for (let i = 1; i <= 20; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getAttributs() { - return { adr: "Adresse", pui: "Puissance", cla: "Clairvoyance", pre: "Présence", tre: "Trempe" } - } - /* -------------------------------------------- */ - static pushInitiativeOptions(html, options) { - } - - /* -------------------------------------------- */ - static getSkills() { - return this.skills - } - - /* -------------------------------------------- */ - static async ready() { - const skills = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.skills") - this.skills = skills.map(i => i.toObject()) - - // Setup pause logo - let logoPause = "systems/fvtt-mournblade-cyd2/assets/logos/" + game.settings.get("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo") + ".webp" - let logoImg = document.querySelector('#pause').children[0] - logoImg.setAttribute('style', `content: url(${logoPause})`) - - game.system.mournbladecyd2.config.listeNiveauSkill = this.createDirectOptionList(0, 10) - game.system.mournbladecyd2.config.listeNiveauCreature = this.createDirectOptionList(0, 35) - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - static createArrayOptionList(min, max) { - let options = []; - for (let i = min; i <= max; i++) { - options.push({ key: `${i}`, label: `${i}` }); - } - return options; - } - - /* -------------------------------------------- */ - static async loadCompendiumData(compendium) { - const pack = game.packs.get(compendium); - return await pack?.getDocuments() ?? []; - } - - /* -------------------------------------------- */ - static async loadCompendium(compendium, filter = item => true) { - let compendiumData = await MournbladeCYD2Utility.loadCompendiumData(compendium); - return compendiumData.filter(filter); - } - - /* -------------------------------------------- */ - static getOptionsStatusList() { - return this.optionsStatusList; - } - /* -------------------------------------------- */ - static async chatListeners(html) { - - $(html).on("click", '.predilection-reroll', async event => { - let predIdx = $(event.currentTarget).data("predilection-index") - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - await actor.setPredilectionUsed(rollData.competence._id, predIdx) - rollData.competence = foundry.utils.duplicate(actor.getCompetence(rollData.competence._id)) - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - }) - - $(html).on("click", '.roll-chat-degat', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - $(html).on("click", '.roll-chat-degat-devastateur', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - rollData.applyCoupDevastateur = true - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - - } - - /* -------------------------------------------- */ - static async preloadHandlebarsTemplates() { - - const templatePaths = [ - 'systems/fvtt-mournblade-cyd2/templates/editor-notes-gm.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-header.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-description.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-prix.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-automation.html', - 'systems/fvtt-mournblade-cyd2/templates/hud-adversites.html', - ] - return foundry.applications.handlebars.loadTemplates(templatePaths); - } - - /* -------------------------------------------- */ - static removeChatMessageId(messageId) { - if (messageId) { - game.messages.get(messageId)?.delete(); - } - } - - static findChatMessageId(current) { - return MournbladeCYD2Utility.getChatMessageId(MournbladeCYD2Utility.findChatMessage(current)); - } - - static getChatMessageId(node) { - return node?.attributes.getNamedItem('data-message-id')?.value; - } - - static findChatMessage(current) { - return MournbladeCYD2Utility.findNodeMatching(current, it => it.classList.contains('chat-message') && it.attributes.getNamedItem('data-message-id')) - } - - static findNodeMatching(current, predicate) { - if (current) { - if (predicate(current)) { - return current; - } - return MournbladeCYD2Utility.findNodeMatching(current.parentElement, predicate); - } - return undefined; - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - - /* -------------------------------------------- */ - static buildListOptions(min, max) { - let options = "" - for (let i = min; i <= max; i++) { - options += `` - } - return options; - } - - /* -------------------------------------------- */ - static getTarget() { - if (game.user.targets && game.user.targets.size == 1) { - for (let target of game.user.targets) { - return target; - } - } - return undefined; - } - - /* -------------------------------------------- */ - static getActorFromRollData(rollData) { - let actor = game.actors.get(rollData.actorId) - if (rollData.tokenId) { - let token = canvas.tokens.placeables.find(t => t.id == rollData.tokenId) - if (token) { - actor = token.actor - } - } - return actor - } - - /* -------------------------------------------- */ - static updateRollData(rollData) { - - let id = rollData.rollId; - let oldRollData = this.rollDataStore[id] || {}; - let newRollData = foundry.utils.mergeObject(oldRollData, rollData); - this.rollDataStore[id] = newRollData; - } - - /* -------------------------------------------- */ - static onSocketMesssage(msg) { - if (msg.msg == "msg_apply_combativite") { - let defender = game.canvas.tokens.get(msg.data.defenderTokenId)?.actor - if (defender) { - defender.changeEtatCombativite(msg.data.value) - } else { - console.warn("MournbladeCYD2Utility.onSocketMesssage : Impossible de trouver le token pour appliquer la combativité", msg.defenderTokenId) - } - } - } - - /* -------------------------------------------- */ - static chatDataSetup(content, modeOverride, isRoll = false, forceWhisper) { - let chatData = { - user: game.user.id, - rollMode: modeOverride || game.settings.get("core", "rollMode"), - content: content - }; - - if (["gmroll", "blindroll"].includes(chatData.rollMode)) chatData["whisper"] = ChatMessage.getWhisperRecipients("GM").map(u => u.id); - if (chatData.rollMode === "blindroll") chatData["blind"] = true; - else if (chatData.rollMode === "selfroll") chatData["whisper"] = [game.user]; - - if (forceWhisper) { // Final force ! - chatData["speaker"] = ChatMessage.getSpeaker(); - chatData["whisper"] = ChatMessage.getWhisperRecipients(forceWhisper); - } - - return chatData; - } - - /* -------------------------------------------- */ - static async showDiceSoNice(roll, rollMode) { - if (game.modules.get("dice-so-nice")?.active) { - if (game.dice3d) { - let whisper = null; - let blind = false; - rollMode = rollMode ?? game.settings.get("core", "rollMode"); - switch (rollMode) { - case "blindroll": //GM only - blind = true; - case "gmroll": // GM + rolling player - whisper = this.getUsers(user => user.isGM); - break; - case "roll": // everybody - whisper = this.getUsers(user => user.active); - break; - case "selfroll": - whisper = [game.user.id]; - break; - } - await game.dice3d.showForRoll(roll, game.user, true, whisper, blind); - } - } - } - - /* -------------------------------------------- */ - static computeMonnaieDetails(valueSC) { - let po = Math.floor(valueSC / 400) - let pa = Math.floor((valueSC - (po * 400)) / 20) - let sc = valueSC - (po * 400) - (pa * 20) - return { - po, pa, sc, valueSC - } - } - - /* -------------------------------------------- */ - static computeResult(rollData) { - rollData.diceResult = rollData.roll.terms[0].results[0].result - if (rollData.mainDice.includes("d20")) { - let diceValue = rollData.roll.terms[0].results[0].result - if (diceValue % 2 == 1) { - //console.log("PAIR/IMP2", diceValue) - rollData.finalResult -= rollData.roll.terms[0].results[0].result // Substract value - if (diceValue == 1 || diceValue == 11) { - rollData.isDramatique = true - rollData.isSuccess = false - } - } - } - - //console.log("Result : ", rollData - this.computeResultQuality(rollData) - } - - /* -------------------------------------------- */ - static computeResultQuality(rollData) { - if (rollData.difficulte > 0 && !rollData.isDramatique) { - rollData.isSuccess = (rollData.finalResult >= rollData.difficulte) - rollData.isHeroique = ((rollData.finalResult - rollData.difficulte) >= 10) - rollData.isDramatique = ((rollData.finalResult - rollData.difficulte) <= -10) - } - } - - /* -------------------------------------------- */ - static applyCombativite(rollData, value) { - if (game.user.isGM) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.changeEtatCombativite(value) - } else { - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_apply_combativite", data: { defenderTokenId: rollData.defenderTokenId, value } }); - } - } - /* -------------------------------------------- */ - static async rollMournbladeCYD2(rollData) { - - let actor = this.getActorFromRollData(rollData) - if (rollData.attrKey == "tochoose") { // No attr selected, force address - rollData.attrKey = "adr" - } - if (!rollData.attr) { - rollData.actionImg = "systems/fvtt-mournblade-cyd2/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp" - rollData.attr = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey]) - } - if (rollData.attrKey2 != "none") { - rollData.attr2 = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey2]) - } - - if (rollData.maitriseId != "none") { - rollData.selectedMaitrise = rollData.maitrises.find(p => p.id == rollData.maitriseId) - rollData.diceFormula = "2" + rollData.mainDice + "kh" - } else { - rollData.diceFormula = "1" + rollData.mainDice - } - - //console.log("BEFORE COMP", rollData) - if (rollData.competence) { - rollData.predilections = foundry.utils.duplicate(rollData.competence.system.predilections || []) - let compmod = (rollData.competence.system.niveau == 0) ? -3 : 0 - rollData.diceFormula += `+${rollData.attr.value}+${rollData.competence.system.niveau}+${rollData.modificateur}+${compmod}` - - if (rollData.selectedTalents && rollData.selectedTalents.length > 0) { - for (let id of rollData.selectedTalents) { - let talent = rollData.talents.find(t => t._id == id) - let bonusOK = true - if (talent.system.baCost) { - bonusOK = actor.checkBonneAventure(talent.system.baCost) - if (bonusOK) { - actor.changeBonneAventure(-talent.system.baCost) - } else { - ui.notifications.warn("Vous n'avez pas assez de points de Bonne Aventure !") - } - } - if (bonusOK) { - rollData.diceFormula += `+${talent.system.bonus}` - } - } - } - rollData.diceFormula += `+${rollData.bonusMalusContext}` - } else if (rollData.attr2) { - rollData.diceFormula += `+${rollData.attr.value}+${rollData.attr2.value}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } else { - rollData.diceFormula += `+${rollData.attr.value}*${rollData.multiplier}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } - - // Bonus arme naturelle en défense - if (rollData.bonusArmeNaturelle) { - rollData.diceFormula += `+${rollData.bonusArmeNaturelle}` - } - if (rollData.attaquantsMultiples) { - rollData.diceFormula += `+3` - } - if (rollData.hasAmbidextre) { - if (rollData.ambidextre1) { - rollData.diceFormula += `-3` - } else if (rollData.ambidextre2) { - rollData.diceFormula += `-6` - } - } - if (rollData.defenseurAuSol) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurAveugle) { - rollData.diceFormula += `+10` - } - if (rollData.defenseurDeDos) { - rollData.diceFormula += `+5` - } - if (rollData.defenseurRestreint) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurImmobilise) { - rollData.diceFormula += `+5` - } - if (rollData.soutiens > 0) { // 1 soutien = +3, 2 soutiens = +4, 3 soutiens = +5 - rollData.diceFormula += `+${rollData.soutiens + 2}` - } - - if (rollData.arme?.system.isDistance) { - rollData.difficulte = __distanceDifficulte[rollData.distanceTir] - rollData.difficulte += __tireurDeplacement[rollData.tireurDeplacement] - rollData.difficulte += __cibleCouvert[rollData.cibleCouvert] - rollData.difficulte += __tailleCible[rollData.tailleCible] - rollData.difficulte += rollData.cibleDeplace ? 3 : 0 - rollData.difficulte += rollData.cibleCaC ? 3 : 0 - rollData.difficulte += rollData.protectionDefenseur - } - if (rollData.attaqueDesarme) { - rollData.difficulte += 10 - } - - // Ajout adversités - rollData.diceFormula += `-${rollData.nbAdversites}` - - if (rollData.arme && rollData.arme.type == "arme") { - rollData.diceFormula += `+${rollData.arme.system.bonusmaniementoff}` - } - - // Gestion de la feinte éventuelle - rollData.nbCombativitePerdu = 1 - - let myRoll = await new Roll(rollData.diceFormula).roll() - await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) - rollData.roll = foundry.utils.duplicate(myRoll) - console.log(">>>> ", myRoll) - - rollData.finalResult = myRoll.total - this.computeResult(rollData) - if (rollData.isInit) { - actor.setFlag("world", "last-initiative", rollData.finalResult) - } - if (rollData.feinte) { - actor.changeBonneAventure(-1) - if (rollData.isHeroique) { - rollData.nbCombativitePerdu = "vaincu" - } else if (rollData.isSuccess) { - rollData.nbCombativitePerdu = 2 - } - } - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - if ((rollData.coupBas || rollData.arme) && rollData.isSuccess && rollData.defenderTokenId) { - this.applyCombativite(rollData, rollData.nbCombativitePerdu) - } - if (rollData.coupBas && rollData.isSuccess && rollData.defenderTokenId) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.incDecAdversite("bleue", -2) - } - } - - /* -------------------------------------------- */ - static getCombativiteList(nbActivite) { - let list = [{ value: String(0), label: "Combatif" }] - for (let i = 1; i < nbActivite - 2; i++) { - list.push({ value: String(i), label: "Eprouvé " + i }) - } - list[nbActivite - 2] = { value: String(nbActivite - 2), label: "Affaibli" } - list[nbActivite - 1] = { value: String(nbActivite - 1), label: "Très Affaibli" } - list[nbActivite] = { value: String(nbActivite), label: "Vaincu" } - return list - } - - /* -------------------------------------------- */ - static getAmeList(nbAme, ameMin = null) { - // ameMin représente le meilleur état accessible (le minimum où l'âme peut remonter) - // Si ameMin = 3 (Stressé 3), la liste commence à Stressé 3 et va jusqu'à Brisé - // Si ameMin = 0 (Serein), tous les états sont disponibles - let minEffectif = ameMin !== null && ameMin !== undefined ? Math.min(ameMin, nbAme) : 0 - - let list = [] - - // Ajouter Serein seulement si ameMin <= 0 - if (minEffectif <= 0) { - list.push({ value: String(0), label: "Serein" }) - } - - // Génération des états Stressé - let nbStresseTotal = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresseTotal; i++) { - if (i >= minEffectif) { - list.push({ value: String(i), label: "Stressé " + i }) - } - } - - // Ajout des états finaux - let traumatiseValue = nbAme - 2 - let tresTraumatiseValue = nbAme - 1 - let briseValue = nbAme - - if (traumatiseValue >= minEffectif) { - list.push({ value: String(traumatiseValue), label: "Traumatisé" }) - } - if (tresTraumatiseValue >= minEffectif) { - list.push({ value: String(tresTraumatiseValue), label: "Très Traumatisé" }) - } - if (briseValue >= minEffectif) { - list.push({ value: String(briseValue), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static getAmeMaxList(nbAme) { - // Génère la liste complète des états d'âme pour le dropdown "Max" - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé (de 1 à nbAme-3) - let nbStresse = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux - if (nbAme >= 3) { - list.push({ value: String(nbAme - 2), label: "Traumatisé" }) - } - if (nbAme >= 2) { - list.push({ value: String(nbAme - 1), label: "Très Traumatisé" }) - } - if (nbAme >= 1) { - list.push({ value: String(nbAme), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static async bonusRollMournbladeCYD2(rollData) { - rollData.bonusFormula = rollData.addedBonus - console.log("Bonus Roll MournbladeCYD2", rollData.bonusFormula) - - if (!Number(rollData.bonusFormula)) { - let bonusRoll = await new Roll(rollData.bonusFormula).roll() - await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode")); - rollData.bonusRoll = foundry.utils.duplicate(bonusRoll) - rollData.finalResult += Number(rollData.bonusRoll.total) - } else { - rollData.finalResult += Number(rollData.bonusFormula) - console.log("Bonus Roll MournbladeCYD2 2", rollData.finalResult) - } - - this.computeResultQuality(rollData) - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - } - - /* -------------------------------------------- */ - static getUsers(filter) { - return game.users.filter(filter).map(user => user._id); - } - - /* -------------------------------------------- */ - static getWhisperRecipients(rollMode, name) { - switch (rollMode) { - case "blindroll": return this.getUsers(user => user.isGM); - case "gmroll": return this.getWhisperRecipientsAndGMs(name); - case "selfroll": return [game.user.id]; - } - return undefined; - } - /* -------------------------------------------- */ - static getWhisperRecipientsAndGMs(name) { - let recep1 = ChatMessage.getWhisperRecipients(name) || []; - return recep1.concat(ChatMessage.getWhisperRecipients('GM')); - } - - /* -------------------------------------------- */ - static blindMessageToGM(chatOptions) { - let chatGM = foundry.utils.duplicate(chatOptions); - chatGM.whisper = this.getUsers(user => user.isGM); - chatGM.content = "Blinde message of " + game.user.name + "Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026134747.js b/.history/modules/mournblade-cyd2-utility_20251026134747.js deleted file mode 100644 index 705ada5..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026134747.js +++ /dev/null @@ -1,878 +0,0 @@ -/* -------------------------------------------- */ -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Commands } from "./mournblade-cyd2-commands.js"; - -/* -------------------------------------------- */ -const __distanceDifficulte = { "porteecourte": 5, "porteemoyenne": 9, "porteelongue": 14 } -const __tireurDeplacement = { immobile: 0, lent: 3, rapide: 5 } -const __cibleCouvert = { aucun: 0, leger: 5, complet: 10 } -const __tailleCible = { normal: 0, main: 10, enfant: 3, maison: -10 } - -/* -------------------------------------------- */ -export class MournbladeCYD2Utility { - - - /* -------------------------------------------- */ - static async init() { - Hooks.on('renderChatLog', (log, html, data) => MournbladeCYD2Utility.chatListeners(html)) - Hooks.on("getChatMessageContextOptions", (html, options) => MournbladeCYD2Utility.chatRollMenu(html, options)) - Hooks.on("getCombatTrackerEntryContext", (html, options) => { - MournbladeCYD2Utility.pushInitiativeOptions(html, options); - }) - - this.rollDataStore = {} - this.defenderStore = {} - MournbladeCYD2Commands.init() - - Handlebars.registerHelper('count', function (list) { - return list.length; - }) - Handlebars.registerHelper('includes', function (array, val) { - return array.includes(val); - }) - Handlebars.registerHelper('upper', function (text) { - return text.toUpperCase(); - }) - Handlebars.registerHelper('lower', function (text) { - return text.toLowerCase() - }) - Handlebars.registerHelper('upperFirst', function (text) { - if (typeof text !== 'string') return text - return text.charAt(0).toUpperCase() + text.slice(1) - }) - Handlebars.registerHelper('notEmpty', function (list) { - return list.length > 0; - }) - Handlebars.registerHelper('mul', function (a, b) { - return parseInt(a) * parseInt(b); - }) - - game.settings.register("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo", { - name: "Logo de pause", - scope: "world", - config: true, - requiresReload: true, - default: "mournblade_logo_chaos", - type: String, - choices: { // If choices are defined, the resulting setting will be a select menu - "mournblade_logo_chaos": "Mournblade (Chaos)", - "mournblade_logo_texte": "Mournblade (Texte)", - }, - }) - - } - - /* -------------------------------------------- */ - static sortArrayObjectsByName(myArray) { - myArray.sort((a, b) => { - return a.name.localeCompare(b.name); - }) - } - - /* -------------------------------------------- */ - static getModificateurOptions() { - let opt = [] - for (let i = -15; i <= 15; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getPointAmeOptions() { - let opt = [] - for (let i = 1; i <= 20; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getAttributs() { - return { adr: "Adresse", pui: "Puissance", cla: "Clairvoyance", pre: "Présence", tre: "Trempe" } - } - /* -------------------------------------------- */ - static pushInitiativeOptions(html, options) { - } - - /* -------------------------------------------- */ - static getSkills() { - return this.skills - } - - /* -------------------------------------------- */ - static async ready() { - const skills = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.skills") - this.skills = skills.map(i => i.toObject()) - - // Setup pause logo - let logoPause = "systems/fvtt-mournblade-cyd2/assets/logos/" + game.settings.get("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo") + ".webp" - let logoImg = document.querySelector('#pause').children[0] - logoImg.setAttribute('style', `content: url(${logoPause})`) - - game.system.mournbladecyd2.config.listeNiveauSkill = this.createDirectOptionList(0, 10) - game.system.mournbladecyd2.config.listeNiveauCreature = this.createDirectOptionList(0, 35) - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - static createArrayOptionList(min, max) { - let options = []; - for (let i = min; i <= max; i++) { - options.push({ key: `${i}`, label: `${i}` }); - } - return options; - } - - /* -------------------------------------------- */ - static async loadCompendiumData(compendium) { - const pack = game.packs.get(compendium); - return await pack?.getDocuments() ?? []; - } - - /* -------------------------------------------- */ - static async loadCompendium(compendium, filter = item => true) { - let compendiumData = await MournbladeCYD2Utility.loadCompendiumData(compendium); - return compendiumData.filter(filter); - } - - /* -------------------------------------------- */ - static getOptionsStatusList() { - return this.optionsStatusList; - } - /* -------------------------------------------- */ - static async chatListeners(html) { - - $(html).on("click", '.predilection-reroll', async event => { - let predIdx = $(event.currentTarget).data("predilection-index") - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - await actor.setPredilectionUsed(rollData.competence._id, predIdx) - rollData.competence = foundry.utils.duplicate(actor.getCompetence(rollData.competence._id)) - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - }) - - $(html).on("click", '.roll-chat-degat', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - $(html).on("click", '.roll-chat-degat-devastateur', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - rollData.applyCoupDevastateur = true - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - - } - - /* -------------------------------------------- */ - static async preloadHandlebarsTemplates() { - - const templatePaths = [ - 'systems/fvtt-mournblade-cyd2/templates/editor-notes-gm.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-header.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-description.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-prix.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-automation.html', - 'systems/fvtt-mournblade-cyd2/templates/hud-adversites.html', - ] - return foundry.applications.handlebars.loadTemplates(templatePaths); - } - - /* -------------------------------------------- */ - static removeChatMessageId(messageId) { - if (messageId) { - game.messages.get(messageId)?.delete(); - } - } - - static findChatMessageId(current) { - return MournbladeCYD2Utility.getChatMessageId(MournbladeCYD2Utility.findChatMessage(current)); - } - - static getChatMessageId(node) { - return node?.attributes.getNamedItem('data-message-id')?.value; - } - - static findChatMessage(current) { - return MournbladeCYD2Utility.findNodeMatching(current, it => it.classList.contains('chat-message') && it.attributes.getNamedItem('data-message-id')) - } - - static findNodeMatching(current, predicate) { - if (current) { - if (predicate(current)) { - return current; - } - return MournbladeCYD2Utility.findNodeMatching(current.parentElement, predicate); - } - return undefined; - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - - /* -------------------------------------------- */ - static buildListOptions(min, max) { - let options = "" - for (let i = min; i <= max; i++) { - options += `` - } - return options; - } - - /* -------------------------------------------- */ - static getTarget() { - if (game.user.targets && game.user.targets.size == 1) { - for (let target of game.user.targets) { - return target; - } - } - return undefined; - } - - /* -------------------------------------------- */ - static getActorFromRollData(rollData) { - let actor = game.actors.get(rollData.actorId) - if (rollData.tokenId) { - let token = canvas.tokens.placeables.find(t => t.id == rollData.tokenId) - if (token) { - actor = token.actor - } - } - return actor - } - - /* -------------------------------------------- */ - static updateRollData(rollData) { - - let id = rollData.rollId; - let oldRollData = this.rollDataStore[id] || {}; - let newRollData = foundry.utils.mergeObject(oldRollData, rollData); - this.rollDataStore[id] = newRollData; - } - - /* -------------------------------------------- */ - static onSocketMesssage(msg) { - if (msg.msg == "msg_apply_combativite") { - let defender = game.canvas.tokens.get(msg.data.defenderTokenId)?.actor - if (defender) { - defender.changeEtatCombativite(msg.data.value) - } else { - console.warn("MournbladeCYD2Utility.onSocketMesssage : Impossible de trouver le token pour appliquer la combativité", msg.defenderTokenId) - } - } - } - - /* -------------------------------------------- */ - static chatDataSetup(content, modeOverride, isRoll = false, forceWhisper) { - let chatData = { - user: game.user.id, - rollMode: modeOverride || game.settings.get("core", "rollMode"), - content: content - }; - - if (["gmroll", "blindroll"].includes(chatData.rollMode)) chatData["whisper"] = ChatMessage.getWhisperRecipients("GM").map(u => u.id); - if (chatData.rollMode === "blindroll") chatData["blind"] = true; - else if (chatData.rollMode === "selfroll") chatData["whisper"] = [game.user]; - - if (forceWhisper) { // Final force ! - chatData["speaker"] = ChatMessage.getSpeaker(); - chatData["whisper"] = ChatMessage.getWhisperRecipients(forceWhisper); - } - - return chatData; - } - - /* -------------------------------------------- */ - static async showDiceSoNice(roll, rollMode) { - if (game.modules.get("dice-so-nice")?.active) { - if (game.dice3d) { - let whisper = null; - let blind = false; - rollMode = rollMode ?? game.settings.get("core", "rollMode"); - switch (rollMode) { - case "blindroll": //GM only - blind = true; - case "gmroll": // GM + rolling player - whisper = this.getUsers(user => user.isGM); - break; - case "roll": // everybody - whisper = this.getUsers(user => user.active); - break; - case "selfroll": - whisper = [game.user.id]; - break; - } - await game.dice3d.showForRoll(roll, game.user, true, whisper, blind); - } - } - } - - /* -------------------------------------------- */ - static computeMonnaieDetails(valueSC) { - let po = Math.floor(valueSC / 400) - let pa = Math.floor((valueSC - (po * 400)) / 20) - let sc = valueSC - (po * 400) - (pa * 20) - return { - po, pa, sc, valueSC - } - } - - /* -------------------------------------------- */ - static computeResult(rollData) { - rollData.diceResult = rollData.roll.terms[0].results[0].result - if (rollData.mainDice.includes("d20")) { - let diceValue = rollData.roll.terms[0].results[0].result - if (diceValue % 2 == 1) { - //console.log("PAIR/IMP2", diceValue) - rollData.finalResult -= rollData.roll.terms[0].results[0].result // Substract value - if (diceValue == 1 || diceValue == 11) { - rollData.isDramatique = true - rollData.isSuccess = false - } - } - } - - //console.log("Result : ", rollData - this.computeResultQuality(rollData) - } - - /* -------------------------------------------- */ - static computeResultQuality(rollData) { - if (rollData.difficulte > 0 && !rollData.isDramatique) { - rollData.isSuccess = (rollData.finalResult >= rollData.difficulte) - rollData.isHeroique = ((rollData.finalResult - rollData.difficulte) >= 10) - rollData.isDramatique = ((rollData.finalResult - rollData.difficulte) <= -10) - } - } - - /* -------------------------------------------- */ - static applyCombativite(rollData, value) { - if (game.user.isGM) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.changeEtatCombativite(value) - } else { - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_apply_combativite", data: { defenderTokenId: rollData.defenderTokenId, value } }); - } - } - /* -------------------------------------------- */ - static async rollMournbladeCYD2(rollData) { - - let actor = this.getActorFromRollData(rollData) - if (rollData.attrKey == "tochoose") { // No attr selected, force address - rollData.attrKey = "adr" - } - if (!rollData.attr) { - rollData.actionImg = "systems/fvtt-mournblade-cyd2/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp" - rollData.attr = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey]) - } - if (rollData.attrKey2 != "none") { - rollData.attr2 = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey2]) - } - - if (rollData.maitriseId != "none") { - rollData.selectedMaitrise = rollData.maitrises.find(p => p.id == rollData.maitriseId) - rollData.diceFormula = "2" + rollData.mainDice + "kh" - } else { - rollData.diceFormula = "1" + rollData.mainDice - } - - //console.log("BEFORE COMP", rollData) - if (rollData.competence) { - rollData.predilections = foundry.utils.duplicate(rollData.competence.system.predilections || []) - let compmod = (rollData.competence.system.niveau == 0) ? -3 : 0 - rollData.diceFormula += `+${rollData.attr.value}+${rollData.competence.system.niveau}+${rollData.modificateur}+${compmod}` - - if (rollData.selectedTalents && rollData.selectedTalents.length > 0) { - for (let id of rollData.selectedTalents) { - let talent = rollData.talents.find(t => t._id == id) - let bonusOK = true - if (talent.system.baCost) { - bonusOK = actor.checkBonneAventure(talent.system.baCost) - if (bonusOK) { - actor.changeBonneAventure(-talent.system.baCost) - } else { - ui.notifications.warn("Vous n'avez pas assez de points de Bonne Aventure !") - } - } - if (bonusOK) { - rollData.diceFormula += `+${talent.system.bonus}` - } - } - } - rollData.diceFormula += `+${rollData.bonusMalusContext}` - } else if (rollData.attr2) { - rollData.diceFormula += `+${rollData.attr.value}+${rollData.attr2.value}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } else { - rollData.diceFormula += `+${rollData.attr.value}*${rollData.multiplier}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } - - // Bonus arme naturelle en défense - if (rollData.bonusArmeNaturelle) { - rollData.diceFormula += `+${rollData.bonusArmeNaturelle}` - } - if (rollData.attaquantsMultiples) { - rollData.diceFormula += `+3` - } - if (rollData.hasAmbidextre) { - if (rollData.ambidextre1) { - rollData.diceFormula += `-3` - } else if (rollData.ambidextre2) { - rollData.diceFormula += `-6` - } - } - if (rollData.defenseurAuSol) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurAveugle) { - rollData.diceFormula += `+10` - } - if (rollData.defenseurDeDos) { - rollData.diceFormula += `+5` - } - if (rollData.defenseurRestreint) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurImmobilise) { - rollData.diceFormula += `+5` - } - if (rollData.soutiens > 0) { // 1 soutien = +3, 2 soutiens = +4, 3 soutiens = +5 - rollData.diceFormula += `+${rollData.soutiens + 2}` - } - - if (rollData.arme?.system.isDistance) { - rollData.difficulte = __distanceDifficulte[rollData.distanceTir] - rollData.difficulte += __tireurDeplacement[rollData.tireurDeplacement] - rollData.difficulte += __cibleCouvert[rollData.cibleCouvert] - rollData.difficulte += __tailleCible[rollData.tailleCible] - rollData.difficulte += rollData.cibleDeplace ? 3 : 0 - rollData.difficulte += rollData.cibleCaC ? 3 : 0 - rollData.difficulte += rollData.protectionDefenseur - } - if (rollData.attaqueDesarme) { - rollData.difficulte += 10 - } - - // Ajout adversités - rollData.diceFormula += `-${rollData.nbAdversites}` - - if (rollData.arme && rollData.arme.type == "arme") { - rollData.diceFormula += `+${rollData.arme.system.bonusmaniementoff}` - } - - // Gestion de la feinte éventuelle - rollData.nbCombativitePerdu = 1 - - let myRoll = await new Roll(rollData.diceFormula).roll() - await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) - rollData.roll = foundry.utils.duplicate(myRoll) - console.log(">>>> ", myRoll) - - rollData.finalResult = myRoll.total - this.computeResult(rollData) - if (rollData.isInit) { - actor.setFlag("world", "last-initiative", rollData.finalResult) - } - if (rollData.feinte) { - actor.changeBonneAventure(-1) - if (rollData.isHeroique) { - rollData.nbCombativitePerdu = "vaincu" - } else if (rollData.isSuccess) { - rollData.nbCombativitePerdu = 2 - } - } - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - if ((rollData.coupBas || rollData.arme) && rollData.isSuccess && rollData.defenderTokenId) { - this.applyCombativite(rollData, rollData.nbCombativitePerdu) - } - if (rollData.coupBas && rollData.isSuccess && rollData.defenderTokenId) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.incDecAdversite("bleue", -2) - } - } - - /* -------------------------------------------- */ - static getCombativiteList(nbActivite) { - let list = [{ value: String(0), label: "Combatif" }] - for (let i = 1; i < nbActivite - 2; i++) { - list.push({ value: String(i), label: "Eprouvé " + i }) - } - list[nbActivite - 2] = { value: String(nbActivite - 2), label: "Affaibli" } - list[nbActivite - 1] = { value: String(nbActivite - 1), label: "Très Affaibli" } - list[nbActivite] = { value: String(nbActivite), label: "Vaincu" } - return list - } - - /* -------------------------------------------- */ - static getAmeList(nbAme, ameMin = null) { - // ameMin représente le meilleur état accessible (le minimum où l'âme peut remonter) - // Si ameMin = 3 (Stressé 3), la liste commence à Stressé 3 et va jusqu'à Brisé - // Si ameMin = 0 (Serein), tous les états sont disponibles - let minEffectif = ameMin !== null && ameMin !== undefined ? Math.min(ameMin, nbAme) : 0 - - let list = [] - - // Ajouter Serein seulement si ameMin <= 0 - if (minEffectif <= 0) { - list.push({ value: String(0), label: "Serein" }) - } - - // Génération des états Stressé - let nbStresseTotal = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresseTotal; i++) { - if (i >= minEffectif) { - list.push({ value: String(i), label: "Stressé " + i }) - } - } - - // Ajout des états finaux - let traumatiseValue = nbAme - 2 - let tresTraumatiseValue = nbAme - 1 - let briseValue = nbAme - - if (traumatiseValue >= minEffectif) { - list.push({ value: String(traumatiseValue), label: "Traumatisé" }) - } - if (tresTraumatiseValue >= minEffectif) { - list.push({ value: String(tresTraumatiseValue), label: "Très Traumatisé" }) - } - if (briseValue >= minEffectif) { - list.push({ value: String(briseValue), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static getAmeMaxList(nbAme) { - // Génère la liste complète des états d'âme pour le dropdown "Max" - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé (de 1 à nbAme-3) - let nbStresse = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux - if (nbAme >= 3) { - list.push({ value: String(nbAme - 2), label: "Traumatisé" }) - } - if (nbAme >= 2) { - list.push({ value: String(nbAme - 1), label: "Très Traumatisé" }) - } - if (nbAme >= 1) { - list.push({ value: String(nbAme), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static async bonusRollMournbladeCYD2(rollData) { - rollData.bonusFormula = rollData.addedBonus - console.log("Bonus Roll MournbladeCYD2", rollData.bonusFormula) - - if (!Number(rollData.bonusFormula)) { - let bonusRoll = await new Roll(rollData.bonusFormula).roll() - await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode")); - rollData.bonusRoll = foundry.utils.duplicate(bonusRoll) - rollData.finalResult += Number(rollData.bonusRoll.total) - } else { - rollData.finalResult += Number(rollData.bonusFormula) - console.log("Bonus Roll MournbladeCYD2 2", rollData.finalResult) - } - - this.computeResultQuality(rollData) - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - } - - /* -------------------------------------------- */ - static getUsers(filter) { - return game.users.filter(filter).map(user => user._id); - } - - /* -------------------------------------------- */ - static getWhisperRecipients(rollMode, name) { - switch (rollMode) { - case "blindroll": return this.getUsers(user => user.isGM); - case "gmroll": return this.getWhisperRecipientsAndGMs(name); - case "selfroll": return [game.user.id]; - } - return undefined; - } - /* -------------------------------------------- */ - static getWhisperRecipientsAndGMs(name) { - let recep1 = ChatMessage.getWhisperRecipients(name) || []; - return recep1.concat(ChatMessage.getWhisperRecipients('GM')); - } - - /* -------------------------------------------- */ - static blindMessageToGM(chatOptions) { - let chatGM = foundry.utils.duplicate(chatOptions); - chatGM.whisper = this.getUsers(user => user.isGM); - chatGM.content = "Blinde message of " + game.user.name + "Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026134748.js b/.history/modules/mournblade-cyd2-utility_20251026134748.js deleted file mode 100644 index c185d0a..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026134748.js +++ /dev/null @@ -1,878 +0,0 @@ -/* -------------------------------------------- */ -import { MournbladeCYD2Combat } from "./mournblade-cyd2-combat.js"; -import { MournbladeCYD2Commands } from "./mournblade-cyd2-commands.js"; - -/* -------------------------------------------- */ -const __distanceDifficulte = { "porteecourte": 5, "porteemoyenne": 9, "porteelongue": 14 } -const __tireurDeplacement = { immobile: 0, lent: 3, rapide: 5 } -const __cibleCouvert = { aucun: 0, leger: 5, complet: 10 } -const __tailleCible = { normal: 0, main: 10, enfant: 3, maison: -10 } - -/* -------------------------------------------- */ -export class MournbladeCYD2Utility { - - - /* -------------------------------------------- */ - static async init() { - Hooks.on('renderChatLog', (log, html, data) => MournbladeCYD2Utility.chatListeners(html)) - Hooks.on("getChatMessageContextOptions", (html, options) => MournbladeCYD2Utility.chatRollMenu(html, options)) - Hooks.on("getCombatTrackerEntryContext", (html, options) => { - MournbladeCYD2Utility.pushInitiativeOptions(html, options); - }) - - this.rollDataStore = {} - this.defenderStore = {} - MournbladeCYD2Commands.init() - - Handlebars.registerHelper('count', function (list) { - return list.length; - }) - Handlebars.registerHelper('includes', function (array, val) { - return array.includes(val); - }) - Handlebars.registerHelper('upper', function (text) { - return text.toUpperCase(); - }) - Handlebars.registerHelper('lower', function (text) { - return text.toLowerCase() - }) - Handlebars.registerHelper('upperFirst', function (text) { - if (typeof text !== 'string') return text - return text.charAt(0).toUpperCase() + text.slice(1) - }) - Handlebars.registerHelper('notEmpty', function (list) { - return list.length > 0; - }) - Handlebars.registerHelper('mul', function (a, b) { - return parseInt(a) * parseInt(b); - }) - - game.settings.register("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo", { - name: "Logo de pause", - scope: "world", - config: true, - requiresReload: true, - default: "mournblade_logo_chaos", - type: String, - choices: { // If choices are defined, the resulting setting will be a select menu - "mournblade_logo_chaos": "Mournblade (Chaos)", - "mournblade_logo_texte": "Mournblade (Texte)" - }, - }) - - } - - /* -------------------------------------------- */ - static sortArrayObjectsByName(myArray) { - myArray.sort((a, b) => { - return a.name.localeCompare(b.name); - }) - } - - /* -------------------------------------------- */ - static getModificateurOptions() { - let opt = [] - for (let i = -15; i <= 15; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getPointAmeOptions() { - let opt = [] - for (let i = 1; i <= 20; i++) { - opt.push(``) - } - return opt.concat("\n") - } - - /* -------------------------------------------- */ - static getAttributs() { - return { adr: "Adresse", pui: "Puissance", cla: "Clairvoyance", pre: "Présence", tre: "Trempe" } - } - /* -------------------------------------------- */ - static pushInitiativeOptions(html, options) { - } - - /* -------------------------------------------- */ - static getSkills() { - return this.skills - } - - /* -------------------------------------------- */ - static async ready() { - const skills = await MournbladeCYD2Utility.loadCompendium("fvtt-mournblade-cyd2.skills") - this.skills = skills.map(i => i.toObject()) - - // Setup pause logo - let logoPause = "systems/fvtt-mournblade-cyd2/assets/logos/" + game.settings.get("fvtt-mournblade-cyd2", "mournblade-cyd2-pause-logo") + ".webp" - let logoImg = document.querySelector('#pause').children[0] - logoImg.setAttribute('style', `content: url(${logoPause})`) - - game.system.mournbladecyd2.config.listeNiveauSkill = this.createDirectOptionList(0, 10) - game.system.mournbladecyd2.config.listeNiveauCreature = this.createDirectOptionList(0, 35) - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - static createArrayOptionList(min, max) { - let options = []; - for (let i = min; i <= max; i++) { - options.push({ key: `${i}`, label: `${i}` }); - } - return options; - } - - /* -------------------------------------------- */ - static async loadCompendiumData(compendium) { - const pack = game.packs.get(compendium); - return await pack?.getDocuments() ?? []; - } - - /* -------------------------------------------- */ - static async loadCompendium(compendium, filter = item => true) { - let compendiumData = await MournbladeCYD2Utility.loadCompendiumData(compendium); - return compendiumData.filter(filter); - } - - /* -------------------------------------------- */ - static getOptionsStatusList() { - return this.optionsStatusList; - } - /* -------------------------------------------- */ - static async chatListeners(html) { - - $(html).on("click", '.predilection-reroll', async event => { - let predIdx = $(event.currentTarget).data("predilection-index") - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - await actor.setPredilectionUsed(rollData.competence._id, predIdx) - rollData.competence = foundry.utils.duplicate(actor.getCompetence(rollData.competence._id)) - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - }) - - $(html).on("click", '.roll-chat-degat', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - $(html).on("click", '.roll-chat-degat-devastateur', async event => { - let messageId = MournbladeCYD2Utility.findChatMessageId(event.currentTarget) - let message = game.messages.get(messageId) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - rollData.applyCoupDevastateur = true - actor.rollArmeDegats(rollData.arme._id, rollData.targetVigueur, rollData) - }) - - } - - /* -------------------------------------------- */ - static async preloadHandlebarsTemplates() { - - const templatePaths = [ - 'systems/fvtt-mournblade-cyd2/templates/editor-notes-gm.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-header.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-description.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-item-prix.html', - 'systems/fvtt-mournblade-cyd2/templates/partial-automation.html', - 'systems/fvtt-mournblade-cyd2/templates/hud-adversites.html', - ] - return foundry.applications.handlebars.loadTemplates(templatePaths); - } - - /* -------------------------------------------- */ - static removeChatMessageId(messageId) { - if (messageId) { - game.messages.get(messageId)?.delete(); - } - } - - static findChatMessageId(current) { - return MournbladeCYD2Utility.getChatMessageId(MournbladeCYD2Utility.findChatMessage(current)); - } - - static getChatMessageId(node) { - return node?.attributes.getNamedItem('data-message-id')?.value; - } - - static findChatMessage(current) { - return MournbladeCYD2Utility.findNodeMatching(current, it => it.classList.contains('chat-message') && it.attributes.getNamedItem('data-message-id')) - } - - static findNodeMatching(current, predicate) { - if (current) { - if (predicate(current)) { - return current; - } - return MournbladeCYD2Utility.findNodeMatching(current.parentElement, predicate); - } - return undefined; - } - - /* -------------------------------------------- */ - static createDirectOptionList(min, max) { - let options = {}; - for (let i = min; i <= max; i++) { - options[`${i}`] = `${i}`; - } - return options; - } - - /* -------------------------------------------- */ - static buildListOptions(min, max) { - let options = "" - for (let i = min; i <= max; i++) { - options += `` - } - return options; - } - - /* -------------------------------------------- */ - static getTarget() { - if (game.user.targets && game.user.targets.size == 1) { - for (let target of game.user.targets) { - return target; - } - } - return undefined; - } - - /* -------------------------------------------- */ - static getActorFromRollData(rollData) { - let actor = game.actors.get(rollData.actorId) - if (rollData.tokenId) { - let token = canvas.tokens.placeables.find(t => t.id == rollData.tokenId) - if (token) { - actor = token.actor - } - } - return actor - } - - /* -------------------------------------------- */ - static updateRollData(rollData) { - - let id = rollData.rollId; - let oldRollData = this.rollDataStore[id] || {}; - let newRollData = foundry.utils.mergeObject(oldRollData, rollData); - this.rollDataStore[id] = newRollData; - } - - /* -------------------------------------------- */ - static onSocketMesssage(msg) { - if (msg.msg == "msg_apply_combativite") { - let defender = game.canvas.tokens.get(msg.data.defenderTokenId)?.actor - if (defender) { - defender.changeEtatCombativite(msg.data.value) - } else { - console.warn("MournbladeCYD2Utility.onSocketMesssage : Impossible de trouver le token pour appliquer la combativité", msg.defenderTokenId) - } - } - } - - /* -------------------------------------------- */ - static chatDataSetup(content, modeOverride, isRoll = false, forceWhisper) { - let chatData = { - user: game.user.id, - rollMode: modeOverride || game.settings.get("core", "rollMode"), - content: content - }; - - if (["gmroll", "blindroll"].includes(chatData.rollMode)) chatData["whisper"] = ChatMessage.getWhisperRecipients("GM").map(u => u.id); - if (chatData.rollMode === "blindroll") chatData["blind"] = true; - else if (chatData.rollMode === "selfroll") chatData["whisper"] = [game.user]; - - if (forceWhisper) { // Final force ! - chatData["speaker"] = ChatMessage.getSpeaker(); - chatData["whisper"] = ChatMessage.getWhisperRecipients(forceWhisper); - } - - return chatData; - } - - /* -------------------------------------------- */ - static async showDiceSoNice(roll, rollMode) { - if (game.modules.get("dice-so-nice")?.active) { - if (game.dice3d) { - let whisper = null; - let blind = false; - rollMode = rollMode ?? game.settings.get("core", "rollMode"); - switch (rollMode) { - case "blindroll": //GM only - blind = true; - case "gmroll": // GM + rolling player - whisper = this.getUsers(user => user.isGM); - break; - case "roll": // everybody - whisper = this.getUsers(user => user.active); - break; - case "selfroll": - whisper = [game.user.id]; - break; - } - await game.dice3d.showForRoll(roll, game.user, true, whisper, blind); - } - } - } - - /* -------------------------------------------- */ - static computeMonnaieDetails(valueSC) { - let po = Math.floor(valueSC / 400) - let pa = Math.floor((valueSC - (po * 400)) / 20) - let sc = valueSC - (po * 400) - (pa * 20) - return { - po, pa, sc, valueSC - } - } - - /* -------------------------------------------- */ - static computeResult(rollData) { - rollData.diceResult = rollData.roll.terms[0].results[0].result - if (rollData.mainDice.includes("d20")) { - let diceValue = rollData.roll.terms[0].results[0].result - if (diceValue % 2 == 1) { - //console.log("PAIR/IMP2", diceValue) - rollData.finalResult -= rollData.roll.terms[0].results[0].result // Substract value - if (diceValue == 1 || diceValue == 11) { - rollData.isDramatique = true - rollData.isSuccess = false - } - } - } - - //console.log("Result : ", rollData - this.computeResultQuality(rollData) - } - - /* -------------------------------------------- */ - static computeResultQuality(rollData) { - if (rollData.difficulte > 0 && !rollData.isDramatique) { - rollData.isSuccess = (rollData.finalResult >= rollData.difficulte) - rollData.isHeroique = ((rollData.finalResult - rollData.difficulte) >= 10) - rollData.isDramatique = ((rollData.finalResult - rollData.difficulte) <= -10) - } - } - - /* -------------------------------------------- */ - static applyCombativite(rollData, value) { - if (game.user.isGM) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.changeEtatCombativite(value) - } else { - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_apply_combativite", data: { defenderTokenId: rollData.defenderTokenId, value } }); - } - } - /* -------------------------------------------- */ - static async rollMournbladeCYD2(rollData) { - - let actor = this.getActorFromRollData(rollData) - if (rollData.attrKey == "tochoose") { // No attr selected, force address - rollData.attrKey = "adr" - } - if (!rollData.attr) { - rollData.actionImg = "systems/fvtt-mournblade-cyd2/assets/icons/" + actor.system.attributs[rollData.attrKey].labelnorm + ".webp" - rollData.attr = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey]) - } - if (rollData.attrKey2 != "none") { - rollData.attr2 = foundry.utils.duplicate(actor.system.attributs[rollData.attrKey2]) - } - - if (rollData.maitriseId != "none") { - rollData.selectedMaitrise = rollData.maitrises.find(p => p.id == rollData.maitriseId) - rollData.diceFormula = "2" + rollData.mainDice + "kh" - } else { - rollData.diceFormula = "1" + rollData.mainDice - } - - //console.log("BEFORE COMP", rollData) - if (rollData.competence) { - rollData.predilections = foundry.utils.duplicate(rollData.competence.system.predilections || []) - let compmod = (rollData.competence.system.niveau == 0) ? -3 : 0 - rollData.diceFormula += `+${rollData.attr.value}+${rollData.competence.system.niveau}+${rollData.modificateur}+${compmod}` - - if (rollData.selectedTalents && rollData.selectedTalents.length > 0) { - for (let id of rollData.selectedTalents) { - let talent = rollData.talents.find(t => t._id == id) - let bonusOK = true - if (talent.system.baCost) { - bonusOK = actor.checkBonneAventure(talent.system.baCost) - if (bonusOK) { - actor.changeBonneAventure(-talent.system.baCost) - } else { - ui.notifications.warn("Vous n'avez pas assez de points de Bonne Aventure !") - } - } - if (bonusOK) { - rollData.diceFormula += `+${talent.system.bonus}` - } - } - } - rollData.diceFormula += `+${rollData.bonusMalusContext}` - } else if (rollData.attr2) { - rollData.diceFormula += `+${rollData.attr.value}+${rollData.attr2.value}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } else { - rollData.diceFormula += `+${rollData.attr.value}*${rollData.multiplier}+${rollData.modificateur}+${rollData.bonusMalusContext}` - } - - // Bonus arme naturelle en défense - if (rollData.bonusArmeNaturelle) { - rollData.diceFormula += `+${rollData.bonusArmeNaturelle}` - } - if (rollData.attaquantsMultiples) { - rollData.diceFormula += `+3` - } - if (rollData.hasAmbidextre) { - if (rollData.ambidextre1) { - rollData.diceFormula += `-3` - } else if (rollData.ambidextre2) { - rollData.diceFormula += `-6` - } - } - if (rollData.defenseurAuSol) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurAveugle) { - rollData.diceFormula += `+10` - } - if (rollData.defenseurDeDos) { - rollData.diceFormula += `+5` - } - if (rollData.defenseurRestreint) { - rollData.diceFormula += `+3` - } - if (rollData.defenseurImmobilise) { - rollData.diceFormula += `+5` - } - if (rollData.soutiens > 0) { // 1 soutien = +3, 2 soutiens = +4, 3 soutiens = +5 - rollData.diceFormula += `+${rollData.soutiens + 2}` - } - - if (rollData.arme?.system.isDistance) { - rollData.difficulte = __distanceDifficulte[rollData.distanceTir] - rollData.difficulte += __tireurDeplacement[rollData.tireurDeplacement] - rollData.difficulte += __cibleCouvert[rollData.cibleCouvert] - rollData.difficulte += __tailleCible[rollData.tailleCible] - rollData.difficulte += rollData.cibleDeplace ? 3 : 0 - rollData.difficulte += rollData.cibleCaC ? 3 : 0 - rollData.difficulte += rollData.protectionDefenseur - } - if (rollData.attaqueDesarme) { - rollData.difficulte += 10 - } - - // Ajout adversités - rollData.diceFormula += `-${rollData.nbAdversites}` - - if (rollData.arme && rollData.arme.type == "arme") { - rollData.diceFormula += `+${rollData.arme.system.bonusmaniementoff}` - } - - // Gestion de la feinte éventuelle - rollData.nbCombativitePerdu = 1 - - let myRoll = await new Roll(rollData.diceFormula).roll() - await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) - rollData.roll = foundry.utils.duplicate(myRoll) - console.log(">>>> ", myRoll) - - rollData.finalResult = myRoll.total - this.computeResult(rollData) - if (rollData.isInit) { - actor.setFlag("world", "last-initiative", rollData.finalResult) - } - if (rollData.feinte) { - actor.changeBonneAventure(-1) - if (rollData.isHeroique) { - rollData.nbCombativitePerdu = "vaincu" - } else if (rollData.isSuccess) { - rollData.nbCombativitePerdu = 2 - } - } - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - if ((rollData.coupBas || rollData.arme) && rollData.isSuccess && rollData.defenderTokenId) { - this.applyCombativite(rollData, rollData.nbCombativitePerdu) - } - if (rollData.coupBas && rollData.isSuccess && rollData.defenderTokenId) { - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - defender.incDecAdversite("bleue", -2) - } - } - - /* -------------------------------------------- */ - static getCombativiteList(nbActivite) { - let list = [{ value: String(0), label: "Combatif" }] - for (let i = 1; i < nbActivite - 2; i++) { - list.push({ value: String(i), label: "Eprouvé " + i }) - } - list[nbActivite - 2] = { value: String(nbActivite - 2), label: "Affaibli" } - list[nbActivite - 1] = { value: String(nbActivite - 1), label: "Très Affaibli" } - list[nbActivite] = { value: String(nbActivite), label: "Vaincu" } - return list - } - - /* -------------------------------------------- */ - static getAmeList(nbAme, ameMin = null) { - // ameMin représente le meilleur état accessible (le minimum où l'âme peut remonter) - // Si ameMin = 3 (Stressé 3), la liste commence à Stressé 3 et va jusqu'à Brisé - // Si ameMin = 0 (Serein), tous les états sont disponibles - let minEffectif = ameMin !== null && ameMin !== undefined ? Math.min(ameMin, nbAme) : 0 - - let list = [] - - // Ajouter Serein seulement si ameMin <= 0 - if (minEffectif <= 0) { - list.push({ value: String(0), label: "Serein" }) - } - - // Génération des états Stressé - let nbStresseTotal = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresseTotal; i++) { - if (i >= minEffectif) { - list.push({ value: String(i), label: "Stressé " + i }) - } - } - - // Ajout des états finaux - let traumatiseValue = nbAme - 2 - let tresTraumatiseValue = nbAme - 1 - let briseValue = nbAme - - if (traumatiseValue >= minEffectif) { - list.push({ value: String(traumatiseValue), label: "Traumatisé" }) - } - if (tresTraumatiseValue >= minEffectif) { - list.push({ value: String(tresTraumatiseValue), label: "Très Traumatisé" }) - } - if (briseValue >= minEffectif) { - list.push({ value: String(briseValue), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static getAmeMaxList(nbAme) { - // Génère la liste complète des états d'âme pour le dropdown "Max" - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé (de 1 à nbAme-3) - let nbStresse = Math.max(0, nbAme - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux - if (nbAme >= 3) { - list.push({ value: String(nbAme - 2), label: "Traumatisé" }) - } - if (nbAme >= 2) { - list.push({ value: String(nbAme - 1), label: "Très Traumatisé" }) - } - if (nbAme >= 1) { - list.push({ value: String(nbAme), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static async bonusRollMournbladeCYD2(rollData) { - rollData.bonusFormula = rollData.addedBonus - console.log("Bonus Roll MournbladeCYD2", rollData.bonusFormula) - - if (!Number(rollData.bonusFormula)) { - let bonusRoll = await new Roll(rollData.bonusFormula).roll() - await this.showDiceSoNice(bonusRoll, game.settings.get("core", "rollMode")); - rollData.bonusRoll = foundry.utils.duplicate(bonusRoll) - rollData.finalResult += Number(rollData.bonusRoll.total) - } else { - rollData.finalResult += Number(rollData.bonusFormula) - console.log("Bonus Roll MournbladeCYD2 2", rollData.finalResult) - } - - this.computeResultQuality(rollData) - - this.createChatWithRollMode(rollData.alias, { - content: await foundry.applications.handlebars.renderTemplate(`systems/fvtt-mournblade-cyd2/templates/chat-generic-result.html`, rollData) - }, rollData) - - } - - /* -------------------------------------------- */ - static getUsers(filter) { - return game.users.filter(filter).map(user => user._id); - } - - /* -------------------------------------------- */ - static getWhisperRecipients(rollMode, name) { - switch (rollMode) { - case "blindroll": return this.getUsers(user => user.isGM); - case "gmroll": return this.getWhisperRecipientsAndGMs(name); - case "selfroll": return [game.user.id]; - } - return undefined; - } - /* -------------------------------------------- */ - static getWhisperRecipientsAndGMs(name) { - let recep1 = ChatMessage.getWhisperRecipients(name) || []; - return recep1.concat(ChatMessage.getWhisperRecipients('GM')); - } - - /* -------------------------------------------- */ - static blindMessageToGM(chatOptions) { - let chatGM = foundry.utils.duplicate(chatOptions); - chatGM.whisper = this.getUsers(user => user.isGM); - chatGM.content = "Blinde message of " + game.user.name + "Etes vous certain de vouloir supprimer cet item ?"; - let buttons = { - delete: { - icon: '', - label: "Oui !", - callback: () => { - actorSheet.actor.deleteEmbeddedDocuments("Item", [itemId]); - li.slideUp(200, () => actorSheet.render(false)); - } - }, - cancel: { - icon: '', - label: "Non" - } - } - msgTxt += "
"; - let d = new Dialog({ - title: "Confirmer la suppression", - content: msgTxt, - buttons: buttons, - default: "cancel" - }); - d.render(true); - } - -} diff --git a/.history/package_20260402205739.json b/.history/package_20260402205739.json deleted file mode 100644 index d688130..0000000 --- a/.history/package_20260402205739.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "fvtt-mournblade-cyd2", - "version": "2.0.0", - "description": "Mournblade CYD 2.0 RPG for FoundryVTT - French", - "scripts": { - "build": "gulp build", - "watch": "gulp watch" - }, - "author": "Uberwald/LeRatierBretonnien", - "license": "SEE LICENSE IN LICENCE.txt", - "devDependencies": { - "gulp": "^4.0.2", - "gulp-less": "^5.0.0", - "gulp-sourcemaps": "^3.0.0" - } -} diff --git a/.history/package_20260402222004.json b/.history/package_20260402222004.json deleted file mode 100644 index d688130..0000000 --- a/.history/package_20260402222004.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "fvtt-mournblade-cyd2", - "version": "2.0.0", - "description": "Mournblade CYD 2.0 RPG for FoundryVTT - French", - "scripts": { - "build": "gulp build", - "watch": "gulp watch" - }, - "author": "Uberwald/LeRatierBretonnien", - "license": "SEE LICENSE IN LICENCE.txt", - "devDependencies": { - "gulp": "^4.0.2", - "gulp-less": "^5.0.0", - "gulp-sourcemaps": "^3.0.0" - } -} diff --git a/.history/styles/simple_20251026004123.css b/.history/styles/simple_20251026004123.css deleted file mode 100644 index fe14d54..0000000 --- a/.history/styles/simple_20251026004123.css +++ /dev/null @@ -1,1590 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-hawkmoon-cyd .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 { - font-size: 0.8rem; - } - - .fvtt-hawkmoon-cyd .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-hawkmoon-cyd .sheet-header input, - .fvtt-hawkmoon-cyd .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-hawkmoon-cyd .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/hawkmoon_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/hawkmoon_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-hawkmoon-cyd .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-hawkmoon-cyd .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-hawkmoon-cyd .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-hawkmoon-cyd .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-hawkmoon-cyd .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-hawkmoon-cyd .sheet-body, - .fvtt-hawkmoon-cyd .sheet-body .tab, - .fvtt-hawkmoon-cyd .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-hawkmoon-cyd .sheet-body input, - .fvtt-hawkmoon-cyd .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-hawkmoon-cyd .tox .tox-editor-container { - background: #fff; - } - - .fvtt-hawkmoon-cyd .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-hawkmoon-cyd .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-hawkmoon-cyd .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-hawkmoon-cyd .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-hawkmoon-cyd .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-hawkmoon-cyd .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-hawkmoon-cyd .items-list .item-header { - font-weight: bold; - } - - .fvtt-hawkmoon-cyd .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-hawkmoon-cyd .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-hawkmoon-cyd .items-list .item img { - display: block; - } - - .fvtt-hawkmoon-cyd .items-list .item-name { - margin: 0; - } - - .fvtt-hawkmoon-cyd .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/hawkmoon_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026004154.css b/.history/styles/simple_20251026004154.css deleted file mode 100644 index fe14d54..0000000 --- a/.history/styles/simple_20251026004154.css +++ /dev/null @@ -1,1590 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-hawkmoon-cyd .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 { - font-size: 0.8rem; - } - - .fvtt-hawkmoon-cyd .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-hawkmoon-cyd .sheet-header input, - .fvtt-hawkmoon-cyd .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-hawkmoon-cyd .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/hawkmoon_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/hawkmoon_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-hawkmoon-cyd .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-hawkmoon-cyd .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-hawkmoon-cyd .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-hawkmoon-cyd .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-hawkmoon-cyd .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-hawkmoon-cyd .sheet-body, - .fvtt-hawkmoon-cyd .sheet-body .tab, - .fvtt-hawkmoon-cyd .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-hawkmoon-cyd .sheet-body input, - .fvtt-hawkmoon-cyd .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-hawkmoon-cyd .tox .tox-editor-container { - background: #fff; - } - - .fvtt-hawkmoon-cyd .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-hawkmoon-cyd .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-hawkmoon-cyd .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-hawkmoon-cyd .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-hawkmoon-cyd .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-hawkmoon-cyd .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-hawkmoon-cyd .items-list .item-header { - font-weight: bold; - } - - .fvtt-hawkmoon-cyd .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-hawkmoon-cyd .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-hawkmoon-cyd .items-list .item img { - display: block; - } - - .fvtt-hawkmoon-cyd .items-list .item-name { - margin: 0; - } - - .fvtt-hawkmoon-cyd .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/hawkmoon_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026112938.css b/.history/styles/simple_20251026112938.css deleted file mode 100644 index d872445..0000000 --- a/.history/styles/simple_20251026112938.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026112943.css b/.history/styles/simple_20251026112943.css deleted file mode 100644 index 3583090..0000000 --- a/.history/styles/simple_20251026112943.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026112945.css b/.history/styles/simple_20251026112945.css deleted file mode 100644 index 4938c2e..0000000 --- a/.history/styles/simple_20251026112945.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT-Bold.otf') format("otf"); - } - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026112948.css b/.history/styles/simple_20251026112948.css deleted file mode 100644 index 1b482f8..0000000 --- a/.history/styles/simple_20251026112948.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026112955.css b/.history/styles/simple_20251026112955.css deleted file mode 100644 index a854e78..0000000 --- a/.history/styles/simple_20251026112955.css +++ /dev/null @@ -1,1595 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026113043.css b/.history/styles/simple_20251026113043.css deleted file mode 100644 index ff5696e..0000000 --- a/.history/styles/simple_20251026113043.css +++ /dev/null @@ -1,1597 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: Cen - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026113045.css b/.history/styles/simple_20251026113045.css deleted file mode 100644 index c52b882..0000000 --- a/.history/styles/simple_20251026113045.css +++ /dev/null @@ -1,1597 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026113046.css b/.history/styles/simple_20251026113046.css deleted file mode 100644 index c52b882..0000000 --- a/.history/styles/simple_20251026113046.css +++ /dev/null @@ -1,1597 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026113049.css b/.history/styles/simple_20251026113049.css deleted file mode 100644 index 8ea1eb0..0000000 --- a/.history/styles/simple_20251026113049.css +++ /dev/null @@ -1,1597 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026113050.css b/.history/styles/simple_20251026113050.css deleted file mode 100644 index cfff8fc..0000000 --- a/.history/styles/simple_20251026113050.css +++ /dev/null @@ -1,1598 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114302.css b/.history/styles/simple_20251026114302.css deleted file mode 100644 index a5875fc..0000000 --- a/.history/styles/simple_20251026114302.css +++ /dev/null @@ -1,1597 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - color: lightgray; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114447.css b/.history/styles/simple_20251026114447.css deleted file mode 100644 index 1a28e56..0000000 --- a/.history/styles/simple_20251026114447.css +++ /dev/null @@ -1,1596 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114525.css b/.history/styles/simple_20251026114525.css deleted file mode 100644 index f996976..0000000 --- a/.history/styles/simple_20251026114525.css +++ /dev/null @@ -1,1595 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - color: lightgray; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114528.css b/.history/styles/simple_20251026114528.css deleted file mode 100644 index 628ea52..0000000 --- a/.history/styles/simple_20251026114528.css +++ /dev/null @@ -1,1594 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: lightgray; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114533.css b/.history/styles/simple_20251026114533.css deleted file mode 100644 index 0057a29..0000000 --- a/.history/styles/simple_20251026114533.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: lightgray; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114538.css b/.history/styles/simple_20251026114538.css deleted file mode 100644 index 68fb7f7..0000000 --- a/.history/styles/simple_20251026114538.css +++ /dev/null @@ -1,1592 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114541.css b/.history/styles/simple_20251026114541.css deleted file mode 100644 index 903f47b..0000000 --- a/.history/styles/simple_20251026114541.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114543.css b/.history/styles/simple_20251026114543.css deleted file mode 100644 index f3ffbe2..0000000 --- a/.history/styles/simple_20251026114543.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header select option { - background-color: rgb(68, 25, 25); - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114806.css b/.history/styles/simple_20251026114806.css deleted file mode 100644 index 2d3dbb1..0000000 --- a/.history/styles/simple_20251026114806.css +++ /dev/null @@ -1,1589 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114835.css b/.history/styles/simple_20251026114835.css deleted file mode 100644 index 1c224b2..0000000 --- a/.history/styles/simple_20251026114835.css +++ /dev/null @@ -1,1591 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 2rem; - - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114836.css b/.history/styles/simple_20251026114836.css deleted file mode 100644 index 1d7bfa2..0000000 --- a/.history/styles/simple_20251026114836.css +++ /dev/null @@ -1,1591 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 2rem; - max- - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114840.css b/.history/styles/simple_20251026114840.css deleted file mode 100644 index cfe0bcc..0000000 --- a/.history/styles/simple_20251026114840.css +++ /dev/null @@ -1,1591 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 2rem; - max-width: 2rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114842.css b/.history/styles/simple_20251026114842.css deleted file mode 100644 index cfe0bcc..0000000 --- a/.history/styles/simple_20251026114842.css +++ /dev/null @@ -1,1591 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 2rem; - max-width: 2rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114854.css b/.history/styles/simple_20251026114854.css deleted file mode 100644 index 495975b..0000000 --- a/.history/styles/simple_20251026114854.css +++ /dev/null @@ -1,1591 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114917.css b/.history/styles/simple_20251026114917.css deleted file mode 100644 index 9bb6d00..0000000 --- a/.history/styles/simple_20251026114917.css +++ /dev/null @@ -1,1592 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - al - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114921.css b/.history/styles/simple_20251026114921.css deleted file mode 100644 index 1efeefc..0000000 --- a/.history/styles/simple_20251026114921.css +++ /dev/null @@ -1,1592 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - align-content: ; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114923.css b/.history/styles/simple_20251026114923.css deleted file mode 100644 index 06f0735..0000000 --- a/.history/styles/simple_20251026114923.css +++ /dev/null @@ -1,1592 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - align-content: center; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114934.css b/.history/styles/simple_20251026114934.css deleted file mode 100644 index acaf431..0000000 --- a/.history/styles/simple_20251026114934.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text - align-content: center; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114936.css b/.history/styles/simple_20251026114936.css deleted file mode 100644 index bb1d100..0000000 --- a/.history/styles/simple_20251026114936.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: ; - align-content: center; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114937.css b/.history/styles/simple_20251026114937.css deleted file mode 100644 index 9b94fe8..0000000 --- a/.history/styles/simple_20251026114937.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - align-content: center; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114939.css b/.history/styles/simple_20251026114939.css deleted file mode 100644 index fc802b6..0000000 --- a/.history/styles/simple_20251026114939.css +++ /dev/null @@ -1,1592 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114955.css b/.history/styles/simple_20251026114955.css deleted file mode 100644 index c9cca45..0000000 --- a/.history/styles/simple_20251026114955.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026114957.css b/.history/styles/simple_20251026114957.css deleted file mode 100644 index ba3a0ac..0000000 --- a/.history/styles/simple_20251026114957.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115003.css b/.history/styles/simple_20251026115003.css deleted file mode 100644 index a929e7e..0000000 --- a/.history/styles/simple_20251026115003.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .state, - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115005.css b/.history/styles/simple_20251026115005.css deleted file mode 100644 index e4c61b5..0000000 --- a/.history/styles/simple_20251026115005.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .etat-, - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115007.css b/.history/styles/simple_20251026115007.css deleted file mode 100644 index fda4365..0000000 --- a/.history/styles/simple_20251026115007.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .etat, - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115011.css b/.history/styles/simple_20251026115011.css deleted file mode 100644 index 40e98d8..0000000 --- a/.history/styles/simple_20251026115011.css +++ /dev/null @@ -1,1593 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat, - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115014.css b/.history/styles/simple_20251026115014.css deleted file mode 100644 index 97aa5ff..0000000 --- a/.history/styles/simple_20251026115014.css +++ /dev/null @@ -1,1595 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - - } - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115017.css b/.history/styles/simple_20251026115017.css deleted file mode 100644 index c40bed8..0000000 --- a/.history/styles/simple_20251026115017.css +++ /dev/null @@ -1,1595 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: none; - } - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115024.css b/.history/styles/simple_20251026115024.css deleted file mode 100644 index ff7da9d..0000000 --- a/.history/styles/simple_20251026115024.css +++ /dev/null @@ -1,1595 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6.5rem; - } - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115026.css b/.history/styles/simple_20251026115026.css deleted file mode 100644 index 56c9bc9..0000000 --- a/.history/styles/simple_20251026115026.css +++ /dev/null @@ -1,1597 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6.5rem; - max-width: 6.5rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115112.css b/.history/styles/simple_20251026115112.css deleted file mode 100644 index 798c432..0000000 --- a/.history/styles/simple_20251026115112.css +++ /dev/null @@ -1,1597 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6.5rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115116.css b/.history/styles/simple_20251026115116.css deleted file mode 100644 index d7fe5e3..0000000 --- a/.history/styles/simple_20251026115116.css +++ /dev/null @@ -1,1597 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115210.css b/.history/styles/simple_20251026115210.css deleted file mode 100644 index 157fcd5..0000000 --- a/.history/styles/simple_20251026115210.css +++ /dev/null @@ -1,1598 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - min-width: none; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115213.css b/.history/styles/simple_20251026115213.css deleted file mode 100644 index e9f2dfb..0000000 --- a/.history/styles/simple_20251026115213.css +++ /dev/null @@ -1,1598 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - min-width: 20rem; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115225.css b/.history/styles/simple_20251026115225.css deleted file mode 100644 index 1a92684..0000000 --- a/.history/styles/simple_20251026115225.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - min-width: 20rem; - - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115227.css b/.history/styles/simple_20251026115227.css deleted file mode 100644 index a3ca94c..0000000 --- a/.history/styles/simple_20251026115227.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - min-width: 20rem; - max-width: calc(100% - 140px); - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115228.css b/.history/styles/simple_20251026115228.css deleted file mode 100644 index 71eadbd..0000000 --- a/.history/styles/simple_20251026115228.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - min-width: 20rem; - max-width: ; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115236.css b/.history/styles/simple_20251026115236.css deleted file mode 100644 index e9f2dfb..0000000 --- a/.history/styles/simple_20251026115236.css +++ /dev/null @@ -1,1598 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - min-width: 20rem; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115237.css b/.history/styles/simple_20251026115237.css deleted file mode 100644 index d7fe5e3..0000000 --- a/.history/styles/simple_20251026115237.css +++ /dev/null @@ -1,1597 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115240.css b/.history/styles/simple_20251026115240.css deleted file mode 100644 index 599acac..0000000 --- a/.history/styles/simple_20251026115240.css +++ /dev/null @@ -1,1598 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 20rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115242.css b/.history/styles/simple_20251026115242.css deleted file mode 100644 index 7e6daac..0000000 --- a/.history/styles/simple_20251026115242.css +++ /dev/null @@ -1,1598 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 20rem; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115257.css b/.history/styles/simple_20251026115257.css deleted file mode 100644 index 63c7a5c..0000000 --- a/.history/styles/simple_20251026115257.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 20rem; - text-align: ; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115259.css b/.history/styles/simple_20251026115259.css deleted file mode 100644 index e34c6cc..0000000 --- a/.history/styles/simple_20251026115259.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 20rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026115301.css b/.history/styles/simple_20251026115301.css deleted file mode 100644 index d8dcdfa..0000000 --- a/.history/styles/simple_20251026115301.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("otf"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("otf"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121323.css b/.history/styles/simple_20251026121323.css deleted file mode 100644 index 00e5970..0000000 --- a/.history/styles/simple_20251026121323.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121339.css b/.history/styles/simple_20251026121339.css deleted file mode 100644 index 00e5970..0000000 --- a/.history/styles/simple_20251026121339.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: Charlemagne; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121454.css b/.history/styles/simple_20251026121454.css deleted file mode 100644 index 0923e80..0000000 --- a/.history/styles/simple_20251026121454.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurM; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121455.css b/.history/styles/simple_20251026121455.css deleted file mode 100644 index d8a7ebb..0000000 --- a/.history/styles/simple_20251026121455.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121515.css b/.history/styles/simple_20251026121515.css deleted file mode 100644 index f469550..0000000 --- a/.history/styles/simple_20251026121515.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: Charlemagne; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121553.css b/.history/styles/simple_20251026121553.css deleted file mode 100644 index c4edc9a..0000000 --- a/.history/styles/simple_20251026121553.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: Charlemagne; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121558.css b/.history/styles/simple_20251026121558.css deleted file mode 100644 index ec7db22..0000000 --- a/.history/styles/simple_20251026121558.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121651.css b/.history/styles/simple_20251026121651.css deleted file mode 100644 index ab95431..0000000 --- a/.history/styles/simple_20251026121651.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "Charlemagne"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121728.css b/.history/styles/simple_20251026121728.css deleted file mode 100644 index 2def2f9..0000000 --- a/.history/styles/simple_20251026121728.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "Charlemagne"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121734.css b/.history/styles/simple_20251026121734.css deleted file mode 100644 index 06357cb..0000000 --- a/.history/styles/simple_20251026121734.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: Charlemagne; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121751.css b/.history/styles/simple_20251026121751.css deleted file mode 100644 index 1bb63dc..0000000 --- a/.history/styles/simple_20251026121751.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: Charlemagne; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121815.css b/.history/styles/simple_20251026121815.css deleted file mode 100644 index f1becc2..0000000 --- a/.history/styles/simple_20251026121815.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121820.css b/.history/styles/simple_20251026121820.css deleted file mode 100644 index f1becc2..0000000 --- a/.history/styles/simple_20251026121820.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "Charlemagne"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026121844.css b/.history/styles/simple_20251026121844.css deleted file mode 100644 index c8b2b2e..0000000 --- a/.history/styles/simple_20251026121844.css +++ /dev/null @@ -1,1599 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026131613.css b/.history/styles/simple_20251026131613.css deleted file mode 100644 index d8e012e..0000000 --- a/.history/styles/simple_20251026131613.css +++ /dev/null @@ -1,1600 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026131618.css b/.history/styles/simple_20251026131618.css deleted file mode 100644 index 7b7fc3c..0000000 --- a/.history/styles/simple_20251026131618.css +++ /dev/null @@ -1,1602 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input, - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026131620.css b/.history/styles/simple_20251026131620.css deleted file mode 100644 index dffdcce..0000000 --- a/.history/styles/simple_20251026131620.css +++ /dev/null @@ -1,1604 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026131622.css b/.history/styles/simple_20251026131622.css deleted file mode 100644 index 9788490..0000000 --- a/.history/styles/simple_20251026131622.css +++ /dev/null @@ -1,1604 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026131624.css b/.history/styles/simple_20251026131624.css deleted file mode 100644 index e8dd818..0000000 --- a/.history/styles/simple_20251026131624.css +++ /dev/null @@ -1,1605 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026131629.css b/.history/styles/simple_20251026131629.css deleted file mode 100644 index 38495a2..0000000 --- a/.history/styles/simple_20251026131629.css +++ /dev/null @@ -1,1605 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026133935.css b/.history/styles/simple_20251026133935.css deleted file mode 100644 index af82e78..0000000 --- a/.history/styles/simple_20251026133935.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - font - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026133937.css b/.history/styles/simple_20251026133937.css deleted file mode 100644 index e1ed450..0000000 --- a/.history/styles/simple_20251026133937.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - font: - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026133939.css b/.history/styles/simple_20251026133939.css deleted file mode 100644 index af82e78..0000000 --- a/.history/styles/simple_20251026133939.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - font - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026133942.css b/.history/styles/simple_20251026133942.css deleted file mode 100644 index 1f2a10b..0000000 --- a/.history/styles/simple_20251026133942.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - font-family: Ce; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026133944.css b/.history/styles/simple_20251026133944.css deleted file mode 100644 index 5573bf3..0000000 --- a/.history/styles/simple_20251026133944.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - font-family: Centa; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026133947.css b/.history/styles/simple_20251026133947.css deleted file mode 100644 index 4223c10..0000000 --- a/.history/styles/simple_20251026133947.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134004.css b/.history/styles/simple_20251026134004.css deleted file mode 100644 index 4223c10..0000000 --- a/.history/styles/simple_20251026134004.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134017.css b/.history/styles/simple_20251026134017.css deleted file mode 100644 index 5b45041..0000000 --- a/.history/styles/simple_20251026134017.css +++ /dev/null @@ -1,1605 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134022.css b/.history/styles/simple_20251026134022.css deleted file mode 100644 index e4d84b3..0000000 --- a/.history/styles/simple_20251026134022.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134024.css b/.history/styles/simple_20251026134024.css deleted file mode 100644 index c1274e9..0000000 --- a/.history/styles/simple_20251026134024.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134030.css b/.history/styles/simple_20251026134030.css deleted file mode 100644 index c1274e9..0000000 --- a/.history/styles/simple_20251026134030.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134115.css b/.history/styles/simple_20251026134115.css deleted file mode 100644 index 7fc4f9d..0000000 --- a/.history/styles/simple_20251026134115.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } -#chat>div>ol>li>div - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134118.css b/.history/styles/simple_20251026134118.css deleted file mode 100644 index c1274e9..0000000 --- a/.history/styles/simple_20251026134118.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134143.css b/.history/styles/simple_20251026134143.css deleted file mode 100644 index c1274e9..0000000 --- a/.history/styles/simple_20251026134143.css +++ /dev/null @@ -1,1606 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134150.css b/.history/styles/simple_20251026134150.css deleted file mode 100644 index 233e994..0000000 --- a/.history/styles/simple_20251026134150.css +++ /dev/null @@ -1,1608 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134151.css b/.history/styles/simple_20251026134151.css deleted file mode 100644 index ab84463..0000000 --- a/.history/styles/simple_20251026134151.css +++ /dev/null @@ -1,1608 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message . - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134153.css b/.history/styles/simple_20251026134153.css deleted file mode 100644 index a1e03ab..0000000 --- a/.history/styles/simple_20251026134153.css +++ /dev/null @@ -1,1608 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .messa- - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134155.css b/.history/styles/simple_20251026134155.css deleted file mode 100644 index d61fed6..0000000 --- a/.history/styles/simple_20251026134155.css +++ /dev/null @@ -1,1608 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .messa - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134158.css b/.history/styles/simple_20251026134158.css deleted file mode 100644 index 3c11422..0000000 --- a/.history/styles/simple_20251026134158.css +++ /dev/null @@ -1,1608 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content {} - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134159.css b/.history/styles/simple_20251026134159.css deleted file mode 100644 index c95a878..0000000 --- a/.history/styles/simple_20251026134159.css +++ /dev/null @@ -1,1611 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134200.css b/.history/styles/simple_20251026134200.css deleted file mode 100644 index c95a878..0000000 --- a/.history/styles/simple_20251026134200.css +++ /dev/null @@ -1,1611 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134235.css b/.history/styles/simple_20251026134235.css deleted file mode 100644 index c95a878..0000000 --- a/.history/styles/simple_20251026134235.css +++ /dev/null @@ -1,1611 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134353.css b/.history/styles/simple_20251026134353.css deleted file mode 100644 index f8602fc..0000000 --- a/.history/styles/simple_20251026134353.css +++ /dev/null @@ -1,1612 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134356.css b/.history/styles/simple_20251026134356.css deleted file mode 100644 index f6a755b..0000000 --- a/.history/styles/simple_20251026134356.css +++ /dev/null @@ -1,1612 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog {} - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134357.css b/.history/styles/simple_20251026134357.css deleted file mode 100644 index 88f484b..0000000 --- a/.history/styles/simple_20251026134357.css +++ /dev/null @@ -1,1614 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134358.css b/.history/styles/simple_20251026134358.css deleted file mode 100644 index d5511f0..0000000 --- a/.history/styles/simple_20251026134358.css +++ /dev/null @@ -1,1615 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134359.css b/.history/styles/simple_20251026134359.css deleted file mode 100644 index d5511f0..0000000 --- a/.history/styles/simple_20251026134359.css +++ /dev/null @@ -1,1615 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134625.css b/.history/styles/simple_20251026134625.css deleted file mode 100644 index d5511f0..0000000 --- a/.history/styles/simple_20251026134625.css +++ /dev/null @@ -1,1615 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134628.css b/.history/styles/simple_20251026134628.css deleted file mode 100644 index c49f187..0000000 --- a/.history/styles/simple_20251026134628.css +++ /dev/null @@ -1,1616 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } -.skill-roll-dialog { - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134629.css b/.history/styles/simple_20251026134629.css deleted file mode 100644 index d5511f0..0000000 --- a/.history/styles/simple_20251026134629.css +++ /dev/null @@ -1,1615 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134631.css b/.history/styles/simple_20251026134631.css deleted file mode 100644 index d5511f0..0000000 --- a/.history/styles/simple_20251026134631.css +++ /dev/null @@ -1,1615 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134632.css b/.history/styles/simple_20251026134632.css deleted file mode 100644 index d5511f0..0000000 --- a/.history/styles/simple_20251026134632.css +++ /dev/null @@ -1,1615 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134638.css b/.history/styles/simple_20251026134638.css deleted file mode 100644 index e4126e2..0000000 --- a/.history/styles/simple_20251026134638.css +++ /dev/null @@ -1,1616 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app select, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134640.css b/.history/styles/simple_20251026134640.css deleted file mode 100644 index 8f5983a..0000000 --- a/.history/styles/simple_20251026134640.css +++ /dev/null @@ -1,1616 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026134641.css b/.history/styles/simple_20251026134641.css deleted file mode 100644 index 8f5983a..0000000 --- a/.history/styles/simple_20251026134641.css +++ /dev/null @@ -1,1616 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135413.css b/.history/styles/simple_20251026135413.css deleted file mode 100644 index 1282852..0000000 --- a/.history/styles/simple_20251026135413.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135419.css b/.history/styles/simple_20251026135419.css deleted file mode 100644 index 5f951c2..0000000 --- a/.history/styles/simple_20251026135419.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - margin-left: px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135421.css b/.history/styles/simple_20251026135421.css deleted file mode 100644 index cede24f..0000000 --- a/.history/styles/simple_20251026135421.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - margin-left: 8px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135424.css b/.history/styles/simple_20251026135424.css deleted file mode 100644 index cede24f..0000000 --- a/.history/styles/simple_20251026135424.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - margin-left: 8px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135706.css b/.history/styles/simple_20251026135706.css deleted file mode 100644 index cede24f..0000000 --- a/.history/styles/simple_20251026135706.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - margin-left: 8px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135747.css b/.history/styles/simple_20251026135747.css deleted file mode 100644 index cede24f..0000000 --- a/.history/styles/simple_20251026135747.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 40%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - margin-left: 8px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135806.css b/.history/styles/simple_20251026135806.css deleted file mode 100644 index 93b58d0..0000000 --- a/.history/styles/simple_20251026135806.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 48%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - margin-left: 8px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135821.css b/.history/styles/simple_20251026135821.css deleted file mode 100644 index 52fc02f..0000000 --- a/.history/styles/simple_20251026135821.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 58%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - margin-left: 8px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135835.css b/.history/styles/simple_20251026135835.css deleted file mode 100644 index 3f8c471..0000000 --- a/.history/styles/simple_20251026135835.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 54%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - margin-left: 8px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/styles/simple_20251026135914.css b/.history/styles/simple_20251026135914.css deleted file mode 100644 index 3f8c471..0000000 --- a/.history/styles/simple_20251026135914.css +++ /dev/null @@ -1,1617 +0,0 @@ - /* ==================== (A) Fonts ==================== */ - /* ==================== (A) Fonts ==================== */ - @font-face { - font-family: "Charlemagne"; - src: url('../assets/fonts/CharlemagneStd-Bold.otf') format("opentype"); - } - - @font-face { - font-family: "CentaurMT"; - src: url('../assets/fonts/CentaurMT.otf') format("opentype"); - } - - :root { - /* =================== 1. ACTOR SHEET FONT STYLES =========== */ - --window-header-font-family: CentaurMT; - --window-header-title-font-size: 1.1rem; - --window-header-title-font-weight: normal; - --window-header-title-color: #f5f5f5; - - --major-button-font-family: CentaurMT; - --major-button-font-size: 1.05rem; - --major-button-font-weight: normal; - --major-button-color: #dadada; - - --tab-header-font-family: CentaurMT; - --tab-header-font-size: 1.0rem; - --tab-header-font-weight: 700; - --tab-header-color: #403f3e; - --tab-header-color-active: #4a0404; - - --font-primary: CentaurMT; - --font-secondary: CentaurMT; - - --actor-input-font-size: 0.8rem; - --actor-input-font-weight: 500; - --actor-input-color: black; - - --actor-label-font-size: 0.8rem; - --actor-label-font-weight: 700; - --actor-label-color: #464331c4; - - /* =================== 2. DEBUGGING HIGHLIGHTERS ============ */ - --debug-background-color-red: #ff000054; - --debug-background-color-blue: #1d00ff54; - --debug-background-color-green: #54ff0054; - - --debug-box-shadow-red: inset 0 0 2px red; - --debug-box-shadow-blue: inset 0 0 2px blue; - --debug-box-shadow-green: inset 0 0 2px green; - } - - * { - scrollbar-color: initial; - } - - ::-webkit-scrollbar-thumb { - border-color: #ff6400; - } - - @-moz-document url-prefix() { - * { - scrollbar-color: #782e22 transparent; - scrollbar-width: thin; - } - } - - /*@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: CentaurMT; - text-align: justify; - font-size: 12px; - letter-spacing: 1px; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - /* Fonts */ - .window-app .window-header, - #actors .directory-list, - #navigation #scene-list .scene.nav-item { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .window-app button, - .window-app select, - .window-app input { - font-family: "CentaurMT"; - text-align: center; - } - - /* For title, sidebar character and scene */ - .sheet header.sheet-header h1 input { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .journal-sidebar .headings .heading.h3, - .journal-sidebar .headings .heading.h4, - .journal-sidebar .headings .heading.h2 { - color: #e6dede; - } - - .sheet nav.sheet-tabs { - font-family: "Charlemagne"; - font-size: 0.8rem; - color: #151c1f; - } - - /* For nav and title */ - .window-app input, - .fvtt-mournblade-cyd2 .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 { - font-size: 0.8rem; - } - - .fvtt-mournblade-cyd2 .sheet-header input, - .fvtt-mournblade-cyd2 .sheet-header select { - color: black; - min-width: 3rem; - max-width: 3rem; - text-align: center; - } - - .fvtt-mournblade-cyd2 .sheet-header .liste-etat { - min-width: 6rem; - max-width: 6rem; - } - - .window-header { - background: rgba(0, 0, 0, 0.75); - } - - .window-app.sheet .window-content { - margin: 0; - padding: 0; - background-image: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .strong-text { - font-weight: bold; - } - - .tabs .item.active, - .blessures-list li ul li:first-child:hover, - a:hover { - text-shadow: 1px 0px 0px #ff6600; - } - - .rollable:hover, - .rollable:focus { - color: #000; - text-shadow: 0 0 10px red; - cursor: pointer; - } - - input:disabled { - color: #1c2058; - } - - select:disabled { - color: #1c2058; - } - - table { - border: 1px solid #7a7971; - } - - .grid, - .grid-2col { - display: grid; - grid-column: span 2 / span 2; - grid-template-columns: repeat(2, minmax(0, 1fr)); - gap: 10px; - margin: 10px 0; - padding: 0; - } - - .grid-3col { - grid-column: span 3 / span 3; - grid-template-columns: repeat(3, minmax(0, 1fr)); - } - - .grid-4col { - grid-column: span 4 / span 4; - grid-template-columns: repeat(4, minmax(0, 1fr)); - } - - .grid-5col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-6col { - grid-column: span 5 / span 5; - grid-template-columns: repeat(5, minmax(0, 1fr)); - } - - .grid-7col { - grid-column: span 7 / span 7; - grid-template-columns: repeat(7, minmax(0, 1fr)); - } - - .grid-8col { - grid-column: span 8 / span 8; - grid-template-columns: repeat(8, minmax(0, 1fr)); - } - - .grid-9col { - grid-column: span 9 / span 9; - grid-template-columns: repeat(9, minmax(0, 1fr)); - } - - .grid-10col { - grid-column: span 10 / span 10; - grid-template-columns: repeat(10, minmax(0, 1fr)); - } - - .grid-11col { - grid-column: span 11 / span 11; - grid-template-columns: repeat(11, minmax(0, 1fr)); - } - - .grid-12col { - grid-column: span 12 / span 12; - grid-template-columns: repeat(12, minmax(0, 1fr)); - } - - .flex-group-center, - .flex-group-left, - .flex-group-right { - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - padding: 5px; - } - - .flex-group-left { - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - text-align: left; - } - - .flex-group-right { - -webkit-box-pack: end; - -ms-flex-pack: end; - justify-content: flex-end; - text-align: right; - } - - .flex-center { - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -ms-flex-pack: center; - justify-content: center; - text-align: center; - } - - .table-create-actor { - font-size: 0.8rem; - } - - .flex-between { - -webkit-box-pack: justify; - -ms-flex-pack: justify; - justify-content: space-between; - } - - .flex-shrink { - flex: 'flex-shrink'; - } - - /* Styles limited to foundryvtt-vadentis sheets */ - - .fvtt-mournblade-cyd2 .sheet-header { - -webkit-box-flex: 0; - -ms-flex: 0 0 210px; - flex: 0 0 210px; - overflow: hidden; - display: -webkit-box; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -ms-flex-direction: row; - flex-direction: row; - -ms-flex-wrap: wrap; - flex-wrap: wrap; - -webkit-box-pack: start; - -ms-flex-pack: start; - justify-content: flex-start; - margin-bottom: 10px; - background-image: url("../assets/ui/mournblade-cyd2_background_01.png"); - } - - .sheet.journal-entry .journal-sidebar { - color: #000; - } - - .background-sheet-header { - background-blend-mode: soft-light; - width: 100%; - } - - .fvtt-mournblade-cyd2 .sheet-header .profile-img { - -webkit-box-flex: 0; - -ms-flex: 0 0 128px; - flex: 0 0 128px; - height: 128px; - width: 128px; - margin-right: 10px; - object-fit: cover; - object-position: 50% 0; - } - - .button-img { - vertical-align: baseline; - width: 8%; - height: 8%; - max-height: 48px; - border-width: 0; - border: 1px solid rgba(0, 0, 0, 0); - } - - .button-img: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-mournblade-cyd2 .sheet-header .header-fields { - -webkit-box-flex: 1; - -ms-flex: 1; - flex: 1; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname { - height: 50px; - padding: 0px; - margin: 5px 0; - border-bottom: 0; - font-weight: bold; - font-size: 2rem; - font-family: "CentaurMT"; - } - - .fvtt-mournblade-cyd2 .sheet-header h1.charname input { - width: 100%; - height: 100%; - margin: 0; - font-weight: bold; - font-family: "CentaurMT"; - font-size: 2rem; - min-width: 30rem; - text-align: left; - } - - .fvtt-mournblade-cyd2 .sheet-tabs { - -webkit-box-flex: 0; - -ms-flex: 0; - flex: 0; - } - - .fvtt-mournblade-cyd2 .sheet-body, - .fvtt-mournblade-cyd2 .sheet-body .tab, - .fvtt-mournblade-cyd2 .sheet-body .tab .editor { - height: 100%; - font-size: 0.8rem; - color: rgba(0, 0, 0, 0.9) - } - - .fvtt-mournblade-cyd2 .sheet-body input, - .fvtt-mournblade-cyd2 .sheet-body select { - color: rgba(0, 0, 0, 0.9) - } - - .editor { - border: 2; - height: 300px; - padding: 0 3px; - } - - .medium-editor { - border: 2; - height: 240px; - padding: 0 3px; - } - - .small-editor { - border: 2; - height: 120px; - padding: 0 3px; - } - - .fvtt-mournblade-cyd2 .tox .tox-editor-container { - background: #fff; - } - - .fvtt-mournblade-cyd2 .tox .tox-edit-area { - padding: 0 8px; - } - - .fvtt-mournblade-cyd2 .resource-label { - font-weight: bold; - text-transform: uppercase; - } - - .fvtt-mournblade-cyd2 .tabs { - height: 40px; - border-top: 1px solid #AAA; - border-bottom: 1px solid #AAA; - color: #000000; - } - - .fvtt-mournblade-cyd2 .tabs .item { - /*line-height: 40px;*/ - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .tabs .item.active { - text-decoration: underline; - text-shadow: none; - } - - .fvtt-mournblade-cyd2 .items-list { - list-style: none; - margin: 1px 0; - padding: 0; - overflow-y: auto; - } - - .fvtt-mournblade-cyd2 .items-list .item-header { - font-weight: bold; - } - - .fvtt-mournblade-cyd2 .items-list .item { - height: 30px; - line-height: 24px; - padding: 1px 0; - border-bottom: 1px solid #BBB; - } - - .fvtt-mournblade-cyd2 .items-list .item .item-image { - -webkit-box-flex: 0; - -ms-flex: 0 0 24px; - flex: 0 0 24px; - margin-right: 5px; - } - - .fvtt-mournblade-cyd2 .items-list .item img { - display: block; - } - - .fvtt-mournblade-cyd2 .items-list .item-name { - margin: 0; - } - - .fvtt-mournblade-cyd2 .items-list .item-controls { - -webkit-box-flex: 0; - -ms-flex: 0 0 86px; - flex: 0 0 86px; - text-align: right; - } - - - /* ======================================== */ - /* Sheet */ - .window-app.sheet .window-content .sheet-header { - /*background: #011d33 url("../images/ui/fond1.webp") repeat left top;*/ - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat; - } - - .window-app.sheet .window-content .sheet-header input[type="text"], - .window-app.sheet .window-content .sheet-header input[type="number"], - .window-app.sheet .window-content .sheet-header input[type="password"], - .window-app.sheet .window-content .sheet-header input[type="date"], - .window-app.sheet .window-content .sheet-header input[type="time"] { - /*color: rgba(36, 37, 37, 0.75);*/ - /*background: rgba(255, 255, 255, 0.05);*/ - /*border: 2px saddlebrown;*/ - /*color: lightgray;*/ - border-width: 1px; - margin-bottom: 0.25rem; - } - - .window-app .window-content, - .window-app.sheet .window-content .sheet-body { - font-size: 0.8rem; - background: url("../assets/ui/pc_sheet_bg.webp"); - background-repeat: repeat-y; - color: black; - } - - /*section.sheet-body{ - padding: 0.25rem 0.5rem;}*/ - - .sheet header.sheet-header .profile-img { - object-fit: cover; - object-position: 50% 0; - margin: 0.5rem 0 0.5rem 0.5rem; - padding: 0; - border: 0px; - } - - .sheet nav.sheet-tabs { - font-size: 0.70rem; - font-weight: bold; - height: 2.5rem; - flex: 0 0 3rem; - margin: 0; - padding: 0 0 0 0.25rem; - text-align: center; - text-transform: uppercase; - line-height: 1.5rem; - border-top: 0 none; - border-bottom: 0 none; - /*background-color:#2e5561;*/ - color: #151c1f; - /*background-image: url("../assets/ui/mournblade-cyd2_background_02.png");*/ - } - - /* background: rgb(245,245,240) url("../images/ui/fond4.webp") repeat left top;*/ - nav.sheet-tabs .item { - position: relative; - padding: 0 0.25rem; - } - - nav.sheet-tabs .item:after { - content: ""; - position: absolute; - top: 0; - right: 0; - height: 2rem; - width: 1px; - /*border-right: 1px dashed rgba(52, 52, 52, 0.25);*/ - } - - .sheet .tab[data-tab] { - padding: 0; - } - - section.sheet-body:after { - content: ""; - display: block; - clear: both; - } - - .sheet header.sheet-header .flex-compteurs { - text-align: right; - } - - .sheet header.sheet-header .resource-content { - width: 2rem; - } - - .select-diff { - display: inline-block; - text-align: left; - width: 50px; - } - - .window-app.sheet .window-content .tooltip:hover .tooltiptext { - top: 2rem; - left: 2rem; - margin: 0; - padding: 0.25rem; - } - - .window-app.sheet .window-content .carac-value, - .window-app.sheet .window-content .competence-xp { - margin: 0.05rem; - flex-basis: 3rem; - text-align: center; - } - - /* ======================================== */ - /* Global UI elements */ - - /* ======================================== */ - - h1, - h2, - h3, - h4 { - font-weight: bold; - } - - ul, - ol { - margin: 0; - padding: 0; - } - - ul, - li { - list-style-type: none; - } - - .sheet li { - margin: 0.010rem; - padding: 0.25rem; - } - - .header-fields li { - margin: 0; - padding: 0; - } - - .alterne-list>.list-item:hover { - background: rgba(100, 100, 50, 0.25); - } - - .alterne-list>.list-item:nth-child(even) { - background: rgba(80, 60, 0, 0.10); - } - - .alterne-list>.list-item:nth-child(odd) { - background: rgb(160, 130, 100, 0.05); - } - - .specialisation-label { - font-size: 0.8rem; - } - - .carac-label, - .attr-label { - font-weight: bold; - } - - .list-item { - margin: 0.125rem; - box-shadow: inset 0px 0px 1px #00000096; - border-radius: 0.25rem; - padding: 0.125rem; - flex: 1 1 5rem; - } - - .item-display-show { - display: block; - } - - .item-display-hide { - display: none; - } - - .conteneur-type { - background: rgb(200, 10, 100, 0.25); - } - - .item-quantite { - margin-left: 0.5rem; - } - - .list-item-margin1 { - margin-left: 1rem; - } - - .list-item-margin2 { - margin-left: 2rem; - } - - .list-item-margin3 { - margin-left: 3rem; - } - - .list-item-margin4 { - margin-left: 4rem; - } - - .sheet-competence-img { - width: 24px; - height: 24px; - flex-grow: 0; - margin-right: 0.25rem; - } - - .competence-column { - flex-direction: column; - align-content: flex-start; - justify-content: flex-start; - flex-grow: 0; - flex-basis: 1; - } - - .competence-header { - align-content: flex-start; - justify-content: flex-start; - font-weight: bold; - flex-grow: 0; - } - - .secondaire-label, - .arme-label, - .generic-label, - .competence-label, - .devotion-label, - .sort-label, - .technique-label, - .stat-label, - .arme-label, - .armure-label, - .equipement-label, - .description-label { - flex-grow: 2; - margin-left: 4px; - } - - .roll-dialog-label { - margin: 4px 0; - padding-top: 7px; - } - - .short-label { - flex-grow: 1; - } - - .keyword-label { - font-size: 0.85rem; - } - - .item-sheet-label { - flex-grow: 1; - } - - .item-text-long-line { - flex-grow: 3; - } - - .score-label { - flex-grow: 2; - align-content: center; - } - - .attribut-value, - .carac-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .sante-value, - .competence-value { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .description-value { - flex-grow: 0; - flex-basis: 4rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .competence-xp { - flex-grow: 0; - flex-basis: 2rem; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .blessures-title { - font-weight: bold; - } - - .alchimie-title { - font-weight: bold; - } - - .blessure-data { - flex-direction: row; - align-content: flex-start; - justify-content: flex-start; - } - - .blessures-soins { - flex-grow: 0; - flex-basis: 32px; - margin-right: 4px; - margin-left: 4px; - } - - .blessures-loc { - flex-grow: 0; - flex-basis: 96px; - margin-right: 4px; - margin-left: 4px; - } - - .pointsreve-value { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .input-sante-header, - .stress-style { - flex-grow: 0; - flex-basis: 64px; - margin-right: 4px; - margin-left: 4px; - } - - .small-label { - margin-top: 5px; - } - - .padd-right { - margin-right: 8px; - } - - .padd-left { - margin-left: 8px; - } - - .stack-left { - align-items: center; - flex-shrink: 1; - flex-grow: 0; - } - - .npc-stat-label { - flex-grow: 2; - } - - .packed-left { - white-space: nowrap; - flex-grow: 0; - } - - .numeric-input { - text-align: right; - direction: rtl; - padding: 5px; - } - - .input-numeric-short { - width: 40px; - max-width: 40px; - flex-grow: 0; - flex-shrink: 0; - flex-basis: 40px; - margin-right: 0.25rem; - margin-left: 0.25rem; - } - - .stats-table { - align-content: flex-start; - } - - /* ======================================== */ - .tokenhudext { - display: flex; - flex: 0 !important; - font-weight: 600; - } - - .tokenhudext.left { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - right: 4rem; - } - - .tokenhudext.right { - justify-content: flex-start; - flex-direction: column; - position: absolute; - top: 2.75rem; - left: 4rem; - } - - .control-icon.tokenhudicon { - width: fit-content; - height: fit-content; - min-width: 6rem; - min-height: 1.2rem; - flex-basis: auto; - padding: 0; - line-height: 1rem; - margin: 0.25rem; - } - - .control-icon.tokenhudicon.right { - margin-left: 8px; - } - - #token-hud .status-effects.active { - z-index: 2; - } - - /* ======================================== */ - .item-checkbox { - height: 25px; - border: 1px solid #736953a6; - border-left: none; - font-weight: 500; - font-size: 1rem; - color: black; - padding-top: 5px; - margin-right: 0px; - width: 45px; - position: relative; - left: 0px; - text-align: center; - } - - - .flex-actions-bar { - flex-grow: 2; - } - - /* ======================================== */ - /* Sidebar CSS */ - #sidebar { - font-size: 1rem; - background-position: 100%; - } - - /* background: rgb(105,85,65) url("../images/ui/texture_feuille_perso_onglets.webp") no-repeat right bottom;*/ - - #sidebar.collapsed { - height: 470px !important; - } - - #sidebar-tabs>.collapsed, - #chat-controls .chat-control-icon { - color: rgba(220, 220, 220, 0.75); - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - .sidebar-tab .directory-list .entity { - border-top: 1px dashed rgba(0, 0, 0, 0.25); - border-bottom: 0 none; - padding: 0.25rem 0; - } - - .sidebar-tab .directory-list .entity:hover { - background: rgba(0, 0, 0, 0.05); - cursor: pointer; - } - - .chat-message-header { - background: rgba(220, 220, 210, 0.5); - font-size: 1.1rem; - height: 48px; - text-align: center; - vertical-align: middle; - display: flex; - align-items: center; - } - - .skill-roll-dialog { - font-family: CentaurMT; - } - - .chat-message .message-header .flavor-text, - .chat-message .message-header .whisper-to { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-actor-name { - padding: 4px; - } - - .chat-message .message-content { - font-size: 0.9rem; - font-family: CentaurMT; - } - - .chat-img { - width: 64px; - height: 64px; - } - - .roll-dialog-header { - height: 52px; - } - - .adversite-text { - font-weight: bold; - position: absolute; - top: 50%; - left: 54%; - transform: translate(-50%, -50%); - } - - .icon-adversite-container { - position: relative; - text-align: center; - color: white; - width: 64px; - min-height: 48px; - } - - .icon-adversite { - width: 48px; - border: 0px; - margin-left: 8px; - } - - .hud-adversite-container { - position: relative; - text-align: center; - color: darkgreen; - width: 64px; - min-height: 64px; - } - - .hud-adversite-text { - font-weight: bold; - font-size: 0.9rem; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-60%, -90%); - } - - .actor-icon { - float: left; - width: 48px; - height: 48px; - padding: 2px 6px 2px 2px; - } - - .padding-dice { - padding-top: .2rem; - padding-bottom: .2rem; - } - - .dice-image { - box-sizing: border-box; - border: none; - border-radius: 0; - max-width: 100%; - } - - .dice-image-reroll { - background-color: rgba(115, 224, 115, 0.25); - border-color: #011d33; - box-sizing: border-box; - border: 1px; - border-radius: 0%; - max-width: 100%; - } - - .chat-dice { - width: 15%; - height: 15%; - font-size: 15px; - padding: 10px; - /*padding-bottom: 20px;*/ - padding-top: .2rem; - padding-bottom: .2rem; - } - - - .div-center { - align-self: center; - } - - .chat-message { - background: rgba(220, 220, 210, 0.5); - font-size: 0.9rem; - } - - .chat-message.whisper { - background: rgba(220, 220, 210, 0.75); - border: 2px solid #545469; - } - - .chat-message .chat-icon { - border: 0; - padding: 2px 6px 2px 2px; - float: left; - width: 64px; - height: 64px; - } - - #sidebar-tabs { - flex: 0 0 32px; - box-sizing: border-box; - margin: 0 0 5px; - border-bottom: 1px solid rgba(0, 0, 0, 0); - box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.5); - } - - #sidebar-tabs>.item.active { - border: 1px solid rgba(114, 98, 72, 1); - background: rgba(30, 25, 20, 0.75); - box-shadow: 0 0 6px inset rgba(114, 98, 72, 1); - } - - #sidebar #sidebar-tabs i { - display: inline-block; - background-position: center; - background-size: cover; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.75); - } - - /*#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 */ - - #controls .scene-control, - #controls .control-tool { - box-shadow: 0 0 3px #000; - margin: 0 0 8px; - 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; - } - - #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; - } - - #hotbar #action-bar #macro-list { - border: 1px solid rgba(72, 46, 28, 1); - box-shadow: 2px 2px 5px #000000; - } - - #hotbar #action-bar .macro { - border-image: url(img/ui/bg_control.jpg) 21 repeat; - border-image-slice: 6 6 6 6 fill; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - } - - #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); - } - - #navigation #scene-list .scene.nav-item.active { - background: rgba(72, 46, 28, 1); - } - - #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; - } - - #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; - } - - #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; - } - - /* Tooltip container */ - .tooltip { - position: relative; - display: inline-block; - /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */ - } - - /* Tooltip text */ - .tooltip .tooltiptext { - text-align: left; - background: rgba(231, 229, 226, 0.9); - width: 150px; - padding: 3px 0; - font-size: 0.9rem; - - /* Position the tooltip text */ - top: 1px; - position: absolute; - z-index: 1; - - /* Fade in tooltip */ - visibility: hidden; - opacity: 0; - transition: opacity 0.3s; - } - - .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; - border-image-width: 6px 6px 6px 6px; - border-image-outset: 0px 0px 0px 0px; - border-radius: 0px; - - font-size: 0.8rem; - padding: 3px 0; - } - - .tooltip .ttt-ajustements { - width: 150px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - .tooltip-nobottom { - border-bottom: unset; - /* If you want dots under the hoverable text */ - } - - .tooltip .ttt-xp { - width: 250px; - background: rgba(220, 220, 210, 0.95); - border-radius: 6px; - font-size: 0.9rem; - padding: 3px 0; - } - - /* Show the tooltip text when you mouse over the tooltip container */ - .tooltip:hover .tooltiptext { - visibility: visible; - opacity: 1; - } - - .chat-card-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 4px 4px 0px 4px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - /*margin:2px;*/ - } - - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .chat-card-button:active { - position: relative; - top: 1px; - } - - - .button-sheet-roll { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #41545a 5%, #2e5561 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 1px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - max-height: 1.7rem; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .button-sheet-roll:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: rgb(56, 33, 33); - } - - .button-sheet-roll:active { - position: relative; - top: 1px; - } - - .defense-sheet { - border-radius: 4px; - text-align: center; - display: inline-block; - font-size: 0.8rem; - padding: 1px 1px 0px 1px; - text-decoration: none; - position: relative; - max-height: 1.7rem; - margin-left: 4px; - flex-grow: 1; - max-width: 3.5rem; - min-width: 3.5rem; - } - - .plus-minus-button { - box-shadow: inset 0px 1px 0px 0px #a6827e; - background: linear-gradient(to bottom, #21374afc 5%, #152833ab 100%); - background-color: #7d5d3b00; - border-radius: 4px; - border: 2px ridge #846109; - display: inline-block; - cursor: pointer; - color: #ffffff; - padding: 3px 6px 2px 6px; - text-decoration: none; - text-shadow: 0px 1px 0px #4d3534; - position: relative; - margin: 3px; - max-width: 24px; - max-height: 24px; - } - - .river-button:hover, - .plus-minus-button:hover, - .chat-card-button:hover { - background: linear-gradient(to bottom, #800000 5%, #3e0101 100%); - background-color: red; - } - - .plus-minus-button:active, - .chat-card-button:active { - position: relative; - top: 1px; - } - - .plus-minus { - font-size: 0.9rem; - font-weight: bold; - } - - .ul-level1 { - padding-left: 2rem; - } - - .drop-spec2 { - background: linear-gradient(to bottom, #6c95b9fc 5%, #105177ab 100%); - background-color: #7d5d3b00; - border-radius: 3px; - border: 2px ridge #846109; - } - - .label-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - min-width: 5rem; - max-width: 5rem; - } - - /*************************************************************/ - .competence-name { - padding-top: 7px; - padding-left: 4px; - margin-left: 4px; - flex-grow: 2; - } - - /*************************************************************/ - .competence-niveau { - flex-grow: 1; - min-width: 64px; - max-width: 64px; - } - - /*************************************************************/ - .arme-defensif { - padding-top: 7px; - text-align: center; - flex-grow: 2; - } - - /*************************************************************/ - .item-name-img { - flex-grow: 1; - max-width: 2rem; - min-width: 2rem; - max-height: 2rem; - } - - /*************************************************************/ - #pause { - font-size: 2rem; - } - - #pause>h3 { - color: #CCC - } - - #pause>img { - content: url(../assets/logos/mournblade_logo_chaos.webp); - height: 256px; - width: 256px; - top: -80px; - left: calc(50% - 132px); - } - - #logo { - content: url(../assets/logos/mournblade_logo_texte.webp); - width: 120px; - height: 40px; - } - - .dice-cell { - padding-left: 12px; - padding-right: 12px; - width: 60px; - text-align: center; - } - - .dice-formula, - .dice-total { - height: 54px; - position: relative; - } - - .item-name-label-header { - flex-grow: 2; - max-width: 12rem; - min-width: 12rem; - } - - .item-name-label { - flex-grow: 2; - max-width: 10rem; - min-width: 10rem; - } - - .item-name-label-level2 { - flex-grow: 2; - max-width: 9rem; - min-width: 9rem; - } - - .item-field-label-short { - padding-top: 6px; - flex-grow: 1; - max-width: 4rem; - min-width: 4rem; - } - - .item-field-label-medium { - padding-top: 6px; - flex-grow: 1; - max-width: 6rem; - min-width: 6rem; - } - - .item-field-label-long { - padding-top: 6px; - flex-grow: 1; - max-width: 8rem; - min-width: 8rem; - } - - .item-field-label-long1 { - padding-top: 6px; - flex-grow: 1; - max-width: 12rem; - min-width: 12rem; - } - - .item-field-label-long2 { - padding-top: 6px; - flex-grow: 1; - max-width: 20rem; - min-width: 20rem; - } - - .item-control-end { - align-self: flex-end; - } - - .alternate-list { - margin-top: 2px; - flex-wrap: nowrap; - } - - .item-filler { - flex-grow: 6; - flex-shrink: 7; - } - - .item-controls-fixed { - min-width: 3.2rem; - max-width: 3.2rem; - } - - .item-field { - justify-content: flex-start; - flex-grow: 1; - } - - .chat-success { - font-size: 1.2rem; - font-weight: bold; - color: darkgreen; - } - - .chat-failure { - font-size: 1.2rem; - font-weight: bold; - color: darkred; - } - - .adversite-modify { - margin-top: 12px; - } - - .argent-total-text { - margin-left: 4px; - } - - .compendium h4.entry-name.document-name { - color: black; - } - - .page-title { - color: rgb(233, 226, 226); - } - - textarea { - font-family: "CentaurMT"; - font-size: 0.8rem; - } - - .fxmaster { - background: #443e37E0; - background-color: #443e37E0; - } - - .predilection-text { - padding-left: 8px; - font-style: italic; - font-size: 0.6rem; - } \ No newline at end of file diff --git a/.history/system_20260402221612.json b/.history/system_20260402221612.json deleted file mode 100644 index 8e1fc9d..0000000 --- a/.history/system_20260402221612.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd2", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "13.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd2-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "13", - "verified": "13" - } -} \ No newline at end of file diff --git a/.history/system_20260402221616.json b/.history/system_20260402221616.json deleted file mode 100644 index fd9e088..0000000 --- a/.history/system_20260402221616.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "13.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd2-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "13", - "verified": "13" - } -} \ No newline at end of file diff --git a/.history/system_20260402221619.json b/.history/system_20260402221619.json deleted file mode 100644 index fd9e088..0000000 --- a/.history/system_20260402221619.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "13.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd2-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "13", - "verified": "13" - } -} \ No newline at end of file diff --git a/.history/system_20260402221620.json b/.history/system_20260402221620.json deleted file mode 100644 index fd9e088..0000000 --- a/.history/system_20260402221620.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "13.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd2-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "13", - "verified": "13" - } -} \ No newline at end of file diff --git a/.history/system_20260402221623.json b/.history/system_20260402221623.json deleted file mode 100644 index cf3bf9e..0000000 --- a/.history/system_20260402221623.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "13.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "13", - "verified": "13" - } -} \ No newline at end of file diff --git a/.history/system_20260402221626.json b/.history/system_20260402221626.json deleted file mode 100644 index cf3bf9e..0000000 --- a/.history/system_20260402221626.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "13.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "13", - "verified": "13" - } -} \ No newline at end of file diff --git a/.history/system_20260402221627.json b/.history/system_20260402221627.json deleted file mode 100644 index cf3bf9e..0000000 --- a/.history/system_20260402221627.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "13.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "13", - "verified": "13" - } -} \ No newline at end of file diff --git a/.history/system_20260402221632.json b/.history/system_20260402221632.json deleted file mode 100644 index 32da038..0000000 --- a/.history/system_20260402221632.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "13", - "verified": "13" - } -} \ No newline at end of file diff --git a/.history/system_20260402221636.json b/.history/system_20260402221636.json deleted file mode 100644 index bd7793b..0000000 --- a/.history/system_20260402221636.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "13", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221638.json b/.history/system_20260402221638.json deleted file mode 100644 index e80a1a7..0000000 --- a/.history/system_20260402221638.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd2/assets/ui/fond_mournblade-cyd2.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221640.json b/.history/system_20260402221640.json deleted file mode 100644 index 3dbffa8..0000000 --- a/.history/system_20260402221640.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221644.json b/.history/system_20260402221644.json deleted file mode 100644 index 3dbffa8..0000000 --- a/.history/system_20260402221644.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd2", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221647.json b/.history/system_20260402221647.json deleted file mode 100644 index 45133e8..0000000 --- a/.history/system_20260402221647.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221650.json b/.history/system_20260402221650.json deleted file mode 100644 index 45133e8..0000000 --- a/.history/system_20260402221650.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221651.json b/.history/system_20260402221651.json deleted file mode 100644 index 45133e8..0000000 --- a/.history/system_20260402221651.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221701.json b/.history/system_20260402221701.json deleted file mode 100644 index 79a75a4..0000000 --- a/.history/system_20260402221701.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221702.json b/.history/system_20260402221702.json deleted file mode 100644 index fcf10bc..0000000 --- a/.history/system_20260402221702.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221706.json b/.history/system_20260402221706.json deleted file mode 100644 index c165eb3..0000000 --- a/.history/system_20260402221706.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221708.json b/.history/system_20260402221708.json deleted file mode 100644 index 2c3a24b..0000000 --- a/.history/system_20260402221708.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221711.json b/.history/system_20260402221711.json deleted file mode 100644 index ad56ec1..0000000 --- a/.history/system_20260402221711.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221713.json b/.history/system_20260402221713.json deleted file mode 100644 index f7d2eef..0000000 --- a/.history/system_20260402221713.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221714.json b/.history/system_20260402221714.json deleted file mode 100644 index 5fb83d8..0000000 --- a/.history/system_20260402221714.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221717.json b/.history/system_20260402221717.json deleted file mode 100644 index c0e9c27..0000000 --- a/.history/system_20260402221717.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221719.json b/.history/system_20260402221719.json deleted file mode 100644 index e34d251..0000000 --- a/.history/system_20260402221719.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221721.json b/.history/system_20260402221721.json deleted file mode 100644 index 0fd5828..0000000 --- a/.history/system_20260402221721.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221724.json b/.history/system_20260402221724.json deleted file mode 100644 index fb70590..0000000 --- a/.history/system_20260402221724.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221727.json b/.history/system_20260402221727.json deleted file mode 100644 index 4067947..0000000 --- a/.history/system_20260402221727.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221729.json b/.history/system_20260402221729.json deleted file mode 100644 index b76b593..0000000 --- a/.history/system_20260402221729.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221731.json b/.history/system_20260402221731.json deleted file mode 100644 index 8f418dc..0000000 --- a/.history/system_20260402221731.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221734.json b/.history/system_20260402221734.json deleted file mode 100644 index 3b68dc0..0000000 --- a/.history/system_20260402221734.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd2", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221746.json b/.history/system_20260402221746.json deleted file mode 100644 index 122a534..0000000 --- a/.history/system_20260402221746.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221804.json b/.history/system_20260402221804.json deleted file mode 100644 index 122a534..0000000 --- a/.history/system_20260402221804.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221806.json b/.history/system_20260402221806.json deleted file mode 100644 index 122a534..0000000 --- a/.history/system_20260402221806.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221810.json b/.history/system_20260402221810.json deleted file mode 100644 index 122a534..0000000 --- a/.history/system_20260402221810.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2.0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221853.json b/.history/system_20260402221853.json deleted file mode 100644 index 2208789..0000000 --- a/.history/system_20260402221853.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221907.json b/.history/system_20260402221907.json deleted file mode 100644 index 2208789..0000000 --- a/.history/system_20260402221907.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221908.json b/.history/system_20260402221908.json deleted file mode 100644 index 2208789..0000000 --- a/.history/system_20260402221908.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2.0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221918.json b/.history/system_20260402221918.json deleted file mode 100644 index 0049ef6..0000000 --- a/.history/system_20260402221918.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2-0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221919.json b/.history/system_20260402221919.json deleted file mode 100644 index 0049ef6..0000000 --- a/.history/system_20260402221919.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2.0/archive/fvtt-mournblade-cyd-2-0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221920.json b/.history/system_20260402221920.json deleted file mode 100644 index 999827a..0000000 --- a/.history/system_20260402221920.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/archive/fvtt-mournblade-cyd-2-0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221921.json b/.history/system_20260402221921.json deleted file mode 100644 index 999827a..0000000 --- a/.history/system_20260402221921.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/archive/fvtt-mournblade-cyd-2-0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221922.json b/.history/system_20260402221922.json deleted file mode 100644 index 999827a..0000000 --- a/.history/system_20260402221922.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/archive/fvtt-mournblade-cyd-2-0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221931.json b/.history/system_20260402221931.json deleted file mode 100644 index ba8d7ca..0000000 --- a/.history/system_20260402221931.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/archive/fvtt-mournblade-cyd-2-0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2.0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2.0", - "background": "systems/fvtt-mournblade-cyd-2.0/assets/ui/fond_mournblade-cyd-2.0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221945.json b/.history/system_20260402221945.json deleted file mode 100644 index e969eea..0000000 --- a/.history/system_20260402221945.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/archive/fvtt-mournblade-cyd-2-0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2-0", - "background": "systems/fvtt-mournblade-cyd-2-0/assets/ui/fond_mournblade-cyd-2-0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/system_20260402221946.json b/.history/system_20260402221946.json deleted file mode 100644 index e969eea..0000000 --- a/.history/system_20260402221946.json +++ /dev/null @@ -1,274 +0,0 @@ -{ - "id": "fvtt-mournblade-cyd-2-0", - "description": "MournbladeCYD2 RPG for FoundryVTT (CYD system - French)", - "version": "14.0.0", - "grid": { - "distance": 2, - "units": "m" - }, - "authors": [ - { - "name": "Uberwald/LeRatierBretonnien", - "flags": {} - } - ], - "esmodules": [ - "modules/mournblade-cyd2-main.js" - ], - "license": "LICENSE.txt", - "manifest": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/raw/branch/main/system.json", - "download": "https://www.uberwald.me/gitea/uberwald/fvtt-mournblade-cyd-2-0/archive/fvtt-mournblade-cyd-2-0-13.0.0.zip", - "languages": [ - { - "lang": "fr", - "name": "French", - "path": "lang/fr.json", - "flags": {} - } - ], - "packFolders": [ - { - "name": "MournbladeCYD2", - "sorting": "m", - "color": "#00435c", - "folders": [ - { - "name": "Création de Personnage", - "sorting": "a", - "color": "#00435c", - "packs": [ - "skills", - "dons", - "tendances", - "traits-chaotiques", - "runes", - "historiques", - "profils", - "talents" - ], - "folders": [] - }, - { - "name": "Equipement", - "sorting": "a", - "color": "#00435c", - "packs": [ - "armes", - "protections", - "equipement" - ], - "folders": [] - }, - { - "name": "Autre", - "sorting": "a", - "color": "#00435c", - "packs": [ - "pnj-creatures", - "skills-creatures", - "tables", - "aides-de-jeu", - "scenes" - ], - "folders": [] - } - ], - "packs": [] - } - ], - "packs": [ - { - "type": "Item", - "label": "Compétences", - "name": "skills", - "path": "packs/skills", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Compétences de Créatures", - "name": "skills-creatures", - "path": "packs/skills-creatures", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Historiques", - "name": "historiques", - "path": "packs/historiques", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Armes", - "name": "armes", - "path": "packs/armes", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Protections", - "name": "protections", - "path": "packs/protections", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Equipement", - "name": "equipement", - "path": "packs/equipement", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "label": "Dons", - "type": "Item", - "name": "dons", - "path": "packs/dons", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Tendances", - "name": "tendances", - "path": "packs/tendances", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Traits chaotiques", - "name": "traits-chaotiques", - "path": "packs/traits-chaotiques", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Runes", - "name": "runes", - "path": "packs/runes", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Profils", - "name": "profils", - "path": "packs/profils", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Item", - "label": "Talents de Personnage", - "name": "talents", - "path": "packs/talents", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "RollTable", - "label": "Tables", - "name": "tables", - "path": "packs/tables", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "Scene", - "label": "Scènes", - "name": "scenes", - "path": "packs/scenes", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - }, - { - "type": "JournalEntry", - "label": "Aides de Jeu", - "name": "aides-de-jeu", - "path": "packs/aides-de-jeu", - "system": "fvtt-mournblade-cyd-2-0", - "flags": {}, - "ownership": { - "PLAYER": "OBSERVER", - "ASSISTANT": "OWNER" - } - } - ], - "primaryTokenAttribute": "sante.vigueur", - "secondaryTokenAttribute": "bonneaventure.actuelle", - "socket": true, - "styles": [ - "styles/mournblade-cyd2.css" - ], - "title": "MournbladeCYD2 - CYD System", - "url": "https://www.uberwald.me/gitea/public/fvtt-mournblade-cyd-2-0", - "background": "systems/fvtt-mournblade-cyd-2-0/assets/ui/fond_mournblade-cyd-2-0.webp", - "compatibility": { - "minimum": "14", - "verified": "14" - } -} \ No newline at end of file diff --git a/.history/template_20251026000239.json b/.history/template_20251026000239.json deleted file mode 100644 index b38034f..0000000 --- a/.history/template_20251026000239.json +++ /dev/null @@ -1,282 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "cellule", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - } - } -} \ No newline at end of file diff --git a/.history/template_20251026000258.json b/.history/template_20251026000258.json deleted file mode 100644 index d9a26ab..0000000 --- a/.history/template_20251026000258.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "cellule", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026000329.json b/.history/template_20251026000329.json deleted file mode 100644 index fe71f54..0000000 --- a/.history/template_20251026000329.json +++ /dev/null @@ -1,330 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "cellule", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026002439.json b/.history/template_20251026002439.json deleted file mode 100644 index d8d157a..0000000 --- a/.history/template_20251026002439.json +++ /dev/null @@ -1,338 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "cellule", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026002502.json b/.history/template_20251026002502.json deleted file mode 100644 index d8d157a..0000000 --- a/.history/template_20251026002502.json +++ /dev/null @@ -1,338 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "cellule", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026082017.json b/.history/template_20251026082017.json deleted file mode 100644 index a56f334..0000000 --- a/.history/template_20251026082017.json +++ /dev/null @@ -1,344 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "cellule", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026082309.json b/.history/template_20251026082309.json deleted file mode 100644 index a56f334..0000000 --- a/.history/template_20251026082309.json +++ /dev/null @@ -1,344 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "cellule", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026082532.json b/.history/template_20251026082532.json deleted file mode 100644 index 5729671..0000000 --- a/.history/template_20251026082532.json +++ /dev/null @@ -1,345 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "cellule", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 7 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026082721.json b/.history/template_20251026082721.json deleted file mode 100644 index 5729671..0000000 --- a/.history/template_20251026082721.json +++ /dev/null @@ -1,345 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "cellule", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 7 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026095638.json b/.history/template_20251026095638.json deleted file mode 100644 index 81aa609..0000000 --- a/.history/template_20251026095638.json +++ /dev/null @@ -1,344 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 7 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "cellule": { - "notoriete": 0, - "resistance": 0, - "developpement": 0, - "members": [], - "description": "" - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026095646.json b/.history/template_20251026095646.json deleted file mode 100644 index 8acd3bc..0000000 --- a/.history/template_20251026095646.json +++ /dev/null @@ -1,337 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 7 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "celluleinfo": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026095652.json b/.history/template_20251026095652.json deleted file mode 100644 index 2f68c59..0000000 --- a/.history/template_20251026095652.json +++ /dev/null @@ -1,336 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 7 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026100138.json b/.history/template_20251026100138.json deleted file mode 100644 index 2f68c59..0000000 --- a/.history/template_20251026100138.json +++ /dev/null @@ -1,336 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 7 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026113831.json b/.history/template_20251026113831.json deleted file mode 100644 index 3b6b26e..0000000 --- a/.history/template_20251026113831.json +++ /dev/null @@ -1,336 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 0 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026113912.json b/.history/template_20251026113912.json deleted file mode 100644 index f1570eb..0000000 --- a/.history/template_20251026113912.json +++ /dev/null @@ -1,336 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 0 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026113914.json b/.history/template_20251026113914.json deleted file mode 100644 index 5180d80..0000000 --- a/.history/template_20251026113914.json +++ /dev/null @@ -1,336 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 0, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026113921.json b/.history/template_20251026113921.json deleted file mode 100644 index 664545b..0000000 --- a/.history/template_20251026113921.json +++ /dev/null @@ -1,336 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "artefact", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026131950.json b/.history/template_20251026131950.json deleted file mode 100644 index a825721..0000000 --- a/.history/template_20251026131950.json +++ /dev/null @@ -1,335 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "artefact": { - "complexite": 0, - "branche": "", - "branche2": "none", - "dureerealisation": "", - "tempsroute": "", - "effetdejeu": "", - "defautcourant": "", - "autrescarac": "", - "avantagespossibles": "", - "avantages": "", - "competences": "", - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026132040.json b/.history/template_20251026132040.json deleted file mode 100644 index b025dcc..0000000 --- a/.history/template_20251026132040.json +++ /dev/null @@ -1,318 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026132457.json b/.history/template_20251026132457.json deleted file mode 100644 index b025dcc..0000000 --- a/.history/template_20251026132457.json +++ /dev/null @@ -1,318 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "ressource", - "contact", - "mutation", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026132619.json b/.history/template_20251026132619.json deleted file mode 100644 index a5998be..0000000 --- a/.history/template_20251026132619.json +++ /dev/null @@ -1,317 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "ressource", - "contact", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "mutation": { - "templates": [ - "base" - ], - "mutationcategorie": "tares_communes", - "hascomplexite": false, - "complexite": 0 - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026132641.json b/.history/template_20251026132641.json deleted file mode 100644 index 1b2b55c..0000000 --- a/.history/template_20251026132641.json +++ /dev/null @@ -1,309 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "ressource", - "contact", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026132939.json b/.history/template_20251026132939.json deleted file mode 100644 index 1b2b55c..0000000 --- a/.history/template_20251026132939.json +++ /dev/null @@ -1,309 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "ressource", - "contact", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026133152.json b/.history/template_20251026133152.json deleted file mode 100644 index 8aa7b2b..0000000 --- a/.history/template_20251026133152.json +++ /dev/null @@ -1,308 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "ressource", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "contact": { - "contacttype": "", - "niveau": "", - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026133219.json b/.history/template_20251026133219.json deleted file mode 100644 index 038cb77..0000000 --- a/.history/template_20251026133219.json +++ /dev/null @@ -1,302 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "ressource", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/template_20251026133243.json b/.history/template_20251026133243.json deleted file mode 100644 index 038cb77..0000000 --- a/.history/template_20251026133243.json +++ /dev/null @@ -1,302 +0,0 @@ -{ - "Actor": { - "types": [ - "personnage", - "creature" - ], - "templates": { - "biodata": { - "biodata": { - "name": "", - "age": 20, - "poids": "", - "taille": "", - "cheveux": "", - "sexe": "", - "yeux": "", - "description": "", - "habitat": "", - "notes": "", - "statut": "", - "gmnotes": "", - "statutresistant": "commun" - } - }, - "core": { - "subactors": [], - "attributs": { - "adr": { - "label": "Adresse", - "labelnorm": "adresse", - "abbrev": "adr", - "value": 1 - }, - "pui": { - "label": "Puissance", - "labelnorm": "puissance", - "abbrev": "pui", - "value": 1 - }, - "cla": { - "label": "Clairvoyance", - "labelnorm": "clairvoyance", - "abbrev": "cla", - "value": 1 - }, - "pre": { - "label": "Présence", - "labelnorm": "presence", - "abbrev": "pre", - "value": 1 - }, - "tre": { - "label": "Trempe", - "labelnorm": "trempe", - "abbrev": "tre", - "value": 1 - } - }, - "bonneaventure": { - "base": 0, - "actuelle": 0 - }, - "experience": { - "value": 0 - }, - "eclat": { - "value": 0 - }, - "sante": { - "vigueur": 0, - "etat": 0, - "vigueurmodifier": 0, - "nbcombativite": 5 - }, - "ame": { - "seuilpouvoir": 0, - "etat": 0, - "seuilpouvoirmodifier": 0, - "nbame": 7, - "max": 0 - }, - "adversite": { - "bleue": 0, - "rouge": 0, - "noire": 0 - }, - "vitesse": { - "value": 0 - }, - "combat": { - "initbonus": 0, - "vitessebonus": 0, - "bonusdegats": 0, - "attaquebonus": 0, - "defensebonus": 0, - "defensetotale": false, - "monte": false - }, - "balance": { - "loi": 0, - "chaos": 0, - "aspect": 0, - "marge": 0, - "pointschaos": 0, - "pointsloi": 0 - } - }, - "npccore": { - "npctype": "", - "description": "" - } - }, - "personnage": { - "templates": [ - "biodata", - "core" - ] - }, - "creature": { - "templates": [ - "core", - "biodata" - ], - "ressources": { - "value": 0 - } - } - }, - "Item": { - "templates": { - "base": { - "description": "" - }, - "basequip": { - "prixpo": 0, - "prixca": 0, - "prixsc": 0, - "rarete": 0, - "quantite": 1, - "equipped": false - }, - "automation": { - "isautomated": false, - "automations": [] - } - }, - "types": [ - "talent", - "historique", - "profil", - "competence", - "arme", - "protection", - "monnaie", - "equipement", - "ressource", - "don", - "pacte", - "rune", - "runeeffect", - "tendance", - "traitchaotique", - "traitespece" - ], - "ressource": { - "pointdev": 0, - "description": "" - }, - "talent": { - "talenttype": "", - "utilisation": "", - "prerequis": "", - "resumebonus": "", - "used": false, - "templates": [ - "base", - "automation" - ] - }, - "historique": { - "bonusmalus": "", - "templates": [ - "base" - ] - }, - "profil": { - "exemples": "", - "attribut1": "", - "attribut2": "", - "attribut3": "", - "competences": "", - "talentsinitie": "", - "prerequisaguerri": "", - "talentsaguerri": "", - "prerequismaitre": "", - "talentsmaitre": "", - "equipement": "", - "templates": [ - "base" - ] - }, - "equipement": { - "templates": [ - "base", - "basequip" - ] - }, - "competence": { - "niveau": 0, - "attribut1": "", - "attribut2": "", - "attribut3": "", - "doublebonus": false, - "predilections": [], - "templates": [ - "base" - ] - }, - "arme": { - "typearme": "", - "armenaturelle": false, - "armefortune": false, - "bonusmaniementoff": 0, - "seuildefense": 0, - "onlevelonly": false, - "degats": "", - "deuxmains": false, - "percearmure": false, - "percearmurevalue": 0, - "courte": 0, - "moyenne": 0, - "longue": 0, - "tr": 0, - "templates": [ - "base", - "basequip" - ] - }, - "protection": { - "protection": 0, - "adversitepoids" :0, - "templates": [ - "base", - "basequip" - ] - }, - "monnaie": { - "templates": [ - "base", - "basequip" - ] - }, - "don": { - "allegeance": "", - "prerequis": "", - "sacrifice": "", - "templates": [ - "base" - ] - }, - "pacte": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "rune": { - "formule": "", - "seuil": 0, - "prononcee": "", - "tracee": "", - "templates": [ - "base" - ] - }, - "runeeffect": { - "rune": "", - "mode": "", - "duree": "", - "pointame": 0, - "templates": [ - "base" - ] - }, - "tendance": { - "allegeance": "", - "templates": [ - "base" - ] - }, - "traitchaotique": { - "templates": [ - "base" - ] - }, - "traitespece": { - "templates": [ - "base" - ] - } - } -} \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026001415.html b/.history/templates/actor-sheet_20251026001415.html deleted file mode 100644 index a0e926b..0000000 --- a/.history/templates/actor-sheet_20251026001415.html +++ /dev/null @@ -1,638 +0,0 @@ -