From 53bf6c048cdb0e4cb8f0d2bb14bb97df63d4d63c Mon Sep 17 00:00:00 2001 From: finderski Date: Mon, 13 Jun 2022 18:46:34 -0400 Subject: [PATCH] Official Savage Worlds v1.00.27 Added support for the Artificer Edge/Arcane Devices. Enhancement and a minor bug fix. --- .../SavageWorldsCharSheet.css | 74 +++- .../SavageWorldsCharSheet.html | 400 +++++++++++++++--- Official Savage Worlds/sheet.json | 2 +- Official Savage Worlds/translation.json | 4 +- 4 files changed, 403 insertions(+), 77 deletions(-) diff --git a/Official Savage Worlds/SavageWorldsCharSheet.css b/Official Savage Worlds/SavageWorldsCharSheet.css index 9ff0188613..e1b16706a3 100644 --- a/Official Savage Worlds/SavageWorldsCharSheet.css +++ b/Official Savage Worlds/SavageWorldsCharSheet.css @@ -116,7 +116,7 @@ hr.dashed { .normallabel { font-size: 13px; font-weight: normal; - color: #404040; + color: rgb(64, 64, 64); } summary:hover { @@ -251,7 +251,7 @@ details[open] > summary.config { } .sheet-darkmode .characterviewer .charsheet label { - color: #404040; + color: rgb(64, 64, 64); } .sheet-darkmode .characterviewer .charsheet .container { @@ -280,12 +280,12 @@ details[open] > summary.config { input.useBackground[value="1"] ~ .background { background-image: url(https://raw.githubusercontent.com/finderski/SWT/master/Parchement_Background2.jpg); - background-color: #f4f4f4; + background-color: rgb(244, 244, 244); } input.useBackground[value="2"] ~ .background { background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Official%20Savage%20Worlds/images/backgrounds/swade-parchment-seamless.jpg); - background-color: #f4f4f4; + background-color: rgb(244, 244, 244); } input.useBackground[value="3"] ~ .background { @@ -2003,7 +2003,7 @@ select { .configSection { display: block; width: 100%; - background: white; + background: rgb(255, 255, 255); margin: 0 0 10px 0; /*padding: 5px 5px 5px 5px;*/ } @@ -2748,7 +2748,7 @@ span.statblock { .charsheet .normallabel { font-size: 13px; font-weight: normal; - color: #404040; + color: rgb(64, 64, 64); } .showconsumables { @@ -3897,6 +3897,40 @@ label.ddmenu:hover { font-size: 0.93em; } +/* Hide Skills that aren't "trained" */ +.staticfaith:not(:checked) ~ .repcontainer[data-groupname=repeating_weapons] .faith { + display: none; +} + +.staticfocus:not(:checked) ~ .repcontainer[data-groupname=repeating_weapons] .focus { + display: none; +} + +.staticperformance:not(:checked) ~ .repcontainer[data-groupname=repeating_weapons] .performance { + display: none; +} + +.staticpsionics:not(:checked) ~ .repcontainer[data-groupname=repeating_weapons] .psionics { + display: none; +} + +.staticspellcasting:not(:checked) ~ .repcontainer[data-groupname=repeating_weapons] .spellcasting { + display: none; +} + +.staticweirdscience:not(:checked) ~ .repcontainer[data-groupname=repeating_weapons] .weirdscience { + display: none; +} + +/* +:is(.staticfaith,.staticfocus,.staticperformance,.staticpsionics,.staticspellcasting,.staticweirdscience):not(:checked) ~ .repcontainer[data-groupname=repeating_weapons] :is(.faith,.focus,.performance,.psionics,.spellcasting,.weirdscience) { + display: none; +} +*/ +/*.AthleticsStaticSkill:not(:checked) ~ .repcontainer[data-groupname=repeating_weapons] .athletics, +.ShootingStaticSkill:not(:checked) ~ .repcontainer[data-groupname=repeating_weapons] .shooting { + display: none; +}*/ label.abmenu:hover { border: 1px solid cyan; } @@ -6520,7 +6554,7 @@ li.docList::before { } .useTheme[value="3"] ~ .statblockview .statBlockHeader .statblockName .headerContainer { font-family: Anton; - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; } .useTheme[value="3"] ~ .statblockview .statBlockHeader .charsummary { @@ -7288,7 +7322,7 @@ li.docList::before { background-position-y: -8px; background-repeat: no-repeat; font-family: Anton; - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; height: 95px; display: flex; @@ -7299,13 +7333,13 @@ li.docList::before { .useTheme[value="3"] ~ .background > .base .powerArmor h1.groupHeader input.headerInput, .useTheme[value="3"] ~ .background > .base .robotArmor h1.groupHeader input.headerInput { font-family: Anton; - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; } .useTheme[value="3"] ~ .background > .base .vehicles h1.groupHeader input.headerInput::placeholder, .useTheme[value="3"] ~ .background > .base .powerArmor h1.groupHeader input.headerInput::placeholder, .useTheme[value="3"] ~ .background > .base .robotArmor h1.groupHeader input.headerInput::placeholder { - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; } .useTheme[value="3"] ~ .background > .base .vehicles .shipWeapons, @@ -7323,7 +7357,7 @@ li.docList::before { .useTheme[value="3"] ~ .background > .base .vehicles .hideBtn, .useTheme[value="3"] ~ .background > .base .powerArmor .hideBtn, .useTheme[value="3"] ~ .background > .base .robotArmor .hideBtn { - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; margin: 15px 0 -27px 35px; } @@ -7337,7 +7371,7 @@ li.docList::before { background-position-y: -8px; background-repeat: no-repeat; font-family: Anton; - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; height: 95px; display: flex; @@ -7360,7 +7394,7 @@ li.docList::before { background-repeat: no-repeat; background-color: transparent; font-family: Anton; - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; font-size: 2.5em; height: 95px; @@ -7384,7 +7418,7 @@ li.docList::before { background-position-y: -8px; background-repeat: no-repeat; font-family: Anton; - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; height: 95px; display: flex; @@ -7400,14 +7434,14 @@ li.docList::before { color: white; } .useTheme[value="3"] ~ .background > .base .combatoptions .combatOptionDetails .combatoptionItem:nth-child(odd) .optionLabel { - color: #f29f40; + color: rgb(242, 159, 64); } .useTheme[value="3"] ~ .background > .base .combatoptions .combatOptionDetails .combatoptionItem:nth-child(even) { background-color: #5D6D7E; color: white; } .useTheme[value="3"] ~ .background > .base .combatoptions .combatOptionDetails .combatoptionItem:nth-child(even) .optionLabel { - color: #f29f40; + color: rgb(242, 159, 64); } .useTheme[value="3"] ~ .background > .base .releasenotesTab .groupHeader { background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Official%20Savage%20Worlds/images/headers/r20-rifts-header.png); @@ -7415,7 +7449,7 @@ li.docList::before { background-position-y: -8px; background-repeat: no-repeat; font-family: Anton; - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; height: 95px; display: flex; @@ -7438,7 +7472,7 @@ li.docList::before { background-position-y: -8px; background-repeat: no-repeat; font-family: Anton; - color: #f29f40; + color: rgb(242, 159, 64); -webkit-text-stroke: 1px black; height: 95px; display: flex; @@ -7545,7 +7579,7 @@ li.docList::before { .sheet-rolltemplate-roll.sheet-rolltemplate-darkmode .sheet-generic, .sheet-rolltemplate-damage.sheet-rolltemplate-darkmode .sheet-generic, .sheet-rolltemplate-statblock.sheet-rolltemplate-darkmode .sheet-generic { - background: #404040; + background: rgb(64, 64, 64); } .sheet-rolltemplate-roll .sheet-templateMain.sheet-powerTemplate.sheet-swpf, .sheet-rolltemplate-damage .sheet-templateMain.sheet-powerTemplate.sheet-swpf, @@ -8338,7 +8372,7 @@ li.docList::before { padding: none; } .sheet-rolltemplate-statblock.sheet-rolltemplate-darkmode { - color: #bfbfbf; + color: hsl(0deg, 0%, 75%); --header-color: (#d6d6d6); --main-text: (rgb(214, 214, 214)); --default-header-background: url("https://raw.github.com/finderski/SWT/master/RollTemplate/rt_header-darkmode.png"); diff --git a/Official Savage Worlds/SavageWorldsCharSheet.html b/Official Savage Worlds/SavageWorldsCharSheet.html index e385063857..c48d314987 100644 --- a/Official Savage Worlds/SavageWorldsCharSheet.html +++ b/Official Savage Worlds/SavageWorldsCharSheet.html @@ -1,7 +1,7 @@ - + @@ -6825,6 +6899,10 @@ on(

Skills

    + + + @@ -7854,27 +7932,83 @@ on(
- + + + + + -
( @@ -7922,14 +8056,36 @@ on( + + + + + + + + + + + + + + + + + + + + + + @@ -8151,7 +8307,7 @@ on(
- +
@@ -8449,8 +8605,7 @@ on( - +