From 83f4523f8f52c9909332bd6b67036be8d108ccec Mon Sep 17 00:00:00 2001 From: giffyglyph <42981044+giffyglyph@users.noreply.github.com> Date: Wed, 10 Apr 2019 22:22:37 +0100 Subject: [PATCH] Update Darker Dungeons sheet to v2.1 (#4921) Fixed monster import: can now drop monsters onto the battlemap correctly. Fixed global modifiers to match OGL sheet. Added global AC modifiers. Added toggle for intelligence as initiative. Added repeating field for extra resources. Fixed rounding error on inventory sizes. Fixed rolltemplate character name rendering. Added new notes page. Show correct ability scores when modified (per the OGL sheet). Added advantage/whisper toggle buttons to PC/NPC. Fixed missing modifier in attack rolltemplate. Increased size of personality/bond boxes. Added useroptions to sheet.json. Corrected persuasion modifier text from WIS to CHA. --- 5e Darker Dungeons/5e Darker Dungeons.css | 301 ++- 5e Darker Dungeons/5e Darker Dungeons.html | 2340 +++++++++++--------- 5e Darker Dungeons/sheet.json | 304 ++- 3 files changed, 1807 insertions(+), 1138 deletions(-) diff --git a/5e Darker Dungeons/5e Darker Dungeons.css b/5e Darker Dungeons/5e Darker Dungeons.css index f813f9f78e..6939f5ceb4 100644 --- a/5e Darker Dungeons/5e Darker Dungeons.css +++ b/5e Darker Dungeons/5e Darker Dungeons.css @@ -131,8 +131,19 @@ border-radius: 100%; } .charsheet .sheet-darkerdungeons .sheet-container-attribute .sheet-container-footer input:hover, .charsheet .sheet-darkerdungeons .sheet-container-attribute .sheet-container-footer input:focus { background: #e5fffb; } + .charsheet .sheet-darkerdungeons .sheet-container-attribute .sheet-container-footer input:hover ~ span, .charsheet .sheet-darkerdungeons .sheet-container-attribute .sheet-container-footer input:focus ~ span { + display: none; } .charsheet .sheet-darkerdungeons .sheet-container-attribute .sheet-container-footer span { - display: none; } + display: block; + color: #14b500; + margin-top: -18px; + text-align: center; + background: white; + border-radius: 100%; + position: relative; + font-weight: bold; } + .charsheet .sheet-darkerdungeons .sheet-container-attribute .sheet-container-footer span:hover { + display: none; } .charsheet .sheet-darkerdungeons .sheet-container-bar { display: flex; @@ -687,6 +698,54 @@ .charsheet .sheet-darkerdungeons .sheet-display-brackets-xp::before { content: "("; } +.sheet-compendium-warning, +.sheet-monster-confirm { + display: none; + position: absolute; + top: 50%; + background: white; + left: 50%; + z-index: 100; + border: 2px solid black; + width: 300px; + box-sizing: border-box; + text-align: center; + margin: 0 0 0 -150px; + padding: 30px; + text-transform: uppercase; + font-weight: bold; + box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.75); } + +.sheet-compendium-warning { + margin-top: -41px; } + +.sheet-monster-confirm { + margin-top: -75px; } + .sheet-monster-confirm .sheet-monster-confirm-buttons { + display: flex; + justify-content: space-between; + margin-top: 20px; } + .sheet-monster-confirm .sheet-monster-confirm-buttons .sheet-monster-confirm-button { + position: relative; + border: 1px solid black; + border-radius: 3px; + width: 100%; + padding: 5px; } + .sheet-monster-confirm .sheet-monster-confirm-buttons .sheet-monster-confirm-button + .sheet-monster-confirm-button { + margin-left: 10px; } + .sheet-monster-confirm .sheet-monster-confirm-buttons .sheet-monster-confirm-button input { + position: absolute; + height: 100%; + width: 100%; + margin: 0; + left: 0; + top: 0; + opacity: 0; } + +.sheet-licensecontainer.active-drop-target.dropping .sheet-compendium-warning, +.sheet-monster_confirm_flag[value="1"] .sheet-licensecontainer .sheet-monster-confirm { + display: block; } + .sheet-rolltemplate-spell .sheet-grey { color: #A0A0A0; font-weight: normal; } @@ -927,13 +986,7 @@ .sheet-rolltemplate-dmg .sheet-desc .inlinerollresult.fullfail .sheet-rolltemplate-atk .sheet-desc .inlinerollresult.fullcrit, .sheet-rolltemplate-atk .sheet-desc .inlinerollresult.importantroll, -.sheet-rolltemplate-atk .sheet-desc .inlinerollresult.fullfail, -.sheet-rolltemplate-mancerroll .inlinerollresult.fullcrit, -.sheet-rolltemplate-mancerroll .inlinerollresult.importantroll, -.sheet-rolltemplate-mancerroll .inlinerollresult.fullfail, -.sheet-rolltemplate-mancerhproll .inlinerollresult.fullcrit, -.sheet-rolltemplate-mancerhproll .inlinerollresult.importantroll, -.sheet-rolltemplate-mancerhproll .inlinerollresult.fullfail { +.sheet-rolltemplate-atk .sheet-desc .inlinerollresult.fullfail { color: black; border: 0px; } @@ -966,9 +1019,7 @@ .sheet-rolltemplate-dmg .sheet-desc .inlinerollresult, .sheet-rolltemplate-atkdmg .sheet-desc .inlinerollresult, -.sheet-rolltemplate-atk .sheet-desc .inlinerollresult, -.sheet-rolltemplate-mancerroll .inlinerollresult, -.sheet-rolltemplate-mancerhproll .inlinerollresult { +.sheet-rolltemplate-atk .sheet-desc .inlinerollresult { background-color: transparent; border: 0px; display: inline-block; @@ -1245,6 +1296,27 @@ .sheet-rolltemplate-npcatk a[href^="~"]:hover { color: #EC2127; } +.sheet-rolltemplate-simple .sheet-charname, +.sheet-rolltemplate-atk .sheet-charname, +.sheet-rolltemplate-dmg .sheet-charname, +.sheet-rolltemplate-atkdmg .sheet-charname { + text-align: center; + margin-top: -10px; } + +.sheet-rolltemplate-simple .sheet-charname span, +.sheet-rolltemplate-atk .sheet-charname span, +.sheet-rolltemplate-dmg .sheet-charname span, +.sheet-rolltemplate-atkdmg .sheet-charname span { + font-size: 11px; + font-weight: normal; + color: #A0A0A0; } + +.sheet-rolltemplate-dmg .sheet-label .sheet-rolltemplate-inline, +.sheet-rolltemplate-dmg .sheet-savedc .sheet-rolltemplate-inline, +.sheet-rolltemplate-atkdmg .sheet-savedc .sheet-rolltemplate-inline, +.sheet-rolltemplate-atkdmg .sheet-label .sheet-rolltemplate-inline { + display: inline-block; } + .charsheet .sheet-darkerdungeons .sheet-section-npc-display .sheet-npc-header .sheet-npc-header-name { padding-right: 20px; } .charsheet .sheet-darkerdungeons .sheet-section-npc-display .sheet-npc-header > span { @@ -1479,19 +1551,19 @@ display: none; position: relative; padding: 0; } - .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(4) { + .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(5) { display: block; } - .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(4) .sheet-tab-content { + .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(5) .sheet-tab-content { display: block; top: 0; } - .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(4) .sheet-tab-content .sheet-container-well-spell-attributes { + .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(5) .sheet-tab-content .sheet-container-well-spell-attributes { display: none; } - .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(4) .sheet-tab-content .sheet-container-well-spells { + .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(5) .sheet-tab-content .sheet-container-well-spells { margin-bottom: 0; border-radius: 0; grid-template-columns: 1fr; grid-auto-flow: inherit; } - .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(4) .sheet-tab-content .sheet-container-well-spells > .sheet-container-spell { + .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) + .sheet-toggle-npc-spells:checked ~ .sheet-section-pc .sheet-tab:nth-of-type(5) .sheet-tab-content .sheet-container-well-spells > .sheet-container-spell { min-height: 112px; } .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) ~ .sheet-toggle-npc-edit:checked ~ .sheet-section-pc .sheet-tab-content { display: none !important; } @@ -1634,20 +1706,22 @@ .sheet-tabs .sheet-tab { width: 800px; } .sheet-tabs .sheet-tab:nth-of-type(2) > input[type="radio"], .sheet-tabs .sheet-tab:nth-of-type(2) > .sheet-tab-label { - margin-left: 20%; } + margin-left: 16.66667%; } .sheet-tabs .sheet-tab:nth-of-type(3) > input[type="radio"], .sheet-tabs .sheet-tab:nth-of-type(3) > .sheet-tab-label { - margin-left: 40%; } + margin-left: 33.33333%; } .sheet-tabs .sheet-tab:nth-of-type(4) > input[type="radio"], .sheet-tabs .sheet-tab:nth-of-type(4) > .sheet-tab-label { - margin-left: 60%; } + margin-left: 50%; } .sheet-tabs .sheet-tab:nth-of-type(5) > input[type="radio"], .sheet-tabs .sheet-tab:nth-of-type(5) > .sheet-tab-label { - margin-left: 80%; } + margin-left: 66.66667%; } + .sheet-tabs .sheet-tab:nth-of-type(6) > input[type="radio"], .sheet-tabs .sheet-tab:nth-of-type(6) > .sheet-tab-label { + margin-left: 83.33333%; } .sheet-tabs .sheet-tab > input[type="radio"] { height: 30px; margin: 0; opacity: 0; position: absolute; top: 0; - width: 20%; + width: 16.66667%; z-index: 1; } .sheet-tabs .sheet-tab > input[type="radio"]:hover ~ .sheet-tab-label { background: #e5fffb; @@ -1668,7 +1742,7 @@ position: absolute; text-transform: uppercase; top: 0; - width: 20%; + width: 16.66667%; border-left-color: white; border-top-color: white; border-right-color: white; @@ -2001,11 +2075,14 @@ grid-template-rows: 65px auto; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-health .sheet-pc-hp-max { grid-area: hp-max; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-health .sheet-pc-hp-max .sheet-container-body { + padding-top: 0; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-health .sheet-pc-hp-current { grid-area: hp; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-health .sheet-pc-hp-current .sheet-container-body { display: flex; - flex-direction: row; } + flex-direction: row; + padding-top: 0; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-health .sheet-pc-hp-current .sheet-container-footer { display: flex; padding-left: 10px; @@ -2019,7 +2096,8 @@ max-height: 65px; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-health .sheet-pc-hit-dice .sheet-container-body { display: flex; - flex-direction: row; } + flex-direction: row; + padding-top: 0; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-health .sheet-pc-hit-dice .sheet-container-body span { align-items: center; color: #dddddd; @@ -2117,7 +2195,8 @@ grid-area: exhaustion; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-conditions .sheet-pc-exhaustion .sheet-container-body { display: flex; - flex-direction: row; } + flex-direction: row; + padding-top: 0; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-conditions .sheet-pc-exhaustion .sheet-container-body span { align-items: center; display: flex; @@ -2207,9 +2286,9 @@ grid-area: attacks; grid-column-gap: 5px; grid-row-gap: 5px; - grid-template-areas: "spell-ability spell-dc spell-attack" "resource-class resource-other spell-burnout" "attacks attacks attacks"; + grid-template-areas: "spell-ability spell-dc spell-attack" "resource-class resource-other spell-burnout" "resources resources resources" "attacks attacks attacks"; grid-template-columns: repeat(3, 1fr); - grid-template-rows: 65px 65px auto; } + grid-template-rows: 65px 65px auto 1fr; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-spell-ability { grid-area: spell-ability; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-spell-dc { @@ -2223,6 +2302,20 @@ grid-area: resource-class; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resource-other { grid-area: resource-other; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resources { + grid-area: resources; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resources .sheet-pc-resource { + font-size: 11px; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resources .sheet-pc-resource span:nth-of-type(2) { + opacity: .5; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resources .sheet-pc-resource span:nth-of-type(2)::before { + content: "("; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resources .sheet-pc-resource span:nth-of-type(2)::after { + content: " /"; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resources .sheet-pc-resource span:nth-of-type(3) { + opacity: .5; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resources .sheet-pc-resource span:nth-of-type(3)::after { + content: ")"; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resource-class .sheet-container-header, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-container-well-attacks .sheet-pc-resource-other .sheet-container-header { position: relative; } @@ -2300,31 +2393,49 @@ .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-saving-throw-modifier, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-tool-modifier, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-modifier, -.charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier { +.charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier, +.charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-ac-modifier { align-items: center; display: flex; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-saving-throw-modifier .sheet-checkbox-image, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-tool-modifier .sheet-checkbox-image, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-modifier .sheet-checkbox-image, - .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier .sheet-checkbox-image { + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier .sheet-checkbox-image, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-ac-modifier .sheet-checkbox-image { height: 10px; margin-right: 5px; width: 10px; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-saving-throw-modifier .sheet-checkbox-image span, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-tool-modifier .sheet-checkbox-image span, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-modifier .sheet-checkbox-image span, - .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier .sheet-checkbox-image span { + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier .sheet-checkbox-image span, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-ac-modifier .sheet-checkbox-image span { padding: 1px; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-saving-throw-modifier > span, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-tool-modifier > span, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-modifier > span, - .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier > span { + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier > span, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-ac-modifier > span { font-size: 11px; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-saving-throw-modifier > span + span, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-tool-modifier > span + span, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-modifier > span + span, - .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier > span + span { - margin-left: 5px; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier > span + span, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-ac-modifier > span + span { + margin-left: 5px; + opacity: .5; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-saving-throw-modifier > span + span::before, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-tool-modifier > span + span::before, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-modifier > span + span::before, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier > span + span::before, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-ac-modifier > span + span::before { + content: "("; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-saving-throw-modifier > span + span::after, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-tool-modifier > span + span::after, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-modifier > span + span::after, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-attack-damage-modifier > span + span::after, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-core .sheet-pc-ac-modifier > span + span::after { + content: ")"; } .charsheet .sheet-darkerdungeons .sheet-list-conditions { display: flex; flex-direction: column; @@ -2573,7 +2684,8 @@ .charsheet .sheet-darkerdungeons .sheet-pc-slots .sheet-container-body, .charsheet .sheet-darkerdungeons .sheet-pc-weight .sheet-container-body { display: flex; - flex-direction: row; } + flex-direction: row; + padding-top: 0; } .charsheet .sheet-darkerdungeons .sheet-pc-slots .sheet-container-body span, .charsheet .sheet-darkerdungeons .sheet-pc-weight .sheet-container-body span { align-items: center; @@ -2597,19 +2709,19 @@ width: 100%; } .charsheet .sheet-darkerdungeons .repitem:not(:first-of-type) .sheet-pc-item .sheet-pc-item-header { display: none; } -.charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="0"] ~ .repcontainer .sheet-pc-equipment-container-footer span:nth-of-type(5), -.charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="0"] ~ .repcontainer .sheet-pc-item-header span:nth-of-type(5), +.charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="0"] ~ .repcontainer .sheet-pc-equipment-container-footer span:nth-of-type(4), +.charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="0"] ~ .repcontainer .sheet-pc-item-header span:nth-of-type(4), .charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="0"] ~ .repcontainer .sheet-pc-item .sheet-pc-item-slots { display: none; } -.charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="1"] ~ .repcontainer .sheet-pc-equipment-container-footer span:nth-of-type(4), -.charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="1"] ~ .repcontainer .sheet-pc-item-header span:nth-of-type(4), +.charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="1"] ~ .repcontainer .sheet-pc-equipment-container-footer span:nth-of-type(3), +.charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="1"] ~ .repcontainer .sheet-pc-item-header span:nth-of-type(3), .charsheet .sheet-darkerdungeons .sheet-pc-equipment .sheet-toggle-slots[value="1"] ~ .repcontainer .sheet-pc-item .sheet-pc-item-weight { display: none; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features > input[type="radio"]:checked ~ .sheet-tab-content { display: grid; grid-template-columns: auto 262.5px; - grid-template-rows: 295px auto; + grid-template-rows: 355px auto; grid-column-gap: 5px; grid-row-gap: 5px; grid-template-areas: "details features" "memories features"; } @@ -2617,7 +2729,7 @@ grid-area: details; display: grid; grid-template-columns: repeat(2, 1fr); - grid-template-rows: repeat(3, 65px) auto; + grid-template-rows: repeat(4, 1fr); grid-column-gap: 5px; grid-row-gap: 5px; grid-template-areas: "details personality" "details ideals" "details bonds" "details flaws"; } @@ -2656,7 +2768,8 @@ border-top: 0; border-left: 0; border-right: 0; - border-radius: 0; } + border-radius: 0; + padding: 0 4px; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail select { cursor: pointer; border-top: 0; @@ -2678,6 +2791,21 @@ flex-grow: 1; flex-shrink: 0; text-align: center; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-column { + display: flex; + flex-direction: column; + width: 100%; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-column * { + margin: 0; + flex-shrink: 0; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-habit, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-motivation, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-feature { + height: auto; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-habit label, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-motivation label, + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-feature label { + height: 100%; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-quest { height: 40px; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-details .sheet-pc-detail-quest label { @@ -2690,7 +2818,8 @@ border-right: 0; border-radius: 0; resize: none; - padding: 0; } + padding: 0 4px; + line-height: 13px; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-personality { grid-area: personality; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-ideals { @@ -2729,7 +2858,8 @@ padding: 0; resize: none; margin: 0; - height: auto; } + height: auto; + line-height: 13px; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-features { grid-area: features; } .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-features .sheet-pc-features .sheet-checkbox-cog:hover span { @@ -2782,6 +2912,32 @@ padding: 3px 5px; border-radius: 3px; } +.charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-notes > input[type="radio"]:checked ~ .sheet-tab-content { + display: grid; } +.charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-notes .sheet-pc-notes { + display: grid; + grid-template-columns: 1fr 1fr 1fr; + grid-template-rows: 1fr 1fr; + grid-column-gap: 10px; + grid-row-gap: 10px; + grid-template-areas: "backstory features features" "allies allies treasure"; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-notes .sheet-pc-notes textarea { + width: 100%; + height: 100%; + margin: 0; + resize: none; + border: 0; + font-size: 11px; + line-height: 13px; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-notes .sheet-pc-notes .sheet-pc-notes-features { + grid-area: features; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-notes .sheet-pc-notes .sheet-pc-notes-backstory { + grid-area: backstory; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-notes .sheet-pc-notes .sheet-pc-notes-allies { + grid-area: allies; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-notes .sheet-pc-notes .sheet-pc-notes-treasure { + grid-area: treasure; } + .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-spells .sheet-pc-spell-ability .sheet-container-header, .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-spells .sheet-pc-burnout .sheet-container-header { padding-left: 10px; @@ -2959,9 +3115,68 @@ .charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-options .sheet-pc-options .sheet-form-fieldset .sheet-form-fieldset-header { background-color: lightgrey; color: inherit; } +.charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-options .sheet-form-fieldset-custom-ac { + margin-top: 5px; } +.charsheet .sheet-darkerdungeons .sheet-section-pc .sheet-tab-options .sheet-form-fieldset-hp-modifiers .repitem + .repitem { + margin-top: 5px; } .charsheet .sheet-darkerdungeons .sheet-section-roll { + margin: 0 auto; + width: 800px; + display: flex; + justify-content: flex-end; + margin-bottom: -18px; + height: 18px; } +.charsheet .sheet-darkerdungeons .sheet-section-roll-advantage, +.charsheet .sheet-darkerdungeons .sheet-section-roll-whisper { display: none; } + .charsheet .sheet-darkerdungeons .sheet-section-roll-advantage label, + .charsheet .sheet-darkerdungeons .sheet-section-roll-whisper label { + position: relative; } + .charsheet .sheet-darkerdungeons .sheet-section-roll-advantage label:first-of-type span, + .charsheet .sheet-darkerdungeons .sheet-section-roll-whisper label:first-of-type span { + border-radius: 4px 0 0 4px; + border-left: 1px solid #b7b7b7; } + .charsheet .sheet-darkerdungeons .sheet-section-roll-advantage label:last-of-type span, + .charsheet .sheet-darkerdungeons .sheet-section-roll-whisper label:last-of-type span { + border-radius: 0 4px 4px 0; } + .charsheet .sheet-darkerdungeons .sheet-section-roll-advantage label span, + .charsheet .sheet-darkerdungeons .sheet-section-roll-whisper label span { + background: #dddddd; + padding: 1px 5px; + font-weight: bold; + border: 1px solid #b7b7b7; + border-left: 0; + color: #909090; } + .charsheet .sheet-darkerdungeons .sheet-section-roll-advantage label input, + .charsheet .sheet-darkerdungeons .sheet-section-roll-whisper label input { + position: absolute; + left: 0; + top: 0; + height: 100%; + width: 100%; + opacity: 0; } + .charsheet .sheet-darkerdungeons .sheet-section-roll-advantage label input:checked ~ span, + .charsheet .sheet-darkerdungeons .sheet-section-roll-whisper label input:checked ~ span { + background: #7e2d40; + color: white; + border-color: #7e2d40; } + .charsheet .sheet-darkerdungeons .sheet-section-roll-advantage label input:not(:checked):hover ~ span, + .charsheet .sheet-darkerdungeons .sheet-section-roll-whisper label input:not(:checked):hover ~ span { + color: black; } +.charsheet .sheet-darkerdungeons .sheet-roll-toggle[value*="advantagetoggle"] + .sheet-section-roll-advantage, +.charsheet .sheet-darkerdungeons .sheet-roll-toggle[value*="whispertoggle"] + .sheet-section-roll-whisper { + display: flex; } +.charsheet .sheet-darkerdungeons .sheet-section-roll-whisper { + margin-left: 3px; } +.charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) ~ .sheet-section-roll { + width: 385px; + justify-content: space-between; + margin-bottom: 0; + height: auto; } + .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) ~ .sheet-section-roll .sheet-section-roll-advantage, + .charsheet .sheet-darkerdungeons .sheet-toggle-npc:not([value="0"]) ~ .sheet-section-roll .sheet-section-roll-whisper { + margin-bottom: 10px; } .charsheet .sheet-darkerdungeons .sheet-section-templates { display: none; } diff --git a/5e Darker Dungeons/5e Darker Dungeons.html b/5e Darker Dungeons/5e Darker Dungeons.html index 4c53f527a9..8c7cbb5fa1 100644 --- a/5e Darker Dungeons/5e Darker Dungeons.html +++ b/5e Darker Dungeons/5e Darker Dungeons.html @@ -1,19 +1,35 @@