From d1fbe611ef495711af149105b7a917c8110e2c82 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Sun, 7 Jun 2026 23:52:50 +0200 Subject: [PATCH] Fix fiche creature --- .history/README_20251025234409.md | 29 - .history/README_20251026002959.md | 29 - .history/README_20251026003003.md | 29 - .history/README_20251026003006.md | 29 - .history/README_20251026003011.md | 29 - .history/README_20251026003013.md | 29 - .history/README_20251026003038.md | 29 - .history/README_20251026003041.md | 29 - .history/README_20251026003045.md | 29 - .history/README_20251026003051.md | 29 - .history/README_20251026003057.md | 29 - .history/README_20251026003102.md | 29 - .history/README_20251026003110.md | 29 - .history/lang/fr_20251026000859.json | 38 - .history/lang/fr_20251026001011.json | 38 - .history/lang/fr_20251026004844.json | 38 - .history/lang/fr_20251026004905.json | 38 - .history/lang/fr_20251026095913.json | 37 - .history/lang/fr_20251026100139.json | 37 - .history/lang/fr_20251026132312.json | 36 - .history/lang/fr_20251026132458.json | 36 - .history/lang/fr_20251026132800.json | 35 - .history/lang/fr_20251026132940.json | 35 - .history/lang/fr_20251026133304.json | 34 - .history/lang/fr_20251026133310.json | 32 - .history/lang/fr_20251026133355.json | 32 - .../macro-replace-images_20251026112045.js | 116 -- .../macro-replace-images_20251026112109.js | 116 -- ...rnblade-cyd2-actor-sheet_20251026001316.js | 222 --- ...rnblade-cyd2-actor-sheet_20251026001548.js | 222 --- ...rnblade-cyd2-actor-sheet_20251026002630.js | 224 --- ...rnblade-cyd2-actor-sheet_20251026002719.js | 224 --- ...rnblade-cyd2-actor-sheet_20251026082045.js | 226 --- ...rnblade-cyd2-actor-sheet_20251026082310.js | 226 --- ...rnblade-cyd2-actor-sheet_20251026082630.js | 227 --- ...rnblade-cyd2-actor-sheet_20251026082724.js | 227 --- ...rnblade-cyd2-actor-sheet_20251026083617.js | 228 --- ...rnblade-cyd2-actor-sheet_20251026083658.js | 228 --- ...rnblade-cyd2-actor-sheet_20251026095818.js | 227 --- ...rnblade-cyd2-actor-sheet_20251026095829.js | 213 --- ...rnblade-cyd2-actor-sheet_20251026100139.js | 213 --- ...rnblade-cyd2-actor-sheet_20251026132141.js | 212 --- ...rnblade-cyd2-actor-sheet_20251026132457.js | 212 --- ...rnblade-cyd2-actor-sheet_20251026132705.js | 211 --- ...rnblade-cyd2-actor-sheet_20251026132939.js | 211 --- .../mournblade-cyd2-actor_20260402224326.js | 916 ---------- .../mournblade-cyd2-actor_20260402224333.js | 916 ---------- .../mournblade-cyd2-config_20251026082216.js | 144 -- .../mournblade-cyd2-config_20251026082310.js | 144 -- .../mournblade-cyd2-config_20251026095844.js | 143 -- .../mournblade-cyd2-config_20251026100139.js | 143 -- .../mournblade-cyd2-config_20251026132250.js | 128 -- .../mournblade-cyd2-config_20251026132458.js | 128 -- .../mournblade-cyd2-config_20251026132740.js | 118 -- .../mournblade-cyd2-config_20251026132940.js | 118 -- .../mournblade-cyd2-config_20251026133248.js | 114 -- .../mournblade-cyd2-config_20251026133355.js | 114 -- .../mournblade-cyd2-config_20251026142014.js | 121 -- .../mournblade-cyd2-config_20251026142018.js | 121 -- .../mournblade-cyd2-config_20251026142026.js | 129 -- .../mournblade-cyd2-config_20251026142035.js | 129 -- .../mournblade-cyd2-config_20251026142102.js | 129 -- .../mournblade-cyd2-config_20251026142109.js | 129 -- .../mournblade-cyd2-config_20251026142110.js | 129 -- .../mournblade-cyd2-config_20251026142113.js | 129 -- .../mournblade-cyd2-config_20251026142115.js | 129 -- .../mournblade-cyd2-config_20251026142117.js | 129 -- .../mournblade-cyd2-config_20251026142118.js | 129 -- ...urnblade-cyd2-item-sheet_20251025235545.js | 228 --- ...urnblade-cyd2-item-sheet_20251026131931.js | 228 --- ...urnblade-cyd2-item-sheet_20251026131933.js | 228 --- ...urnblade-cyd2-item-sheet_20251026131940.js | 228 --- ...urnblade-cyd2-item-sheet_20251026131943.js | 228 --- .../mournblade-cyd2-item_20251026132229.js | 31 - .../mournblade-cyd2-item_20251026132458.js | 31 - .../mournblade-cyd2-item_20251026132726.js | 30 - .../mournblade-cyd2-item_20251026132940.js | 30 - .../mournblade-cyd2-item_20251026133240.js | 29 - .../mournblade-cyd2-item_20251026133244.js | 29 - .../mournblade-cyd2-item_20251026133401.js | 30 - .../mournblade-cyd2-item_20251026133402.js | 30 - .../mournblade-cyd2-item_20251026133404.js | 34 - .../mournblade-cyd2-item_20251026133405.js | 34 - .../mournblade-cyd2-item_20251026133408.js | 30 - .../mournblade-cyd2-item_20251026133409.js | 34 - .../mournblade-cyd2-item_20251026133412.js | 34 - .../mournblade-cyd2-item_20251026133413.js | 34 - .../mournblade-cyd2-item_20251026133414.js | 33 - .../mournblade-cyd2-item_20251026133417.js | 33 - .../mournblade-cyd2-item_20251026133418.js | 33 - .../mournblade-cyd2-item_20251026133421.js | 34 - .../mournblade-cyd2-item_20251026133424.js | 34 - .../mournblade-cyd2-item_20251026133450.js | 34 - .../mournblade-cyd2-item_20251026133455.js | 35 - .../mournblade-cyd2-item_20251026133613.js | 35 - .../mournblade-cyd2-item_20251026133616.js | 35 - .../mournblade-cyd2-main_20251025235708.js | 140 -- .../mournblade-cyd2-main_20251025235732.js | 140 -- .../mournblade-cyd2-main_20251026095731.js | 139 -- .../mournblade-cyd2-main_20251026095740.js | 138 -- .../mournblade-cyd2-main_20251026100138.js | 138 -- .../mournblade-cyd2-main_20251026134251.js | 138 -- .../mournblade-cyd2-main_20251026134253.js | 138 -- .../mournblade-cyd2-main_20251026134255.js | 138 -- .../mournblade-cyd2-main_20251026134256.js | 138 -- .../mournblade-cyd2-main_20251026134257.js | 138 -- .../mournblade-cyd2-main_20251026134302.js | 138 -- .../mournblade-cyd2-main_20251026134307.js | 138 -- .../mournblade-cyd2-main_20251026134320.js | 138 -- .../mournblade-cyd2-main_20251026134322.js | 138 -- .../mournblade-cyd2-main_20251026134323.js | 138 -- .../mournblade-cyd2-main_20251026134327.js | 138 -- .../mournblade-cyd2-utility_20251025235653.js | 834 --------- .../mournblade-cyd2-utility_20251025235700.js | 834 --------- .../mournblade-cyd2-utility_20251026004520.js | 836 --------- .../mournblade-cyd2-utility_20251026004545.js | 836 --------- .../mournblade-cyd2-utility_20251026082019.js | 848 --------- .../mournblade-cyd2-utility_20251026082309.js | 848 --------- .../mournblade-cyd2-utility_20251026082642.js | 863 --------- .../mournblade-cyd2-utility_20251026082723.js | 863 --------- .../mournblade-cyd2-utility_20251026083105.js | 865 --------- .../mournblade-cyd2-utility_20251026083154.js | 865 --------- .../mournblade-cyd2-utility_20251026083451.js | 863 --------- .../mournblade-cyd2-utility_20251026083504.js | 863 --------- .../mournblade-cyd2-utility_20251026083636.js | 872 --------- .../mournblade-cyd2-utility_20251026083658.js | 872 --------- .../mournblade-cyd2-utility_20251026083819.js | 888 --------- .../mournblade-cyd2-utility_20251026083937.js | 888 --------- .../mournblade-cyd2-utility_20251026084222.js | 900 --------- .../mournblade-cyd2-utility_20251026084417.js | 900 --------- .../mournblade-cyd2-utility_20251026084555.js | 901 --------- .../mournblade-cyd2-utility_20251026084610.js | 901 --------- .../mournblade-cyd2-utility_20251026095902.js | 885 --------- .../mournblade-cyd2-utility_20251026100139.js | 885 --------- .../mournblade-cyd2-utility_20251026133256.js | 884 --------- .../mournblade-cyd2-utility_20251026133355.js | 884 --------- .../mournblade-cyd2-utility_20251026134747.js | 878 --------- .../mournblade-cyd2-utility_20251026134748.js | 878 --------- .history/package_20260402205739.json | 16 - .history/package_20260402222004.json | 16 - .history/styles/simple_20251026004123.css | 1590 ---------------- .history/styles/simple_20251026004154.css | 1590 ---------------- .history/styles/simple_20251026112938.css | 1593 ---------------- .history/styles/simple_20251026112943.css | 1593 ---------------- .history/styles/simple_20251026112945.css | 1593 ---------------- .history/styles/simple_20251026112948.css | 1593 ---------------- .history/styles/simple_20251026112955.css | 1595 ---------------- .history/styles/simple_20251026113043.css | 1597 ---------------- .history/styles/simple_20251026113045.css | 1597 ---------------- .history/styles/simple_20251026113046.css | 1597 ---------------- .history/styles/simple_20251026113049.css | 1597 ---------------- .history/styles/simple_20251026113050.css | 1598 ---------------- .history/styles/simple_20251026114302.css | 1597 ---------------- .history/styles/simple_20251026114447.css | 1596 ---------------- .history/styles/simple_20251026114525.css | 1595 ---------------- .history/styles/simple_20251026114528.css | 1594 ---------------- .history/styles/simple_20251026114533.css | 1593 ---------------- .history/styles/simple_20251026114538.css | 1592 ---------------- .history/styles/simple_20251026114541.css | 1593 ---------------- .history/styles/simple_20251026114543.css | 1593 ---------------- .history/styles/simple_20251026114806.css | 1589 ---------------- .history/styles/simple_20251026114835.css | 1591 ---------------- .history/styles/simple_20251026114836.css | 1591 ---------------- .history/styles/simple_20251026114840.css | 1591 ---------------- .history/styles/simple_20251026114842.css | 1591 ---------------- .history/styles/simple_20251026114854.css | 1591 ---------------- .history/styles/simple_20251026114917.css | 1592 ---------------- .history/styles/simple_20251026114921.css | 1592 ---------------- .history/styles/simple_20251026114923.css | 1592 ---------------- .history/styles/simple_20251026114934.css | 1593 ---------------- .history/styles/simple_20251026114936.css | 1593 ---------------- .history/styles/simple_20251026114937.css | 1593 ---------------- .history/styles/simple_20251026114939.css | 1592 ---------------- .history/styles/simple_20251026114955.css | 1593 ---------------- .history/styles/simple_20251026114957.css | 1593 ---------------- .history/styles/simple_20251026115003.css | 1593 ---------------- .history/styles/simple_20251026115005.css | 1593 ---------------- .history/styles/simple_20251026115007.css | 1593 ---------------- .history/styles/simple_20251026115011.css | 1593 ---------------- .history/styles/simple_20251026115014.css | 1595 ---------------- .history/styles/simple_20251026115017.css | 1595 ---------------- .history/styles/simple_20251026115024.css | 1595 ---------------- .history/styles/simple_20251026115026.css | 1597 ---------------- .history/styles/simple_20251026115112.css | 1597 ---------------- .history/styles/simple_20251026115116.css | 1597 ---------------- .history/styles/simple_20251026115210.css | 1598 ---------------- .history/styles/simple_20251026115213.css | 1598 ---------------- .history/styles/simple_20251026115225.css | 1599 ---------------- .history/styles/simple_20251026115227.css | 1599 ---------------- .history/styles/simple_20251026115228.css | 1599 ---------------- .history/styles/simple_20251026115236.css | 1598 ---------------- .history/styles/simple_20251026115237.css | 1597 ---------------- .history/styles/simple_20251026115240.css | 1598 ---------------- .history/styles/simple_20251026115242.css | 1598 ---------------- .history/styles/simple_20251026115257.css | 1599 ---------------- .history/styles/simple_20251026115259.css | 1599 ---------------- .history/styles/simple_20251026115301.css | 1599 ---------------- .history/styles/simple_20251026121323.css | 1599 ---------------- .history/styles/simple_20251026121339.css | 1599 ---------------- .history/styles/simple_20251026121454.css | 1599 ---------------- .history/styles/simple_20251026121455.css | 1599 ---------------- .history/styles/simple_20251026121515.css | 1599 ---------------- .history/styles/simple_20251026121553.css | 1599 ---------------- .history/styles/simple_20251026121558.css | 1599 ---------------- .history/styles/simple_20251026121651.css | 1599 ---------------- .history/styles/simple_20251026121728.css | 1599 ---------------- .history/styles/simple_20251026121734.css | 1599 ---------------- .history/styles/simple_20251026121751.css | 1599 ---------------- .history/styles/simple_20251026121815.css | 1599 ---------------- .history/styles/simple_20251026121820.css | 1599 ---------------- .history/styles/simple_20251026121844.css | 1599 ---------------- .history/styles/simple_20251026131613.css | 1600 ---------------- .history/styles/simple_20251026131618.css | 1602 ---------------- .history/styles/simple_20251026131620.css | 1604 ---------------- .history/styles/simple_20251026131622.css | 1604 ---------------- .history/styles/simple_20251026131624.css | 1605 ---------------- .history/styles/simple_20251026131629.css | 1605 ---------------- .history/styles/simple_20251026133935.css | 1606 ---------------- .history/styles/simple_20251026133937.css | 1606 ---------------- .history/styles/simple_20251026133939.css | 1606 ---------------- .history/styles/simple_20251026133942.css | 1606 ---------------- .history/styles/simple_20251026133944.css | 1606 ---------------- .history/styles/simple_20251026133947.css | 1606 ---------------- .history/styles/simple_20251026134004.css | 1606 ---------------- .history/styles/simple_20251026134017.css | 1605 ---------------- .history/styles/simple_20251026134022.css | 1606 ---------------- .history/styles/simple_20251026134024.css | 1606 ---------------- .history/styles/simple_20251026134030.css | 1606 ---------------- .history/styles/simple_20251026134115.css | 1606 ---------------- .history/styles/simple_20251026134118.css | 1606 ---------------- .history/styles/simple_20251026134143.css | 1606 ---------------- .history/styles/simple_20251026134150.css | 1608 ---------------- .history/styles/simple_20251026134151.css | 1608 ---------------- .history/styles/simple_20251026134153.css | 1608 ---------------- .history/styles/simple_20251026134155.css | 1608 ---------------- .history/styles/simple_20251026134158.css | 1608 ---------------- .history/styles/simple_20251026134159.css | 1611 ---------------- .history/styles/simple_20251026134200.css | 1611 ---------------- .history/styles/simple_20251026134235.css | 1611 ---------------- .history/styles/simple_20251026134353.css | 1612 ---------------- .history/styles/simple_20251026134356.css | 1612 ---------------- .history/styles/simple_20251026134357.css | 1614 ---------------- .history/styles/simple_20251026134358.css | 1615 ---------------- .history/styles/simple_20251026134359.css | 1615 ---------------- .history/styles/simple_20251026134625.css | 1615 ---------------- .history/styles/simple_20251026134628.css | 1616 ---------------- .history/styles/simple_20251026134629.css | 1615 ---------------- .history/styles/simple_20251026134631.css | 1615 ---------------- .history/styles/simple_20251026134632.css | 1615 ---------------- .history/styles/simple_20251026134638.css | 1616 ---------------- .history/styles/simple_20251026134640.css | 1616 ---------------- .history/styles/simple_20251026134641.css | 1616 ---------------- .history/styles/simple_20251026135413.css | 1617 ----------------- .history/styles/simple_20251026135419.css | 1617 ----------------- .history/styles/simple_20251026135421.css | 1617 ----------------- .history/styles/simple_20251026135424.css | 1617 ----------------- .history/styles/simple_20251026135706.css | 1617 ----------------- .history/styles/simple_20251026135747.css | 1617 ----------------- .history/styles/simple_20251026135806.css | 1617 ----------------- .history/styles/simple_20251026135821.css | 1617 ----------------- .history/styles/simple_20251026135835.css | 1617 ----------------- .history/styles/simple_20251026135914.css | 1617 ----------------- .history/system_20260402221612.json | 274 --- .history/system_20260402221616.json | 274 --- .history/system_20260402221619.json | 274 --- .history/system_20260402221620.json | 274 --- .history/system_20260402221623.json | 274 --- .history/system_20260402221626.json | 274 --- .history/system_20260402221627.json | 274 --- .history/system_20260402221632.json | 274 --- .history/system_20260402221636.json | 274 --- .history/system_20260402221638.json | 274 --- .history/system_20260402221640.json | 274 --- .history/system_20260402221644.json | 274 --- .history/system_20260402221647.json | 274 --- .history/system_20260402221650.json | 274 --- .history/system_20260402221651.json | 274 --- .history/system_20260402221701.json | 274 --- .history/system_20260402221702.json | 274 --- .history/system_20260402221706.json | 274 --- .history/system_20260402221708.json | 274 --- .history/system_20260402221711.json | 274 --- .history/system_20260402221713.json | 274 --- .history/system_20260402221714.json | 274 --- .history/system_20260402221717.json | 274 --- .history/system_20260402221719.json | 274 --- .history/system_20260402221721.json | 274 --- .history/system_20260402221724.json | 274 --- .history/system_20260402221727.json | 274 --- .history/system_20260402221729.json | 274 --- .history/system_20260402221731.json | 274 --- .history/system_20260402221734.json | 274 --- .history/system_20260402221746.json | 274 --- .history/system_20260402221804.json | 274 --- .history/system_20260402221806.json | 274 --- .history/system_20260402221810.json | 274 --- .history/system_20260402221853.json | 274 --- .history/system_20260402221907.json | 274 --- .history/system_20260402221908.json | 274 --- .history/system_20260402221918.json | 274 --- .history/system_20260402221919.json | 274 --- .history/system_20260402221920.json | 274 --- .history/system_20260402221921.json | 274 --- .history/system_20260402221922.json | 274 --- .history/system_20260402221931.json | 274 --- .history/system_20260402221945.json | 274 --- .history/system_20260402221946.json | 274 --- .history/template_20251026000239.json | 282 --- .history/template_20251026000258.json | 330 ---- .history/template_20251026000329.json | 330 ---- .history/template_20251026002439.json | 338 ---- .history/template_20251026002502.json | 338 ---- .history/template_20251026082017.json | 344 ---- .history/template_20251026082309.json | 344 ---- .history/template_20251026082532.json | 345 ---- .history/template_20251026082721.json | 345 ---- .history/template_20251026095638.json | 344 ---- .history/template_20251026095646.json | 337 ---- .history/template_20251026095652.json | 336 ---- .history/template_20251026100138.json | 336 ---- .history/template_20251026113831.json | 336 ---- .history/template_20251026113912.json | 336 ---- .history/template_20251026113914.json | 336 ---- .history/template_20251026113921.json | 336 ---- .history/template_20251026131950.json | 335 ---- .history/template_20251026132040.json | 318 ---- .history/template_20251026132457.json | 318 ---- .history/template_20251026132619.json | 317 ---- .history/template_20251026132641.json | 309 ---- .history/template_20251026132939.json | 309 ---- .history/template_20251026133152.json | 308 ---- .history/template_20251026133219.json | 302 --- .history/template_20251026133243.json | 302 --- .../templates/actor-sheet_20251026001415.html | 638 ------- .../templates/actor-sheet_20251026001549.html | 638 ------- .../templates/actor-sheet_20251026001923.html | 817 --------- .../templates/actor-sheet_20251026002143.html | 817 --------- .../templates/actor-sheet_20251026002523.html | 843 --------- .../templates/actor-sheet_20251026002720.html | 843 --------- .../templates/actor-sheet_20251026082058.html | 853 --------- .../templates/actor-sheet_20251026082111.html | 858 --------- .../templates/actor-sheet_20251026082310.html | 858 --------- .../templates/actor-sheet_20251026082534.html | 861 --------- .../templates/actor-sheet_20251026082725.html | 861 --------- .../templates/actor-sheet_20251026083122.html | 870 --------- .../templates/actor-sheet_20251026083152.html | 870 --------- .../templates/actor-sheet_20251026083442.html | 861 --------- .../templates/actor-sheet_20251026083504.html | 861 --------- .../templates/actor-sheet_20251026083638.html | 863 --------- .../templates/actor-sheet_20251026083658.html | 863 --------- .../templates/actor-sheet_20251026095932.html | 824 --------- .../templates/actor-sheet_20251026100139.html | 824 --------- .../templates/actor-sheet_20251026104104.html | 824 --------- .../templates/actor-sheet_20251026104106.html | 825 --------- .../templates/actor-sheet_20251026104118.html | 828 --------- .../templates/actor-sheet_20251026104123.html | 828 --------- .../templates/actor-sheet_20251026104126.html | 828 --------- .../templates/actor-sheet_20251026104132.html | 828 --------- .../templates/actor-sheet_20251026104137.html | 828 --------- .../templates/actor-sheet_20251026104145.html | 796 -------- .../templates/actor-sheet_20251026104233.html | 795 -------- .../templates/actor-sheet_20251026104239.html | 794 -------- .../templates/actor-sheet_20251026104254.html | 794 -------- .../templates/actor-sheet_20251026104308.html | 795 -------- .../templates/actor-sheet_20251026104319.html | 798 -------- .../templates/actor-sheet_20251026104321.html | 798 -------- .../templates/actor-sheet_20251026104322.html | 798 -------- .../templates/actor-sheet_20251026104324.html | 797 -------- .../templates/actor-sheet_20251026104444.html | 797 -------- .../templates/actor-sheet_20251026114000.html | 791 -------- .../templates/actor-sheet_20251026114722.html | 792 -------- .../templates/actor-sheet_20251026114726.html | 793 -------- .../templates/actor-sheet_20251026115045.html | 793 -------- .../templates/actor-sheet_20251026115049.html | 793 -------- .../templates/actor-sheet_20251026115055.html | 793 -------- .../templates/actor-sheet_20251026115433.html | 793 -------- .../templates/actor-sheet_20251026115436.html | 793 -------- .../templates/actor-sheet_20251026115440.html | 793 -------- .../templates/actor-sheet_20251026115444.html | 793 -------- .../templates/actor-sheet_20251026115447.html | 793 -------- .../templates/actor-sheet_20251026115450.html | 793 -------- .../templates/actor-sheet_20251026115527.html | 793 -------- .../templates/actor-sheet_20251026115531.html | 793 -------- .../templates/actor-sheet_20251026130512.html | 789 -------- .../templates/actor-sheet_20251026130525.html | 793 -------- .../templates/actor-sheet_20251026130527.html | 793 -------- .../templates/actor-sheet_20251026130531.html | 793 -------- .../templates/actor-sheet_20251026130535.html | 793 -------- .../templates/actor-sheet_20251026130540.html | 793 -------- .../templates/actor-sheet_20251026130542.html | 793 -------- .../templates/actor-sheet_20251026130547.html | 794 -------- .../templates/actor-sheet_20251026130550.html | 797 -------- .../templates/actor-sheet_20251026130556.html | 794 -------- .../templates/actor-sheet_20251026130649.html | 794 -------- .../templates/actor-sheet_20251026130723.html | 791 -------- .../templates/actor-sheet_20251026130725.html | 794 -------- .../templates/actor-sheet_20251026130727.html | 791 -------- .../templates/actor-sheet_20251026130730.html | 791 -------- .../templates/actor-sheet_20251026130755.html | 791 -------- .../templates/actor-sheet_20251026130839.html | 791 -------- .../templates/actor-sheet_20251026130846.html | 791 -------- .../templates/actor-sheet_20251026130849.html | 791 -------- .../templates/actor-sheet_20251026130920.html | 791 -------- .../templates/actor-sheet_20251026130923.html | 791 -------- .../templates/actor-sheet_20251026130924.html | 791 -------- .../templates/actor-sheet_20251026130946.html | 791 -------- .../templates/actor-sheet_20251026130950.html | 791 -------- .../templates/actor-sheet_20251026130951.html | 791 -------- .../templates/actor-sheet_20251026131039.html | 792 -------- .../templates/actor-sheet_20251026131041.html | 792 -------- .../templates/actor-sheet_20251026131044.html | 793 -------- .../templates/actor-sheet_20251026131047.html | 792 -------- .../templates/actor-sheet_20251026131048.html | 793 -------- .../templates/actor-sheet_20251026131056.html | 793 -------- .../templates/actor-sheet_20251026131058.html | 793 -------- .../templates/actor-sheet_20251026131100.html | 792 -------- .../templates/actor-sheet_20251026131125.html | 793 -------- .../templates/actor-sheet_20251026131127.html | 794 -------- .../templates/actor-sheet_20251026131131.html | 793 -------- .../templates/actor-sheet_20251026131347.html | 793 -------- .../templates/actor-sheet_20251026131351.html | 793 -------- .../templates/actor-sheet_20251026131356.html | 793 -------- .../templates/actor-sheet_20251026131441.html | 793 -------- .../templates/actor-sheet_20251026131451.html | 793 -------- .../templates/actor-sheet_20251026131516.html | 793 -------- .../templates/actor-sheet_20251026131518.html | 793 -------- .../templates/actor-sheet_20251026131520.html | 793 -------- .../templates/actor-sheet_20251026131526.html | 793 -------- .../templates/actor-sheet_20251026131530.html | 793 -------- .../templates/actor-sheet_20251026131535.html | 793 -------- .../templates/actor-sheet_20251026131536.html | 793 -------- .../templates/actor-sheet_20251026132215.html | 758 -------- .../templates/actor-sheet_20251026132457.html | 758 -------- .../templates/actor-sheet_20251026134949.html | 758 -------- .../templates/actor-sheet_20251026135010.html | 758 -------- .../templates/actor-sheet_20260403081216.hbs | 789 -------- .../templates/actor-sheet_20260403094215.hbs | 789 -------- .../chat-degats-result_20251026004806.html | 29 - .../chat-degats-result_20251026134440.html | 29 - .../chat-degats-result_20251026134441.html | 29 - .../chat-degats-result_20251026134442.html | 29 - .../chat-degats-result_20251026134447.html | 29 - .../chat-degats-result_20251026134449.html | 29 - .../chat-degats-result_20251026134451.html | 29 - .../chat-degats-result_20251026134453.html | 29 - .../chat-degats-result_20251026134455.html | 29 - .../chat-degats-result_20251026134456.html | 29 - .../chat-degats-result_20251026134457.html | 29 - .../chat-degats-result_20251026134458.html | 33 - .../chat-generic-result_20251026004914.html | 157 -- .../chat-generic-result_20251026134515.html | 156 -- .../chat-generic-result_20251026134518.html | 156 -- .../chat-generic-result_20251026134520.html | 156 -- .../chat-generic-result_20251026134521.html | 156 -- .../chat-generic-result_20251026134522.html | 156 -- .../chat-generic-result_20251026134528.html | 138 -- .../chat-generic-result_20251026134530.html | 138 -- .../chat-generic-result_20251026134532.html | 138 -- .../chat-generic-result_20251026134536.html | 138 -- .../chat-generic-result_20251026134538.html | 138 -- .../chat-generic-result_20251026134539.html | 138 -- .../chat-generic-result_20251026134542.html | 138 -- .../chat-generic-result_20251026134543.html | 138 -- .../chat-generic-result_20251026134545.html | 138 -- .../chat-generic-result_20251026134550.html | 138 -- .../chat-generic-result_20251026134552.html | 138 -- .../chat-generic-result_20251026134556.html | 138 -- .../creature-sheet_20251026095950.html | 373 ---- .../creature-sheet_20251026100139.html | 373 ---- .../creature-sheet_20251026130435.html | 374 ---- .../creature-sheet_20251026130441.html | 375 ---- .../item-don-sheet_20251026004806.html | 37 - .../item-don-sheet_20251026141857.html | 56 - .../item-don-sheet_20251026141904.html | 54 - .../item-don-sheet_20251026142139.html | 54 - .../item-don-sheet_20251026142219.html | 46 - .../item-don-sheet_20251026142221.html | 44 - .../item-don-sheet_20251026142233.html | 44 - .../item-don-sheet_20251026142243.html | 45 - .../item-don-sheet_20251026142247.html | 44 - .../item-don-sheet_20251026142248.html | 44 - .../item-don-sheet_20251026142250.html | 44 - .../item-don-sheet_20251026142257.html | 44 - .../item-don-sheet_20251026142259.html | 44 - .../item-don-sheet_20251026142300.html | 45 - .../item-don-sheet_20251026142350.html | 45 - .../item-don-sheet_20251026142408.html | 50 - .../item-don-sheet_20251026142409.html | 49 - .../item-don-sheet_20251026142413.html | 49 - .../item-don-sheet_20251026142425.html | 48 - .../item-don-sheet_20251026142430.html | 48 - .../item-don-sheet_20251026142432.html | 48 - .../item-don-sheet_20251026142433.html | 48 - .../item-don-sheet_20251026142438.html | 47 - .../item-don-sheet_20251026142441.html | 48 - .../item-don-sheet_20251026142443.html | 49 - .../item-don-sheet_20251026142446.html | 47 - .../item-don-sheet_20251026142449.html | 47 - .../item-don-sheet_20251026142450.html | 47 - .../item-don-sheet_20251026142534.html | 48 - .../item-don-sheet_20251026142535.html | 47 - .../item-don-sheet_20251026142538.html | 47 - .../item-don-sheet_20251026142539.html | 47 - .../item-don-sheet_20251026142540.html | 47 - .../item-don-sheet_20251026142610.html | 47 - .../item-don-sheet_20251026142611.html | 47 - .../item-don-sheet_20251026142613.html | 47 - .../item-don-sheet_20251026142615.html | 47 - .../item-don-sheet_20251026142648.html | 47 - .../item-don-sheet_20251026142821.html | 46 - .../item-don-sheet_20251026143009.html | 46 - .../item-don-sheet_20251026143012.html | 46 - .../item-don-sheet_20251026143049.html | 46 - .../item-don-sheet_20251026143052.html | 46 - .../item-don-sheet_20251026143730.html | 46 - .../item-pacte-sheet_20251026004806.html | 25 - .../item-pacte-sheet_20251026143912.html | 26 - .../item-pacte-sheet_20251026143921.html | 29 - .../item-pacte-sheet_20251026143922.html | 30 - .../item-pacte-sheet_20251026143926.html | 30 - .../item-pacte-sheet_20251026143928.html | 30 - .../item-pacte-sheet_20251026143931.html | 29 - .../item-pacte-sheet_20251026143932.html | 29 - .../item-pacte-sheet_20251026143936.html | 29 - .../item-pacte-sheet_20251026143939.html | 28 - .../item-pacte-sheet_20251026143940.html | 27 - .../item-pacte-sheet_20251026143942.html | 28 - .../item-pacte-sheet_20251026143945.html | 29 - .../item-pacte-sheet_20251026143946.html | 29 - .../item-pacte-sheet_20251026143948.html | 29 - .../item-pacte-sheet_20251026143955.html | 29 - .../item-pacte-sheet_20251026143957.html | 29 - .../item-pacte-sheet_20251026143959.html | 29 - .../item-pacte-sheet_20251026144002.html | 29 - .../item-pacte-sheet_20251026144005.html | 29 - .../item-pacte-sheet_20251026144022.html | 29 - .../item-pacte-sheet_20251026144033.html | 29 - .../item-pacte-sheet_20251026144158.html | 29 - .../item-pacte-sheet_20251026144159.html | 29 - .../item-profil-sheet_20251026100002.html | 100 - .../item-profil-sheet_20251026100140.html | 100 - .../item-rune-sheet_20251026004806.html | 39 - .../item-rune-sheet_20251026143255.html | 39 - .../item-rune-sheet_20251026143259.html | 39 - .../item-rune-sheet_20251026143307.html | 40 - .../item-rune-sheet_20251026143309.html | 40 - .../item-rune-sheet_20251026143311.html | 39 - .../item-rune-sheet_20251026143313.html | 39 - .../item-rune-sheet_20251026143320.html | 39 - .../item-rune-sheet_20251026143322.html | 62 - .../item-rune-sheet_20251026143324.html | 62 - .../item-rune-sheet_20251026143329.html | 63 - .../item-rune-sheet_20251026143330.html | 62 - .../item-rune-sheet_20251026143340.html | 62 - .../item-rune-sheet_20251026143343.html | 62 - .../item-rune-sheet_20251026143345.html | 62 - .../item-rune-sheet_20251026143346.html | 62 - .../item-rune-sheet_20251026143349.html | 62 - .../item-rune-sheet_20251026143352.html | 62 - .../item-rune-sheet_20251026143355.html | 62 - .../item-rune-sheet_20251026143357.html | 60 - .../item-rune-sheet_20251026143408.html | 60 - .../item-rune-sheet_20251026143409.html | 60 - .../item-rune-sheet_20251026143410.html | 60 - .../item-rune-sheet_20251026143414.html | 60 - .../item-rune-sheet_20251026143417.html | 60 - .../item-rune-sheet_20251026143419.html | 60 - .../item-rune-sheet_20251026143426.html | 59 - .../item-rune-sheet_20251026143431.html | 59 - .../item-rune-sheet_20251026143441.html | 59 - .../item-rune-sheet_20251026143443.html | 58 - .../item-rune-sheet_20251026143446.html | 57 - .../item-rune-sheet_20251026143448.html | 57 - .../item-rune-sheet_20251026143450.html | 56 - .../item-rune-sheet_20251026143453.html | 57 - .../item-rune-sheet_20251026143454.html | 57 - .../item-rune-sheet_20251026143457.html | 57 - .../item-rune-sheet_20251026143500.html | 58 - .../item-rune-sheet_20251026143506.html | 58 - .../item-rune-sheet_20251026143531.html | 58 - .../item-rune-sheet_20251026143535.html | 55 - .../item-rune-sheet_20251026143539.html | 55 - .../item-rune-sheet_20251026143557.html | 55 - .../item-rune-sheet_20251026143600.html | 55 - .../item-rune-sheet_20251026143604.html | 55 - .../item-rune-sheet_20251026143606.html | 63 - .../item-rune-sheet_20251026143619.html | 63 - .../item-rune-sheet_20251026143621.html | 63 - .../item-rune-sheet_20251026143622.html | 63 - .../item-rune-sheet_20251026143625.html | 63 - .../item-rune-sheet_20251026143626.html | 63 - .../item-rune-sheet_20251026143707.html | 63 - .../item-rune-sheet_20251026143739.html | 63 - .../item-rune-sheet_20251026143740.html | 63 - .../item-runeeffect-sheet_20251026004806.html | 41 - .../item-runeeffect-sheet_20251026142743.html | 41 - .../item-runeeffect-sheet_20251026142744.html | 41 - .../item-runeeffect-sheet_20251026142746.html | 41 - .../item-runeeffect-sheet_20251026142747.html | 41 - .../item-runeeffect-sheet_20251026142753.html | 68 - .../item-runeeffect-sheet_20251026142757.html | 68 - .../item-runeeffect-sheet_20251026142809.html | 56 - .../item-runeeffect-sheet_20251026142812.html | 57 - .../item-runeeffect-sheet_20251026142814.html | 58 - .../item-runeeffect-sheet_20251026142826.html | 59 - .../item-runeeffect-sheet_20251026142829.html | 59 - .../item-runeeffect-sheet_20251026142833.html | 59 - .../item-runeeffect-sheet_20251026142835.html | 59 - .../item-runeeffect-sheet_20251026142838.html | 59 - .../item-runeeffect-sheet_20251026142840.html | 59 - .../item-runeeffect-sheet_20251026142841.html | 59 - .../item-runeeffect-sheet_20251026142844.html | 59 - .../item-runeeffect-sheet_20251026142845.html | 59 - .../item-runeeffect-sheet_20251026142847.html | 59 - .../item-runeeffect-sheet_20251026142848.html | 56 - .../item-runeeffect-sheet_20251026142851.html | 57 - .../item-runeeffect-sheet_20251026142853.html | 57 - .../item-runeeffect-sheet_20251026142856.html | 56 - .../item-runeeffect-sheet_20251026142858.html | 57 - .../item-runeeffect-sheet_20251026142859.html | 57 - .../item-runeeffect-sheet_20251026142900.html | 57 - .../item-runeeffect-sheet_20251026142911.html | 60 - .../item-runeeffect-sheet_20251026142914.html | 62 - .../item-runeeffect-sheet_20251026142919.html | 63 - .../item-runeeffect-sheet_20251026142921.html | 63 - .../item-runeeffect-sheet_20251026142922.html | 63 - .../item-runeeffect-sheet_20251026142925.html | 62 - .../item-runeeffect-sheet_20251026142926.html | 62 - .../item-runeeffect-sheet_20251026142928.html | 62 - .../item-runeeffect-sheet_20251026143131.html | 62 - .../item-runeeffect-sheet_20251026143135.html | 62 - .../item-runeeffect-sheet_20251026143139.html | 62 - .../item-runeeffect-sheet_20251026143142.html | 62 - .../item-runeeffect-sheet_20251026143155.html | 62 - .../item-runeeffect-sheet_20251026143159.html | 62 - .../item-runeeffect-sheet_20251026143202.html | 62 - .../item-runeeffect-sheet_20251026143203.html | 62 - .../item-runeeffect-sheet_20251026143245.html | 63 - .../item-runeeffect-sheet_20251026143247.html | 62 - .../item-tendance-sheet_20251026004806.html | 25 - .../item-tendance-sheet_20251026144110.html | 29 - .../item-tendance-sheet_20251026144144.html | 29 - .../item-tendance-sheet_20251026144145.html | 29 - ...m-traitchaotique-sheet_20251026004806.html | 19 - ...m-traitchaotique-sheet_20251026144132.html | 29 - ...m-traitchaotique-sheet_20251026144137.html | 11 - ...m-traitchaotique-sheet_20251026144140.html | 12 - ...item-traitespece-sheet_20251026004806.html | 19 - ...item-traitespece-sheet_20251026144227.html | 11 - .../partial-item-nav_20251026004806.html | 5 - .../partial-item-nav_20251026143228.html | 6 - .../partial-item-nav_20251026143230.html | 7 - .../partial-item-nav_20251026143231.html | 7 - 653 files changed, 348855 deletions(-) delete mode 100644 .history/README_20251025234409.md delete mode 100644 .history/README_20251026002959.md delete mode 100644 .history/README_20251026003003.md delete mode 100644 .history/README_20251026003006.md delete mode 100644 .history/README_20251026003011.md delete mode 100644 .history/README_20251026003013.md delete mode 100644 .history/README_20251026003038.md delete mode 100644 .history/README_20251026003041.md delete mode 100644 .history/README_20251026003045.md delete mode 100644 .history/README_20251026003051.md delete mode 100644 .history/README_20251026003057.md delete mode 100644 .history/README_20251026003102.md delete mode 100644 .history/README_20251026003110.md delete mode 100644 .history/lang/fr_20251026000859.json delete mode 100644 .history/lang/fr_20251026001011.json delete mode 100644 .history/lang/fr_20251026004844.json delete mode 100644 .history/lang/fr_20251026004905.json delete mode 100644 .history/lang/fr_20251026095913.json delete mode 100644 .history/lang/fr_20251026100139.json delete mode 100644 .history/lang/fr_20251026132312.json delete mode 100644 .history/lang/fr_20251026132458.json delete mode 100644 .history/lang/fr_20251026132800.json delete mode 100644 .history/lang/fr_20251026132940.json delete mode 100644 .history/lang/fr_20251026133304.json delete mode 100644 .history/lang/fr_20251026133310.json delete mode 100644 .history/lang/fr_20251026133355.json delete mode 100644 .history/macro-replace-images_20251026112045.js delete mode 100644 .history/macro-replace-images_20251026112109.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026001316.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026001548.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026002630.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026002719.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026082045.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026082310.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026082630.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026082724.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026083617.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026083658.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026095818.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026095829.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026100139.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026132141.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026132457.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026132705.js delete mode 100644 .history/modules/mournblade-cyd2-actor-sheet_20251026132939.js delete mode 100644 .history/modules/mournblade-cyd2-actor_20260402224326.js delete mode 100644 .history/modules/mournblade-cyd2-actor_20260402224333.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026082216.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026082310.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026095844.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026100139.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026132250.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026132458.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026132740.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026132940.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026133248.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026133355.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142014.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142018.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142026.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142035.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142102.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142109.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142110.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142113.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142115.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142117.js delete mode 100644 .history/modules/mournblade-cyd2-config_20251026142118.js delete mode 100644 .history/modules/mournblade-cyd2-item-sheet_20251025235545.js delete mode 100644 .history/modules/mournblade-cyd2-item-sheet_20251026131931.js delete mode 100644 .history/modules/mournblade-cyd2-item-sheet_20251026131933.js delete mode 100644 .history/modules/mournblade-cyd2-item-sheet_20251026131940.js delete mode 100644 .history/modules/mournblade-cyd2-item-sheet_20251026131943.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026132229.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026132458.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026132726.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026132940.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133240.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133244.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133401.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133402.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133404.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133405.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133408.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133409.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133412.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133413.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133414.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133417.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133418.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133421.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133424.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133450.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133455.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133613.js delete mode 100644 .history/modules/mournblade-cyd2-item_20251026133616.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251025235708.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251025235732.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026095731.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026095740.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026100138.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134251.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134253.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134255.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134256.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134257.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134302.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134307.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134320.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134322.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134323.js delete mode 100644 .history/modules/mournblade-cyd2-main_20251026134327.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251025235653.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251025235700.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026004520.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026004545.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026082019.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026082309.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026082642.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026082723.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026083105.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026083154.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026083451.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026083504.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026083636.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026083658.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026083819.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026083937.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026084222.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026084417.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026084555.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026084610.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026095902.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026100139.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026133256.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026133355.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026134747.js delete mode 100644 .history/modules/mournblade-cyd2-utility_20251026134748.js delete mode 100644 .history/package_20260402205739.json delete mode 100644 .history/package_20260402222004.json delete mode 100644 .history/styles/simple_20251026004123.css delete mode 100644 .history/styles/simple_20251026004154.css delete mode 100644 .history/styles/simple_20251026112938.css delete mode 100644 .history/styles/simple_20251026112943.css delete mode 100644 .history/styles/simple_20251026112945.css delete mode 100644 .history/styles/simple_20251026112948.css delete mode 100644 .history/styles/simple_20251026112955.css delete mode 100644 .history/styles/simple_20251026113043.css delete mode 100644 .history/styles/simple_20251026113045.css delete mode 100644 .history/styles/simple_20251026113046.css delete mode 100644 .history/styles/simple_20251026113049.css delete mode 100644 .history/styles/simple_20251026113050.css delete mode 100644 .history/styles/simple_20251026114302.css delete mode 100644 .history/styles/simple_20251026114447.css delete mode 100644 .history/styles/simple_20251026114525.css delete mode 100644 .history/styles/simple_20251026114528.css delete mode 100644 .history/styles/simple_20251026114533.css delete mode 100644 .history/styles/simple_20251026114538.css delete mode 100644 .history/styles/simple_20251026114541.css delete mode 100644 .history/styles/simple_20251026114543.css delete mode 100644 .history/styles/simple_20251026114806.css delete mode 100644 .history/styles/simple_20251026114835.css delete mode 100644 .history/styles/simple_20251026114836.css delete mode 100644 .history/styles/simple_20251026114840.css delete mode 100644 .history/styles/simple_20251026114842.css delete mode 100644 .history/styles/simple_20251026114854.css delete mode 100644 .history/styles/simple_20251026114917.css delete mode 100644 .history/styles/simple_20251026114921.css delete mode 100644 .history/styles/simple_20251026114923.css delete mode 100644 .history/styles/simple_20251026114934.css delete mode 100644 .history/styles/simple_20251026114936.css delete mode 100644 .history/styles/simple_20251026114937.css delete mode 100644 .history/styles/simple_20251026114939.css delete mode 100644 .history/styles/simple_20251026114955.css delete mode 100644 .history/styles/simple_20251026114957.css delete mode 100644 .history/styles/simple_20251026115003.css delete mode 100644 .history/styles/simple_20251026115005.css delete mode 100644 .history/styles/simple_20251026115007.css delete mode 100644 .history/styles/simple_20251026115011.css delete mode 100644 .history/styles/simple_20251026115014.css delete mode 100644 .history/styles/simple_20251026115017.css delete mode 100644 .history/styles/simple_20251026115024.css delete mode 100644 .history/styles/simple_20251026115026.css delete mode 100644 .history/styles/simple_20251026115112.css delete mode 100644 .history/styles/simple_20251026115116.css delete mode 100644 .history/styles/simple_20251026115210.css delete mode 100644 .history/styles/simple_20251026115213.css delete mode 100644 .history/styles/simple_20251026115225.css delete mode 100644 .history/styles/simple_20251026115227.css delete mode 100644 .history/styles/simple_20251026115228.css delete mode 100644 .history/styles/simple_20251026115236.css delete mode 100644 .history/styles/simple_20251026115237.css delete mode 100644 .history/styles/simple_20251026115240.css delete mode 100644 .history/styles/simple_20251026115242.css delete mode 100644 .history/styles/simple_20251026115257.css delete mode 100644 .history/styles/simple_20251026115259.css delete mode 100644 .history/styles/simple_20251026115301.css delete mode 100644 .history/styles/simple_20251026121323.css delete mode 100644 .history/styles/simple_20251026121339.css delete mode 100644 .history/styles/simple_20251026121454.css delete mode 100644 .history/styles/simple_20251026121455.css delete mode 100644 .history/styles/simple_20251026121515.css delete mode 100644 .history/styles/simple_20251026121553.css delete mode 100644 .history/styles/simple_20251026121558.css delete mode 100644 .history/styles/simple_20251026121651.css delete mode 100644 .history/styles/simple_20251026121728.css delete mode 100644 .history/styles/simple_20251026121734.css delete mode 100644 .history/styles/simple_20251026121751.css delete mode 100644 .history/styles/simple_20251026121815.css delete mode 100644 .history/styles/simple_20251026121820.css delete mode 100644 .history/styles/simple_20251026121844.css delete mode 100644 .history/styles/simple_20251026131613.css delete mode 100644 .history/styles/simple_20251026131618.css delete mode 100644 .history/styles/simple_20251026131620.css delete mode 100644 .history/styles/simple_20251026131622.css delete mode 100644 .history/styles/simple_20251026131624.css delete mode 100644 .history/styles/simple_20251026131629.css delete mode 100644 .history/styles/simple_20251026133935.css delete mode 100644 .history/styles/simple_20251026133937.css delete mode 100644 .history/styles/simple_20251026133939.css delete mode 100644 .history/styles/simple_20251026133942.css delete mode 100644 .history/styles/simple_20251026133944.css delete mode 100644 .history/styles/simple_20251026133947.css delete mode 100644 .history/styles/simple_20251026134004.css delete mode 100644 .history/styles/simple_20251026134017.css delete mode 100644 .history/styles/simple_20251026134022.css delete mode 100644 .history/styles/simple_20251026134024.css delete mode 100644 .history/styles/simple_20251026134030.css delete mode 100644 .history/styles/simple_20251026134115.css delete mode 100644 .history/styles/simple_20251026134118.css delete mode 100644 .history/styles/simple_20251026134143.css delete mode 100644 .history/styles/simple_20251026134150.css delete mode 100644 .history/styles/simple_20251026134151.css delete mode 100644 .history/styles/simple_20251026134153.css delete mode 100644 .history/styles/simple_20251026134155.css delete mode 100644 .history/styles/simple_20251026134158.css delete mode 100644 .history/styles/simple_20251026134159.css delete mode 100644 .history/styles/simple_20251026134200.css delete mode 100644 .history/styles/simple_20251026134235.css delete mode 100644 .history/styles/simple_20251026134353.css delete mode 100644 .history/styles/simple_20251026134356.css delete mode 100644 .history/styles/simple_20251026134357.css delete mode 100644 .history/styles/simple_20251026134358.css delete mode 100644 .history/styles/simple_20251026134359.css delete mode 100644 .history/styles/simple_20251026134625.css delete mode 100644 .history/styles/simple_20251026134628.css delete mode 100644 .history/styles/simple_20251026134629.css delete mode 100644 .history/styles/simple_20251026134631.css delete mode 100644 .history/styles/simple_20251026134632.css delete mode 100644 .history/styles/simple_20251026134638.css delete mode 100644 .history/styles/simple_20251026134640.css delete mode 100644 .history/styles/simple_20251026134641.css delete mode 100644 .history/styles/simple_20251026135413.css delete mode 100644 .history/styles/simple_20251026135419.css delete mode 100644 .history/styles/simple_20251026135421.css delete mode 100644 .history/styles/simple_20251026135424.css delete mode 100644 .history/styles/simple_20251026135706.css delete mode 100644 .history/styles/simple_20251026135747.css delete mode 100644 .history/styles/simple_20251026135806.css delete mode 100644 .history/styles/simple_20251026135821.css delete mode 100644 .history/styles/simple_20251026135835.css delete mode 100644 .history/styles/simple_20251026135914.css delete mode 100644 .history/system_20260402221612.json delete mode 100644 .history/system_20260402221616.json delete mode 100644 .history/system_20260402221619.json delete mode 100644 .history/system_20260402221620.json delete mode 100644 .history/system_20260402221623.json delete mode 100644 .history/system_20260402221626.json delete mode 100644 .history/system_20260402221627.json delete mode 100644 .history/system_20260402221632.json delete mode 100644 .history/system_20260402221636.json delete mode 100644 .history/system_20260402221638.json delete mode 100644 .history/system_20260402221640.json delete mode 100644 .history/system_20260402221644.json delete mode 100644 .history/system_20260402221647.json delete mode 100644 .history/system_20260402221650.json delete mode 100644 .history/system_20260402221651.json delete mode 100644 .history/system_20260402221701.json delete mode 100644 .history/system_20260402221702.json delete mode 100644 .history/system_20260402221706.json delete mode 100644 .history/system_20260402221708.json delete mode 100644 .history/system_20260402221711.json delete mode 100644 .history/system_20260402221713.json delete mode 100644 .history/system_20260402221714.json delete mode 100644 .history/system_20260402221717.json delete mode 100644 .history/system_20260402221719.json delete mode 100644 .history/system_20260402221721.json delete mode 100644 .history/system_20260402221724.json delete mode 100644 .history/system_20260402221727.json delete mode 100644 .history/system_20260402221729.json delete mode 100644 .history/system_20260402221731.json delete mode 100644 .history/system_20260402221734.json delete mode 100644 .history/system_20260402221746.json delete mode 100644 .history/system_20260402221804.json delete mode 100644 .history/system_20260402221806.json delete mode 100644 .history/system_20260402221810.json delete mode 100644 .history/system_20260402221853.json delete mode 100644 .history/system_20260402221907.json delete mode 100644 .history/system_20260402221908.json delete mode 100644 .history/system_20260402221918.json delete mode 100644 .history/system_20260402221919.json delete mode 100644 .history/system_20260402221920.json delete mode 100644 .history/system_20260402221921.json delete mode 100644 .history/system_20260402221922.json delete mode 100644 .history/system_20260402221931.json delete mode 100644 .history/system_20260402221945.json delete mode 100644 .history/system_20260402221946.json delete mode 100644 .history/template_20251026000239.json delete mode 100644 .history/template_20251026000258.json delete mode 100644 .history/template_20251026000329.json delete mode 100644 .history/template_20251026002439.json delete mode 100644 .history/template_20251026002502.json delete mode 100644 .history/template_20251026082017.json delete mode 100644 .history/template_20251026082309.json delete mode 100644 .history/template_20251026082532.json delete mode 100644 .history/template_20251026082721.json delete mode 100644 .history/template_20251026095638.json delete mode 100644 .history/template_20251026095646.json delete mode 100644 .history/template_20251026095652.json delete mode 100644 .history/template_20251026100138.json delete mode 100644 .history/template_20251026113831.json delete mode 100644 .history/template_20251026113912.json delete mode 100644 .history/template_20251026113914.json delete mode 100644 .history/template_20251026113921.json delete mode 100644 .history/template_20251026131950.json delete mode 100644 .history/template_20251026132040.json delete mode 100644 .history/template_20251026132457.json delete mode 100644 .history/template_20251026132619.json delete mode 100644 .history/template_20251026132641.json delete mode 100644 .history/template_20251026132939.json delete mode 100644 .history/template_20251026133152.json delete mode 100644 .history/template_20251026133219.json delete mode 100644 .history/template_20251026133243.json delete mode 100644 .history/templates/actor-sheet_20251026001415.html delete mode 100644 .history/templates/actor-sheet_20251026001549.html delete mode 100644 .history/templates/actor-sheet_20251026001923.html delete mode 100644 .history/templates/actor-sheet_20251026002143.html delete mode 100644 .history/templates/actor-sheet_20251026002523.html delete mode 100644 .history/templates/actor-sheet_20251026002720.html delete mode 100644 .history/templates/actor-sheet_20251026082058.html delete mode 100644 .history/templates/actor-sheet_20251026082111.html delete mode 100644 .history/templates/actor-sheet_20251026082310.html delete mode 100644 .history/templates/actor-sheet_20251026082534.html delete mode 100644 .history/templates/actor-sheet_20251026082725.html delete mode 100644 .history/templates/actor-sheet_20251026083122.html delete mode 100644 .history/templates/actor-sheet_20251026083152.html delete mode 100644 .history/templates/actor-sheet_20251026083442.html delete mode 100644 .history/templates/actor-sheet_20251026083504.html delete mode 100644 .history/templates/actor-sheet_20251026083638.html delete mode 100644 .history/templates/actor-sheet_20251026083658.html delete mode 100644 .history/templates/actor-sheet_20251026095932.html delete mode 100644 .history/templates/actor-sheet_20251026100139.html delete mode 100644 .history/templates/actor-sheet_20251026104104.html delete mode 100644 .history/templates/actor-sheet_20251026104106.html delete mode 100644 .history/templates/actor-sheet_20251026104118.html delete mode 100644 .history/templates/actor-sheet_20251026104123.html delete mode 100644 .history/templates/actor-sheet_20251026104126.html delete mode 100644 .history/templates/actor-sheet_20251026104132.html delete mode 100644 .history/templates/actor-sheet_20251026104137.html delete mode 100644 .history/templates/actor-sheet_20251026104145.html delete mode 100644 .history/templates/actor-sheet_20251026104233.html delete mode 100644 .history/templates/actor-sheet_20251026104239.html delete mode 100644 .history/templates/actor-sheet_20251026104254.html delete mode 100644 .history/templates/actor-sheet_20251026104308.html delete mode 100644 .history/templates/actor-sheet_20251026104319.html delete mode 100644 .history/templates/actor-sheet_20251026104321.html delete mode 100644 .history/templates/actor-sheet_20251026104322.html delete mode 100644 .history/templates/actor-sheet_20251026104324.html delete mode 100644 .history/templates/actor-sheet_20251026104444.html delete mode 100644 .history/templates/actor-sheet_20251026114000.html delete mode 100644 .history/templates/actor-sheet_20251026114722.html delete mode 100644 .history/templates/actor-sheet_20251026114726.html delete mode 100644 .history/templates/actor-sheet_20251026115045.html delete mode 100644 .history/templates/actor-sheet_20251026115049.html delete mode 100644 .history/templates/actor-sheet_20251026115055.html delete mode 100644 .history/templates/actor-sheet_20251026115433.html delete mode 100644 .history/templates/actor-sheet_20251026115436.html delete mode 100644 .history/templates/actor-sheet_20251026115440.html delete mode 100644 .history/templates/actor-sheet_20251026115444.html delete mode 100644 .history/templates/actor-sheet_20251026115447.html delete mode 100644 .history/templates/actor-sheet_20251026115450.html delete mode 100644 .history/templates/actor-sheet_20251026115527.html delete mode 100644 .history/templates/actor-sheet_20251026115531.html delete mode 100644 .history/templates/actor-sheet_20251026130512.html delete mode 100644 .history/templates/actor-sheet_20251026130525.html delete mode 100644 .history/templates/actor-sheet_20251026130527.html delete mode 100644 .history/templates/actor-sheet_20251026130531.html delete mode 100644 .history/templates/actor-sheet_20251026130535.html delete mode 100644 .history/templates/actor-sheet_20251026130540.html delete mode 100644 .history/templates/actor-sheet_20251026130542.html delete mode 100644 .history/templates/actor-sheet_20251026130547.html delete mode 100644 .history/templates/actor-sheet_20251026130550.html delete mode 100644 .history/templates/actor-sheet_20251026130556.html delete mode 100644 .history/templates/actor-sheet_20251026130649.html delete mode 100644 .history/templates/actor-sheet_20251026130723.html delete mode 100644 .history/templates/actor-sheet_20251026130725.html delete mode 100644 .history/templates/actor-sheet_20251026130727.html delete mode 100644 .history/templates/actor-sheet_20251026130730.html delete mode 100644 .history/templates/actor-sheet_20251026130755.html delete mode 100644 .history/templates/actor-sheet_20251026130839.html delete mode 100644 .history/templates/actor-sheet_20251026130846.html delete mode 100644 .history/templates/actor-sheet_20251026130849.html delete mode 100644 .history/templates/actor-sheet_20251026130920.html delete mode 100644 .history/templates/actor-sheet_20251026130923.html delete mode 100644 .history/templates/actor-sheet_20251026130924.html delete mode 100644 .history/templates/actor-sheet_20251026130946.html delete mode 100644 .history/templates/actor-sheet_20251026130950.html delete mode 100644 .history/templates/actor-sheet_20251026130951.html delete mode 100644 .history/templates/actor-sheet_20251026131039.html delete mode 100644 .history/templates/actor-sheet_20251026131041.html delete mode 100644 .history/templates/actor-sheet_20251026131044.html delete mode 100644 .history/templates/actor-sheet_20251026131047.html delete mode 100644 .history/templates/actor-sheet_20251026131048.html delete mode 100644 .history/templates/actor-sheet_20251026131056.html delete mode 100644 .history/templates/actor-sheet_20251026131058.html delete mode 100644 .history/templates/actor-sheet_20251026131100.html delete mode 100644 .history/templates/actor-sheet_20251026131125.html delete mode 100644 .history/templates/actor-sheet_20251026131127.html delete mode 100644 .history/templates/actor-sheet_20251026131131.html delete mode 100644 .history/templates/actor-sheet_20251026131347.html delete mode 100644 .history/templates/actor-sheet_20251026131351.html delete mode 100644 .history/templates/actor-sheet_20251026131356.html delete mode 100644 .history/templates/actor-sheet_20251026131441.html delete mode 100644 .history/templates/actor-sheet_20251026131451.html delete mode 100644 .history/templates/actor-sheet_20251026131516.html delete mode 100644 .history/templates/actor-sheet_20251026131518.html delete mode 100644 .history/templates/actor-sheet_20251026131520.html delete mode 100644 .history/templates/actor-sheet_20251026131526.html delete mode 100644 .history/templates/actor-sheet_20251026131530.html delete mode 100644 .history/templates/actor-sheet_20251026131535.html delete mode 100644 .history/templates/actor-sheet_20251026131536.html delete mode 100644 .history/templates/actor-sheet_20251026132215.html delete mode 100644 .history/templates/actor-sheet_20251026132457.html delete mode 100644 .history/templates/actor-sheet_20251026134949.html delete mode 100644 .history/templates/actor-sheet_20251026135010.html delete mode 100644 .history/templates/actor-sheet_20260403081216.hbs delete mode 100644 .history/templates/actor-sheet_20260403094215.hbs delete mode 100644 .history/templates/chat-degats-result_20251026004806.html delete mode 100644 .history/templates/chat-degats-result_20251026134440.html delete mode 100644 .history/templates/chat-degats-result_20251026134441.html delete mode 100644 .history/templates/chat-degats-result_20251026134442.html delete mode 100644 .history/templates/chat-degats-result_20251026134447.html delete mode 100644 .history/templates/chat-degats-result_20251026134449.html delete mode 100644 .history/templates/chat-degats-result_20251026134451.html delete mode 100644 .history/templates/chat-degats-result_20251026134453.html delete mode 100644 .history/templates/chat-degats-result_20251026134455.html delete mode 100644 .history/templates/chat-degats-result_20251026134456.html delete mode 100644 .history/templates/chat-degats-result_20251026134457.html delete mode 100644 .history/templates/chat-degats-result_20251026134458.html delete mode 100644 .history/templates/chat-generic-result_20251026004914.html delete mode 100644 .history/templates/chat-generic-result_20251026134515.html delete mode 100644 .history/templates/chat-generic-result_20251026134518.html delete mode 100644 .history/templates/chat-generic-result_20251026134520.html delete mode 100644 .history/templates/chat-generic-result_20251026134521.html delete mode 100644 .history/templates/chat-generic-result_20251026134522.html delete mode 100644 .history/templates/chat-generic-result_20251026134528.html delete mode 100644 .history/templates/chat-generic-result_20251026134530.html delete mode 100644 .history/templates/chat-generic-result_20251026134532.html delete mode 100644 .history/templates/chat-generic-result_20251026134536.html delete mode 100644 .history/templates/chat-generic-result_20251026134538.html delete mode 100644 .history/templates/chat-generic-result_20251026134539.html delete mode 100644 .history/templates/chat-generic-result_20251026134542.html delete mode 100644 .history/templates/chat-generic-result_20251026134543.html delete mode 100644 .history/templates/chat-generic-result_20251026134545.html delete mode 100644 .history/templates/chat-generic-result_20251026134550.html delete mode 100644 .history/templates/chat-generic-result_20251026134552.html delete mode 100644 .history/templates/chat-generic-result_20251026134556.html delete mode 100644 .history/templates/creature-sheet_20251026095950.html delete mode 100644 .history/templates/creature-sheet_20251026100139.html delete mode 100644 .history/templates/creature-sheet_20251026130435.html delete mode 100644 .history/templates/creature-sheet_20251026130441.html delete mode 100644 .history/templates/item-don-sheet_20251026004806.html delete mode 100644 .history/templates/item-don-sheet_20251026141857.html delete mode 100644 .history/templates/item-don-sheet_20251026141904.html delete mode 100644 .history/templates/item-don-sheet_20251026142139.html delete mode 100644 .history/templates/item-don-sheet_20251026142219.html delete mode 100644 .history/templates/item-don-sheet_20251026142221.html delete mode 100644 .history/templates/item-don-sheet_20251026142233.html delete mode 100644 .history/templates/item-don-sheet_20251026142243.html delete mode 100644 .history/templates/item-don-sheet_20251026142247.html delete mode 100644 .history/templates/item-don-sheet_20251026142248.html delete mode 100644 .history/templates/item-don-sheet_20251026142250.html delete mode 100644 .history/templates/item-don-sheet_20251026142257.html delete mode 100644 .history/templates/item-don-sheet_20251026142259.html delete mode 100644 .history/templates/item-don-sheet_20251026142300.html delete mode 100644 .history/templates/item-don-sheet_20251026142350.html delete mode 100644 .history/templates/item-don-sheet_20251026142408.html delete mode 100644 .history/templates/item-don-sheet_20251026142409.html delete mode 100644 .history/templates/item-don-sheet_20251026142413.html delete mode 100644 .history/templates/item-don-sheet_20251026142425.html delete mode 100644 .history/templates/item-don-sheet_20251026142430.html delete mode 100644 .history/templates/item-don-sheet_20251026142432.html delete mode 100644 .history/templates/item-don-sheet_20251026142433.html delete mode 100644 .history/templates/item-don-sheet_20251026142438.html delete mode 100644 .history/templates/item-don-sheet_20251026142441.html delete mode 100644 .history/templates/item-don-sheet_20251026142443.html delete mode 100644 .history/templates/item-don-sheet_20251026142446.html delete mode 100644 .history/templates/item-don-sheet_20251026142449.html delete mode 100644 .history/templates/item-don-sheet_20251026142450.html delete mode 100644 .history/templates/item-don-sheet_20251026142534.html delete mode 100644 .history/templates/item-don-sheet_20251026142535.html delete mode 100644 .history/templates/item-don-sheet_20251026142538.html delete mode 100644 .history/templates/item-don-sheet_20251026142539.html delete mode 100644 .history/templates/item-don-sheet_20251026142540.html delete mode 100644 .history/templates/item-don-sheet_20251026142610.html delete mode 100644 .history/templates/item-don-sheet_20251026142611.html delete mode 100644 .history/templates/item-don-sheet_20251026142613.html delete mode 100644 .history/templates/item-don-sheet_20251026142615.html delete mode 100644 .history/templates/item-don-sheet_20251026142648.html delete mode 100644 .history/templates/item-don-sheet_20251026142821.html delete mode 100644 .history/templates/item-don-sheet_20251026143009.html delete mode 100644 .history/templates/item-don-sheet_20251026143012.html delete mode 100644 .history/templates/item-don-sheet_20251026143049.html delete mode 100644 .history/templates/item-don-sheet_20251026143052.html delete mode 100644 .history/templates/item-don-sheet_20251026143730.html delete mode 100644 .history/templates/item-pacte-sheet_20251026004806.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143912.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143921.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143922.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143926.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143928.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143931.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143932.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143936.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143939.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143940.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143942.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143945.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143946.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143948.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143955.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143957.html delete mode 100644 .history/templates/item-pacte-sheet_20251026143959.html delete mode 100644 .history/templates/item-pacte-sheet_20251026144002.html delete mode 100644 .history/templates/item-pacte-sheet_20251026144005.html delete mode 100644 .history/templates/item-pacte-sheet_20251026144022.html delete mode 100644 .history/templates/item-pacte-sheet_20251026144033.html delete mode 100644 .history/templates/item-pacte-sheet_20251026144158.html delete mode 100644 .history/templates/item-pacte-sheet_20251026144159.html delete mode 100644 .history/templates/item-profil-sheet_20251026100002.html delete mode 100644 .history/templates/item-profil-sheet_20251026100140.html delete mode 100644 .history/templates/item-rune-sheet_20251026004806.html delete mode 100644 .history/templates/item-rune-sheet_20251026143255.html delete mode 100644 .history/templates/item-rune-sheet_20251026143259.html delete mode 100644 .history/templates/item-rune-sheet_20251026143307.html delete mode 100644 .history/templates/item-rune-sheet_20251026143309.html delete mode 100644 .history/templates/item-rune-sheet_20251026143311.html delete mode 100644 .history/templates/item-rune-sheet_20251026143313.html delete mode 100644 .history/templates/item-rune-sheet_20251026143320.html delete mode 100644 .history/templates/item-rune-sheet_20251026143322.html delete mode 100644 .history/templates/item-rune-sheet_20251026143324.html delete mode 100644 .history/templates/item-rune-sheet_20251026143329.html delete mode 100644 .history/templates/item-rune-sheet_20251026143330.html delete mode 100644 .history/templates/item-rune-sheet_20251026143340.html delete mode 100644 .history/templates/item-rune-sheet_20251026143343.html delete mode 100644 .history/templates/item-rune-sheet_20251026143345.html delete mode 100644 .history/templates/item-rune-sheet_20251026143346.html delete mode 100644 .history/templates/item-rune-sheet_20251026143349.html delete mode 100644 .history/templates/item-rune-sheet_20251026143352.html delete mode 100644 .history/templates/item-rune-sheet_20251026143355.html delete mode 100644 .history/templates/item-rune-sheet_20251026143357.html delete mode 100644 .history/templates/item-rune-sheet_20251026143408.html delete mode 100644 .history/templates/item-rune-sheet_20251026143409.html delete mode 100644 .history/templates/item-rune-sheet_20251026143410.html delete mode 100644 .history/templates/item-rune-sheet_20251026143414.html delete mode 100644 .history/templates/item-rune-sheet_20251026143417.html delete mode 100644 .history/templates/item-rune-sheet_20251026143419.html delete mode 100644 .history/templates/item-rune-sheet_20251026143426.html delete mode 100644 .history/templates/item-rune-sheet_20251026143431.html delete mode 100644 .history/templates/item-rune-sheet_20251026143441.html delete mode 100644 .history/templates/item-rune-sheet_20251026143443.html delete mode 100644 .history/templates/item-rune-sheet_20251026143446.html delete mode 100644 .history/templates/item-rune-sheet_20251026143448.html delete mode 100644 .history/templates/item-rune-sheet_20251026143450.html delete mode 100644 .history/templates/item-rune-sheet_20251026143453.html delete mode 100644 .history/templates/item-rune-sheet_20251026143454.html delete mode 100644 .history/templates/item-rune-sheet_20251026143457.html delete mode 100644 .history/templates/item-rune-sheet_20251026143500.html delete mode 100644 .history/templates/item-rune-sheet_20251026143506.html delete mode 100644 .history/templates/item-rune-sheet_20251026143531.html delete mode 100644 .history/templates/item-rune-sheet_20251026143535.html delete mode 100644 .history/templates/item-rune-sheet_20251026143539.html delete mode 100644 .history/templates/item-rune-sheet_20251026143557.html delete mode 100644 .history/templates/item-rune-sheet_20251026143600.html delete mode 100644 .history/templates/item-rune-sheet_20251026143604.html delete mode 100644 .history/templates/item-rune-sheet_20251026143606.html delete mode 100644 .history/templates/item-rune-sheet_20251026143619.html delete mode 100644 .history/templates/item-rune-sheet_20251026143621.html delete mode 100644 .history/templates/item-rune-sheet_20251026143622.html delete mode 100644 .history/templates/item-rune-sheet_20251026143625.html delete mode 100644 .history/templates/item-rune-sheet_20251026143626.html delete mode 100644 .history/templates/item-rune-sheet_20251026143707.html delete mode 100644 .history/templates/item-rune-sheet_20251026143739.html delete mode 100644 .history/templates/item-rune-sheet_20251026143740.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026004806.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142743.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142744.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142746.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142747.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142753.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142757.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142809.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142812.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142814.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142826.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142829.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142833.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142835.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142838.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142840.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142841.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142844.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142845.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142847.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142848.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142851.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142853.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142856.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142858.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142859.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142900.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142911.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142914.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142919.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142921.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142922.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142925.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142926.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026142928.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143131.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143135.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143139.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143142.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143155.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143159.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143202.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143203.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143245.html delete mode 100644 .history/templates/item-runeeffect-sheet_20251026143247.html delete mode 100644 .history/templates/item-tendance-sheet_20251026004806.html delete mode 100644 .history/templates/item-tendance-sheet_20251026144110.html delete mode 100644 .history/templates/item-tendance-sheet_20251026144144.html delete mode 100644 .history/templates/item-tendance-sheet_20251026144145.html delete mode 100644 .history/templates/item-traitchaotique-sheet_20251026004806.html delete mode 100644 .history/templates/item-traitchaotique-sheet_20251026144132.html delete mode 100644 .history/templates/item-traitchaotique-sheet_20251026144137.html delete mode 100644 .history/templates/item-traitchaotique-sheet_20251026144140.html delete mode 100644 .history/templates/item-traitespece-sheet_20251026004806.html delete mode 100644 .history/templates/item-traitespece-sheet_20251026144227.html delete mode 100644 .history/templates/partial-item-nav_20251026004806.html delete mode 100644 .history/templates/partial-item-nav_20251026143228.html delete mode 100644 .history/templates/partial-item-nav_20251026143230.html delete mode 100644 .history/templates/partial-item-nav_20251026143231.html 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 ( 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 ( { } - }) - return buttons - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - if (this.item.type.includes('weapon')) { - position.width = 640; - } - return position; - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - let formData = { - title: this.title, - id: this.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - attributs: MournbladeCYD2Utility.getAttributs(), - system: objectData.system, - limited: this.object.limited, - options: this.options, - owner: this.document.isOwner, - description: await TextEditor.enrichHTML(this.object.system.description, {async: true}), - mr: (this.object.type == 'specialisation'), - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - - if ( objectData.type == "don") { - formData.sacrifice = await TextEditor.enrichHTML(this.object.system.sacrifice, {async: true}) - } - //this.options.editable = !(this.object.origin == "embeddedItem"); - console.log("ITEM DATA", formData, this); - return formData; - } - - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - buttons.unshift({ - class: "post", - icon: "fas fa-comment", - onclick: ev => this.postItem() - }); - return buttons - } - - /* -------------------------------------------- */ - postItem() { - let chatData = foundry.utils.duplicate(MournbladeCYD2Utility.data(this.item)); - if (this.actor) { - chatData.actor = { id: this.actor.id }; - } - // Don't post any image for the item (which would leave a large gap) if the default image is used - if (chatData.img.includes("/blank.png")) { - chatData.img = null; - } - // JSON object for easy creation - chatData.jsondata = JSON.stringify( - { - compendium: "postedItem", - payload: chatData, - }); - - renderTemplate('systems/fvtt-mournblade-cyd2/templates/post-item.html', chatData).then(html => { - let chatOptions = MournbladeCYD2Utility.chatDataSetup(html); - ChatMessage.create(chatOptions) - }); - } - - /* -------------------------------------------- */ - /** @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") - const item = this.object.options.actor.getOwnedItem(li.data("item-id")) - item.sheet.render(true); - }); - - html.find('.delete-subitem').click(ev => { - this.deleteSubitem(ev); - }) - html.find('.edit-predilection').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].name = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.edit-predilection-description').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].description = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-acquise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].acquise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-maitrise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].maitrise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-used').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].used = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-predilection').click(ev => { - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.push( { name: "Nouvelle prédilection", id: randomID(16), used: false }) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.delete-prediction').click(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.splice(index,1) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-automation').click(ev => { - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.push( { eventtype: "on-drop", name: "Automatisation 1", bonusname: "vigueur", bonus: 0, competence: "", minLevel: 0, baCost: 0, id: randomID(16) }) - this.object.update( { 'system.automations': autom }) - }) - html.find('.delete-automation').click(ev => { - const li = $(ev.currentTarget).parents(".automation-item") - let index = li.data("automation-index") - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.splice(index,1) - this.object.update( { 'system.automations': autom }) - }) - html.find('.automation-edit-field').change(ev => { - let index = $(ev.currentTarget).data("automation-index") - let field = $(ev.currentTarget).data("automation-field") - let auto = foundry.utils.duplicate(this.object.system.automations) - auto[index][field] = ev.currentTarget.value - auto[index].id = auto[index].id || randomID(16) - this.object.update( { 'system.automations': auto }) - }) - - // Update Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - let itemId = li.data("item-id"); - let itemType = li.data("item-type"); - }); - - } - - /* -------------------------------------------- */ - get template() { - let type = this.item.type; - return `systems/fvtt-mournblade-cyd2/templates/item-${type}-sheet.html`; - } - - /* -------------------------------------------- */ - /** @override */ - _updateObject(event, formData) { - return this.object.update(formData); - } -} diff --git a/.history/modules/mournblade-cyd2-item-sheet_20251026131931.js b/.history/modules/mournblade-cyd2-item-sheet_20251026131931.js deleted file mode 100644 index f178859..0000000 --- a/.history/modules/mournblade-cyd2-item-sheet_20251026131931.js +++ /dev/null @@ -1,228 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2ItemSheet extends foundry.appv1.sheets.ItemSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "item"], - template: "systems/fvtt-mournblade-cyd2/templates/item-sheet.html", - dragDrop: [{ dragSelector: null, dropSelector: null }], - width: 620, - height: 550, - tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}] - }); - } - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - // Add "Post to chat" button - // We previously restricted this to GM and editable items only. If you ever find this comment because it broke something: eh, sorry! - buttons.unshift( - { - class: "post", - icon: "fas fa-comment", - onclick: ev => { } - }) - return buttons - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - if (this.item.type.includes('weapon')) { - position.width = 640; - } - return position; - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - let formData = { - title: this.title, - id: this.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - attributs: MournbladeCYD2Utility.getAttributs(), - system: objectData.system, - limited: this.object.limited, - options: this.options, - owner: this.document.isOwner, - description: await .window - app.enrichHTML(this.object.system.description, {async: true}), - mr: (this.object.type == 'specialisation'), - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - - if ( objectData.type == "don") { - formData.sacrifice = await TextEditor.enrichHTML(this.object.system.sacrifice, {async: true}) - } - //this.options.editable = !(this.object.origin == "embeddedItem"); - console.log("ITEM DATA", formData, this); - return formData; - } - - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - buttons.unshift({ - class: "post", - icon: "fas fa-comment", - onclick: ev => this.postItem() - }); - return buttons - } - - /* -------------------------------------------- */ - postItem() { - let chatData = foundry.utils.duplicate(MournbladeCYD2Utility.data(this.item)); - if (this.actor) { - chatData.actor = { id: this.actor.id }; - } - // Don't post any image for the item (which would leave a large gap) if the default image is used - if (chatData.img.includes("/blank.png")) { - chatData.img = null; - } - // JSON object for easy creation - chatData.jsondata = JSON.stringify( - { - compendium: "postedItem", - payload: chatData, - }); - - renderTemplate('systems/fvtt-mournblade-cyd2/templates/post-item.html', chatData).then(html => { - let chatOptions = MournbladeCYD2Utility.chatDataSetup(html); - ChatMessage.create(chatOptions) - }); - } - - /* -------------------------------------------- */ - /** @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") - const item = this.object.options.actor.getOwnedItem(li.data("item-id")) - item.sheet.render(true); - }); - - html.find('.delete-subitem').click(ev => { - this.deleteSubitem(ev); - }) - html.find('.edit-predilection').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].name = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.edit-predilection-description').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].description = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-acquise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].acquise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-maitrise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].maitrise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-used').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].used = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-predilection').click(ev => { - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.push( { name: "Nouvelle prédilection", id: randomID(16), used: false }) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.delete-prediction').click(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.splice(index,1) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-automation').click(ev => { - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.push( { eventtype: "on-drop", name: "Automatisation 1", bonusname: "vigueur", bonus: 0, competence: "", minLevel: 0, baCost: 0, id: randomID(16) }) - this.object.update( { 'system.automations': autom }) - }) - html.find('.delete-automation').click(ev => { - const li = $(ev.currentTarget).parents(".automation-item") - let index = li.data("automation-index") - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.splice(index,1) - this.object.update( { 'system.automations': autom }) - }) - html.find('.automation-edit-field').change(ev => { - let index = $(ev.currentTarget).data("automation-index") - let field = $(ev.currentTarget).data("automation-field") - let auto = foundry.utils.duplicate(this.object.system.automations) - auto[index][field] = ev.currentTarget.value - auto[index].id = auto[index].id || randomID(16) - this.object.update( { 'system.automations': auto }) - }) - - // Update Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - let itemId = li.data("item-id"); - let itemType = li.data("item-type"); - }); - - } - - /* -------------------------------------------- */ - get template() { - let type = this.item.type; - return `systems/fvtt-mournblade-cyd2/templates/item-${type}-sheet.html`; - } - - /* -------------------------------------------- */ - /** @override */ - _updateObject(event, formData) { - return this.object.update(formData); - } -} diff --git a/.history/modules/mournblade-cyd2-item-sheet_20251026131933.js b/.history/modules/mournblade-cyd2-item-sheet_20251026131933.js deleted file mode 100644 index b6ca58d..0000000 --- a/.history/modules/mournblade-cyd2-item-sheet_20251026131933.js +++ /dev/null @@ -1,228 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2ItemSheet extends foundry.appv1.sheets.ItemSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "item"], - template: "systems/fvtt-mournblade-cyd2/templates/item-sheet.html", - dragDrop: [{ dragSelector: null, dropSelector: null }], - width: 620, - height: 550, - tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}] - }); - } - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - // Add "Post to chat" button - // We previously restricted this to GM and editable items only. If you ever find this comment because it broke something: eh, sorry! - buttons.unshift( - { - class: "post", - icon: "fas fa-comment", - onclick: ev => { } - }) - return buttons - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - if (this.item.type.includes('weapon')) { - position.width = 640; - } - return position; - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - let formData = { - title: this.title, - id: this.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - attributs: MournbladeCYD2Utility.getAttributs(), - system: objectData.system, - limited: this.object.limited, - options: this.options, - owner: this.document.isOwner, - description: await TextEditor.enrichHTML(this.object.system.description, {async: true}), - mr: (this.object.type == 'specialisation'), - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - - if ( objectData.type == "don") { - formData.sacrifice = await TextEditor.enrichHTML(this.object.system.sacrifice, {async: true}) - } - //this.options.editable = !(this.object.origin == "embeddedItem"); - console.log("ITEM DATA", formData, this); - return formData; - } - - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - buttons.unshift({ - class: "post", - icon: "fas fa-comment", - onclick: ev => this.postItem() - }); - return buttons - } - - /* -------------------------------------------- */ - postItem() { - let chatData = foundry.utils.duplicate(MournbladeCYD2Utility.data(this.item)); - if (this.actor) { - chatData.actor = { id: this.actor.id }; - } - // Don't post any image for the item (which would leave a large gap) if the default image is used - if (chatData.img.includes("/blank.png")) { - chatData.img = null; - } - // JSON object for easy creation - chatData.jsondata = JSON.stringify( - { - compendium: "postedItem", - payload: chatData, - }); - - renderTemplate('systems/fvtt-mournblade-cyd2/templates/post-item.html', chatData).then(html => { - let chatOptions = MournbladeCYD2Utility.chatDataSetup(html); - ChatMessage.create(chatOptions) - }); - } - - /* -------------------------------------------- */ - /** @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") - const item = this.object.options.actor.getOwnedItem(li.data("item-id")) - item.sheet.render(true); - }); - - html.find('.delete-subitem').click(ev => { - this.deleteSubitem(ev); - }) - html.find('.edit-predilection').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].name = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.edit-predilection-description').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].description = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-acquise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].acquise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-maitrise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].maitrise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-used').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].used = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-predilection').click(ev => { - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.push( { name: "Nouvelle prédilection", id: randomID(16), used: false }) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.delete-prediction').click(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.splice(index,1) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-automation').click(ev => { - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.push( { eventtype: "on-drop", name: "Automatisation 1", bonusname: "vigueur", bonus: 0, competence: "", minLevel: 0, baCost: 0, id: randomID(16) }) - this.object.update( { 'system.automations': autom }) - }) - html.find('.delete-automation').click(ev => { - const li = $(ev.currentTarget).parents(".automation-item") - let index = li.data("automation-index") - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.splice(index,1) - this.object.update( { 'system.automations': autom }) - }) - html.find('.automation-edit-field').change(ev => { - let index = $(ev.currentTarget).data("automation-index") - let field = $(ev.currentTarget).data("automation-field") - let auto = foundry.utils.duplicate(this.object.system.automations) - auto[index][field] = ev.currentTarget.value - auto[index].id = auto[index].id || randomID(16) - this.object.update( { 'system.automations': auto }) - }) - - // Update Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - let itemId = li.data("item-id"); - let itemType = li.data("item-type"); - }); - - } - - /* -------------------------------------------- */ - get template() { - let type = this.item.type; - return `systems/fvtt-mournblade-cyd2/templates/item-${type}-sheet.html`; - } - - /* -------------------------------------------- */ - /** @override */ - _updateObject(event, formData) { - return this.object.update(formData); - } -} diff --git a/.history/modules/mournblade-cyd2-item-sheet_20251026131940.js b/.history/modules/mournblade-cyd2-item-sheet_20251026131940.js deleted file mode 100644 index 29a9989..0000000 --- a/.history/modules/mournblade-cyd2-item-sheet_20251026131940.js +++ /dev/null @@ -1,228 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2ItemSheet extends foundry.appv1.sheets.ItemSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "item"], - template: "systems/fvtt-mournblade-cyd2/templates/item-sheet.html", - dragDrop: [{ dragSelector: null, dropSelector: null }], - width: 620, - height: 550, - tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}] - }); - } - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - // Add "Post to chat" button - // We previously restricted this to GM and editable items only. If you ever find this comment because it broke something: eh, sorry! - buttons.unshift( - { - class: "post", - icon: "fas fa-comment", - onclick: ev => { } - }) - return buttons - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - if (this.item.type.includes('weapon')) { - position.width = 640; - } - return position; - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - let formData = { - title: this.title, - id: this.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - attributs: MournbladeCYD2Utility.getAttributs(), - system: objectData.system, - limited: this.object.limited, - options: this.options, - owner: this.document.isOwner, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.description, {async: true}), - mr: (this.object.type == 'specialisation'), - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - - if ( objectData.type == "don") { - formData.sacrifice = await TextEditor.enrichHTML(this.object.system.sacrifice, {async: true}) - } - //this.options.editable = !(this.object.origin == "embeddedItem"); - console.log("ITEM DATA", formData, this); - return formData; - } - - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - buttons.unshift({ - class: "post", - icon: "fas fa-comment", - onclick: ev => this.postItem() - }); - return buttons - } - - /* -------------------------------------------- */ - postItem() { - let chatData = foundry.utils.duplicate(MournbladeCYD2Utility.data(this.item)); - if (this.actor) { - chatData.actor = { id: this.actor.id }; - } - // Don't post any image for the item (which would leave a large gap) if the default image is used - if (chatData.img.includes("/blank.png")) { - chatData.img = null; - } - // JSON object for easy creation - chatData.jsondata = JSON.stringify( - { - compendium: "postedItem", - payload: chatData, - }); - - renderTemplate('systems/fvtt-mournblade-cyd2/templates/post-item.html', chatData).then(html => { - let chatOptions = MournbladeCYD2Utility.chatDataSetup(html); - ChatMessage.create(chatOptions) - }); - } - - /* -------------------------------------------- */ - /** @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") - const item = this.object.options.actor.getOwnedItem(li.data("item-id")) - item.sheet.render(true); - }); - - html.find('.delete-subitem').click(ev => { - this.deleteSubitem(ev); - }) - html.find('.edit-predilection').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].name = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.edit-predilection-description').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].description = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-acquise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].acquise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-maitrise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].maitrise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-used').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].used = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-predilection').click(ev => { - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.push( { name: "Nouvelle prédilection", id: randomID(16), used: false }) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.delete-prediction').click(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.splice(index,1) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-automation').click(ev => { - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.push( { eventtype: "on-drop", name: "Automatisation 1", bonusname: "vigueur", bonus: 0, competence: "", minLevel: 0, baCost: 0, id: randomID(16) }) - this.object.update( { 'system.automations': autom }) - }) - html.find('.delete-automation').click(ev => { - const li = $(ev.currentTarget).parents(".automation-item") - let index = li.data("automation-index") - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.splice(index,1) - this.object.update( { 'system.automations': autom }) - }) - html.find('.automation-edit-field').change(ev => { - let index = $(ev.currentTarget).data("automation-index") - let field = $(ev.currentTarget).data("automation-field") - let auto = foundry.utils.duplicate(this.object.system.automations) - auto[index][field] = ev.currentTarget.value - auto[index].id = auto[index].id || randomID(16) - this.object.update( { 'system.automations': auto }) - }) - - // Update Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - let itemId = li.data("item-id"); - let itemType = li.data("item-type"); - }); - - } - - /* -------------------------------------------- */ - get template() { - let type = this.item.type; - return `systems/fvtt-mournblade-cyd2/templates/item-${type}-sheet.html`; - } - - /* -------------------------------------------- */ - /** @override */ - _updateObject(event, formData) { - return this.object.update(formData); - } -} diff --git a/.history/modules/mournblade-cyd2-item-sheet_20251026131943.js b/.history/modules/mournblade-cyd2-item-sheet_20251026131943.js deleted file mode 100644 index 8ed9754..0000000 --- a/.history/modules/mournblade-cyd2-item-sheet_20251026131943.js +++ /dev/null @@ -1,228 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2ItemSheet extends foundry.appv1.sheets.ItemSheet { - - /** @override */ - static get defaultOptions() { - - return foundry.utils.mergeObject(super.defaultOptions, { - classes: ["fvtt-mournblade-cyd2", "sheet", "item"], - template: "systems/fvtt-mournblade-cyd2/templates/item-sheet.html", - dragDrop: [{ dragSelector: null, dropSelector: null }], - width: 620, - height: 550, - tabs: [{navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description"}] - }); - } - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - // Add "Post to chat" button - // We previously restricted this to GM and editable items only. If you ever find this comment because it broke something: eh, sorry! - buttons.unshift( - { - class: "post", - icon: "fas fa-comment", - onclick: ev => { } - }) - return buttons - } - - /* -------------------------------------------- */ - /** @override */ - setPosition(options = {}) { - const position = super.setPosition(options); - const sheetBody = this.element.find(".sheet-body"); - const bodyHeight = position.height - 192; - sheetBody.css("height", bodyHeight); - if (this.item.type.includes('weapon')) { - position.width = 640; - } - return position; - } - - /* -------------------------------------------- */ - async getData() { - const objectData = foundry.utils.duplicate(this.object) - let formData = { - title: this.title, - id: this.id, - type: objectData.type, - img: objectData.img, - name: objectData.name, - editable: this.isEditable, - cssClass: this.isEditable ? "editable" : "locked", - attributs: MournbladeCYD2Utility.getAttributs(), - system: objectData.system, - limited: this.object.limited, - options: this.options, - owner: this.document.isOwner, - description: await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.description, {async: true}), - mr: (this.object.type == 'specialisation'), - isGM: game.user.isGM, - config: game.system.mournbladecyd2.config - } - - if ( objectData.type == "don") { - formData.sacrifice = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.object.system.sacrifice, {async: true}) - } - //this.options.editable = !(this.object.origin == "embeddedItem"); - console.log("ITEM DATA", formData, this); - return formData; - } - - - /* -------------------------------------------- */ - _getHeaderButtons() { - let buttons = super._getHeaderButtons(); - buttons.unshift({ - class: "post", - icon: "fas fa-comment", - onclick: ev => this.postItem() - }); - return buttons - } - - /* -------------------------------------------- */ - postItem() { - let chatData = foundry.utils.duplicate(MournbladeCYD2Utility.data(this.item)); - if (this.actor) { - chatData.actor = { id: this.actor.id }; - } - // Don't post any image for the item (which would leave a large gap) if the default image is used - if (chatData.img.includes("/blank.png")) { - chatData.img = null; - } - // JSON object for easy creation - chatData.jsondata = JSON.stringify( - { - compendium: "postedItem", - payload: chatData, - }); - - renderTemplate('systems/fvtt-mournblade-cyd2/templates/post-item.html', chatData).then(html => { - let chatOptions = MournbladeCYD2Utility.chatDataSetup(html); - ChatMessage.create(chatOptions) - }); - } - - /* -------------------------------------------- */ - /** @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") - const item = this.object.options.actor.getOwnedItem(li.data("item-id")) - item.sheet.render(true); - }); - - html.find('.delete-subitem').click(ev => { - this.deleteSubitem(ev); - }) - html.find('.edit-predilection').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].name = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.edit-predilection-description').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].description = ev.currentTarget.value - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-acquise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].acquise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-maitrise').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].maitrise = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.predilection-used').change(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred[index].used = ev.currentTarget.checked - pred[index].id = pred[index].id || randomID(16) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-predilection').click(ev => { - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.push( { name: "Nouvelle prédilection", id: randomID(16), used: false }) - this.object.update( { 'system.predilections': pred }) - }) - html.find('.delete-prediction').click(ev => { - const li = $(ev.currentTarget).parents(".prediction-item") - let index = li.data("prediction-index") - let pred = foundry.utils.duplicate(this.object.system.predilections) - pred.splice(index,1) - this.object.update( { 'system.predilections': pred }) - }) - - html.find('#add-automation').click(ev => { - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.push( { eventtype: "on-drop", name: "Automatisation 1", bonusname: "vigueur", bonus: 0, competence: "", minLevel: 0, baCost: 0, id: randomID(16) }) - this.object.update( { 'system.automations': autom }) - }) - html.find('.delete-automation').click(ev => { - const li = $(ev.currentTarget).parents(".automation-item") - let index = li.data("automation-index") - let autom = foundry.utils.duplicate(this.object.system.automations) - autom.splice(index,1) - this.object.update( { 'system.automations': autom }) - }) - html.find('.automation-edit-field').change(ev => { - let index = $(ev.currentTarget).data("automation-index") - let field = $(ev.currentTarget).data("automation-field") - let auto = foundry.utils.duplicate(this.object.system.automations) - auto[index][field] = ev.currentTarget.value - auto[index].id = auto[index].id || randomID(16) - this.object.update( { 'system.automations': auto }) - }) - - // Update Inventory Item - html.find('.item-delete').click(ev => { - const li = $(ev.currentTarget).parents(".item"); - let itemId = li.data("item-id"); - let itemType = li.data("item-type"); - }); - - } - - /* -------------------------------------------- */ - get template() { - let type = this.item.type; - return `systems/fvtt-mournblade-cyd2/templates/item-${type}-sheet.html`; - } - - /* -------------------------------------------- */ - /** @override */ - _updateObject(event, formData) { - return this.object.update(formData); - } -} diff --git a/.history/modules/mournblade-cyd2-item_20251026132229.js b/.history/modules/mournblade-cyd2-item_20251026132229.js deleted file mode 100644 index 27d0871..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026132229.js +++ /dev/null @@ -1,31 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - contact: "systems/fvtt-mournblade-cyd2/assets/icons/contacts.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - mutation: "systems/fvtt-mournblade-cyd2/assets/icons/mutation.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026132458.js b/.history/modules/mournblade-cyd2-item_20251026132458.js deleted file mode 100644 index f8dd4fa..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026132458.js +++ /dev/null @@ -1,31 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - contact: "systems/fvtt-mournblade-cyd2/assets/icons/contacts.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - mutation: "systems/fvtt-mournblade-cyd2/assets/icons/mutation.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026132726.js b/.history/modules/mournblade-cyd2-item_20251026132726.js deleted file mode 100644 index 17067da..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026132726.js +++ /dev/null @@ -1,30 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - contact: "systems/fvtt-mournblade-cyd2/assets/icons/contacts.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026132940.js b/.history/modules/mournblade-cyd2-item_20251026132940.js deleted file mode 100644 index 17067da..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026132940.js +++ /dev/null @@ -1,30 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - contact: "systems/fvtt-mournblade-cyd2/assets/icons/contacts.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133240.js b/.history/modules/mournblade-cyd2-item_20251026133240.js deleted file mode 100644 index 441843b..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133240.js +++ /dev/null @@ -1,29 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133244.js b/.history/modules/mournblade-cyd2-item_20251026133244.js deleted file mode 100644 index 441843b..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133244.js +++ /dev/null @@ -1,29 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133401.js b/.history/modules/mournblade-cyd2-item_20251026133401.js deleted file mode 100644 index 73a0a75..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133401.js +++ /dev/null @@ -1,30 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - "trai" -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133402.js b/.history/modules/mournblade-cyd2-item_20251026133402.js deleted file mode 100644 index 438b416..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133402.js +++ /dev/null @@ -1,30 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - "trait-chaotique": "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133404.js b/.history/modules/mournblade-cyd2-item_20251026133404.js deleted file mode 100644 index 99f89b6..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133404.js +++ /dev/null @@ -1,34 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - "trait-chaotique": "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - "trait-espece": "systems/fvtt-mournblade-cyd2/assets/icons/trait-espece.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp" -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133405.js b/.history/modules/mournblade-cyd2-item_20251026133405.js deleted file mode 100644 index 99f89b6..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133405.js +++ /dev/null @@ -1,34 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - "trait-chaotique": "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - "trait-espece": "systems/fvtt-mournblade-cyd2/assets/icons/trait-espece.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp" -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133408.js b/.history/modules/mournblade-cyd2-item_20251026133408.js deleted file mode 100644 index 438b416..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133408.js +++ /dev/null @@ -1,30 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - "trait-chaotique": "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133409.js b/.history/modules/mournblade-cyd2-item_20251026133409.js deleted file mode 100644 index 99f89b6..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133409.js +++ /dev/null @@ -1,34 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - "trait-chaotique": "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - "trait-espece": "systems/fvtt-mournblade-cyd2/assets/icons/trait-espece.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp" -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133412.js b/.history/modules/mournblade-cyd2-item_20251026133412.js deleted file mode 100644 index 79a029b..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133412.js +++ /dev/null @@ -1,34 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - "traitchaotique": "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - "trait-espece": "systems/fvtt-mournblade-cyd2/assets/icons/trait-espece.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp" -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133413.js b/.history/modules/mournblade-cyd2-item_20251026133413.js deleted file mode 100644 index a238fd6..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133413.js +++ /dev/null @@ -1,34 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - "traitchaotique": "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - "trai-espece": "systems/fvtt-mournblade-cyd2/assets/icons/trait-espece.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp" -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133414.js b/.history/modules/mournblade-cyd2-item_20251026133414.js deleted file mode 100644 index 26a7c44..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133414.js +++ /dev/null @@ -1,33 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - "traitchaotique": "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp" -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133417.js b/.history/modules/mournblade-cyd2-item_20251026133417.js deleted file mode 100644 index 3f8bfe4..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133417.js +++ /dev/null @@ -1,33 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - traitchaotique": "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp" -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133418.js b/.history/modules/mournblade-cyd2-item_20251026133418.js deleted file mode 100644 index 80c9e28..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133418.js +++ /dev/null @@ -1,33 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - traitchaotique: "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp" -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133421.js b/.history/modules/mournblade-cyd2-item_20251026133421.js deleted file mode 100644 index b4508ce..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133421.js +++ /dev/null @@ -1,34 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - traitchaotique: "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp", - -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133424.js b/.history/modules/mournblade-cyd2-item_20251026133424.js deleted file mode 100644 index 20e128d..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133424.js +++ /dev/null @@ -1,34 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - traitchaotique: "systems/fvtt-mournblade-cyd2/assets/icons/trait-chaotique.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp", - tendance: "systems/fvtt-mournblade-cyd2/assets/icons/tendance.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133450.js b/.history/modules/mournblade-cyd2-item_20251026133450.js deleted file mode 100644 index c101594..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133450.js +++ /dev/null @@ -1,34 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - traitchaotique: "systems/fvtt-mournblade-cyd2/assets/icons/traitchaotique.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp", - tendance: "systems/fvtt-mournblade-cyd2/assets/icons/tendance.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133455.js b/.history/modules/mournblade-cyd2-item_20251026133455.js deleted file mode 100644 index 97fab6d..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133455.js +++ /dev/null @@ -1,35 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - traitchaotique: "systems/fvtt-mournblade-cyd2/assets/icons/traitchaotique.webp", - traitespece: "systems/fvtt-mournblade-cyd2/assets/icons/traitespece.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp", - tendance: "systems/fvtt-mournblade-cyd2/assets/icons/tendance.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133613.js b/.history/modules/mournblade-cyd2-item_20251026133613.js deleted file mode 100644 index 7ce2793..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133613.js +++ /dev/null @@ -1,35 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - traitchaotique: "systems/fvtt-mournblade-cyd2/assets/icons/traitchaotique.webp", - traitespece: "systems/fvtt-mournblade-cyd2/assets/icons/v.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp", - tendance: "systems/fvtt-mournblade-cyd2/assets/icons/tendance.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-item_20251026133616.js b/.history/modules/mournblade-cyd2-item_20251026133616.js deleted file mode 100644 index 97fab6d..0000000 --- a/.history/modules/mournblade-cyd2-item_20251026133616.js +++ /dev/null @@ -1,35 +0,0 @@ -import { MournbladeCYD2Utility } from "./mournblade-cyd2-utility.js"; - -export const defaultItemImg = { - competence: "systems/fvtt-mournblade-cyd2/assets/icons/competence.webp", - arme: "systems/fvtt-mournblade-cyd2/assets/icons/melee.webp", - equipement: "systems/fvtt-mournblade-cyd2/assets/icons/equipement.webp", - monnaie: "systems/fvtt-mournblade-cyd2/assets/icons/monnaie.webp", - predilection: "systems/fvtt-mournblade-cyd2/assets/icons/predilection.webp", - protection: "systems/fvtt-mournblade-cyd2/assets/icons/protection.webp", - talent: "systems/fvtt-mournblade-cyd2/assets/icons/talent.webp", - historique: "systems/fvtt-mournblade-cyd2/assets/icons/historique.webp", - profil: "systems/fvtt-mournblade-cyd2/assets/icons/profil.webp", - ressource: "systems/fvtt-mournblade-cyd2/assets/icons/ressources.webp", - traitchaotique: "systems/fvtt-mournblade-cyd2/assets/icons/traitchaotique.webp", - traitespece: "systems/fvtt-mournblade-cyd2/assets/icons/traitespece.webp", - don: "systems/fvtt-mournblade-cyd2/assets/icons/don.webp", - pacte: "systems/fvtt-mournblade-cyd2/assets/icons/pacte.webp", - rune: "systems/fvtt-mournblade-cyd2/assets/icons/rune.webp", - tendance: "systems/fvtt-mournblade-cyd2/assets/icons/tendance.webp", -} - -/** - * Extend the basic ItemSheet with some very simple modifications - * @extends {ItemSheet} - */ -export class MournbladeCYD2Item extends Item { - - constructor(data, context) { - if (!data.img) { - data.img = defaultItemImg[data.type]; - } - super(data, context); - } - -} diff --git a/.history/modules/mournblade-cyd2-main_20251025235708.js b/.history/modules/mournblade-cyd2-main_20251025235708.js deleted file mode 100644 index ffeadfd..0000000 --- a/.history/modules/mournblade-cyd2-main_20251025235708.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: `
- Bienvenue dans MournbladeCYD2 et le troisième Millénaire ! -

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: `
- Bienvenue dans MournbladeCYD2 et le troisième Millénaire ! -

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: `
- Bienvenue dans MournbladeCYD2 et le troisième Millénaire ! -

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: `
- Bienvenue dans MournbladeCYD2 et le troisième Millénaire ! -

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: `
- Bienvenue dans MournbladeCYD2 et le troisième Millénaire ! -

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: `
- Bienvenue dans MournbladeCYD2 ! -

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: `
- Bienvenue dans Mournblade CYD2 ! -

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: `
- Bienvenue dans Mournblade CYD 2.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_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: `
- Bienvenue dans Mournblade CYD 2.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_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: `
- Bienvenue dans Mournblade CYD 2.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_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: `
- Bienvenue dans Mournblade CYD 2.0 ! -

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: `
- Bienvenue dans Mournblade CYD 2.0 ! -

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: `
- Bienvenue dans Mournblade CYD 2.0 ! -

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: `
- Bienvenue dans Mournblade CYD 2.0 ! -

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: `
- Bienvenue dans Mournblade CYD 2.0 ! -

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: `
- Bienvenue dans Mournblade CYD 2.0 ! -

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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251025235700.js b/.history/modules/mournblade-cyd2-utility_20251025235700.js deleted file mode 100644 index eb6a31b..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251025235700.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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026004520.js b/.history/modules/mournblade-cyd2-utility_20251026004520.js deleted file mode 100644 index 8796763..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026004520.js +++ /dev/null @@ -1,836 +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 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026004545.js b/.history/modules/mournblade-cyd2-utility_20251026004545.js deleted file mode 100644 index 8796763..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026004545.js +++ /dev/null @@ -1,836 +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 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026082019.js b/.history/modules/mournblade-cyd2-utility_20251026082019.js deleted file mode 100644 index 71f2114..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026082019.js +++ /dev/null @@ -1,848 +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) { - let list = [{ value: String(0), label: "Serein" }] - for (let i = 1; i < nbAme - 3; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - list[nbAme - 3] = { value: String(nbAme - 3), label: "Traumatisé" } - list[nbAme - 2] = { value: String(nbAme - 2), label: "Très Traumatisé" } - list[nbAme - 1] = { value: String(nbAme - 1), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026082309.js b/.history/modules/mournblade-cyd2-utility_20251026082309.js deleted file mode 100644 index 71f2114..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026082309.js +++ /dev/null @@ -1,848 +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) { - let list = [{ value: String(0), label: "Serein" }] - for (let i = 1; i < nbAme - 3; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - list[nbAme - 3] = { value: String(nbAme - 3), label: "Traumatisé" } - list[nbAme - 2] = { value: String(nbAme - 2), label: "Très Traumatisé" } - list[nbAme - 1] = { value: String(nbAme - 1), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026082642.js b/.history/modules/mournblade-cyd2-utility_20251026082642.js deleted file mode 100644 index 2d80b8f..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026082642.js +++ /dev/null @@ -1,863 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026082723.js b/.history/modules/mournblade-cyd2-utility_20251026082723.js deleted file mode 100644 index e8f2726..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026082723.js +++ /dev/null @@ -1,863 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026083105.js b/.history/modules/mournblade-cyd2-utility_20251026083105.js deleted file mode 100644 index 2ff0b23..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026083105.js +++ /dev/null @@ -1,865 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé (de 1 à maxEffectif-3) - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - // Pour maxEffectif = 7 : Traumatisé (5), Très Traumatisé (6), Brisé (7) - // Pour maxEffectif = 5 : Traumatisé (3), Très Traumatisé (4), Brisé (5) - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026083154.js b/.history/modules/mournblade-cyd2-utility_20251026083154.js deleted file mode 100644 index 2ff0b23..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026083154.js +++ /dev/null @@ -1,865 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé (de 1 à maxEffectif-3) - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - // Pour maxEffectif = 7 : Traumatisé (5), Très Traumatisé (6), Brisé (7) - // Pour maxEffectif = 5 : Traumatisé (3), Très Traumatisé (4), Brisé (5) - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026083451.js b/.history/modules/mournblade-cyd2-utility_20251026083451.js deleted file mode 100644 index e8f2726..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026083451.js +++ /dev/null @@ -1,863 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026083504.js b/.history/modules/mournblade-cyd2-utility_20251026083504.js deleted file mode 100644 index e8f2726..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026083504.js +++ /dev/null @@ -1,863 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026083636.js b/.history/modules/mournblade-cyd2-utility_20251026083636.js deleted file mode 100644 index 7f08c8b..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026083636.js +++ /dev/null @@ -1,872 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static getAmeMaxList(nbAme) { - let list = [] - for (let i = 1; i <= nbAme; i++) { - list.push({ value: String(i), label: String(i) }) - } - 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026083658.js b/.history/modules/mournblade-cyd2-utility_20251026083658.js deleted file mode 100644 index 7f08c8b..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026083658.js +++ /dev/null @@ -1,872 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), label: "Brisé" }) - } - - return list - } - - /* -------------------------------------------- */ - static getAmeMaxList(nbAme) { - let list = [] - for (let i = 1; i <= nbAme; i++) { - list.push({ value: String(i), label: String(i) }) - } - 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026083819.js b/.history/modules/mournblade-cyd2-utility_20251026083819.js deleted file mode 100644 index 9272be7..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026083819.js +++ /dev/null @@ -1,888 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026083937.js b/.history/modules/mournblade-cyd2-utility_20251026083937.js deleted file mode 100644 index 460194b..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026083937.js +++ /dev/null @@ -1,888 +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, ameMax = null) { - // Si ameMax n'est pas fourni, on utilise nbAme par défaut - let maxEffectif = ameMax !== null ? Math.min(ameMax, nbAme) : nbAme - - let list = [{ value: String(0), label: "Serein" }] - - // Génération des états Stressé - let nbStresse = Math.max(0, maxEffectif - 3) - for (let i = 1; i <= nbStresse; i++) { - list.push({ value: String(i), label: "Stressé " + i }) - } - - // Ajout des états finaux si le maximum le permet - if (maxEffectif >= 3) { - list.push({ value: String(maxEffectif - 2), label: "Traumatisé" }) - } - if (maxEffectif >= 2) { - list.push({ value: String(maxEffectif - 1), label: "Très Traumatisé" }) - } - if (maxEffectif >= 1) { - list.push({ value: String(maxEffectif), 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026084222.js b/.history/modules/mournblade-cyd2-utility_20251026084222.js deleted file mode 100644 index 579a675..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026084222.js +++ /dev/null @@ -1,900 +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é - let minEffectif = ameMin !== null ? 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 (nbAme >= 3 && traumatiseValue >= minEffectif) { - list.push({ value: String(traumatiseValue), label: "Traumatisé" }) - } - if (nbAme >= 2 && tresTraumatiseValue >= minEffectif) { - list.push({ value: String(tresTraumatiseValue), label: "Très Traumatisé" }) - } - if (nbAme >= 1 && 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026084417.js b/.history/modules/mournblade-cyd2-utility_20251026084417.js deleted file mode 100644 index eaacecc..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026084417.js +++ /dev/null @@ -1,900 +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é - let minEffectif = ameMin !== null ? 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 (nbAme >= 3 && traumatiseValue >= minEffectif) { - list.push({ value: String(traumatiseValue), label: "Traumatisé" }) - } - if (nbAme >= 2 && tresTraumatiseValue >= minEffectif) { - list.push({ value: String(tresTraumatiseValue), label: "Très Traumatisé" }) - } - if (nbAme >= 1 && 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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026084555.js b/.history/modules/mournblade-cyd2-utility_20251026084555.js deleted file mode 100644 index bbad0ea..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026084555.js +++ /dev/null @@ -1,901 +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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026084610.js b/.history/modules/mournblade-cyd2-utility_20251026084610.js deleted file mode 100644 index bbad0ea..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026084610.js +++ /dev/null @@ -1,901 +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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 = ""; - for (let entryData of talents) { - console.log(entryData) - htmlTab += `` - htmlTab += ``; - htmlTab += "\n"; - } - htmlTab += "
@UUID[Compendium.${compName}.${entryData._id}]{${entryData.name}}${entryData.system.description}
"; - await JournalEntry.create({ name: 'Liste des Talents de Cellule', content: htmlTab }); - } -} diff --git a/.history/modules/mournblade-cyd2-utility_20251026095902.js b/.history/modules/mournblade-cyd2-utility_20251026095902.js deleted file mode 100644 index f2bb274..0000000 --- a/.history/modules/mournblade-cyd2-utility_20251026095902.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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 + "
" + chatOptions.content; - console.log("blindMessageToGM", chatGM); - game.socket.emit("system.fvtt-mournblade-cyd2", { msg: "msg_gm_chat_message", data: chatGM }); - } - - /* -------------------------------------------- */ - static async searchItem(dataItem) { - let item - if (dataItem.pack) { - let id = dataItem.id || dataItem._id - let items = await this.loadCompendium(dataItem.pack, item => item.id == id) - item = items[0] || undefined - } else { - item = game.items.get(dataItem.id) - } - return item - } - - /* -------------------------------------------- */ - static split3Columns(data) { - - let array = [[], [], []]; - if (data == undefined) return array; - - let col = 0; - for (let key in data) { - let keyword = data[key]; - keyword.key = key; // Self-reference - array[col].push(keyword); - col++; - if (col == 3) col = 0; - } - return array; - } - - /* -------------------------------------------- */ - static async createChatMessage(name, rollMode, chatOptions, rollData = undefined) { - switch (rollMode) { - case "blindroll": // GM only - if (!game.user.isGM) { - this.blindMessageToGM(chatOptions); - - chatOptions.whisper = [game.user.id]; - chatOptions.content = "Message only to the GM"; - } - else { - chatOptions.whisper = this.getUsers(user => user.isGM); - } - break; - default: - chatOptions.whisper = this.getWhisperRecipients(rollMode, name); - break; - } - chatOptions.alias = chatOptions.alias || name - let msg = await ChatMessage.create(chatOptions) - console.log("=======>", rollData) - msg.setFlag("world", "mournblade-cyd2-roll", rollData) - } - - /* -------------------------------------------- */ - static getBasicRollData() { - let rollData = { - rollId: foundry.utils.randomID(16), - rollMode: game.settings.get("core", "rollMode"), - modificateursOptions: this.getModificateurOptions(), - pointAmeOptions: this.getPointAmeOptions(), - difficulte: 0, - modificateur: 0, - bonusMalusContext: 0, - bonusArmeNaturelle: 0, - defenseurAveugle: false, - defenseurDeDos: false, - defenseurAuSol: false, - defenseurRestreint: false, - defenseurImmobilise: false, - tailleCible: "normal", - tireurDeplacement: "immobile", - cibleCouvert: "aucun", - distanceTir: "porteemoyenne", - attaqueCharge: false, - attaqueDesarme: false, - attaqueAmbidextre1: false, - attaqueAmbidextre2: false, - chargeCavalerie: false, - contenir: false, - soutiens: 0 - } - return rollData - } - - /* -------------------------------------------- */ - static updateWithTarget(rollData) { - let target = MournbladeCYD2Utility.getTarget() - if (target) { - rollData.defenderTokenId = target.id - let defender = game.canvas.tokens.get(rollData.defenderTokenId).actor - rollData.armeDefense = defender.getBestDefenseValue() - rollData.armeAttaqueDefenseur = defender.getBestAttackValue() - rollData.targetVigueur = defender.getVigueur() - rollData.protectionDefenseur = defender.getProtection() - if (rollData.immobiliser || rollData.repousser) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal + (rollData.armeDefense && rollData.cibleconsciente ? 5 : 0) - } else if (rollData.coupBas) { - let combatValues = defender.getCombatValues() - rollData.difficulte = combatValues.defenseTotal - } else if (rollData.assomer) { - rollData.difficulte = 3 + (defender.system.attributs.tre.value * 2) - } else if (rollData.desengager) { - rollData.difficulte = rollData.armeAttaqueDefenseur?.system?.totalOffensif || 0; - } else if (rollData.armeDefense) { - rollData.difficulte = rollData.armeDefense.system.totalDefensif - if (!rollData.desengager && !rollData.arme.system.armenaturelle && !rollData.arme.system.armefortune) { - if (rollData.armeDefense.system.armenaturelle || rollData.armeDefense.system.armefortune) { - rollData.bonusArmeNaturelle = 3 - } - } - } else { - ui.notifications.warn("Aucune arme de défense équipée, difficulté manuelle à positionner.") - } - } - } - - /* -------------------------------------------- */ - static createChatWithRollMode(name, chatOptions, rollData = undefined) { - this.createChatMessage(name, game.settings.get("core", "rollMode"), chatOptions, rollData) - } - - /* -------------------------------------------- */ - static applyBonneAventureRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeBonneAventure(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus de Points d'Aventure" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static applyEclatRoll(li, changed, addedBonus) { - let msgId = $(li).data("message-id") - let msg = game.messages.get(msgId) - if (msg) { - let rollData = msg.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - actor.changeEclat(changed) - rollData.isReroll = true - rollData.textBonus = "Bonus d'Eclat" - if (addedBonus == "reroll") { - MournbladeCYD2Utility.rollMournbladeCYD2(rollData) - } else { - rollData.addedBonus = addedBonus - MournbladeCYD2Utility.bonusRollMournbladeCYD2(rollData) - } - } - } - - /* -------------------------------------------- */ - static chatRollMenu(html, options) { - let canApply = li => canvas.tokens.controlled.length && li.find(".mournblade-cyd2-roll").length - let canApplyBA = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getBonneAventure() > 0) - } - let canApplyPE = function (li) { - let message = game.messages.get($(li).attr("data-message-id")) - let rollData = message.getFlag("world", "mournblade-cyd2-roll") - let actor = MournbladeCYD2Utility.getActorFromRollData(rollData) - return (!rollData.isReroll && actor.getEclat() > 0) - } - options.push( - { - name: "Ajouer +3 (1 point de Bonne Aventure)", - icon: "", - condition: canApply && canApplyBA, - callback: li => MournbladeCYD2Utility.applyBonneAventureRoll(li, -1, "+3") - } - ) - options.push( - { - name: "Ajouter +10 (1 Point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "+10") - } - ) - options.push( - { - name: "Relancer le dé (1 point d'Eclat)", - icon: "", - condition: canApply && canApplyPE, - callback: li => MournbladeCYD2Utility.applyEclatRoll(li, -1, "reroll") - } - ) - return options - } - - /* -------------------------------------------- */ - static async confirmDelete(actorSheet, li) { - let itemId = li.data("item-id"); - let msgTxt = "

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 @@ -
- - {{!-- Sheet Header --}} -
-
-
- -
-

-
- -
    - -
  • -

    Bonne Aventure

    - - - - -
  • - -
  • -

    Expérience

    - - -

    Eclat

    - -
  • - -
  • -

    Vigueur

    - -

    Etat

    - -
  • - -
-
-
-
-
- - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
- - {{!-- Main Tab --}} -
- -
- -
- -
-
    - {{#each system.attributs as |attr key|}} -
  • - - {{attr.label}} - -
  • - {{/each}} - -
  • - - Vitesse - -
  • - -
-
- -
- -

Adversités

-
    - {{#each system.adversite as |adv key|}} -
  • - - -
    - -
    {{adv}}
    -
    - + -
     
    -
     
    -
     
    -
  • - {{/each}} -
- {{#if isGM}} -
- Modificateur de Vigueur - -
- {{/if}} -
-
- -
-
    -
  • - -

    -
    - - - -
     
    -
    - -
    -
  • - {{#each talents as |talent key|}} -
  • - - {{talent.name}} - {{talent.system.resumebonus}} - -
     
    -
    - - -
    -
  • - {{/each}} -
-
- - {{#if (count mutations)}} -
-
    -
  • - -

    -
    - - - -
     
    -
    - -
    -
  • - {{#each mutations as |mutation key|}} -
  • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
     
    -
    - - -
    -
  • - {{/each}} -
-
- {{/if}} - -
-
-
    -
  • - -

    -
    - - - -
     
    -
    - -
    -
  • - {{#each talentsCell as |talent key|}} -
  • - - {{talent.name}} - {{talent.system.resumebonus}} -
     
    -
    - -
    -
  • - {{/each}} -
-
- -
-
- -
- - {{!-- Competence Tab --}} -
- -
- -
-
    -
  • - -

    -
    - - - -
     
    -
  • - {{#each skills as |skill key|}} -
  • - - -
    - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
    - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
     
    -
    - - -
    -
  • - {{/each}} -
-
- -
- -
- - {{!-- Equipement Tab --}} -
- -
    -
  • - - - - - - - -
  • -
  • - - - - - -
  • -
- -
- -
-
    -
  • - -

    -
    - - - - - - - - - -
     
    -
    - -
    -
  • - {{#each armes as |arme key|}} -
  • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
     
    - -
  • - {{/each}} -
-
- -
- -
-
-
- - - {{!-- Equipement Tab --}} -
- -
- -
-
-

- -

-
- -
-
    -
  • - -

    -
    - - - - -
     
    -
    - -
    -
  • - {{#each monnaies as |monnaie key|}} -
  • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
     
    -
    - - -
    -
  • - {{/each}} -
-
- -
-
-

- -

-
- -
-
    -
  • - -

    -
    - - - - - -
     
    -
    - -
    -
  • - {{#each equipements as |equipement key|}} -
  • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
     
    -
    - - -
    -
  • - {{/each}} -
-
- -
-
    -
  • - -

    -
    - - - - - -
     
    -
    - -
    -
  • - {{#each artefacts as |artefact key|}} -
  • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
     
    -
    - - -
    -
  • - {{/each}} -
-
- -
- -
- - - {{!-- Biography Tab --}} -
- -
-
    - {{#each historiques as |historique key|}} -
  • - - - -
    - - -
    -
  • - {{/each}} - {{#each profils as |profil key|}} -
  • - - - -
    - - -
    -
  • - {{/each}} -
-
- - -
-
-
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
-
-
-
    -
  • - - -
  • -
  • - - -
  • -
-
- -
-
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026001549.html b/.history/templates/actor-sheet_20251026001549.html deleted file mode 100644 index a2b9047..0000000 --- a/.history/templates/actor-sheet_20251026001549.html +++ /dev/null @@ -1,638 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026001923.html b/.history/templates/actor-sheet_20251026001923.html deleted file mode 100644 index 9e0c23d..0000000 --- a/.history/templates/actor-sheet_20251026001923.html +++ /dev/null @@ -1,817 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026002143.html b/.history/templates/actor-sheet_20251026002143.html deleted file mode 100644 index 9e0c23d..0000000 --- a/.history/templates/actor-sheet_20251026002143.html +++ /dev/null @@ -1,817 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026002523.html b/.history/templates/actor-sheet_20251026002523.html deleted file mode 100644 index 466e703..0000000 --- a/.history/templates/actor-sheet_20251026002523.html +++ /dev/null @@ -1,843 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026002720.html b/.history/templates/actor-sheet_20251026002720.html deleted file mode 100644 index 466e703..0000000 --- a/.history/templates/actor-sheet_20251026002720.html +++ /dev/null @@ -1,843 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026082058.html b/.history/templates/actor-sheet_20251026082058.html deleted file mode 100644 index 2acf7b1..0000000 --- a/.history/templates/actor-sheet_20251026082058.html +++ /dev/null @@ -1,853 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026082111.html b/.history/templates/actor-sheet_20251026082111.html deleted file mode 100644 index e27d35b..0000000 --- a/.history/templates/actor-sheet_20251026082111.html +++ /dev/null @@ -1,858 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026082310.html b/.history/templates/actor-sheet_20251026082310.html deleted file mode 100644 index e27d35b..0000000 --- a/.history/templates/actor-sheet_20251026082310.html +++ /dev/null @@ -1,858 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026082534.html b/.history/templates/actor-sheet_20251026082534.html deleted file mode 100644 index 0342f84..0000000 --- a/.history/templates/actor-sheet_20251026082534.html +++ /dev/null @@ -1,861 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026082725.html b/.history/templates/actor-sheet_20251026082725.html deleted file mode 100644 index 0342f84..0000000 --- a/.history/templates/actor-sheet_20251026082725.html +++ /dev/null @@ -1,861 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026083122.html b/.history/templates/actor-sheet_20251026083122.html deleted file mode 100644 index 8787c01..0000000 --- a/.history/templates/actor-sheet_20251026083122.html +++ /dev/null @@ -1,870 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    • -
      - États d'Âme : - {{#each ameList}} - {{#if @first}}{{this.label}}{{else}}{{#if @last}}{{this.label}}{{else}}{{this.label}}{{/if}}{{/if}}{{#unless @last}} → {{/unless}} - {{/each}} -
      -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026083152.html b/.history/templates/actor-sheet_20251026083152.html deleted file mode 100644 index 8787c01..0000000 --- a/.history/templates/actor-sheet_20251026083152.html +++ /dev/null @@ -1,870 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    • -
      - États d'Âme : - {{#each ameList}} - {{#if @first}}{{this.label}}{{else}}{{#if @last}}{{this.label}}{{else}}{{this.label}}{{/if}}{{/if}}{{#unless @last}} → {{/unless}} - {{/each}} -
      -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026083442.html b/.history/templates/actor-sheet_20251026083442.html deleted file mode 100644 index 0342f84..0000000 --- a/.history/templates/actor-sheet_20251026083442.html +++ /dev/null @@ -1,861 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026083504.html b/.history/templates/actor-sheet_20251026083504.html deleted file mode 100644 index 0342f84..0000000 --- a/.history/templates/actor-sheet_20251026083504.html +++ /dev/null @@ -1,861 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026083638.html b/.history/templates/actor-sheet_20251026083638.html deleted file mode 100644 index 00d461a..0000000 --- a/.history/templates/actor-sheet_20251026083638.html +++ /dev/null @@ -1,863 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026083658.html b/.history/templates/actor-sheet_20251026083658.html deleted file mode 100644 index 00d461a..0000000 --- a/.history/templates/actor-sheet_20251026083658.html +++ /dev/null @@ -1,863 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talentsCell as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} -
       
      -
      - -
      -
    • - {{/each}} -
    -
    - -
    -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026095932.html b/.history/templates/actor-sheet_20251026095932.html deleted file mode 100644 index b2f0970..0000000 --- a/.history/templates/actor-sheet_20251026095932.html +++ /dev/null @@ -1,824 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026100139.html b/.history/templates/actor-sheet_20251026100139.html deleted file mode 100644 index b2f0970..0000000 --- a/.history/templates/actor-sheet_20251026100139.html +++ /dev/null @@ -1,824 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104104.html b/.history/templates/actor-sheet_20251026104104.html deleted file mode 100644 index 2a480c0..0000000 --- a/.history/templates/actor-sheet_20251026104104.html +++ /dev/null @@ -1,824 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} -
    -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104106.html b/.history/templates/actor-sheet_20251026104106.html deleted file mode 100644 index a5ed58d..0000000 --- a/.history/templates/actor-sheet_20251026104106.html +++ /dev/null @@ -1,825 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104118.html b/.history/templates/actor-sheet_20251026104118.html deleted file mode 100644 index 143c7d1..0000000 --- a/.history/templates/actor-sheet_20251026104118.html +++ /dev/null @@ -1,828 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104123.html b/.history/templates/actor-sheet_20251026104123.html deleted file mode 100644 index ca2d22b..0000000 --- a/.history/templates/actor-sheet_20251026104123.html +++ /dev/null @@ -1,828 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} -
    - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104126.html b/.history/templates/actor-sheet_20251026104126.html deleted file mode 100644 index c382302..0000000 --- a/.history/templates/actor-sheet_20251026104126.html +++ /dev/null @@ -1,828 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} -
    - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104132.html b/.history/templates/actor-sheet_20251026104132.html deleted file mode 100644 index be98310..0000000 --- a/.history/templates/actor-sheet_20251026104132.html +++ /dev/null @@ -1,828 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} -
    - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104137.html b/.history/templates/actor-sheet_20251026104137.html deleted file mode 100644 index 42801a6..0000000 --- a/.history/templates/actor-sheet_20251026104137.html +++ /dev/null @@ -1,828 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - {{#if (count mutations)}} -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each mutations as |mutation key|}} -
    • - - {{mutation.name}} - {{mutation.system.mutationcategorie}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - {{/if}} -
    - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104145.html b/.history/templates/actor-sheet_20251026104145.html deleted file mode 100644 index 821cef6..0000000 --- a/.history/templates/actor-sheet_20251026104145.html +++ /dev/null @@ -1,796 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104233.html b/.history/templates/actor-sheet_20251026104233.html deleted file mode 100644 index 097e4c0..0000000 --- a/.history/templates/actor-sheet_20251026104233.html +++ /dev/null @@ -1,795 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104239.html b/.history/templates/actor-sheet_20251026104239.html deleted file mode 100644 index 9416040..0000000 --- a/.history/templates/actor-sheet_20251026104239.html +++ /dev/null @@ -1,794 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104254.html b/.history/templates/actor-sheet_20251026104254.html deleted file mode 100644 index 9416040..0000000 --- a/.history/templates/actor-sheet_20251026104254.html +++ /dev/null @@ -1,794 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104308.html b/.history/templates/actor-sheet_20251026104308.html deleted file mode 100644 index 097e4c0..0000000 --- a/.history/templates/actor-sheet_20251026104308.html +++ /dev/null @@ -1,795 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104319.html b/.history/templates/actor-sheet_20251026104319.html deleted file mode 100644 index 28a313f..0000000 --- a/.history/templates/actor-sheet_20251026104319.html +++ /dev/null @@ -1,798 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104321.html b/.history/templates/actor-sheet_20251026104321.html deleted file mode 100644 index a1ec709..0000000 --- a/.history/templates/actor-sheet_20251026104321.html +++ /dev/null @@ -1,798 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104322.html b/.history/templates/actor-sheet_20251026104322.html deleted file mode 100644 index feaff5f..0000000 --- a/.history/templates/actor-sheet_20251026104322.html +++ /dev/null @@ -1,798 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104324.html b/.history/templates/actor-sheet_20251026104324.html deleted file mode 100644 index f6506ef..0000000 --- a/.history/templates/actor-sheet_20251026104324.html +++ /dev/null @@ -1,797 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026104444.html b/.history/templates/actor-sheet_20251026104444.html deleted file mode 100644 index f6506ef..0000000 --- a/.history/templates/actor-sheet_20251026104444.html +++ /dev/null @@ -1,797 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026114000.html b/.history/templates/actor-sheet_20251026114000.html deleted file mode 100644 index fa5ec52..0000000 --- a/.history/templates/actor-sheet_20251026114000.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026114722.html b/.history/templates/actor-sheet_20251026114722.html deleted file mode 100644 index f088568..0000000 --- a/.history/templates/actor-sheet_20251026114722.html +++ /dev/null @@ -1,792 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026114726.html b/.history/templates/actor-sheet_20251026114726.html deleted file mode 100644 index 2caf362..0000000 --- a/.history/templates/actor-sheet_20251026114726.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115045.html b/.history/templates/actor-sheet_20251026115045.html deleted file mode 100644 index 80a9737..0000000 --- a/.history/templates/actor-sheet_20251026115045.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115049.html b/.history/templates/actor-sheet_20251026115049.html deleted file mode 100644 index 91c967b..0000000 --- a/.history/templates/actor-sheet_20251026115049.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115055.html b/.history/templates/actor-sheet_20251026115055.html deleted file mode 100644 index 1123a7c..0000000 --- a/.history/templates/actor-sheet_20251026115055.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • - - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115433.html b/.history/templates/actor-sheet_20251026115433.html deleted file mode 100644 index accda11..0000000 --- a/.history/templates/actor-sheet_20251026115433.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115436.html b/.history/templates/actor-sheet_20251026115436.html deleted file mode 100644 index 0152058..0000000 --- a/.history/templates/actor-sheet_20251026115436.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      -label competence-name item-field-label-short">Loi - - - - - -

    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115440.html b/.history/templates/actor-sheet_20251026115440.html deleted file mode 100644 index 274ea8e..0000000 --- a/.history/templates/actor-sheet_20251026115440.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi - - - - - -

    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115444.html b/.history/templates/actor-sheet_20251026115444.html deleted file mode 100644 index 5a54150..0000000 --- a/.history/templates/actor-sheet_20251026115444.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi - - - - - -

    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115447.html b/.history/templates/actor-sheet_20251026115447.html deleted file mode 100644 index 600b993..0000000 --- a/.history/templates/actor-sheet_20251026115447.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • - - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115450.html b/.history/templates/actor-sheet_20251026115450.html deleted file mode 100644 index 840a3e9..0000000 --- a/.history/templates/actor-sheet_20251026115450.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115527.html b/.history/templates/actor-sheet_20251026115527.html deleted file mode 100644 index 5f11731..0000000 --- a/.history/templates/actor-sheet_20251026115527.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026115531.html b/.history/templates/actor-sheet_20251026115531.html deleted file mode 100644 index 55db843..0000000 --- a/.history/templates/actor-sheet_20251026115531.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Expérience

      - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130512.html b/.history/templates/actor-sheet_20251026130512.html deleted file mode 100644 index 86e2c00..0000000 --- a/.history/templates/actor-sheet_20251026130512.html +++ /dev/null @@ -1,789 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130525.html b/.history/templates/actor-sheet_20251026130525.html deleted file mode 100644 index 113b5ac..0000000 --- a/.history/templates/actor-sheet_20251026130525.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -

      Expérience

      - - -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130527.html b/.history/templates/actor-sheet_20251026130527.html deleted file mode 100644 index 9c61d00..0000000 --- a/.history/templates/actor-sheet_20251026130527.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -

      Expérience

      - - -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130531.html b/.history/templates/actor-sheet_20251026130531.html deleted file mode 100644 index 2e01f54..0000000 --- a/.history/templates/actor-sheet_20251026130531.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -

      Expérience

      - - -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130535.html b/.history/templates/actor-sheet_20251026130535.html deleted file mode 100644 index a38a20b..0000000 --- a/.history/templates/actor-sheet_20251026130535.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • - - - -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130540.html b/.history/templates/actor-sheet_20251026130540.html deleted file mode 100644 index a7d80e6..0000000 --- a/.history/templates/actor-sheet_20251026130540.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • - - - -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130542.html b/.history/templates/actor-sheet_20251026130542.html deleted file mode 100644 index ca2810c..0000000 --- a/.history/templates/actor-sheet_20251026130542.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • - - - -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130547.html b/.history/templates/actor-sheet_20251026130547.html deleted file mode 100644 index 122b523..0000000 --- a/.history/templates/actor-sheet_20251026130547.html +++ /dev/null @@ -1,794 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - - -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130550.html b/.history/templates/actor-sheet_20251026130550.html deleted file mode 100644 index 187d659..0000000 --- a/.history/templates/actor-sheet_20251026130550.html +++ /dev/null @@ -1,797 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - - -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130556.html b/.history/templates/actor-sheet_20251026130556.html deleted file mode 100644 index 51ced15..0000000 --- a/.history/templates/actor-sheet_20251026130556.html +++ /dev/null @@ -1,794 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130649.html b/.history/templates/actor-sheet_20251026130649.html deleted file mode 100644 index 5b68e8e..0000000 --- a/.history/templates/actor-sheet_20251026130649.html +++ /dev/null @@ -1,794 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130723.html b/.history/templates/actor-sheet_20251026130723.html deleted file mode 100644 index c8f80c0..0000000 --- a/.history/templates/actor-sheet_20251026130723.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -
    • - -
    • -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130725.html b/.history/templates/actor-sheet_20251026130725.html deleted file mode 100644 index 9884b6b..0000000 --- a/.history/templates/actor-sheet_20251026130725.html +++ /dev/null @@ -1,794 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130727.html b/.history/templates/actor-sheet_20251026130727.html deleted file mode 100644 index 9f9261c..0000000 --- a/.history/templates/actor-sheet_20251026130727.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130730.html b/.history/templates/actor-sheet_20251026130730.html deleted file mode 100644 index 99302bd..0000000 --- a/.history/templates/actor-sheet_20251026130730.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130755.html b/.history/templates/actor-sheet_20251026130755.html deleted file mode 100644 index 50155e1..0000000 --- a/.history/templates/actor-sheet_20251026130755.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Seuil de Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130839.html b/.history/templates/actor-sheet_20251026130839.html deleted file mode 100644 index da17567..0000000 --- a/.history/templates/actor-sheet_20251026130839.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130846.html b/.history/templates/actor-sheet_20251026130846.html deleted file mode 100644 index 5060d79..0000000 --- a/.history/templates/actor-sheet_20251026130846.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130849.html b/.history/templates/actor-sheet_20251026130849.html deleted file mode 100644 index 0809d74..0000000 --- a/.history/templates/actor-sheet_20251026130849.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130920.html b/.history/templates/actor-sheet_20251026130920.html deleted file mode 100644 index ca71154..0000000 --- a/.history/templates/actor-sheet_20251026130920.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130923.html b/.history/templates/actor-sheet_20251026130923.html deleted file mode 100644 index f441567..0000000 --- a/.history/templates/actor-sheet_20251026130923.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130924.html b/.history/templates/actor-sheet_20251026130924.html deleted file mode 100644 index e2948cf..0000000 --- a/.history/templates/actor-sheet_20251026130924.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130946.html b/.history/templates/actor-sheet_20251026130946.html deleted file mode 100644 index 986da38..0000000 --- a/.history/templates/actor-sheet_20251026130946.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130950.html b/.history/templates/actor-sheet_20251026130950.html deleted file mode 100644 index 8cb097f..0000000 --- a/.history/templates/actor-sheet_20251026130950.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026130951.html b/.history/templates/actor-sheet_20251026130951.html deleted file mode 100644 index 0944e3c..0000000 --- a/.history/templates/actor-sheet_20251026130951.html +++ /dev/null @@ -1,791 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131039.html b/.history/templates/actor-sheet_20251026131039.html deleted file mode 100644 index eb82012..0000000 --- a/.history/templates/actor-sheet_20251026131039.html +++ /dev/null @@ -1,792 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - {{system.ame.seuilpouvoir}} -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131041.html b/.history/templates/actor-sheet_20251026131041.html deleted file mode 100644 index 0b91735..0000000 --- a/.history/templates/actor-sheet_20251026131041.html +++ /dev/null @@ -1,792 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - {{system.ame.seuilpouvoir}} -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131044.html b/.history/templates/actor-sheet_20251026131044.html deleted file mode 100644 index 6475219..0000000 --- a/.history/templates/actor-sheet_20251026131044.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131047.html b/.history/templates/actor-sheet_20251026131047.html deleted file mode 100644 index 7f5abaf..0000000 --- a/.history/templates/actor-sheet_20251026131047.html +++ /dev/null @@ -1,792 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131048.html b/.history/templates/actor-sheet_20251026131048.html deleted file mode 100644 index 6475219..0000000 --- a/.history/templates/actor-sheet_20251026131048.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131056.html b/.history/templates/actor-sheet_20251026131056.html deleted file mode 100644 index 20c73de..0000000 --- a/.history/templates/actor-sheet_20251026131056.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131058.html b/.history/templates/actor-sheet_20251026131058.html deleted file mode 100644 index 30de938..0000000 --- a/.history/templates/actor-sheet_20251026131058.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131100.html b/.history/templates/actor-sheet_20251026131100.html deleted file mode 100644 index 7235d05..0000000 --- a/.history/templates/actor-sheet_20251026131100.html +++ /dev/null @@ -1,792 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131125.html b/.history/templates/actor-sheet_20251026131125.html deleted file mode 100644 index a8fdac4..0000000 --- a/.history/templates/actor-sheet_20251026131125.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - {{system.sante.vigueur}} -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131127.html b/.history/templates/actor-sheet_20251026131127.html deleted file mode 100644 index 8734359..0000000 --- a/.history/templates/actor-sheet_20251026131127.html +++ /dev/null @@ -1,794 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131131.html b/.history/templates/actor-sheet_20251026131131.html deleted file mode 100644 index 5045656..0000000 --- a/.history/templates/actor-sheet_20251026131131.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      Bonne Aventure

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131347.html b/.history/templates/actor-sheet_20251026131347.html deleted file mode 100644 index 64b5a42..0000000 --- a/.history/templates/actor-sheet_20251026131347.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131351.html b/.history/templates/actor-sheet_20251026131351.html deleted file mode 100644 index 2674434..0000000 --- a/.history/templates/actor-sheet_20251026131351.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131356.html b/.history/templates/actor-sheet_20251026131356.html deleted file mode 100644 index 1f3c9d9..0000000 --- a/.history/templates/actor-sheet_20251026131356.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131441.html b/.history/templates/actor-sheet_20251026131441.html deleted file mode 100644 index fd66f2c..0000000 --- a/.history/templates/actor-sheet_20251026131441.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131451.html b/.history/templates/actor-sheet_20251026131451.html deleted file mode 100644 index 702f927..0000000 --- a/.history/templates/actor-sheet_20251026131451.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Modificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131516.html b/.history/templates/actor-sheet_20251026131516.html deleted file mode 100644 index 09ae0ae..0000000 --- a/.history/templates/actor-sheet_20251026131516.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod.ificateur de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131518.html b/.history/templates/actor-sheet_20251026131518.html deleted file mode 100644 index e39c7b8..0000000 --- a/.history/templates/actor-sheet_20251026131518.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Modificateur de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131520.html b/.history/templates/actor-sheet_20251026131520.html deleted file mode 100644 index 149ac76..0000000 --- a/.history/templates/actor-sheet_20251026131520.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Mod. de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131526.html b/.history/templates/actor-sheet_20251026131526.html deleted file mode 100644 index e8060d6..0000000 --- a/.history/templates/actor-sheet_20251026131526.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Mod. de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131530.html b/.history/templates/actor-sheet_20251026131530.html deleted file mode 100644 index 2da4988..0000000 --- a/.history/templates/actor-sheet_20251026131530.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Mod. de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131535.html b/.history/templates/actor-sheet_20251026131535.html deleted file mode 100644 index 3b29d97..0000000 --- a/.history/templates/actor-sheet_20251026131535.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Mod. de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026131536.html b/.history/templates/actor-sheet_20251026131536.html deleted file mode 100644 index eba31f8..0000000 --- a/.history/templates/actor-sheet_20251026131536.html +++ /dev/null @@ -1,793 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Mod. de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each artefacts as |artefact key|}} -
    • - - {{artefact.name}} - {{artefact.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026132215.html b/.history/templates/actor-sheet_20251026132215.html deleted file mode 100644 index c47eeab..0000000 --- a/.history/templates/actor-sheet_20251026132215.html +++ /dev/null @@ -1,758 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Mod. de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026132457.html b/.history/templates/actor-sheet_20251026132457.html deleted file mode 100644 index c47eeab..0000000 --- a/.history/templates/actor-sheet_20251026132457.html +++ /dev/null @@ -1,758 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Mod. de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026134949.html b/.history/templates/actor-sheet_20251026134949.html deleted file mode 100644 index 8ce5bdb..0000000 --- a/.history/templates/actor-sheet_20251026134949.html +++ /dev/null @@ -1,758 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Mod. de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20251026135010.html b/.history/templates/actor-sheet_20251026135010.html deleted file mode 100644 index 8ce5bdb..0000000 --- a/.history/templates/actor-sheet_20251026135010.html +++ /dev/null @@ -1,758 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Loi

      - - - - - -
    • - -
    • -

      Chaos

      - - - - - -
    • - -
    • -

      BA

      - - - - -

      Eclat

      - -
    • - -
    • -

      Vigueur

      - -

      Etat

      - -
    • - -
    • -

      Pouvoir

      - -

      Âme

      - -

      Max

      - -
    • - -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    - {{#if isGM}} -
    - Mod. de Vigueur - -
    -
    - Mod. de Seuil de Pouvoir - -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20260403081216.hbs b/.history/templates/actor-sheet_20260403081216.hbs deleted file mode 100644 index 6cf6e18..0000000 --- a/.history/templates/actor-sheet_20260403081216.hbs +++ /dev/null @@ -1,789 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    - - {{!-- Bannière : image + nom + bouton --}} -
    - -

    - -
    - - {{!-- Cartes de statistiques --}} -
    - - {{!-- LOI --}} -
    -
    ⚖ Loi
    -
    -
    - - -
    -
    - - -
    -
    Aspect : {{system.balance.aspect}}
    -
    -
    - - {{!-- CHAOS --}} -
    -
    ☯ Chaos
    -
    -
    - - -
    -
    - - -
    -
    Marge : {{system.balance.marge}}
    -
    -
    - - {{!-- BONNE AVENTURE --}} -
    -
    ★ Bonne Aventure
    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    -
    - - {{!-- VIGUEUR --}} -
    -
    ♥ Vigueur ({{system.sante.vigueur}})
    -
    -
    - - -
    -
    -
    - - {{!-- ÂME --}} -
    -
    ✦ Âme (Seuil {{system.ame.seuilpouvoir}})
    -
    -
    - - -
    -
    - - -
    -
    -
    - -
    - -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
    - {{#each system.adversite as |adv key|}} -
    -
    {{upperFirst key}}
    - -
    {{adv}}
    -
    - - + -
    -
    - {{/each}} -
    - -
    - Malus jets - −{{adversiteTotal}} -
    - - {{#if isGM}} -
    -
    - - -
    -
    - - -
    -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/actor-sheet_20260403094215.hbs b/.history/templates/actor-sheet_20260403094215.hbs deleted file mode 100644 index 092c48b..0000000 --- a/.history/templates/actor-sheet_20260403094215.hbs +++ /dev/null @@ -1,789 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    - - {{!-- Bannière : image + nom + bouton --}} -
    - -

    - -
    - - {{!-- Cartes de statistiques --}} -
    - - {{!-- LOI --}} -
    -
    ⚖ Loi
    -
    -
    - - -
    -
    - - -
    -
    Aspect : {{system.balance.aspect}}
    -
    -
    - - {{!-- CHAOS --}} -
    -
    ☯ Chaos
    -
    -
    - - -
    -
    - - -
    -
    Marge : {{system.balance.marge}}
    -
    -
    - - {{!-- BONNE AVENTURE --}} -
    -
    ★ Bonne Aventure
    -
    -
    - - -
    -
    - - -
    -
    - - -
    -
    -
    - - {{!-- VIGUEUR --}} -
    -
    ♥ Vigueur ({{system.sante.vigueur}})
    -
    -
    - - -
    -
    -
    - - {{!-- ÂME --}} -
    -
    ✦ Âme (Seuil {{system.ame.seuilpouvoir}})
    -
    -
    - - -
    -
    - - -
    -
    -
    - -
    - -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} - -
    • - - Vitesse - -
    • - -
    -
    - -
    - -

    Adversités

    -
    - {{#each system.adversite as |adv key|}} -
    -
    {{upperFirst key}}
    - -
    {{adv}}
    -
    - - + -
    -
    - {{/each}} -
    - -
    - Malus jets - −{{adversiteTotal}} -
    - - {{#if isGM}} -
    -
    - - -
    -
    - - -
    -
    - {{/if}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    -
    - - - {{!-- Competences Tab --}} -
    - -
    -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Dons/Pactes Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each dons as |don key|}} -
    • - - {{don.name}} - {{don.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each pactes as |pacte key|}} -
    • - - {{pacte.name}} - {{pacte.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - - - - -
       
      -
      - -
      -
    • - {{#each runes as |rune key|}} -
    • - - {{rune.name}} - {{rune.system.formule}} - {{rune.system.seuil}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each tendances as |tendance key|}} -
    • - - {{tendance.name}} - {{tendance.system.allegeance}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsChaotiques as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
      -
    • - -

      -
      -
       
      -
      - -
      -
    • - {{#each traitsEspeces as |trait key|}} -
    • - - {{trait.name}} -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
      -
    • - - - - - - - -
    • -
    • - - - - - -
    • -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    -
    -
    - - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - -
       
      -
      - -
      -
    • - {{#each monnaies as |monnaie key|}} -
    • - - {{monnaie.name}} - {{monnaie.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    -
    -

    - -

    -
    - -
    -
      -
    • - -

      -
      - - - - - -
       
      -
      - -
      -
    • - {{#each equipements as |equipement key|}} -
    • - - {{equipement.name}} - {{equipement.system.quantite}} - - - + - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - -
    -
      - {{#each historiques as |historique key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} - {{#each profils as |profil key|}} -
    • - - - -
      - - -
      -
    • - {{/each}} -
    -
    - - -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
      -
    • - - -
    • -
    • - - -
    • -
    -
    - -
    -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
    -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/chat-degats-result_20251026004806.html b/.history/templates/chat-degats-result_20251026004806.html deleted file mode 100644 index c9d146f..0000000 --- a/.history/templates/chat-degats-result_20251026004806.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • Formule : {{formula}}
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134440.html b/.history/templates/chat-degats-result_20251026134440.html deleted file mode 100644 index fd6f98c..0000000 --- a/.history/templates/chat-degats-result_20251026134440.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • Formule : {{formula}}
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134441.html b/.history/templates/chat-degats-result_20251026134441.html deleted file mode 100644 index 107e0f5..0000000 --- a/.history/templates/chat-degats-result_20251026134441.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • Formule : {{formula}}
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134442.html b/.history/templates/chat-degats-result_20251026134442.html deleted file mode 100644 index 1fdf544..0000000 --- a/.history/templates/chat-degats-result_20251026134442.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • Formule : {{formula}}
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134447.html b/.history/templates/chat-degats-result_20251026134447.html deleted file mode 100644 index 1fdf544..0000000 --- a/.history/templates/chat-degats-result_20251026134447.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • Formule : {{formula}}
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134449.html b/.history/templates/chat-degats-result_20251026134449.html deleted file mode 100644 index a23fee4..0000000 --- a/.history/templates/chat-degats-result_20251026134449.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134451.html b/.history/templates/chat-degats-result_20251026134451.html deleted file mode 100644 index 2889309..0000000 --- a/.history/templates/chat-degats-result_20251026134451.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134453.html b/.history/templates/chat-degats-result_20251026134453.html deleted file mode 100644 index e74e142..0000000 --- a/.history/templates/chat-degats-result_20251026134453.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134455.html b/.history/templates/chat-degats-result_20251026134455.html deleted file mode 100644 index e3b415b..0000000 --- a/.history/templates/chat-degats-result_20251026134455.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • Formule : {{formula}}
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134456.html b/.history/templates/chat-degats-result_20251026134456.html deleted file mode 100644 index 8a0e9e3..0000000 --- a/.history/templates/chat-degats-result_20251026134456.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • Formule : {{formula}}
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto): {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134457.html b/.history/templates/chat-degats-result_20251026134457.html deleted file mode 100644 index f1307d0..0000000 --- a/.history/templates/chat-degats-result_20251026134457.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Arme : {{arme.name}} (+{{arme.system.totalDegats}})
    • -
    • Formule : {{formula}}
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • Etats de Combativité supplémentaires perdus (auto) : {{nbEtatPerdus}}
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-degats-result_20251026134458.html b/.history/templates/chat-degats-result_20251026134458.html deleted file mode 100644 index 4b68017..0000000 --- a/.history/templates/chat-degats-result_20251026134458.html +++ /dev/null @@ -1,33 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Arme : {{arme.name}} (+{{arme.system.totalDegats}}) -
    • -
    • Formule : {{formula}}
    • -
    • Dégats : {{finalResult}}
    • - {{#if targetVigueur}} -
    • Vigueur de la cible : {{targetVigueur}}
    • -
    • - Etats de Combativité supplémentaires perdus (auto) : - {{nbEtatPerdus}} -
    • - {{/if}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026004914.html b/.history/templates/chat-generic-result_20251026004914.html deleted file mode 100644 index c023a23..0000000 --- a/.history/templates/chat-generic-result_20251026004914.html +++ /dev/null @@ -1,157 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Attribut : {{attr.label}} ({{attr.value}})
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} - - {{#if competence}} -
    • Compétence : {{competence.name}} ({{competence.system.niveau}})
    • - {{/if}} - - {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} - - - {{#if arme}} -
    • Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer
    • - {{/if}} - - {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés... -
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} - {{else}} -
    • Echec...
    • - {{/if}} - {{/if}} - - {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • ... Et en plus vous récupérez l'arme de votre adversaire dans votre main (si vous le souhaitez) !.
    • - {{/if}} - {{/if}} - {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} - - {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} - - {{#if isSuccess}} - - {{#if immobiliser}} - {{#if isHeroique}} -
    • Votre cible est immobilisée, et vous pouvez faire une action complexe.
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} - {{/if}} - - {{#if desengager}} - {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus de +3 pour vous attaquer
    • - {{/if}} - {{/if}} - - {{#if repousser}} - {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} - {{/if}} - - {{#if assomer}} - {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} - {{/if}} - - {{#if coupBas}} -
    • La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité (auto).
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} - {{/if}} - - {{#if arme}} - {{#if contenir}} - {{#if isHeroique}} -
    • Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer d’attaque contre le personnage lors de leur prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{else}} -
    • Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer d’attaque contre vous lors de sa prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{/if}} - {{else}} - {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto)
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - - - {{#each predilections as |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} - -
    -
    - diff --git a/.history/templates/chat-generic-result_20251026134515.html b/.history/templates/chat-generic-result_20251026134515.html deleted file mode 100644 index a94118c..0000000 --- a/.history/templates/chat-generic-result_20251026134515.html +++ /dev/null @@ -1,156 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} - - {{#if competence}} -
    • Compétence : {{competence.name}} ({{competence.system.niveau}})
    • - {{/if}} - - {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} - - - {{#if arme}} -
    • Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer
    • - {{/if}} - - {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés... -
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} - {{else}} -
    • Echec...
    • - {{/if}} - {{/if}} - - {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • ... Et en plus vous récupérez l'arme de votre adversaire dans votre main (si vous le souhaitez) !.
    • - {{/if}} - {{/if}} - {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} - - {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} - - {{#if isSuccess}} - - {{#if immobiliser}} - {{#if isHeroique}} -
    • Votre cible est immobilisée, et vous pouvez faire une action complexe.
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} - {{/if}} - - {{#if desengager}} - {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus de +3 pour vous attaquer
    • - {{/if}} - {{/if}} - - {{#if repousser}} - {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} - {{/if}} - - {{#if assomer}} - {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} - {{/if}} - - {{#if coupBas}} -
    • La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité (auto).
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} - {{/if}} - - {{#if arme}} - {{#if contenir}} - {{#if isHeroique}} -
    • Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer d’attaque contre le personnage lors de leur prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{else}} -
    • Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer d’attaque contre vous lors de sa prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{/if}} - {{else}} - {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto)
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - - - {{#each predilections as |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} - -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134518.html b/.history/templates/chat-generic-result_20251026134518.html deleted file mode 100644 index bda5a1a..0000000 --- a/.history/templates/chat-generic-result_20251026134518.html +++ /dev/null @@ -1,156 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Attribut : {{attr.label}} ({{attr.value}})
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} - - {{#if competence}} -
    • Compétence : {{competence.name}} ({{competence.system.niveau}})
    • - {{/if}} - - {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} - - - {{#if arme}} -
    • Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer
    • - {{/if}} - - {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés... -
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} - {{else}} -
    • Echec...
    • - {{/if}} - {{/if}} - - {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • ... Et en plus vous récupérez l'arme de votre adversaire dans votre main (si vous le souhaitez) !.
    • - {{/if}} - {{/if}} - {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} - - {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} - - {{#if isSuccess}} - - {{#if immobiliser}} - {{#if isHeroique}} -
    • Votre cible est immobilisée, et vous pouvez faire une action complexe.
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} - {{/if}} - - {{#if desengager}} - {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus de +3 pour vous attaquer
    • - {{/if}} - {{/if}} - - {{#if repousser}} - {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} - {{/if}} - - {{#if assomer}} - {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} - {{/if}} - - {{#if coupBas}} -
    • La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité (auto).
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} - {{/if}} - - {{#if arme}} - {{#if contenir}} - {{#if isHeroique}} -
    • Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer d’attaque contre le personnage lors de leur prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{else}} -
    • Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer d’attaque contre vous lors de sa prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{/if}} - {{else}} - {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto)
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - - - {{#each predilections as |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} - -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134520.html b/.history/templates/chat-generic-result_20251026134520.html deleted file mode 100644 index e2e19bc..0000000 --- a/.history/templates/chat-generic-result_20251026134520.html +++ /dev/null @@ -1,156 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Attribut : {{attr.label}} ({{attr.value}})
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} - - {{#if competence}} -
    • Compétence : {{competence.name}} ({{competence.system.niveau}})
    • - {{/if}} - - {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} - - - {{#if arme}} -
    • Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer
    • - {{/if}} - - {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés... -
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} - {{else}} -
    • Echec...
    • - {{/if}} - {{/if}} - - {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • ... Et en plus vous récupérez l'arme de votre adversaire dans votre main (si vous le souhaitez) !.
    • - {{/if}} - {{/if}} - {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} - - {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} - - {{#if isSuccess}} - - {{#if immobiliser}} - {{#if isHeroique}} -
    • Votre cible est immobilisée, et vous pouvez faire une action complexe.
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} - {{/if}} - - {{#if desengager}} - {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus de +3 pour vous attaquer
    • - {{/if}} - {{/if}} - - {{#if repousser}} - {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} - {{/if}} - - {{#if assomer}} - {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} - {{/if}} - - {{#if coupBas}} -
    • La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité (auto).
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} - {{/if}} - - {{#if arme}} - {{#if contenir}} - {{#if isHeroique}} -
    • Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer d’attaque contre le personnage lors de leur prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{else}} -
    • Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer d’attaque contre vous lors de sa prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{/if}} - {{else}} - {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto)
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - - - {{#each predilections as |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} - -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134521.html b/.history/templates/chat-generic-result_20251026134521.html deleted file mode 100644 index 611f2f3..0000000 --- a/.history/templates/chat-generic-result_20251026134521.html +++ /dev/null @@ -1,156 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Attribut : {{attr.label}} ({{attr.value}})
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} - - {{#if competence}} -
    • Compétence : {{competence.name}} ({{competence.system.niveau}})
    • - {{/if}} - - {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} - - - {{#if arme}} -
    • Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer
    • - {{/if}} - - {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés... -
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} - {{else}} -
    • Echec...
    • - {{/if}} - {{/if}} - - {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • ... Et en plus vous récupérez l'arme de votre adversaire dans votre main (si vous le souhaitez) !.
    • - {{/if}} - {{/if}} - {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} - - {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} - - {{#if isSuccess}} - - {{#if immobiliser}} - {{#if isHeroique}} -
    • Votre cible est immobilisée, et vous pouvez faire une action complexe.
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} - {{/if}} - - {{#if desengager}} - {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus de +3 pour vous attaquer
    • - {{/if}} - {{/if}} - - {{#if repousser}} - {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} - {{/if}} - - {{#if assomer}} - {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} - {{/if}} - - {{#if coupBas}} -
    • La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité (auto).
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} - {{/if}} - - {{#if arme}} - {{#if contenir}} - {{#if isHeroique}} -
    • Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer d’attaque contre le personnage lors de leur prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{else}} -
    • Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer d’attaque contre vous lors de sa prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{/if}} - {{else}} - {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto)
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - - - {{#each predilections as |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} - -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134522.html b/.history/templates/chat-generic-result_20251026134522.html deleted file mode 100644 index 772522a..0000000 --- a/.history/templates/chat-generic-result_20251026134522.html +++ /dev/null @@ -1,156 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    -
    - -
    -
      -
    • Attribut : {{attr.label}} ({{attr.value}})
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} - - {{#if competence}} -
    • Compétence : {{competence.name}} ({{competence.system.niveau}})
    • - {{/if}} - - {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} - - - {{#if arme}} -
    • Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer
    • - {{/if}} - - {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés... -
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} - {{else}} -
    • Echec...
    • - {{/if}} - {{/if}} - - {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • ... Et en plus vous récupérez l'arme de votre adversaire dans votre main (si vous le souhaitez) !.
    • - {{/if}} - {{/if}} - {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} - - {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} - - {{#if isSuccess}} - - {{#if immobiliser}} - {{#if isHeroique}} -
    • Votre cible est immobilisée, et vous pouvez faire une action complexe.
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} - {{/if}} - - {{#if desengager}} - {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus de +3 pour vous attaquer
    • - {{/if}} - {{/if}} - - {{#if repousser}} - {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} - {{/if}} - - {{#if assomer}} - {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} - {{/if}} - - {{#if coupBas}} -
    • La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité (auto).
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} - {{/if}} - - {{#if arme}} - {{#if contenir}} - {{#if isHeroique}} -
    • Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer d’attaque contre le personnage lors de leur prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{else}} -
    • Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer d’attaque contre vous lors de sa prochaine action complexe (à ce tour de jeu ou au suivant).
    • - {{/if}} - {{else}} - {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto)
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - {{/if}} - - - {{#each predilections as |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} - -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134528.html b/.history/templates/chat-generic-result_20251026134528.html deleted file mode 100644 index 63e2e0b..0000000 --- a/.history/templates/chat-generic-result_20251026134528.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134530.html b/.history/templates/chat-generic-result_20251026134530.html deleted file mode 100644 index 8db07ca..0000000 --- a/.history/templates/chat-generic-result_20251026134530.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134532.html b/.history/templates/chat-generic-result_20251026134532.html deleted file mode 100644 index 3fcb26b..0000000 --- a/.history/templates/chat-generic-result_20251026134532.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134536.html b/.history/templates/chat-generic-result_20251026134536.html deleted file mode 100644 index 1c56ce0..0000000 --- a/.history/templates/chat-generic-result_20251026134536.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134538.html b/.history/templates/chat-generic-result_20251026134538.html deleted file mode 100644 index 576a6cb..0000000 --- a/.history/templates/chat-generic-result_20251026134538.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134539.html b/.history/templates/chat-generic-result_20251026134539.html deleted file mode 100644 index e7027be..0000000 --- a/.history/templates/chat-generic-result_20251026134539.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134542.html b/.history/templates/chat-generic-result_20251026134542.html deleted file mode 100644 index bc2c7cd..0000000 --- a/.history/templates/chat-generic-result_20251026134542.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134543.html b/.history/templates/chat-generic-result_20251026134543.html deleted file mode 100644 index deaa14e..0000000 --- a/.history/templates/chat-generic-result_20251026134543.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134545.html b/.history/templates/chat-generic-result_20251026134545.html deleted file mode 100644 index a7e7e83..0000000 --- a/.history/templates/chat-generic-result_20251026134545.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134550.html b/.history/templates/chat-generic-result_20251026134550.html deleted file mode 100644 index 75d1069..0000000 --- a/.history/templates/chat-generic-result_20251026134550.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134552.html b/.history/templates/chat-generic-result_20251026134552.html deleted file mode 100644 index 6218b90..0000000 --- a/.history/templates/chat-generic-result_20251026134552.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/chat-generic-result_20251026134556.html b/.history/templates/chat-generic-result_20251026134556.html deleted file mode 100644 index 6218b90..0000000 --- a/.history/templates/chat-generic-result_20251026134556.html +++ /dev/null @@ -1,138 +0,0 @@ -
    - {{#if actorImg}} - {{alias}} - {{/if}} -

    {{alias}}

    -
    - -
    - -{{#if actionImg}} -
    - {{name}} -
    -{{/if}} - -
    - -
    -
      -
    • - Attribut : {{attr.label}} ({{attr.value}}) -
    • - {{#if attr2}} -
    • Attribut : {{attr2.label}} ({{attr2.value}})
    • - {{/if}} {{#if competence}} -
    • - Compétence : {{competence.name}} - ({{competence.system.niveau}}) -
    • - {{/if}} {{#if selectedMaitrise}} -
    • Maitrise : {{selectedMaitrise.name}}
    • - {{/if}} {{#if arme}} -
    • - Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}}) -
    • - {{/if}} - -
    • Formule : {{diceFormula}}
    • -
    • Résultat du dé : {{diceResult}}
    • - - {{#if bonusRoll}} -
    • {{textBonus}} : +{{bonusRoll.total}}
    • - {{/if}} - -
    • Total : {{finalResult}}
    • - - {{#if attaqueCharge}} -
    • - Vous avez chargé : vos adversaires bénéficient de +3 pour vous attaquer -
    • - {{/if}} {{#if difficulte}} -
    • SD : {{difficulte}}
    • - - {{#if isSuccess}} -
    • Succés...
    • - {{#if attaqueDesarme}} -
    • Vous désarmez votre adversaire ! Son arme tombe hors de sa portée.
    • - {{/if}} {{else}} -
    • Echec...
    • - {{/if}} {{/if}} {{#if isHeroique}} -
    • Héroïque !!!
    • - {{#if attaqueDesarme}} -
    • - ... Et en plus vous récupérez l'arme de votre adversaire dans votre main - (si vous le souhaitez) !. -
    • - {{/if}} {{/if}} {{#if isDramatique}} -
    • Dramatique !!!
    • - {{/if}} {{#if isInit}} -
    • Initiative stockée !
    • - {{/if}} {{#if isSuccess}} {{#if immobiliser}} {{#if isHeroique}} -
    • - Votre cible est immobilisée, et vous pouvez faire une action complexe. -
    • - {{else}} -
    • Votre cible est immobilisée.
    • - {{/if}} {{/if}} {{#if desengager}} {{#if isSuccess}} -
    • Vous vous désengagez de votre adversaire.
    • - {{else}} -
    • - Vous ne parvenez pas à vous désengager de votre adversaire, il a un bonus - de +3 pour vous attaquer -
    • - {{/if}} {{/if}} {{#if repousser}} {{#if isHeroique}} -
    • Votre cible est repoussée de 3 mètres et tombe au sol.
    • - {{else}} -
    • Votre cible tombe au sol.
    • - {{/if}} {{/if}} {{#if assomer}} {{#if isHeroique}} -
    • Votre cible est assomée pour [[/r 1d10+10]] minutes.
    • - {{else}} -
    • Votre cible est assomée pour [[/r 1d10]] minutes.
    • - {{/if}} {{/if}} {{#if coupBas}} -
    • - La cible a reçu 2 adversités bleues et a perdu 1 niveau de combativité - (auto). -
    • - {{#if isHeroique}} -
    • Et votre cible perd sa prochaine action complexe.
    • - {{/if}} {{/if}} {{#if arme}} {{#if contenir}} {{#if isHeroique}} -
    • - Aucun dégât, mais tous les adversaires dont le Seuil de Défense + 10 est - atteint ou dépassé par le résultat de la manœuvre ne peuvent déclarer - d’attaque contre le personnage lors de leur prochaine action complexe (à - ce tour de jeu ou au suivant). -
    • - {{else}} -
    • - Aucun dégât, mais la cible de cette manœuvre ne peut pas déclarer - d’attaque contre vous lors de sa prochaine action complexe (à ce tour de - jeu ou au suivant). -
    • - {{/if}} {{else}} {{#if (eq nbCombativitePerdu "vaincu")}} -
    • Votre adversaire est vaincu !
    • - {{else}} -
    • - Votre adversaire a perdu {{nbCombativitePerdu}} Etat de Combativité (auto) -
    • - {{#if (not arme.system.onlevelonly)}} - - {{#if coupDevastateur}} - - {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{/if}} {{#each predilections as - |pred key|}} -
    • - {{#if (and (and pred.acquise (not pred.maitrise)) (not pred.used))}} - - {{/if}} -
    • - {{/each}} -
    -
    diff --git a/.history/templates/creature-sheet_20251026095950.html b/.history/templates/creature-sheet_20251026095950.html deleted file mode 100644 index 681f2c6..0000000 --- a/.history/templates/creature-sheet_20251026095950.html +++ /dev/null @@ -1,373 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Ressources

      - -
    • -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} -
    • - - Vitesse - -
    • -
    -

    Santé

    -
      -
    • - - -
    • -
    • - - -
    • - -
    - -

    Combat

    -
      -
    • - -
    • -
    - -
    - -
    -

    Adversité

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    -
      -
    • - - -
    • -
    -
      - -
    • - - - - - -
    • -
    • - - - -
    • -
    • - - -
    • -
    - - - -
    - -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Talents Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - - -

    Habitat

    -
    -
    - {{editor habitat target="system.biodata.habitat" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/creature-sheet_20251026100139.html b/.history/templates/creature-sheet_20251026100139.html deleted file mode 100644 index 3f55955..0000000 --- a/.history/templates/creature-sheet_20251026100139.html +++ /dev/null @@ -1,373 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Ressources

      - -
    • -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} -
    • - - Vitesse - -
    • -
    -

    Santé

    -
      -
    • - - -
    • -
    • - - -
    • - -
    - -

    Combat

    -
      -
    • - -
    • -
    - -
    - -
    -

    Adversité

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    -
      -
    • - - -
    • -
    -
      - -
    • - - - - - -
    • -
    • - - - -
    • -
    • - - -
    • -
    - - - -
    - -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Talents Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - - -

    Habitat

    -
    -
    - {{editor habitat target="system.biodata.habitat" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/creature-sheet_20251026130435.html b/.history/templates/creature-sheet_20251026130435.html deleted file mode 100644 index 0ac50a0..0000000 --- a/.history/templates/creature-sheet_20251026130435.html +++ /dev/null @@ -1,374 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Ressources

      - -
    • -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} -
    • - - Vitesse - -
    • -
    -

    Santé

    -
      -
    • - - -
    • -
    • - - -
    • - -
    - -

    Combat

    -
      -
    • - -
    • -
    - -
    - -
    -

    Adversité

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    -
      -
    • - - -
    • -
    -
      - -
    • - - - - - -
    • -
    • - - - -
    • -
    • - - -
    • -
    - - - -
    - -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Talents Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - - -

    Habitat

    -
    -
    - {{editor habitat target="system.biodata.habitat" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/creature-sheet_20251026130441.html b/.history/templates/creature-sheet_20251026130441.html deleted file mode 100644 index e33c83c..0000000 --- a/.history/templates/creature-sheet_20251026130441.html +++ /dev/null @@ -1,375 +0,0 @@ -
    - - {{!-- Sheet Header --}} -
    -
    -
    - -
    -

    -
    - -
      - -
    • -

      Ressources

      - -
    • -
    -
    -
    -
    -
    - - {{!-- Sheet Tab Navigation --}} -
    - -
    - - {{!-- Sheet Body --}} -
    - - {{!-- Main Tab --}} -
    - -
    - -
    -
      - {{#each system.attributs as |attr key|}} -
    • - - {{attr.label}} - -
    • - {{/each}} -
    • - - Vitesse - -
    • -
    -

    Santé

    -
      -
    • - - -
    • -
    • - - -
    • - -
    - -

    Combat

    -
      -
    • - -
    • -
    - -
    - -
    -

    Adversité

    -
      - {{#each system.adversite as |adv key|}} -
    • - - -
      - -
      {{adv}}
      -
      - + -
       
      -
       
      -
       
      -
    • - {{/each}} -
    -
      -
    • - - -
    • -
    -
      - -
    • - - - - - -
    • -
    • - - - -
    • -
    • - - -
    • -
    - - - -
    - -
    - -
    - - {{!-- Competence Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
    • - {{#each skills as |skill key|}} -
    • - - -
      - - {{skill.name}} - - - {{#each skill.system.predilections as |pred key|}} - {{#if (and pred.acquise (not pred.used))}} - {{pred.name}}, - {{/if}} - {{/each}} - -
      - - - - {{#if (ne skill.system.attribut1 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut2 "none")}} - - {{/if}} - {{#if (ne skill.system.attribut3 "none")}} - - {{/if}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    - -
    - -
    - - {{!-- Talents Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - -
       
      -
      - -
      -
    • - {{#each talents as |talent key|}} -
    • - - {{talent.name}} - {{talent.system.resumebonus}} - -
       
      -
      - - -
      -
    • - {{/each}} -
    -
    -
    - -
    - -
    - - {{!-- Equipement Tab --}} -
    - -
    - -
    -
      -
    • - -

      -
      - - - - - - - - - -
       
      -
      - -
      -
    • - {{#each armes as |arme key|}} -
    • - - {{arme.name}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - - {{#if arme.system.isdefense}} - - {{else}} - - {{/if}} - - - {{#if arme.system.equipped}} - - {{else}} - - {{/if}} - - -
       
      - -
    • - {{/each}} -
    -
    - -
    - -
    - -
    - -
    - - - {{!-- Biography Tab --}} -
    - - -

    Description

    -
    -
    - {{editor description target="system.biodata.description" button=true owner=owner editable=editable}} -
    - - -

    Habitat

    -
    -
    - {{editor habitat target="system.biodata.habitat" button=true owner=owner editable=editable}} -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/item-don-sheet_20251026004806.html b/.history/templates/item-don-sheet_20251026004806.html deleted file mode 100644 index c4c1bf5..0000000 --- a/.history/templates/item-don-sheet_20251026004806.html +++ /dev/null @@ -1,37 +0,0 @@ -
    -
    - -
    -

    -
    -
    - - {{!-- Sheet Body --}} -
    - -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner editable=editable}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026141857.html b/.history/templates/item-don-sheet_20251026141857.html deleted file mode 100644 index 26277d0..0000000 --- a/.history/templates/item-don-sheet_20251026141857.html +++ /dev/null @@ -1,56 +0,0 @@ -
    -
    - -
    -

    - -

    -
    -
    - - {{!-- Sheet Body --}} -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026141904.html b/.history/templates/item-don-sheet_20251026141904.html deleted file mode 100644 index 78390e7..0000000 --- a/.history/templates/item-don-sheet_20251026141904.html +++ /dev/null @@ -1,54 +0,0 @@ -
    -
    - -
    -

    - -

    -
    -
    - - {{!-- Sheet Body --}} -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142139.html b/.history/templates/item-don-sheet_20251026142139.html deleted file mode 100644 index 78390e7..0000000 --- a/.history/templates/item-don-sheet_20251026142139.html +++ /dev/null @@ -1,54 +0,0 @@ -
    -
    - -
    -

    - -

    -
    -
    - - {{!-- Sheet Body --}} -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142219.html b/.history/templates/item-don-sheet_20251026142219.html deleted file mode 100644 index 9276c84..0000000 --- a/.history/templates/item-don-sheet_20251026142219.html +++ /dev/null @@ -1,46 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - {{!-- Sheet Body --}} -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    - diff --git a/.history/templates/item-don-sheet_20251026142221.html b/.history/templates/item-don-sheet_20251026142221.html deleted file mode 100644 index 6e702ba..0000000 --- a/.history/templates/item-don-sheet_20251026142221.html +++ /dev/null @@ -1,44 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142233.html b/.history/templates/item-don-sheet_20251026142233.html deleted file mode 100644 index 7907ed7..0000000 --- a/.history/templates/item-don-sheet_20251026142233.html +++ /dev/null @@ -1,44 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142243.html b/.history/templates/item-don-sheet_20251026142243.html deleted file mode 100644 index 5f2f0b4..0000000 --- a/.history/templates/item-don-sheet_20251026142243.html +++ /dev/null @@ -1,45 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142247.html b/.history/templates/item-don-sheet_20251026142247.html deleted file mode 100644 index 24b439c..0000000 --- a/.history/templates/item-don-sheet_20251026142247.html +++ /dev/null @@ -1,44 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142248.html b/.history/templates/item-don-sheet_20251026142248.html deleted file mode 100644 index 24b439c..0000000 --- a/.history/templates/item-don-sheet_20251026142248.html +++ /dev/null @@ -1,44 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142250.html b/.history/templates/item-don-sheet_20251026142250.html deleted file mode 100644 index 9e0d3b0..0000000 --- a/.history/templates/item-don-sheet_20251026142250.html +++ /dev/null @@ -1,44 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    - -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142257.html b/.history/templates/item-don-sheet_20251026142257.html deleted file mode 100644 index d803117..0000000 --- a/.history/templates/item-don-sheet_20251026142257.html +++ /dev/null @@ -1,44 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142259.html b/.history/templates/item-don-sheet_20251026142259.html deleted file mode 100644 index d803117..0000000 --- a/.history/templates/item-don-sheet_20251026142259.html +++ /dev/null @@ -1,44 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142300.html b/.history/templates/item-don-sheet_20251026142300.html deleted file mode 100644 index b08b7c2..0000000 --- a/.history/templates/item-don-sheet_20251026142300.html +++ /dev/null @@ -1,45 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142350.html b/.history/templates/item-don-sheet_20251026142350.html deleted file mode 100644 index b08b7c2..0000000 --- a/.history/templates/item-don-sheet_20251026142350.html +++ /dev/null @@ -1,45 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
    - - - - - - - - - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142408.html b/.history/templates/item-don-sheet_20251026142408.html deleted file mode 100644 index 9023d0b..0000000 --- a/.history/templates/item-don-sheet_20251026142408.html +++ /dev/null @@ -1,50 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    - -
      - -
      - - - - - - - - - - -

      Sacrifices

      -
      - -
      - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
      -
      -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142409.html b/.history/templates/item-don-sheet_20251026142409.html deleted file mode 100644 index a8f65b8..0000000 --- a/.history/templates/item-don-sheet_20251026142409.html +++ /dev/null @@ -1,49 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
      - - - - - - - - - - -

      Sacrifices

      -
      - -
      - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
      -
      -
    -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142413.html b/.history/templates/item-don-sheet_20251026142413.html deleted file mode 100644 index 0f407c9..0000000 --- a/.history/templates/item-don-sheet_20251026142413.html +++ /dev/null @@ -1,49 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - - - - - - - - - -

      Sacrifices

      -
      - -
      - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
      -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142425.html b/.history/templates/item-don-sheet_20251026142425.html deleted file mode 100644 index 9e87ee9..0000000 --- a/.history/templates/item-don-sheet_20251026142425.html +++ /dev/null @@ -1,48 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - - - - - - - - -

      Sacrifices

      -
      - -
      - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
      -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142430.html b/.history/templates/item-don-sheet_20251026142430.html deleted file mode 100644 index 9bfeaa4..0000000 --- a/.history/templates/item-don-sheet_20251026142430.html +++ /dev/null @@ -1,48 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • - - - - - - -

      Sacrifices

      -
      - -
      - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
      -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142432.html b/.history/templates/item-don-sheet_20251026142432.html deleted file mode 100644 index 73d7c3a..0000000 --- a/.history/templates/item-don-sheet_20251026142432.html +++ /dev/null @@ -1,48 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - - - - -

      Sacrifices

      -
      - -
      - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
      -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142433.html b/.history/templates/item-don-sheet_20251026142433.html deleted file mode 100644 index 73d7c3a..0000000 --- a/.history/templates/item-don-sheet_20251026142433.html +++ /dev/null @@ -1,48 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - - - - -

      Sacrifices

      -
      - -
      - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
      -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142438.html b/.history/templates/item-don-sheet_20251026142438.html deleted file mode 100644 index c613c17..0000000 --- a/.history/templates/item-don-sheet_20251026142438.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • - -

      Sacrifices

      -
      - -
      - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
      -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142441.html b/.history/templates/item-don-sheet_20251026142441.html deleted file mode 100644 index 0479044..0000000 --- a/.history/templates/item-don-sheet_20251026142441.html +++ /dev/null @@ -1,48 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142443.html b/.history/templates/item-don-sheet_20251026142443.html deleted file mode 100644 index c780c5d..0000000 --- a/.history/templates/item-don-sheet_20251026142443.html +++ /dev/null @@ -1,49 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - - -

    Sacrifices

    -
    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142446.html b/.history/templates/item-don-sheet_20251026142446.html deleted file mode 100644 index 9c87cf0..0000000 --- a/.history/templates/item-don-sheet_20251026142446.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142449.html b/.history/templates/item-don-sheet_20251026142449.html deleted file mode 100644 index 9c87cf0..0000000 --- a/.history/templates/item-don-sheet_20251026142449.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142450.html b/.history/templates/item-don-sheet_20251026142450.html deleted file mode 100644 index 9c87cf0..0000000 --- a/.history/templates/item-don-sheet_20251026142450.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142534.html b/.history/templates/item-don-sheet_20251026142534.html deleted file mode 100644 index 36d4bf1..0000000 --- a/.history/templates/item-don-sheet_20251026142534.html +++ /dev/null @@ -1,48 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
        -
      • - - -
      • -
      • - - -
      • -
      - -

      Sacrifices

      - -
      - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
      -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142535.html b/.history/templates/item-don-sheet_20251026142535.html deleted file mode 100644 index 509672c..0000000 --- a/.history/templates/item-don-sheet_20251026142535.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142538.html b/.history/templates/item-don-sheet_20251026142538.html deleted file mode 100644 index 70f8590..0000000 --- a/.history/templates/item-don-sheet_20251026142538.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142539.html b/.history/templates/item-don-sheet_20251026142539.html deleted file mode 100644 index 70f8590..0000000 --- a/.history/templates/item-don-sheet_20251026142539.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142540.html b/.history/templates/item-don-sheet_20251026142540.html deleted file mode 100644 index 279b6c9..0000000 --- a/.history/templates/item-don-sheet_20251026142540.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    -
    - - diff --git a/.history/templates/item-don-sheet_20251026142610.html b/.history/templates/item-don-sheet_20251026142610.html deleted file mode 100644 index d876e9e..0000000 --- a/.history/templates/item-don-sheet_20251026142610.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142611.html b/.history/templates/item-don-sheet_20251026142611.html deleted file mode 100644 index ed7e2aa..0000000 --- a/.history/templates/item-don-sheet_20251026142611.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142613.html b/.history/templates/item-don-sheet_20251026142613.html deleted file mode 100644 index ed7e2aa..0000000 --- a/.history/templates/item-don-sheet_20251026142613.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142615.html b/.history/templates/item-don-sheet_20251026142615.html deleted file mode 100644 index f543bad..0000000 --- a/.history/templates/item-don-sheet_20251026142615.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142648.html b/.history/templates/item-don-sheet_20251026142648.html deleted file mode 100644 index f543bad..0000000 --- a/.history/templates/item-don-sheet_20251026142648.html +++ /dev/null @@ -1,47 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026142821.html b/.history/templates/item-don-sheet_20251026142821.html deleted file mode 100644 index 52a369a..0000000 --- a/.history/templates/item-don-sheet_20251026142821.html +++ /dev/null @@ -1,46 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026143009.html b/.history/templates/item-don-sheet_20251026143009.html deleted file mode 100644 index fd2c7be..0000000 --- a/.history/templates/item-don-sheet_20251026143009.html +++ /dev/null @@ -1,46 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026143012.html b/.history/templates/item-don-sheet_20251026143012.html deleted file mode 100644 index 3840a38..0000000 --- a/.history/templates/item-don-sheet_20251026143012.html +++ /dev/null @@ -1,46 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026143049.html b/.history/templates/item-don-sheet_20251026143049.html deleted file mode 100644 index b58939e..0000000 --- a/.history/templates/item-don-sheet_20251026143049.html +++ /dev/null @@ -1,46 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026143052.html b/.history/templates/item-don-sheet_20251026143052.html deleted file mode 100644 index 558d994..0000000 --- a/.history/templates/item-don-sheet_20251026143052.html +++ /dev/null @@ -1,46 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-don-sheet_20251026143730.html b/.history/templates/item-don-sheet_20251026143730.html deleted file mode 100644 index e727d2c..0000000 --- a/.history/templates/item-don-sheet_20251026143730.html +++ /dev/null @@ -1,46 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -
    • - - -
    • -
    - -

    Sacrifices

    - -
    - {{editor sacrifice target="system.sacrifice" button=true owner=owner - editable=editable}} -
    -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026004806.html b/.history/templates/item-pacte-sheet_20251026004806.html deleted file mode 100644 index 4603cbd..0000000 --- a/.history/templates/item-pacte-sheet_20251026004806.html +++ /dev/null @@ -1,25 +0,0 @@ -
    -
    - -
    -

    -
    -
    - - {{!-- Sheet Body --}} -
    - -
    - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143912.html b/.history/templates/item-pacte-sheet_20251026143912.html deleted file mode 100644 index f73a968..0000000 --- a/.history/templates/item-pacte-sheet_20251026143912.html +++ /dev/null @@ -1,26 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143921.html b/.history/templates/item-pacte-sheet_20251026143921.html deleted file mode 100644 index 4fcc91a..0000000 --- a/.history/templates/item-pacte-sheet_20251026143921.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    - -
      - -
      - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
      -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143922.html b/.history/templates/item-pacte-sheet_20251026143922.html deleted file mode 100644 index f781c8b..0000000 --- a/.history/templates/item-pacte-sheet_20251026143922.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
      - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
      -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143926.html b/.history/templates/item-pacte-sheet_20251026143926.html deleted file mode 100644 index b2b7545..0000000 --- a/.history/templates/item-pacte-sheet_20251026143926.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - - < class="flexcol"> - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143928.html b/.history/templates/item-pacte-sheet_20251026143928.html deleted file mode 100644 index 66299c3..0000000 --- a/.history/templates/item-pacte-sheet_20251026143928.html +++ /dev/null @@ -1,30 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143931.html b/.history/templates/item-pacte-sheet_20251026143931.html deleted file mode 100644 index 7e550cf..0000000 --- a/.history/templates/item-pacte-sheet_20251026143931.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143932.html b/.history/templates/item-pacte-sheet_20251026143932.html deleted file mode 100644 index 19b21f7..0000000 --- a/.history/templates/item-pacte-sheet_20251026143932.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143936.html b/.history/templates/item-pacte-sheet_20251026143936.html deleted file mode 100644 index dd15c25..0000000 --- a/.history/templates/item-pacte-sheet_20251026143936.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143939.html b/.history/templates/item-pacte-sheet_20251026143939.html deleted file mode 100644 index 1f964a8..0000000 --- a/.history/templates/item-pacte-sheet_20251026143939.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143940.html b/.history/templates/item-pacte-sheet_20251026143940.html deleted file mode 100644 index b5a7cc6..0000000 --- a/.history/templates/item-pacte-sheet_20251026143940.html +++ /dev/null @@ -1,27 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -
    -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143942.html b/.history/templates/item-pacte-sheet_20251026143942.html deleted file mode 100644 index 1f964a8..0000000 --- a/.history/templates/item-pacte-sheet_20251026143942.html +++ /dev/null @@ -1,28 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143945.html b/.history/templates/item-pacte-sheet_20251026143945.html deleted file mode 100644 index 5bd42ed..0000000 --- a/.history/templates/item-pacte-sheet_20251026143945.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143946.html b/.history/templates/item-pacte-sheet_20251026143946.html deleted file mode 100644 index 5bd42ed..0000000 --- a/.history/templates/item-pacte-sheet_20251026143946.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143948.html b/.history/templates/item-pacte-sheet_20251026143948.html deleted file mode 100644 index 5bd42ed..0000000 --- a/.history/templates/item-pacte-sheet_20251026143948.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143955.html b/.history/templates/item-pacte-sheet_20251026143955.html deleted file mode 100644 index ff1b046..0000000 --- a/.history/templates/item-pacte-sheet_20251026143955.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143957.html b/.history/templates/item-pacte-sheet_20251026143957.html deleted file mode 100644 index 23a3f47..0000000 --- a/.history/templates/item-pacte-sheet_20251026143957.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026143959.html b/.history/templates/item-pacte-sheet_20251026143959.html deleted file mode 100644 index 23a3f47..0000000 --- a/.history/templates/item-pacte-sheet_20251026143959.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026144002.html b/.history/templates/item-pacte-sheet_20251026144002.html deleted file mode 100644 index 1c43396..0000000 --- a/.history/templates/item-pacte-sheet_20251026144002.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026144005.html b/.history/templates/item-pacte-sheet_20251026144005.html deleted file mode 100644 index 0bf8a24..0000000 --- a/.history/templates/item-pacte-sheet_20251026144005.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026144022.html b/.history/templates/item-pacte-sheet_20251026144022.html deleted file mode 100644 index c130e05..0000000 --- a/.history/templates/item-pacte-sheet_20251026144022.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026144033.html b/.history/templates/item-pacte-sheet_20251026144033.html deleted file mode 100644 index c60b85b..0000000 --- a/.history/templates/item-pacte-sheet_20251026144033.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • - -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026144158.html b/.history/templates/item-pacte-sheet_20251026144158.html deleted file mode 100644 index 2e1018a..0000000 --- a/.history/templates/item-pacte-sheet_20251026144158.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      - -
    • - - -
    • -< -
    - -
    -
    diff --git a/.history/templates/item-pacte-sheet_20251026144159.html b/.history/templates/item-pacte-sheet_20251026144159.html deleted file mode 100644 index 9f547a8..0000000 --- a/.history/templates/item-pacte-sheet_20251026144159.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-profil-sheet_20251026100002.html b/.history/templates/item-profil-sheet_20251026100002.html deleted file mode 100644 index 6a00fe9..0000000 --- a/.history/templates/item-profil-sheet_20251026100002.html +++ /dev/null @@ -1,100 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - -
    • -
    • - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - -
    • - -
    • -
    • - -
    • - -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • - -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/item-profil-sheet_20251026100140.html b/.history/templates/item-profil-sheet_20251026100140.html deleted file mode 100644 index 6a00fe9..0000000 --- a/.history/templates/item-profil-sheet_20251026100140.html +++ /dev/null @@ -1,100 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} - - {{!-- Sheet Body --}} -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - -
    • -
    • - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • - -
    • - -
    • -
    • - -
    • - -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • -
    • - -
    • - -
    - -
    - -
    -
    \ No newline at end of file diff --git a/.history/templates/item-rune-sheet_20251026004806.html b/.history/templates/item-rune-sheet_20251026004806.html deleted file mode 100644 index a1b7c64..0000000 --- a/.history/templates/item-rune-sheet_20251026004806.html +++ /dev/null @@ -1,39 +0,0 @@ -
    -
    - -
    -

    -
    -
    - - {{!-- Sheet Body --}} -
    - -
    - - - - - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143255.html b/.history/templates/item-rune-sheet_20251026143255.html deleted file mode 100644 index e7cd6c2..0000000 --- a/.history/templates/item-rune-sheet_20251026143255.html +++ /dev/null @@ -1,39 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    - - - - - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143259.html b/.history/templates/item-rune-sheet_20251026143259.html deleted file mode 100644 index 5571b82..0000000 --- a/.history/templates/item-rune-sheet_20251026143259.html +++ /dev/null @@ -1,39 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    - - - - - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143307.html b/.history/templates/item-rune-sheet_20251026143307.html deleted file mode 100644 index a785f94..0000000 --- a/.history/templates/item-rune-sheet_20251026143307.html +++ /dev/null @@ -1,40 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      - -
      - - - - - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
      - -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143309.html b/.history/templates/item-rune-sheet_20251026143309.html deleted file mode 100644 index 1c1c2b6..0000000 --- a/.history/templates/item-rune-sheet_20251026143309.html +++ /dev/null @@ -1,40 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • -
      - - - - - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
      - -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143311.html b/.history/templates/item-rune-sheet_20251026143311.html deleted file mode 100644 index f871562..0000000 --- a/.history/templates/item-rune-sheet_20251026143311.html +++ /dev/null @@ -1,39 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - - - - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143313.html b/.history/templates/item-rune-sheet_20251026143313.html deleted file mode 100644 index b502305..0000000 --- a/.history/templates/item-rune-sheet_20251026143313.html +++ /dev/null @@ -1,39 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • -
    - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143320.html b/.history/templates/item-rune-sheet_20251026143320.html deleted file mode 100644 index 717e4bc..0000000 --- a/.history/templates/item-rune-sheet_20251026143320.html +++ /dev/null @@ -1,39 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • -
    - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143322.html b/.history/templates/item-rune-sheet_20251026143322.html deleted file mode 100644 index a7d9472..0000000 --- a/.history/templates/item-rune-sheet_20251026143322.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • -
    - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143324.html b/.history/templates/item-rune-sheet_20251026143324.html deleted file mode 100644 index 10dbc47..0000000 --- a/.history/templates/item-rune-sheet_20251026143324.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • -
    - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143329.html b/.history/templates/item-rune-sheet_20251026143329.html deleted file mode 100644 index 1708a46..0000000 --- a/.history/templates/item-rune-sheet_20251026143329.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • -
    - - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143330.html b/.history/templates/item-rune-sheet_20251026143330.html deleted file mode 100644 index 86ce3fb..0000000 --- a/.history/templates/item-rune-sheet_20251026143330.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - - - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143340.html b/.history/templates/item-rune-sheet_20251026143340.html deleted file mode 100644 index bf226ff..0000000 --- a/.history/templates/item-rune-sheet_20251026143340.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143343.html b/.history/templates/item-rune-sheet_20251026143343.html deleted file mode 100644 index 6122a19..0000000 --- a/.history/templates/item-rune-sheet_20251026143343.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143345.html b/.history/templates/item-rune-sheet_20251026143345.html deleted file mode 100644 index b822316..0000000 --- a/.history/templates/item-rune-sheet_20251026143345.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143346.html b/.history/templates/item-rune-sheet_20251026143346.html deleted file mode 100644 index 88c45ea..0000000 --- a/.history/templates/item-rune-sheet_20251026143346.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143349.html b/.history/templates/item-rune-sheet_20251026143349.html deleted file mode 100644 index e68b53f..0000000 --- a/.history/templates/item-rune-sheet_20251026143349.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143352.html b/.history/templates/item-rune-sheet_20251026143352.html deleted file mode 100644 index e68b53f..0000000 --- a/.history/templates/item-rune-sheet_20251026143352.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - - - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143355.html b/.history/templates/item-rune-sheet_20251026143355.html deleted file mode 100644 index 882b3e6..0000000 --- a/.history/templates/item-rune-sheet_20251026143355.html +++ /dev/null @@ -1,62 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • - - - - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143357.html b/.history/templates/item-rune-sheet_20251026143357.html deleted file mode 100644 index 6627ea5..0000000 --- a/.history/templates/item-rune-sheet_20251026143357.html +++ /dev/null @@ -1,60 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143408.html b/.history/templates/item-rune-sheet_20251026143408.html deleted file mode 100644 index b4b2b61..0000000 --- a/.history/templates/item-rune-sheet_20251026143408.html +++ /dev/null @@ -1,60 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143409.html b/.history/templates/item-rune-sheet_20251026143409.html deleted file mode 100644 index 187dd92..0000000 --- a/.history/templates/item-rune-sheet_20251026143409.html +++ /dev/null @@ -1,60 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143410.html b/.history/templates/item-rune-sheet_20251026143410.html deleted file mode 100644 index 187dd92..0000000 --- a/.history/templates/item-rune-sheet_20251026143410.html +++ /dev/null @@ -1,60 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143414.html b/.history/templates/item-rune-sheet_20251026143414.html deleted file mode 100644 index e30a007..0000000 --- a/.history/templates/item-rune-sheet_20251026143414.html +++ /dev/null @@ -1,60 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143417.html b/.history/templates/item-rune-sheet_20251026143417.html deleted file mode 100644 index 2f48042..0000000 --- a/.history/templates/item-rune-sheet_20251026143417.html +++ /dev/null @@ -1,60 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143419.html b/.history/templates/item-rune-sheet_20251026143419.html deleted file mode 100644 index 44c7de7..0000000 --- a/.history/templates/item-rune-sheet_20251026143419.html +++ /dev/null @@ -1,60 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143426.html b/.history/templates/item-rune-sheet_20251026143426.html deleted file mode 100644 index 3d84f0f..0000000 --- a/.history/templates/item-rune-sheet_20251026143426.html +++ /dev/null @@ -1,59 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - - - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143431.html b/.history/templates/item-rune-sheet_20251026143431.html deleted file mode 100644 index d15fc6d..0000000 --- a/.history/templates/item-rune-sheet_20251026143431.html +++ /dev/null @@ -1,59 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143441.html b/.history/templates/item-rune-sheet_20251026143441.html deleted file mode 100644 index a4dc67c..0000000 --- a/.history/templates/item-rune-sheet_20251026143441.html +++ /dev/null @@ -1,59 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143443.html b/.history/templates/item-rune-sheet_20251026143443.html deleted file mode 100644 index fe87379..0000000 --- a/.history/templates/item-rune-sheet_20251026143443.html +++ /dev/null @@ -1,58 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143446.html b/.history/templates/item-rune-sheet_20251026143446.html deleted file mode 100644 index a3fc46a..0000000 --- a/.history/templates/item-rune-sheet_20251026143446.html +++ /dev/null @@ -1,57 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143448.html b/.history/templates/item-rune-sheet_20251026143448.html deleted file mode 100644 index 76654a3..0000000 --- a/.history/templates/item-rune-sheet_20251026143448.html +++ /dev/null @@ -1,57 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143450.html b/.history/templates/item-rune-sheet_20251026143450.html deleted file mode 100644 index af1f324..0000000 --- a/.history/templates/item-rune-sheet_20251026143450.html +++ /dev/null @@ -1,56 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - -
    • - -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143453.html b/.history/templates/item-rune-sheet_20251026143453.html deleted file mode 100644 index b35a458..0000000 --- a/.history/templates/item-rune-sheet_20251026143453.html +++ /dev/null @@ -1,57 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - -
    • -
    - -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143454.html b/.history/templates/item-rune-sheet_20251026143454.html deleted file mode 100644 index b35a458..0000000 --- a/.history/templates/item-rune-sheet_20251026143454.html +++ /dev/null @@ -1,57 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - -
    • -
    - -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143457.html b/.history/templates/item-rune-sheet_20251026143457.html deleted file mode 100644 index b35a458..0000000 --- a/.history/templates/item-rune-sheet_20251026143457.html +++ /dev/null @@ -1,57 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - -
    • -
    - -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143500.html b/.history/templates/item-rune-sheet_20251026143500.html deleted file mode 100644 index c9cbe7a..0000000 --- a/.history/templates/item-rune-sheet_20251026143500.html +++ /dev/null @@ -1,58 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - -
    • -
    - -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143506.html b/.history/templates/item-rune-sheet_20251026143506.html deleted file mode 100644 index 0b0370b..0000000 --- a/.history/templates/item-rune-sheet_20251026143506.html +++ /dev/null @@ -1,58 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - -
    • -
    - -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143531.html b/.history/templates/item-rune-sheet_20251026143531.html deleted file mode 100644 index 0b0370b..0000000 --- a/.history/templates/item-rune-sheet_20251026143531.html +++ /dev/null @@ -1,58 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
      -
    • - - -
    • - -
    • - - -
    • -
    • - -
    • - - -
    • - - -
    • -
    - -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143535.html b/.history/templates/item-rune-sheet_20251026143535.html deleted file mode 100644 index 27fc969..0000000 --- a/.history/templates/item-rune-sheet_20251026143535.html +++ /dev/null @@ -1,55 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143539.html b/.history/templates/item-rune-sheet_20251026143539.html deleted file mode 100644 index 27fc969..0000000 --- a/.history/templates/item-rune-sheet_20251026143539.html +++ /dev/null @@ -1,55 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143557.html b/.history/templates/item-rune-sheet_20251026143557.html deleted file mode 100644 index 1025672..0000000 --- a/.history/templates/item-rune-sheet_20251026143557.html +++ /dev/null @@ -1,55 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143600.html b/.history/templates/item-rune-sheet_20251026143600.html deleted file mode 100644 index 3ec9c9f..0000000 --- a/.history/templates/item-rune-sheet_20251026143600.html +++ /dev/null @@ -1,55 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143604.html b/.history/templates/item-rune-sheet_20251026143604.html deleted file mode 100644 index 1b0567a..0000000 --- a/.history/templates/item-rune-sheet_20251026143604.html +++ /dev/null @@ -1,55 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143606.html b/.history/templates/item-rune-sheet_20251026143606.html deleted file mode 100644 index 02169be..0000000 --- a/.history/templates/item-rune-sheet_20251026143606.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143619.html b/.history/templates/item-rune-sheet_20251026143619.html deleted file mode 100644 index dfa5adc..0000000 --- a/.history/templates/item-rune-sheet_20251026143619.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143621.html b/.history/templates/item-rune-sheet_20251026143621.html deleted file mode 100644 index b5a35dd..0000000 --- a/.history/templates/item-rune-sheet_20251026143621.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143622.html b/.history/templates/item-rune-sheet_20251026143622.html deleted file mode 100644 index cf6985b..0000000 --- a/.history/templates/item-rune-sheet_20251026143622.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143625.html b/.history/templates/item-rune-sheet_20251026143625.html deleted file mode 100644 index 9af4318..0000000 --- a/.history/templates/item-rune-sheet_20251026143625.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143626.html b/.history/templates/item-rune-sheet_20251026143626.html deleted file mode 100644 index b4a0afc..0000000 --- a/.history/templates/item-rune-sheet_20251026143626.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143707.html b/.history/templates/item-rune-sheet_20251026143707.html deleted file mode 100644 index b4a0afc..0000000 --- a/.history/templates/item-rune-sheet_20251026143707.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143739.html b/.history/templates/item-rune-sheet_20251026143739.html deleted file mode 100644 index 6dedaa5..0000000 --- a/.history/templates/item-rune-sheet_20251026143739.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-rune-sheet_20251026143740.html b/.history/templates/item-rune-sheet_20251026143740.html deleted file mode 100644 index 9a89c21..0000000 --- a/.history/templates/item-rune-sheet_20251026143740.html +++ /dev/null @@ -1,63 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    -
      -
    • - - -
    • - -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -
    -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026004806.html b/.history/templates/item-runeeffect-sheet_20251026004806.html deleted file mode 100644 index 94e2cd9..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026004806.html +++ /dev/null @@ -1,41 +0,0 @@ -
    -
    - -
    -

    -
    -
    - - {{!-- Sheet Body --}} -
    - - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142743.html b/.history/templates/item-runeeffect-sheet_20251026142743.html deleted file mode 100644 index 8126687..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142743.html +++ /dev/null @@ -1,41 +0,0 @@ -
    -
    - -
    -

    -
    -
    - - {{!-- Sheet Body --}} -
    - - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142744.html b/.history/templates/item-runeeffect-sheet_20251026142744.html deleted file mode 100644 index a40ca37..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142744.html +++ /dev/null @@ -1,41 +0,0 @@ -
    -
    - -
    -

    -
    -
    - - {{!-- Sheet Body --}} -
    - - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142746.html b/.history/templates/item-runeeffect-sheet_20251026142746.html deleted file mode 100644 index a432ad1..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142746.html +++ /dev/null @@ -1,41 +0,0 @@ -
    -
    - -
    -

    -
    -
    - - {{!-- Sheet Body --}} -
    - - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142747.html b/.history/templates/item-runeeffect-sheet_20251026142747.html deleted file mode 100644 index d15ad6a..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142747.html +++ /dev/null @@ -1,41 +0,0 @@ -
    -
    - -
    -

    -
    -
    - - {{!-- Sheet Body --}} -
    - - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
    - -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142753.html b/.history/templates/item-runeeffect-sheet_20251026142753.html deleted file mode 100644 index ece0560..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142753.html +++ /dev/null @@ -1,68 +0,0 @@ -
    -
    - -
    -

    - -

    -
    -
    - - {{!-- Sheet Body --}} -
    - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142757.html b/.history/templates/item-runeeffect-sheet_20251026142757.html deleted file mode 100644 index ece0560..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142757.html +++ /dev/null @@ -1,68 +0,0 @@ -
    -
    - -
    -

    - -

    -
    -
    - - {{!-- Sheet Body --}} -
    - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142809.html b/.history/templates/item-runeeffect-sheet_20251026142809.html deleted file mode 100644 index 94cc16c..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142809.html +++ /dev/null @@ -1,56 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
    - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142812.html b/.history/templates/item-runeeffect-sheet_20251026142812.html deleted file mode 100644 index 0ad78ef..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142812.html +++ /dev/null @@ -1,57 +0,0 @@ -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142814.html b/.history/templates/item-runeeffect-sheet_20251026142814.html deleted file mode 100644 index c7fad09..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142814.html +++ /dev/null @@ -1,58 +0,0 @@ -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
    - - - - - - - - - - - - - - - - - - - - -
    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
    -
    -
    diff --git a/.history/templates/item-runeeffect-sheet_20251026142826.html b/.history/templates/item-runeeffect-sheet_20251026142826.html deleted file mode 100644 index 0933e2b..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142826.html +++ /dev/null @@ -1,59 +0,0 @@ -
    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
      - -
    • - - - - - - - - - - - - - - - - - - - -
      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
      - -
    • diff --git a/.history/templates/item-runeeffect-sheet_20251026142829.html b/.history/templates/item-runeeffect-sheet_20251026142829.html deleted file mode 100644 index b198a3e..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142829.html +++ /dev/null @@ -1,59 +0,0 @@ -
      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
        - -
      • - - - - - - - - - - - - - - - - - - - -
        - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
        - -
      • diff --git a/.history/templates/item-runeeffect-sheet_20251026142833.html b/.history/templates/item-runeeffect-sheet_20251026142833.html deleted file mode 100644 index ee25d90..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142833.html +++ /dev/null @@ -1,59 +0,0 @@ -
        - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
          - -
        • - - -
        • - - - - - - - - - - - - - - - - -
          - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
          - - diff --git a/.history/templates/item-runeeffect-sheet_20251026142835.html b/.history/templates/item-runeeffect-sheet_20251026142835.html deleted file mode 100644 index 036f4a0..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142835.html +++ /dev/null @@ -1,59 +0,0 @@ -
          - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
            - -
          • - - -
          • - -
          • - - - - - - - - - - - - - - -
            - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
            - -
          • diff --git a/.history/templates/item-runeeffect-sheet_20251026142838.html b/.history/templates/item-runeeffect-sheet_20251026142838.html deleted file mode 100644 index 486edd4..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142838.html +++ /dev/null @@ -1,59 +0,0 @@ -
            - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
              - -
            • - - -
            • - -
            • - - -
            • - -
            • - - - - - - - - - -
              - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
              - -
            • diff --git a/.history/templates/item-runeeffect-sheet_20251026142840.html b/.history/templates/item-runeeffect-sheet_20251026142840.html deleted file mode 100644 index 6c24fab..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142840.html +++ /dev/null @@ -1,59 +0,0 @@ -
              - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                - -
              • - - -
              • - -
              • - - -
              • - -
              • - - -
              • - - - - - - -
                - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
                - - diff --git a/.history/templates/item-runeeffect-sheet_20251026142841.html b/.history/templates/item-runeeffect-sheet_20251026142841.html deleted file mode 100644 index 144fde2..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142841.html +++ /dev/null @@ -1,59 +0,0 @@ -
                - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                  - -
                • - - -
                • - -
                • - - -
                • - -
                • - - -
                • - -
                • - - - - -
                  - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
                  - -
                • diff --git a/.history/templates/item-runeeffect-sheet_20251026142844.html b/.history/templates/item-runeeffect-sheet_20251026142844.html deleted file mode 100644 index 6c462b4..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142844.html +++ /dev/null @@ -1,59 +0,0 @@ -
                  - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                    - -
                  • - - -
                  • - -
                  • - - -
                  • - -
                  • - - -
                  • - -
                  • - - -
                  • - -
                    - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
                    - - diff --git a/.history/templates/item-runeeffect-sheet_20251026142845.html b/.history/templates/item-runeeffect-sheet_20251026142845.html deleted file mode 100644 index 6c462b4..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142845.html +++ /dev/null @@ -1,59 +0,0 @@ -
                    - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                      - -
                    • - - -
                    • - -
                    • - - -
                    • - -
                    • - - -
                    • - -
                    • - - -
                    • - -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
                      - - diff --git a/.history/templates/item-runeeffect-sheet_20251026142847.html b/.history/templates/item-runeeffect-sheet_20251026142847.html deleted file mode 100644 index 6dff09c..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142847.html +++ /dev/null @@ -1,59 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} -
                      - -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142848.html b/.history/templates/item-runeeffect-sheet_20251026142848.html deleted file mode 100644 index 1bd7e25..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142848.html +++ /dev/null @@ -1,56 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142851.html b/.history/templates/item-runeeffect-sheet_20251026142851.html deleted file mode 100644 index efeb5b1..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142851.html +++ /dev/null @@ -1,57 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - < - -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142853.html b/.history/templates/item-runeeffect-sheet_20251026142853.html deleted file mode 100644 index 4ea3ef6..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142853.html +++ /dev/null @@ -1,57 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - - diff --git a/.history/templates/item-runeeffect-sheet_20251026142856.html b/.history/templates/item-runeeffect-sheet_20251026142856.html deleted file mode 100644 index 1bd7e25..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142856.html +++ /dev/null @@ -1,56 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142858.html b/.history/templates/item-runeeffect-sheet_20251026142858.html deleted file mode 100644 index 82ec372..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142858.html +++ /dev/null @@ -1,57 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - - -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142859.html b/.history/templates/item-runeeffect-sheet_20251026142859.html deleted file mode 100644 index 82ec372..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142859.html +++ /dev/null @@ -1,57 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - - -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142900.html b/.history/templates/item-runeeffect-sheet_20251026142900.html deleted file mode 100644 index 82ec372..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142900.html +++ /dev/null @@ -1,57 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - - -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142911.html b/.history/templates/item-runeeffect-sheet_20251026142911.html deleted file mode 100644 index a01f5c7..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142911.html +++ /dev/null @@ -1,60 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - - - diff --git a/.history/templates/item-runeeffect-sheet_20251026142914.html b/.history/templates/item-runeeffect-sheet_20251026142914.html deleted file mode 100644 index be0549e..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142914.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - - - diff --git a/.history/templates/item-runeeffect-sheet_20251026142919.html b/.history/templates/item-runeeffect-sheet_20251026142919.html deleted file mode 100644 index cd0321c..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142919.html +++ /dev/null @@ -1,63 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - -
                      -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142921.html b/.history/templates/item-runeeffect-sheet_20251026142921.html deleted file mode 100644 index c643883..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142921.html +++ /dev/null @@ -1,63 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - -
                      -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142922.html b/.history/templates/item-runeeffect-sheet_20251026142922.html deleted file mode 100644 index c643883..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142922.html +++ /dev/null @@ -1,63 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - -
                      -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142925.html b/.history/templates/item-runeeffect-sheet_20251026142925.html deleted file mode 100644 index 8074685..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142925.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      - <
                      -
                      diff --git a/.history/templates/item-runeeffect-sheet_20251026142926.html b/.history/templates/item-runeeffect-sheet_20251026142926.html deleted file mode 100644 index cddb9f5..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142926.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026142928.html b/.history/templates/item-runeeffect-sheet_20251026142928.html deleted file mode 100644 index cddb9f5..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026142928.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143131.html b/.history/templates/item-runeeffect-sheet_20251026143131.html deleted file mode 100644 index 6a7900a..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143131.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143135.html b/.history/templates/item-runeeffect-sheet_20251026143135.html deleted file mode 100644 index 7bff945..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143135.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143139.html b/.history/templates/item-runeeffect-sheet_20251026143139.html deleted file mode 100644 index 0d781b7..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143139.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143142.html b/.history/templates/item-runeeffect-sheet_20251026143142.html deleted file mode 100644 index ae163a4..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143142.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143155.html b/.history/templates/item-runeeffect-sheet_20251026143155.html deleted file mode 100644 index 0f93d9e..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143155.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143159.html b/.history/templates/item-runeeffect-sheet_20251026143159.html deleted file mode 100644 index c32b5fb..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143159.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143202.html b/.history/templates/item-runeeffect-sheet_20251026143202.html deleted file mode 100644 index 1158a38..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143202.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143203.html b/.history/templates/item-runeeffect-sheet_20251026143203.html deleted file mode 100644 index 6132f07..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143203.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143245.html b/.history/templates/item-runeeffect-sheet_20251026143245.html deleted file mode 100644 index 16b35f9..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143245.html +++ /dev/null @@ -1,63 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                      - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-runeeffect-sheet_20251026143247.html b/.history/templates/item-runeeffect-sheet_20251026143247.html deleted file mode 100644 index 51d794e..0000000 --- a/.history/templates/item-runeeffect-sheet_20251026143247.html +++ /dev/null @@ -1,62 +0,0 @@ -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} {{!-- Sheet Body --}} - -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • - -
                      • - - -
                      • -
                      -
                      - diff --git a/.history/templates/item-tendance-sheet_20251026004806.html b/.history/templates/item-tendance-sheet_20251026004806.html deleted file mode 100644 index 4603cbd..0000000 --- a/.history/templates/item-tendance-sheet_20251026004806.html +++ /dev/null @@ -1,25 +0,0 @@ -
                      -
                      - -
                      -

                      -
                      -
                      - - {{!-- Sheet Body --}} -
                      - -
                      - - - - - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                      -
                      diff --git a/.history/templates/item-tendance-sheet_20251026144110.html b/.history/templates/item-tendance-sheet_20251026144110.html deleted file mode 100644 index c60b85b..0000000 --- a/.history/templates/item-tendance-sheet_20251026144110.html +++ /dev/null @@ -1,29 +0,0 @@ -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      - -
                      -
                      diff --git a/.history/templates/item-tendance-sheet_20251026144144.html b/.history/templates/item-tendance-sheet_20251026144144.html deleted file mode 100644 index 2e1018a..0000000 --- a/.history/templates/item-tendance-sheet_20251026144144.html +++ /dev/null @@ -1,29 +0,0 @@ -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • -< -
                      - -
                      -
                      diff --git a/.history/templates/item-tendance-sheet_20251026144145.html b/.history/templates/item-tendance-sheet_20251026144145.html deleted file mode 100644 index 9f547a8..0000000 --- a/.history/templates/item-tendance-sheet_20251026144145.html +++ /dev/null @@ -1,29 +0,0 @@ -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      -
                        -
                      • - - -
                      • -
                      -
                      -
                      -
                      diff --git a/.history/templates/item-traitchaotique-sheet_20251026004806.html b/.history/templates/item-traitchaotique-sheet_20251026004806.html deleted file mode 100644 index cb08798..0000000 --- a/.history/templates/item-traitchaotique-sheet_20251026004806.html +++ /dev/null @@ -1,19 +0,0 @@ -
                      -
                      - -
                      -

                      -
                      -
                      - - {{!-- Sheet Body --}} -
                      - -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                      -
                      diff --git a/.history/templates/item-traitchaotique-sheet_20251026144132.html b/.history/templates/item-traitchaotique-sheet_20251026144132.html deleted file mode 100644 index c60b85b..0000000 --- a/.history/templates/item-traitchaotique-sheet_20251026144132.html +++ /dev/null @@ -1,29 +0,0 @@ -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                        - -
                      • - - -
                      • - -
                      - -
                      -
                      diff --git a/.history/templates/item-traitchaotique-sheet_20251026144137.html b/.history/templates/item-traitchaotique-sheet_20251026144137.html deleted file mode 100644 index 40c1856..0000000 --- a/.history/templates/item-traitchaotique-sheet_20251026144137.html +++ /dev/null @@ -1,11 +0,0 @@ -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      -
                      -
                      diff --git a/.history/templates/item-traitchaotique-sheet_20251026144140.html b/.history/templates/item-traitchaotique-sheet_20251026144140.html deleted file mode 100644 index 102c96c..0000000 --- a/.history/templates/item-traitchaotique-sheet_20251026144140.html +++ /dev/null @@ -1,12 +0,0 @@ -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                      -
                      diff --git a/.history/templates/item-traitespece-sheet_20251026004806.html b/.history/templates/item-traitespece-sheet_20251026004806.html deleted file mode 100644 index cb08798..0000000 --- a/.history/templates/item-traitespece-sheet_20251026004806.html +++ /dev/null @@ -1,19 +0,0 @@ -
                      -
                      - -
                      -

                      -
                      -
                      - - {{!-- Sheet Body --}} -
                      - -
                      - - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      - -
                      -
                      diff --git a/.history/templates/item-traitespece-sheet_20251026144227.html b/.history/templates/item-traitespece-sheet_20251026144227.html deleted file mode 100644 index 40c1856..0000000 --- a/.history/templates/item-traitespece-sheet_20251026144227.html +++ /dev/null @@ -1,11 +0,0 @@ -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-header.html}} {{> - systems/fvtt-mournblade-cyd2/templates/partial-item-nav.html}} {{!-- Sheet - Body --}} - -
                      - {{> systems/fvtt-mournblade-cyd2/templates/partial-item-description.html}} - -
                      -
                      -
                      diff --git a/.history/templates/partial-item-nav_20251026004806.html b/.history/templates/partial-item-nav_20251026004806.html deleted file mode 100644 index 95b52cd..0000000 --- a/.history/templates/partial-item-nav_20251026004806.html +++ /dev/null @@ -1,5 +0,0 @@ -{{!-- Sheet Tab Navigation --}} - diff --git a/.history/templates/partial-item-nav_20251026143228.html b/.history/templates/partial-item-nav_20251026143228.html deleted file mode 100644 index 5ed121f..0000000 --- a/.history/templates/partial-item-nav_20251026143228.html +++ /dev/null @@ -1,6 +0,0 @@ -{{!-- Sheet Tab Navigation --}} -
                      - diff --git a/.history/templates/partial-item-nav_20251026143230.html b/.history/templates/partial-item-nav_20251026143230.html deleted file mode 100644 index 344e872..0000000 --- a/.history/templates/partial-item-nav_20251026143230.html +++ /dev/null @@ -1,7 +0,0 @@ -{{!-- Sheet Tab Navigation --}} -
                      - -< diff --git a/.history/templates/partial-item-nav_20251026143231.html b/.history/templates/partial-item-nav_20251026143231.html deleted file mode 100644 index b754422..0000000 --- a/.history/templates/partial-item-nav_20251026143231.html +++ /dev/null @@ -1,7 +0,0 @@ -{{!-- Sheet Tab Navigation --}} -
                      - -