diff --git a/Cyberrats/Cyberrats.css b/Cyberrats/Cyberrats.css index 0b27e6e889..ce88d9cc60 100644 --- a/Cyberrats/Cyberrats.css +++ b/Cyberrats/Cyberrats.css @@ -1229,6 +1229,12 @@ z-index: -1; color: white; } +/* Hide Briny Bastards and Cyberrats in Space checkboxes on campaign tracker page */ +.tabstoggle[value="campaignsheet"] ~ section span.briny-setting, +.tabstoggle[value="campaignsheet"] ~ section span.space-setting { + display: none; +} + /* Tab switching for base sub sheets (e.g. submarine) */ @@ -2748,6 +2754,67 @@ body.sheet-darkmode .threatlabel::before { height: 20px; left: calc((50% - 1em) - 2px); position: absolute; +} + +/* Dark Mode - Mech Section Fixes */ +/* Fix labels in mech abilities section */ +body.sheet-darkmode .mech-ability-section label { + color: var(--colorLight) !important; + background: transparent; +} + +/* Fix disabled M-Shop textarea - better visibility when disabled */ +body.sheet-darkmode .mech-ability-section:has(input[type="checkbox"]:not(:checked)) textarea { + opacity: 0.7; + background-color: color-mix(in srgb, var(--backgroundDarkOffset) 80%, var(--gentleOrange) 20%) !important; + color: var(--colorLight) !important; + border-color: var(--gentleOrange) !important; +} + +/* Fix subsystems labels and section */ +body.sheet-darkmode .subsystems h3, +body.sheet-darkmode .subsystems label { + color: var(--colorLight) !important; +} + +body.sheet-darkmode span.subspan label { + color: var(--colorLight) !important; + background: transparent; +} + +/* Fix munitions labels and section */ +body.sheet-darkmode h3:contains("Munitions"), +body.sheet-darkmode .Munholder label, +body.sheet-darkmode .repeating_Muns label { + color: var(--colorLight) !important; +} + +/* Fix armaments labels */ +body.sheet-darkmode h3:contains("Armaments"), +body.sheet-darkmode .repeating_arm label, +body.sheet-darkmode .armament-checkboxes label { + color: var(--colorLight) !important; +} + +/* Fix "equipped" text and counters */ +body.sheet-darkmode span:contains("equipped"), +body.sheet-darkmode span:contains("You've equipped") { + color: var(--colorLight) !important; +} + +/* Fix general mech section labels and text */ +body.sheet-darkmode .mech label, +body.sheet-darkmode .mechStuff label, +body.sheet-darkmode .perks label { + color: var(--colorLight) !important; + background: transparent; +} + +/* Fix mech section headers */ +body.sheet-darkmode .mech h3, +body.sheet-darkmode .mechStuff h3, +body.sheet-darkmode .perks h3 { + color: var(--colorLight) !important; width: 20px; z-index: 9; margin-left: 6px; diff --git a/Cyberrats/Cyberrats.html b/Cyberrats/Cyberrats.html index 7388684ec1..a9120d6253 100644 --- a/Cyberrats/Cyberrats.html +++ b/Cyberrats/Cyberrats.html @@ -507,6 +507,9 @@ +