From ea3a133d398cb8243e314d4ef79c0cccc7665526 Mon Sep 17 00:00:00 2001 From: Vince Date: Mon, 10 May 2021 23:07:28 -0700 Subject: [PATCH 1/2] Pathfinder Community Sheet v1.79 - Updated the sheet to work within Roll20's CSE update. - Fixed; Spell Options show 'DC' toggle. - Added a metric option to sheet settings>sheet configuration>accessibility. This option will show auto-calculated totals for weight and distance as metric(kilograms and meters). This option DOES NOT convert user input for weight and distance. Ensure you have entered metric-based values. - Updated common buff macros for Divine Favor and Magic Vestment.(thank you EtienneLamoureux) - Fixed; enabling the Energy Drain condition by applying negative levels also changes the appearance of "Energy Drain" label. - Fixed; Skill "-misc" and "-misc-mod" columns were not being flagged with a red dashed border used to indicate a parsing error. - Abilities; added "Other" as a Source basis option. "Other" includes full Level Basis options. --- Pathfinder Community/pathfinder_community.css | 4997 ++-- .../pathfinder_community.html | 19203 ++++++++-------- Pathfinder Community/sheet.json | 88 +- Pathfinder Community/translation.json | 22 +- 4 files changed, 12215 insertions(+), 12095 deletions(-) diff --git a/Pathfinder Community/pathfinder_community.css b/Pathfinder Community/pathfinder_community.css index 32c5d4f744..7f73073de0 100644 --- a/Pathfinder Community/pathfinder_community.css +++ b/Pathfinder Community/pathfinder_community.css @@ -1,7 +1,7 @@ @import url('https://fonts.googleapis.com/css?family=Ubuntu|Roboto+Mono|Open+Sans|Lato&display=swap'); -html, -.sheet-pf-wrapper, +.charsheet html, +.charsheet .pf-wrapper, .sheet-rolltemplate-pf_generic, .sheet-rolltemplate-pf_ability, .sheet-rolltemplate-pf_defense, @@ -11,22 +11,29 @@ html, box-sizing: border-box; } -*, -*::after, -*::before { +.charsheet .section-roll_templates { + display: none; + opacity: 0; + height: 1em; + overflow: hidden; +} + +.charsheet *, +.charsheet *::after, +.charsheet *::before { box-sizing: inherit; } -input, -.sheet-pf-wrapper input { +.charsheet input, +.charsheet .pf-wrapper input { height: initial; } -b { +.charsheet b { font-weight: bold; } -label { +.charsheet label { display: inline-block; font-size: inherit; line-height: 1em; @@ -37,38 +44,38 @@ label { position: relative; } -select { +.charsheet select { width: initial; margin: initial; padding: initial; padding-top: 0; } -textarea { +.charsheet textarea { height: initial; resize: initial; overflow-x: hidden; overflow-y: auto; } -button, -button:hover, -button:active { +.charsheet button, +.charsheet button:hover, +.charsheet button:active { background-image: initial; } -button[type="roll"] { +.charsheet button[type="roll"] { margin-left: initial; margin-right: initial; text-shadow: none; } -button[type=roll]:before { +.charsheet button[type="roll"]:before { vertical-align: middle; font-size: 1.2em; } -h1 { +.charsheet h1 { font-size: 1.5rem; line-height: 1em; clear: both; @@ -82,8 +89,8 @@ h1 { margin-bottom: .15em; } -h2, -h3 { +.charsheet h2, +.charsheet h3 { line-height: 1.4em; height: 1.4em; margin-top: .33em; @@ -91,94 +98,94 @@ h3 { color: initial; } -h4, -h5, -h6 { +.charsheet h4, +.charsheet h5, +.charsheet h6 { line-height: 1em; font-size: 1.3rem; color: initial; } -.sheet-pf-wrapper { +.charsheet .pf-wrapper { width: 100%; - min-width: 800px; - margin-top: -1em; + min-width: 822px; + margin-top: -1rem; } /* standalone generic toggles */ -.sheet-wounds-show, -.sheet-mythic-show, -.sheet-psionic-show, -.sheet-racial-traits-show, -.sheet-traits-show, -.sheet-featlist-show, -.sheet-classfeatures-show, -.sheet-oldslas-show, -.sheet-nextitem-show, -.sheet-use-size-show, -.sheet-repeating-sect-show, -.sheet-advanced-macro-show, -.sheet-buff-exists, -.sheet-condition-exists, -.sheet-horror-show, -.sheet-section-state, -.sheet-bg-show, -.sheet-unchained-show, -.sheet-consolidated-show, -.sheet-tabcopy, -.sheet-error-show, -.sheet-warn-show, -.sheet-error-mshow, -.sheet-warn-mshow { +.charsheet .wounds-show, +.charsheet .mythic-show, +.charsheet .psionic-show, +.charsheet .racial-traits-show, +.charsheet .traits-show, +.charsheet .featlist-show, +.charsheet .classfeatures-show, +.charsheet .oldslas-show, +.charsheet .nextitem-show, +.charsheet .use-size-show, +.charsheet .repeating-sect-show, +.charsheet .advanced-macro-show, +.charsheet .buff-exists, +.charsheet .condition-exists, +.charsheet .horror-show, +.charsheet .section-state, +.charsheet .bg-show, +.charsheet .unchained-show, +.charsheet .consolidated-show, +.charsheet .tabcopy, +.charsheet .error-show, +.charsheet .warn-show, +.charsheet .error-mshow, +.charsheet .warn-mshow { display: none; } -.sheet-clickheader { +.charsheet .clickheader { display: inline; } /* turn off spinners for disabled number fields in chrome */ -input[type="number"].sheet-calc:hover, -input[type="number"].sheet-calc:focus, -input[type="number"].sheet-calc, -input[type="number"]:disabled { +.charsheet input[type="number"].calc:hover, +.charsheet input[type="number"].calc:focus, +.charsheet input[type="number"].calc, +.charsheet input[type="number"]:disabled { -webkit-appearance: none; -moz-appearance: textfield; } /* turn off spinners for all number field in firefox */ -input[type="number"] { +.charsheet input[type="number"] { -moz-appearance: textfield !important; -moz-padding-end: .5em; padding-inline-end: .5em; } -input[type="text"], -input[type="number"] { +.charsheet input[type="text"], +.charsheet input[type="number"] { border: 0 solid #666; border-bottom-width: 0.1rem; margin-top: 0.1rem; } -input[type="text"] { +.charsheet input[type="text"] { width: 100%; min-width: 3em; } -input[type="text"], -input[type="number"], -textarea { +.charsheet input[type="text"], +.charsheet input[type="number"], +.charsheet textarea { color: #222; background-color: white; font-style: normal; } -.sheet-selectable, -input[type="text"], -input[type="number"], -textarea, -input[readonly], -input[disabled] { +.charsheet .selectable, +.charsheet input[type="text"], +.charsheet input[type="number"], +.charsheet textarea, +.charsheet input[readonly], +.charsheet input[disabled] { user-select: text !important; -moz-user-select: text !important; -khtml-user-select: text !important; @@ -188,7 +195,7 @@ input[disabled] { cursor: text !important; } -.sheet-progress-icon { +.charsheet .progress-icon { position: absolute; z-index: 5; top: 4em; @@ -196,10 +203,10 @@ input[disabled] { background-color: white; } -.sheet-half, -.sheet-desc, -.sheet-macro-text, -.sheet-notes { +.charsheet .half, +.charsheet .desc, +.charsheet .macro-text, +.charsheet .notes { height: 6em; resize: vertical; width: 100%; @@ -208,9 +215,9 @@ input[disabled] { clear: both; } -.sheet-inline-textarea, -.sheet-macro-text-inline, -.sheet-skill-macro-text { +.charsheet .inline-textarea, +.charsheet .macro-text-inline, +.charsheet .skill-macro-text { height: 2.15em; min-height: 2.15em; width: calc(100% - 4px); @@ -219,121 +226,121 @@ input[disabled] { overflow: hidden; } -.sheet-both { +.charsheet .both { resize: both; } -.sheet-skill-macro-text { +.charsheet .skill-macro-text { height: 1.85em; resize: both; } -.sheet-half { +.charsheet .half { height: 3em; } -/* keeps textarea and readonly number attribute to right inline with each other in one table cell */ -.sheet-small-label2.sheet-linked-tablecell, -.sheet-table-cell.sheet-linked-tablecell { +/* keeps textarea and readonly number attribute to right inline with each other in one .table cell */ +.charsheet .small-label2.linked-tablecell, +.charsheet .table-cell.linked-tablecell { width: 13em; min-width: 9em; } -.sheet-table-cell.sheet-linked-tablecell-short { +.charsheet .table-cell.linked-tablecell-short { width: 7.8em; min-width: 6.5em; white-space: nowrap; } -.sheet-linked-fields .sheet-macro-text-inline.sheet-linked-cellfield, -.sheet-linked-tablecell select.sheet-linked-cellfield, -.sheet-linked-tablecell .sheet-macro-text-inline.sheet-linked-cellfield { - width: calc(100% - 3.5em); +.charsheet .linked-fields .macro-text-inline.linked-cellfield, +.charsheet .linked-tablecell select.linked-cellfield, +.charsheet .linked-tablecell .macro-text-inline.linked-cellfield { + width: calc(97% - 3.5em); max-width: calc(100% - 3.5em); - vertical-align: bottom; + vertical-align: inherit; } -.sheet-linked-tablecell-short select.sheet-linked-cellfield, -.sheet-linked-tablecell-short .sheet-macro-text-inline.sheet-linked-cellfield { +.charsheet .linked-tablecell-short select.linked-cellfield, +.charsheet .linked-tablecell-short .macro-text-inline.linked-cellfield { width: calc(100% - 2.9em); max-width: calc(100% - 2.9em); } -.sheet-linked-fields.sheet-small-label2 input[type="number"], -.sheet-linked-fields.sheet-small-label2 select, -.sheet-linked-fields.sheet-small-label2 textarea, -.sheet-linked-fields.sheet-small-label2 .sheet-divider-db-lg, -.sheet-linked-fields.sheet-small-label2 .sheet-divider-db, -.sheet-linked-tablecell.sheet-small-label2 input[type="number"], -.sheet-linked-tablecell.sheet-small-label2 select, -.sheet-linked-tablecell.sheet-small-label2 textarea, -.sheet-linked-tablecell.sheet-small-label2 .sheet-divider-db-lg, -.sheet-linked-tablecell.sheet-small-label2 .sheet-divider-db { +.charsheet .linked-fields.small-label2 input[type="number"], +.charsheet .linked-fields.small-label2 select, +.charsheet .linked-fields.small-label2 textarea, +.charsheet .linked-fields.small-label2 .divider-db-lg, +.charsheet .linked-fields.small-label2 .divider-db, +.charsheet .linked-tablecell.small-label2 input[type="number"], +.charsheet .linked-tablecell.small-label2 select, +.charsheet .linked-tablecell.small-label2 textarea, +.charsheet .linked-tablecell.small-label2 .divider-db-lg, +.charsheet .linked-tablecell.small-label2 .divider-db { display: inline !important; vertical-align: bottom; } -.sheet-kinetic-sect .sheet-linked-fields { +.charsheet .kinetic-sect .linked-fields { width: 10em; } -.sheet-kinetic-sect .sheet-linked-tablecell { +.charsheet .kinetic-sect .linked-tablecell { margin-left: -.25em; margin-right: -.25em; } /* like br */ -.sheet-cheat { +.charsheet .cheat { width: 100%; display: block; clear: both; } -.sheet-nowrap { +.charsheet .nowrap { white-space: nowrap; } /* no wrap but allow text to go beyond width */ -.sheet-nowrap-over { +.charsheet .nowrap-over { white-space: nowrap; overflow-x: visible; } -.sheet-experience { +.charsheet .experience { margin-top: .5em; } /* in all pages mode, put margin above h1 except first page*/ -.sheet-tab99:checked~.sheet-section:not(.sheet-section-core) h1 { +.charsheet .tab99:checked~.section:not(.section-core) h1 { margin-top: 1em; } -.sheet-upper { +.charsheet .upper { text-transform: uppercase; } -.sheet-header-row, -.sheet-space-below, -.sheet-iterative_attack_section { +.charsheet .header-row, +.charsheet .space-below, +.charsheet .iterative_attack_section { margin-bottom: .5em; } -.sheet-section-spellclass { +.charsheet .section-spellclass { padding-top: .33em; } -.sheet-iterative_attack_section { +.charsheet .iterative_attack_section { margin-left: 0.2rem; } -.sheet-currency .sheet-table { +.charsheet .currency .table { display: inline-block; vertical-align: top; border: 0.1rem solid DarkGray; width: 50%; } -button[type="roll"]:not(.sheet-command-button) { +.charsheet button[type="roll"]:not(.command-button) { background-color: black; color: white; margin: 0 .25em 0 .25em; @@ -344,48 +351,48 @@ button[type="roll"]:not(.sheet-command-button) { cursor: pointer; } -button[type="roll"].sheet-no-decoration { +.charsheet button[type="roll"].no-decoration { background: none; border: none; box-shadow: none; text-shadow: none; } -button[type="roll"].sheet-no-decoration::before { +.charsheet button[type="roll"].no-decoration::before { content: ""; } -button[type="roll"].sheet-no-decoration:hover { +.charsheet button[type="roll"].no-decoration:hover { color: red; text-decoration: underline; } -.sheet-pf-border { +.charsheet .pf-border { border: 0.1rem solid #d3d3d3; box-sizing: content-box; padding: .5em .5em 0 .5em; border-radius: 0.5rem; } -h1, -h2, -h3, -h4, -.sheet-pf-wrapper, +.charsheet h1, +.charsheet h2, +.charsheet h3, +.charsheet h4, +.charsheet .pf-wrapper, .sheet-rolltemplate-pf_generic, .sheet-rolltemplate-pf_ability, .sheet-rolltemplate-pf_defense, .sheet-rolltemplate-pf_attack, .sheet-rolltemplate-pf_spell, .sheet-rolltemplate-pf_block, -.sheet-table-name, -.sheet-table-header, -.sheet-text-button, -.sheet-tab { +.charsheet .table-name, +.charsheet .table-header, +.charsheet .text-button, +.charsheet .tab { font-family: Ubuntu, sans-serif; } -.sheet-panel-name { +.charsheet .panel-name { font-family: tahoma, arial black, sans-serif; font-stretch: ultra-expanded; font-weight: bold; @@ -394,7 +401,7 @@ h4, } /* fonts */ -.sheet-pf-wrapper, +.charsheet .pf-wrapper, .sheet-rolltemplate-pf_generic, .sheet-rolltemplate-pf_ability, .sheet-rolltemplate-pf_defense, @@ -405,115 +412,115 @@ h4, --sheet-pf-header-specfont: Ubuntu, sans-serif; } -.sheet-rolltemplate-pf_generic .sheet-font-11, -.sheet-rolltemplate-pf_ability .sheet-font-11, -.sheet-rolltemplate-pf_defense .sheet-font-11, -.sheet-rolltemplate-pf_attack .sheet-font-11, -.sheet-rolltemplate-pf_spell .sheet-font-11, -.sheet-rolltemplate-pf_block .sheet-font-11, -.sheet-rolltemplate-pf_generic .sheet-font-1.sheet-roll-accessible, -.sheet-rolltemplate-pf_ability .sheet-font-1.sheet-roll-accessible, -.sheet-rolltemplate-pf_defense .sheet-font-1.sheet-roll-accessible, -.sheet-rolltemplate-pf_attack .sheet-font-1.sheet-roll-accessible, -.sheet-rolltemplate-pf_spell .sheet-font-1.sheet-roll-accessible, -.sheet-rolltemplate-pf_block .sheet-font-1.sheet-roll-accessible, -.sheet-accessible:checked~.sheet-pf-wrapper { +.sheet-rolltemplate-pf_generic .font-11, +.sheet-rolltemplate-pf_ability .font-11, +.sheet-rolltemplate-pf_defense .font-11, +.sheet-rolltemplate-pf_attack .font-11, +.sheet-rolltemplate-pf_spell .font-11, +.sheet-rolltemplate-pf_block .font-11, +.sheet-rolltemplate-pf_generic .font-1roll-accessible, +.sheet-rolltemplate-pf_ability .font-1roll-accessible, +.sheet-rolltemplate-pf_defense .font-1roll-accessible, +.sheet-rolltemplate-pf_attack .font-1roll-accessible, +.sheet-rolltemplate-pf_spell .font-1roll-accessible, +.sheet-rolltemplate-pf_block .font-1roll-accessible, +.charsheet .accessible:checked~.pf-wrapper { --sheet-pf-specfont: 'Open Sans', sans-serif; --sheet-pf-header-specfont: 'Lato', sans-serif; } -.sheet-rolltemplate-pf_generic .sheet-font-12, -.sheet-rolltemplate-pf_ability .sheet-font-12, -.sheet-rolltemplate-pf_defense .sheet-font-12, -.sheet-rolltemplate-pf_attack .sheet-font-12, -.sheet-rolltemplate-pf_spell .sheet-font-12, -.sheet-rolltemplate-pf_block .sheet-font-12, -.sheet-comic:checked~.sheet-pf-wrapper { +.sheet-rolltemplate-pf_generic .font-12, +.sheet-rolltemplate-pf_ability .font-12, +.sheet-rolltemplate-pf_defense .font-12, +.sheet-rolltemplate-pf_attack .font-12, +.sheet-rolltemplate-pf_spell .font-12, +.sheet-rolltemplate-pf_block .font-12, +.charsheet .comic:checked~.pf-wrapper { --sheet-pf-specfont: Comic Sans MS, Patrick Hand, Lucida Handwriting, cursive, sans-serif; --sheet-pf-header-specfont: Comic Sans MS, Patrick Hand, Lucida Handwriting, cursive, sans-serif; } -.sheet-rolltemplate-pf_generic .sheet-font-13, -.sheet-rolltemplate-pf_ability .sheet-font-13, -.sheet-rolltemplate-pf_defense .sheet-font-13, -.sheet-rolltemplate-pf_attack .sheet-font-13, -.sheet-rolltemplate-pf_spell .sheet-font-13, -.sheet-rolltemplate-pf_block .sheet-font-13, -.sheet-segoe:checked~.sheet-pf-wrapper { +.sheet-rolltemplate-pf_generic .font-13, +.sheet-rolltemplate-pf_ability .font-13, +.sheet-rolltemplate-pf_defense .font-13, +.sheet-rolltemplate-pf_attack .font-13, +.sheet-rolltemplate-pf_spell .font-13, +.sheet-rolltemplate-pf_block .font-13, +.charsheet .segoe:checked~.pf-wrapper { --sheet-pf-specfont: Segoe UI, Tahoma, Candara, Century Gothic, sans-serif; --sheet-pf-header-specfont: Segoe UI, Tahoma, Candara, Century Gothic, sans-serif; } -.sheet-rolltemplate-pf_generic .sheet-font-14, -.sheet-rolltemplate-pf_ability .sheet-font-14, -.sheet-rolltemplate-pf_defense .sheet-font-14, -.sheet-rolltemplate-pf_attack .sheet-font-14, -.sheet-rolltemplate-pf_spell .sheet-font-14, -.sheet-rolltemplate-pf_block .sheet-font-14, -.sheet-lucida:checked~.sheet-pf-wrapper { +.sheet-rolltemplate-pf_generic .font-14, +.sheet-rolltemplate-pf_ability .font-14, +.sheet-rolltemplate-pf_defense .font-14, +.sheet-rolltemplate-pf_attack .font-14, +.sheet-rolltemplate-pf_spell .font-14, +.sheet-rolltemplate-pf_block .font-14, +.charsheet .lucida:checked~.pf-wrapper { --sheet-pf-specfont: Lucida Sans Unicode Regular, Lucida Sans Unicode, Candara, Calibri, Arial Narrow, sans-serif; --sheet-pf-header-specfont: Lucida Sans, Lucida Sans Unicode Regular, Lucida Sans Unicode, Candara, Calibri, Arial Narrow, sans-serif; } -.sheet-rolltemplate-pf_generic .sheet-font-15, -.sheet-rolltemplate-pf_ability .sheet-font-15, -.sheet-rolltemplate-pf_defense .sheet-font-15, -.sheet-rolltemplate-pf_attack .sheet-font-15, -.sheet-rolltemplate-pf_spell .sheet-font-15, -.sheet-rolltemplate-pf_block .sheet-font-15, -.sheet-fantasy:checked~.sheet-pf-wrapper { +.sheet-rolltemplate-pf_generic .font-15, +.sheet-rolltemplate-pf_ability .font-15, +.sheet-rolltemplate-pf_defense .font-15, +.sheet-rolltemplate-pf_attack .font-15, +.sheet-rolltemplate-pf_spell .font-15, +.sheet-rolltemplate-pf_block .font-15, +.charsheet .fantasy:checked~.pf-wrapper { --sheet-pf-header-specfont: Papyrus, Zapf Chancery, Matura MT Script Capitals, Lucida Calligraphy, Brush Script MT, Script MT Bold, Script Regular, serif; --sheet-pf-specfont: Goudy Old Style, Garamond, Georgia, Palatino, Cambria, Hoefler Text, Book Antiqua, serif; } -.sheet-rolltemplate-pf_generic .sheet-font-17, -.sheet-rolltemplate-pf_ability .sheet-font-17, -.sheet-rolltemplate-pf_defense .sheet-font-17, -.sheet-rolltemplate-pf_attack .sheet-font-17, -.sheet-rolltemplate-pf_spell .sheet-font-17, -.sheet-rolltemplate-pf_block .sheet-font-17, -.sheet-fantasy3:checked~.sheet-pf-wrapper { +.sheet-rolltemplate-pf_generic .font-17, +.sheet-rolltemplate-pf_ability .font-17, +.sheet-rolltemplate-pf_defense .font-17, +.sheet-rolltemplate-pf_attack .font-17, +.sheet-rolltemplate-pf_spell .font-17, +.sheet-rolltemplate-pf_block .font-17, +.charsheet .fantasy3:checked~.pf-wrapper { --sheet-pf-header-specfont: Lucida Calligraphy, Segoe UI Script, Segoe Script, Script MT Regular, Brush Script MT, Script MT Bold, Script Regular, serif; --sheet-pf-specfont: Hoefler Text, Baskerville, Georgia, Palatino, Cambria, Book Antiqua, serif; } -.sheet-rolltemplate-pf_generic .sheet-font-16, -.sheet-rolltemplate-pf_ability .sheet-font-16, -.sheet-rolltemplate-pf_defense .sheet-font-16, -.sheet-rolltemplate-pf_attack .sheet-font-16, -.sheet-rolltemplate-pf_spell .sheet-font-16, -.sheet-rolltemplate-pf_block .sheet-font-16, -.sheet-fantasy2:checked~.sheet-pf-wrapper { +.sheet-rolltemplate-pf_generic .font-16, +.sheet-rolltemplate-pf_ability .font-16, +.sheet-rolltemplate-pf_defense .font-16, +.sheet-rolltemplate-pf_attack .font-16, +.sheet-rolltemplate-pf_spell .font-16, +.sheet-rolltemplate-pf_block .font-16, +.charsheet .fantasy2:checked~.pf-wrapper { --sheet-pf-header-specfont: Copperplate Gothic Bold, Copperplate Gothic, Copperplate Gothic Light, Copperplate, serif; --sheet-pf-specfont: Copperplate Gothic Light, Copperplate, Big Caslon, Calisto MT, serif; } -.sheet-pf-wrapper, -.sheet-rolltemplate-pf_generic .sheet-roll-table, -.sheet-rolltemplate-pf_ability .sheet-roll-table, -.sheet-rolltemplate-pf_defense .sheet-roll-table, -.sheet-rolltemplate-pf_attack .sheet-roll-table, -.sheet-rolltemplate-pf_spell .sheet-roll-table, -.sheet-rolltemplate-pf_block .sheet-roll-table, -.sheet-rolltemplate-pf_generic .sheet-roll-accessible, -.sheet-rolltemplate-pf_ability .sheet-roll-accessible, -.sheet-rolltemplate-pf_defense .sheet-roll-accessible, -.sheet-rolltemplate-pf_attack .sheet-roll-accessible, -.sheet-rolltemplate-pf_spell .sheet-roll-accessible, -.sheet-rolltemplate-pf_block .sheet-roll-accessible, -.sheet-pf-wrapper .sheet-small-label2 span, -.sheet-pf-wrapper input, -.sheet-pf-wrapper textarea, -.sheet-pf-wrapper select { +pf-wrapper, +.sheet-rolltemplate-pf_generic .roll-table, +.sheet-rolltemplate-pf_ability .roll-table, +.sheet-rolltemplate-pf_defense .roll-table, +.sheet-rolltemplate-pf_attack .roll-table, +.sheet-rolltemplate-pf_spell .roll-table, +.sheet-rolltemplate-pf_block .roll-table, +.sheet-rolltemplate-pf_generic .roll-accessible, +.sheet-rolltemplate-pf_ability .roll-accessible, +.sheet-rolltemplate-pf_defense .roll-accessible, +.sheet-rolltemplate-pf_attack .roll-accessible, +.sheet-rolltemplate-pf_spell .roll-accessible, +.sheet-rolltemplate-pf_block .roll-accessible, +.charsheet .pf-wrapper .small-label2 span, +.charsheet .pf-wrapper input, +.charsheet .pf-wrapper textarea, +.charsheet .pf-wrapper select { font-family: var(--sheet-pf-specfont); } -.sheet-rolltemplate-pf_generic .sheet-roll-table .sheet-roll-header, -.sheet-rolltemplate-pf_ability .sheet-roll-table .sheet-roll-header, -.sheet-rolltemplate-pf_defense .sheet-roll-table .sheet-roll-header, -.sheet-rolltemplate-pf_attack .sheet-roll-table .sheet-roll-header, -.sheet-rolltemplate-pf_spell .sheet-roll-table .sheet-roll-header, -.sheet-rolltemplate-pf_block .sheet-roll-table .sheet-roll-header, +.sheet-rolltemplate-pf_generic .roll-table .roll-header, +.sheet-rolltemplate-pf_ability .roll-table .roll-header, +.sheet-rolltemplate-pf_defense .roll-table .roll-header, +.sheet-rolltemplate-pf_attack .roll-table .roll-header, +.sheet-rolltemplate-pf_spell .roll-table .roll-header, +.sheet-rolltemplate-pf_block .roll-table .roll-header, .sheet-rolltemplate-pf_generic h3, .sheet-rolltemplate-pf_ability h3, .sheet-rolltemplate-pf_defense h3, @@ -526,34 +533,34 @@ h4, .sheet-rolltemplate-pf_attack h4, .sheet-rolltemplate-pf_spell h4, .sheet-rolltemplate-pf_block h4, -.sheet-pf-wrapper input.sheet-entry-custom-header, -.sheet-pf-wrapper button, -.sheet-pf-wrapper .sheet-text-button, -.sheet-pf-wrapper .sheet-tab, -.sheet-pf-wrapper .sheet-panel-name, -.sheet-pf-wrapper .sheet-table-name, -.sheet-pf-wrapper .sheet-table-row-name, -.sheet-pf-wrapper .sheet-table-config-row-name, -.sheet-pf-wrapper .sheet-nontable-name, -.sheet-pf-wrapper .sheet-secondary-table-name, -.sheet-pf-wrapper .sheet-showsect, -.sheet-pf-wrapper .sheet-table-header, -.sheet-pf-wrapper h1, -.sheet-pf-wrapper h2, -.sheet-pf-wrapper h3, -.sheet-pf-wrapper h4 { +.charsheet .pf-wrapper input.entry-custom-header, +.charsheet .pf-wrapper button, +.charsheet .pf-wrapper .text-button, +.charsheet .pf-wrapper .tab, +.charsheet .pf-wrapper .panel-name, +.charsheet .pf-wrapper .table-name, +.charsheet .pf-wrapper .table-row-name, +.charsheet .pf-wrapper .table-config-row-name, +.charsheet .pf-wrapper .nontable-name, +.charsheet .pf-wrapper .secondary-table-name, +.charsheet .pf-wrapper .showsect, +.charsheet .pf-wrapper .table-header, +.charsheet .pf-wrapper h1, +.charsheet .pf-wrapper h2, +.charsheet .pf-wrapper h3, +.charsheet .pf-wrapper h4 { font-family: var(--sheet-pf-header-specfont); } -.sheet-pf-wrapper .repcontrol_del, -.sheet-pf-wrapper .repcontrol_move, -.sheet-pf-wrapper .repcontrol_add, -.sheet-pf-wrapper .repcontrol_edit { +.charsheet .pf-wrapper .repcontrol_del, +.charsheet .pf-wrapper .repcontrol_move, +.charsheet .pf-wrapper .repcontrol_add, +.charsheet .pf-wrapper .repcontrol_edit { font-family: pictos; } /* Sheet Backgrounds */ -.sheet-graph-paper:checked~.sheet-pf-wrapper { +.charsheet .graph-paper:checked~.pf-wrapper { background: linear-gradient(-90deg, rgba(0, 0, 0, .03) 0.1rem, transparent 0.1rem), linear-gradient(rgba(0, 0, 0, .03) 0.1rem, transparent 0.1rem), @@ -574,77 +581,77 @@ h4, 16px 16px; } -.sheet-parchment-1:checked~.sheet-pf-wrapper { +.charsheet .parchment-1:checked~.pf-wrapper { background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Pathfinder%20Community/Images/pf_background_parch1.jpg"); background-size: cover; background-position: center top; padding: .75em; } -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-tab, -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-secondary-table-name, -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-table-name, -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-table-row-name, -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-emphasize-field, -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-boldlabel-check:checked+b:not(.sheet-offCase), -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-condition-exists:checked+label { +.charsheet .parchment-1:checked~.pf-wrapper .tab, +.charsheet .parchment-1:checked~.pf-wrapper .secondary-table-name, +.charsheet .parchment-1:checked~.pf-wrapper .table-name, +.charsheet .parchment-1:checked~.pf-wrapper .table-row-name, +.charsheet .parchment-1:checked~.pf-wrapper .emphasize-field, +.charsheet .parchment-1:checked~.pf-wrapper .boldlabel-check:checked+b:not(.offCase), +.charsheet .parchment-1:checked~.pf-wrapper .condition-exists:checked+label { background-color: #2f4f4f; } -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-table-header { +.charsheet .parchment-1:checked~.pf-wrapper .table-header { background-color: darkkhaki; } -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-section-state:checked~.sheet-background-color1 { +.charsheet .parchment-1:checked~.pf-wrapper .section-state:checked~.background-color1 { background-color: palegoldenrod; } -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-calc, -.sheet-parchment-1:checked~.sheet-pf-wrapper .input.sheet-calc { +.charsheet .parchment-1:checked~.pf-wrapper .calc, +.charsheet .parchment-1:checked~.pf-wrapper input.calc { background-color: #c9c9c9; } -.sheet-parchment-2:checked~.sheet-pf-wrapper { +.charsheet .parchment-2:checked~.pf-wrapper { background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Pathfinder%20Community/Images/pf_background_parch2.jpg"); background-size: cover; background-position: center top; padding: .75em; } -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-tab, -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-secondary-table-name, -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-table-name, -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-table-row-name, -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-emphasize-field, -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-boldlabel-check:checked+b:not(.sheet-offCase), -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-condition-exists:checked+label { +.charsheet .parchment-2:checked~.pf-wrapper .tab, +.charsheet .parchment-2:checked~.pf-wrapper .secondary-table-name, +.charsheet .parchment-2:checked~.pf-wrapper .table-name, +.charsheet .parchment-2:checked~.pf-wrapper .table-row-name, +.charsheet .parchment-2:checked~.pf-wrapper .emphasize-field, +.charsheet .parchment-2:checked~.pf-wrapper .boldlabel-check:checked+b:not(.offCase), +.charsheet .parchment-2:checked~.pf-wrapper .condition-exists:checked+label { background-color: #2f4f4f; } -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-table-header { +.charsheet .parchment-2:checked~.pf-wrapper .table-header { background-color: darkkhaki; } -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-section-state:checked~.sheet-background-color1 { +.charsheet .parchment-2:checked~.pf-wrapper .section-state:checked~background-color1 { background-color: palegoldenrod; } -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-calc, -.sheet-parchment-2:checked~.sheet-pf-wrapper .input.sheet-calc { +.charsheet .parchment-2:checked~.pf-wrapper .calc, +.charsheet .parchment-2:checked~.pf-wrapper input.calc { background-color: #c9c9c9; } /* button sizing based on arial*/ -.sheet-pf-wrapper span::before, -.sheet-pf-wrapper span::after { +.charsheet .pf-wrapper span::before, +.charsheet .pf-wrapper span::after { font-family: Arial, sans-serif; } -.sheet-pictos { +.charsheet .pictos { font-family: "Pictos" !important; } -.sheet-icon { +.charsheet .icon { font-size: 4em; cursor: default; margin: 0 .125em 0 .125em; @@ -652,116 +659,120 @@ h4, /* set width for number input and surrounding labels */ -input[type="number"], -input[type="text"].sheet-number, -.sheet-number { +.charsheet input[type="number"], +.charsheet input[type="text"].number, +.charsheet .number { min-width: 2.5em; max-width: 4.5em; width: auto; font-style: normal; } -input[type="number"], -span.sheet-number:not(.sheet-table-cell), -input.sheet-number { +.charsheet input[type="number"], +.charsheet span.number:not(.table-cell), +.charsheet input.number { text-align: right; } -.sheet-wide-numbers input[type=number] { +.charsheet .wide-numbers input[type="number"] { width: calc(100% - 2px); max-width: calc(100% - 2px); } -.sheet-medium-numbers input[type=number], -.sheet-medium-numbers input[type="text"].sheet-number, -.sheet-medium-numbers .sheet-number { +.charsheet .medium-numbers input[type="number"], +.charsheet .medium-numbers input[type="text"].number, +.charsheet .medium-numbers .number { max-width: 3.5em; width: calc(100% - 2px); } /* min width must come before narrow-numbers */ -.sheet-calc, -input.sheet-calc, -input:disabled { +.charsheet .calc, +.charsheet input.calc, +.charsheet input:disabled { min-width: 2.85em; } -input[type=number].sheet-narrow-numbers, -.sheet-narrow-numbers input[type=number], -.sheet-narrow-numbers input[type="text"].sheet-number, -.sheet-narrow-numbers .sheet-number { - min-width: 2.5em; - width: 2.5em; +.charsheet input[type="number"].narrow-numbers, +.charsheet .narrow-numbers input[type="number"], +.charsheet .narrow-numbers input[type="text"].number, +.charsheet .narrow-numbers .number { + min-width: 2.5rem; + width: 2.5rem; + padding: 2px; + margin: 2px; } -.sheet-calc.sheet-narrow-numbers { +.charsheet .calc.narrow-numbers { padding-left: 0; margin-left: 0; } -.sheet-number, -input[type="text"].sheet-number, -.sheet-small-label2.sheet-number, -.sheet-sect-buff .sheet-linked-fields .sheet-number, -.sheet-sect-buff .sheet-linked-fields input[type="number"] { +.charsheet .number, +.charsheet input[type="text"].number, +.charsheet .small-label2number, +.charsheet .sect-buff .linked-fields .number, +.charsheet .sect-buff .linked-fields input[type="number"] { width: 3.5em; } /* narrow only when in readonly/compact mode: */ -.sheet-readonly-show:not(:checked)~.sheet-main input[type=number].sheet-narrow-numbers-readonly, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-narrow-numbers-readonly input[type=number], -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-narrow-numbers-readonly .sheet-number, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-narrow-numbers-readonly input[type=text].sheet-number { +.charsheet .readonly-show:not(:checked)~.main input[type="number"].narrow-numbers-readonly, +.charsheet .readonly-show:not(:checked)~.main .narrow-numbers-readonly input[type="number"], +.charsheet .readonly-show:not(:checked)~.main .narrow-numbers-readonly .number, +.charsheet .readonly-show:not(:checked)~.main .narrow-numbers-readonly input[type="text"].number { width: 2.5em; } /* reduce header text in readonly/compact mode */ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-table-header, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-small-label2 span:not(.sheet-autoexpand), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-table-cell.sheet-small-label span { +.charsheet .readonly-show:not(:checked)~.main .table-header, +.charsheet .readonly-show:not(:checked)~.main .small-label2 span:not(.autoexpand), +.charsheet .readonly-show:not(:checked)~.main .table-cell.small-label span { font-size: 1rem; padding: 0; } -.sheet-buff-row { +.charsheet .buff-row { display: table-row; vertical-align: bottom; } /* we should go and change all sheet-table-cell to div */ -.sheet-compendium-note .sheet-vertical-middle, -.sheet-condition-exists+label, -.sheet-table-cell.sheet-small-label span, -.sheet-table-header, -.sheet-small-label2 span:not(.sheet-autoexpand) { +.charsheet .compendium-note .vertical-middle, +.charsheet .condition-exists+label, +.charsheet .table-cell.small-label span, +.charsheet .table-header, +.charsheet .small-label2 span:not(.autoexpand) { cursor: help; font-size: 1.125rem; } -.sheet-h2-section { +.charsheet .h2-section { position: relative; + display: inline-block; clear: both; height: auto; width: 100%; vertical-align: top; } -.sheet-inline, -.sheet-h2-section.sheet-inline { +.charsheet .inline, +.charsheet .h2-section.inline { display: inline; clear: none; } -.sheet-main { +.charsheet .main { width: 100%; position: relative; display: block; overflow: hidden; } -.sheet-table { +.charsheet .table { display: table; width: 100%; + margin: 0; } .charsheet .sheet-3colrow .sheet-col { @@ -769,7 +780,7 @@ input[type="text"].sheet-number, margin-right: -0.5rem !important; } -.sheet-3col { +.charsheet .sheet-3col { width: 33%; text-align: center; } @@ -777,31 +788,31 @@ input[type="text"].sheet-number, /* make error row more visible (colorblind users could not see slightly darker border ) also need 1 more level in selector or base css will override border */ -.sheet-pf-wrapper .repitem.repitembroken { +.charsheet .pf-wrapper .repitem.repitembroken { border: 0.3rem dashed #FF0044 !important; margin: 0.2rem 0 0.4rem 0; border-radius: 0; } -.sheet-error { +.charsheet .error { color: Red; font-size: 1.4rem; background-color: White; margin-left: .25em; } -.repitem:not(.repitembroken) .sheet-error { +.charsheet .repitem:not(.repitembroken) .error { display: none; } -.sheet-small-label { +.charsheet .small-label { font-size: 1.2rem; font-style: italic; font-weight: bold; color: Black; } -.sheet-secondary-table-name { +.charsheet .secondary-table-name { display: table-caption; text-align: center; font-weight: bold; @@ -811,25 +822,80 @@ also need 1 more level in selector or base css will override border */ padding-top: .25em; } -.sheet-nontable-name.sheet-secondary-table-name, -.sheet-table-name.sheet-secondary-table-name { +/* used to signify imperial/metric toggle */ +.charsheet input[type="checkbox"].use-metrics:not(:checked)~div>div .weight-used::after { + content: '(lbs)'; + margin-left: 5px; + font-weight: normal; + font-style: normal; + font-size: 1rem; + font-family: 'Roboto Mono', monospace; +} + +.charsheet input[type="checkbox"].use-metrics:checked~div>div .weight-used::after { + content: '(kgs)'; + margin-left: 5px; + font-weight: normal; + font-style: normal; + font-size: 1rem; + font-family: 'Roboto Mono', monospace; +} + +.charsheet input[type="checkbox"].use-metrics:not(:checked)~div>div .distance-used::after, +.charsheet input[type="checkbox"].use-metrics:not(:checked)~div>div span .distance-used::after { + content: '(ft)'; + margin-left: 2px; + font-weight: normal; + font-style: normal; + font-size: 1rem; + font-family: 'Roboto Mono', monospace; +} + +.charsheet input[type="checkbox"].use-metrics:checked~div>div .distance-used::after, +.charsheet input[type="checkbox"].use-metrics:checked~div>div span .distance-used::after { + content: '(m)'; + margin-left: 2px; + font-weight: normal; + font-style: normal; + font-size: 1rem; + font-family: 'Roboto Mono', monospace; +} + +/* hide base-speed*/ +.charsheet span.shown input.input-feet, +.charsheet span.shown input.input-meters { + display: none; +} + +/* show base-speed in feet at step="5" */ +.charsheet input[type="checkbox"].use-metrics:not(:checked)~div>div span.shown input.input-feet { + display: inline-block; +} + +/* show base-speed in meters at step="1.5" */ +.charsheet input[type="checkbox"].use-metrics:checked~div>div span.shown input.input-meters { + display: inline-block; +} + +.charsheet .nontable-name.secondary-table-name, +.charsheet .table-name.secondary-table-name { background-color: #4a6486; } -.sheet-section-spellclass .sheet-table-name, -.sheet-section-spellclass .sheet-nontable-name { +.charsheet .section-spellclass .table-name, +.charsheet .section-spellclass .nontable-name { background-color: #4a6486; } -.sheet-roundborder { +.charsheet .roundborder { border: 0.1rem solid #808080; border-radius: 0.5rem; } -.sheet-linked-custom, -.sheet-linked-custom-wideinputs { +.charsheet .linked-custom, +.charsheet .linked-custom-wideinputs { display: inline-block; - width: calc(33.3% - 3px); + width: calc(31.3% - 3px); margin: .125em 0 .125em 0; padding: .5em; text-align: left; @@ -837,70 +903,70 @@ also need 1 more level in selector or base css will override border */ border-radius: 0.5rem; } -.sheet-linked-custom-notes, -.sheet-linked-custom-roll { +.charsheet .linked-custom-notes, +.charsheet .linked-custom-roll { width: 100%; max-width: 100%; margin-right: 0; display: block; } -.sheet-linked-custom-notes, -.sheet-linked-custom-roll { +.charsheet .linked-custom-notes, +.charsheet .linked-custom-roll { margin-bottom: 1em; } -.sheet-linked-custom textarea, -.sheet-linked-custom .sheet-macro-text-inline, -.sheet-kinetic-sect .sheet-linked-tablecell .sheet-macro-text-inline, -.sheet-kinetic-sect .sheet-linked-tablecell select.sheet-linked-cellfield { - width: calc(100% - 7em); +.charsheet .linked-custom textarea, +.charsheet .linked-custom .macro-text-inline, +.charsheet .kinetic-sect .linked-tablecell .macro-text-inline, +.charsheet .kinetic-sect .linked-tablecell select.linked-cellfield { + width: calc(98% - 7em); vertical-align: bottom; /* display:inline; */ } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section>.sheet-notes { +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section>.notes { padding: .125em .125em .125em .25em; } -.sheet-custom-roll-inner { +.charsheet .custom-roll-inner { display: flex; height: auto; flex-flow: row nowrap; align-items: stretch; } -.sheet-custom-buttons { +.charsheet .custom-buttons { /* display:inline; */ width: auto; margin-right: .5em; } -.sheet-custom-buttons .sheet-command-button { +.charsheet .custom-buttons .command-button { min-width: 5em; white-space: nowrap; } -.sheet-linked-custom-wideinputs .sheet-divider-db, -.sheet-linked-custom-wideinputs .sheet-divider-db-lg, -.sheet-linked-custom .sheet-divider-db, -.sheet-linked-custom .sheet-divider-db-lg { +.charsheet .linked-custom-wideinputs .divider-db, +.charsheet .linked-custom-wideinputs .divider-db-lg, +.charsheet .linked-custom .divider-db, +.charsheet .linked-custom .divider-db-lg { margin-top: .5em; width: .4em; } -.sheet-linked-custom-notes>span, -.sheet-linked-custom-roll>span, -.sheet-linked-custom-wideinputs>span, -.sheet-linked-custom>span, -.sheet-linked-custom .sheet-linked-fields>span { +.charsheet .linked-custom-notes>span, +.charsheet .linked-custom-roll>span, +.charsheet .linked-custom-wideinputs>span, +.charsheet .linked-custom>span, +.charsheet .linked-custom .linked-fields>span { display: block; clear: both; width: calc(100% - .5em); background-color: transparent; } -.sheet-burn-sect { +.charsheet .burn-sect { display: flex; flex-flow: row wrap; align-items: stretch; @@ -908,8 +974,8 @@ also need 1 more level in selector or base css will override border */ justify-content: space-between; } -.sheet-burn-sect .sheet-linked-custom>span, -.sheet-burn-sect .sheet-linked-custom .sheet-linked-fields>span { +.charsheet .burn-sect .linked-custom>span, +.charsheet .burn-sect .linked-custom .linked-fields>span { font-weight: bold; font-style: italic; font-size: 1.2rem; @@ -917,41 +983,40 @@ also need 1 more level in selector or base css will override border */ white-space: normal; } -.sheet-burn-sect .sheet-linked-custom .sheet-linked-fields { +.charsheet .burn-sect .linked-custom .linked-fields { width: calc(100% - 7.5em); } -.sheet-burn-sect .sheet-linked-custom { +.charsheet .burn-sect .linked-custom { width: calc(20% - 4px); flex: 1 1 calc(20% - 4px); } -.sheet-burn-sect .sheet-linked-custom:nth-child(n+4) { +.charsheet .burn-sect .linked-custom:nth-child(n+4) { width: calc(30% - 4px); flex: 3 3 calc(30% - 4px); } - -.sheet-linked-custom-notes>span, -.sheet-linked-custom-roll>span { +.charsheet .linked-custom-notes>span, +.charsheet .linked-custom-roll>span { margin-bottom: .25em; } -.sheet-table-cell { +.charsheet .table-cell { display: table-cell; vertical-align: middle; text-align: center; padding: 0 0 .125em 0; } -.sheet-table-row { +.charsheet .table-row { display: table-row; vertical-align: bottom; overflow: hidden; border-collapse: collapse; } -.sheet-total-row { +.charsheet .total-row { display: table-row; vertical-align: bottom; height: 3.2rem; @@ -959,8 +1024,8 @@ also need 1 more level in selector or base css will override border */ border-collapse: collapse; } -.sheet-table-config-row-name, -.sheet-table-row-name { +.charsheet .table-config-row-name, +.charsheet .table-row-name { display: table-cell; text-align: center; vertical-align: middle; @@ -971,7 +1036,7 @@ also need 1 more level in selector or base css will override border */ cursor: default; } -.sheet-table-config-row-name { +.charsheet .table-config-row-name { background-color: DarkGray; padding: .125em; border-bottom: 0.1rem solid White; @@ -979,42 +1044,42 @@ also need 1 more level in selector or base css will override border */ max-width: 18%; } -.sheet-corerules.sheet-table:not(.sheet-two-equalcolumn):not(.sheet-onecolumn) .sheet-table-row .sheet-table-cell:nth-child(2) { +.charsheet .corerules.table:not(.two-equalcolumn):not(.onecolumn) .table-row .table-cell:nth-child(2) { width: 30%; max-width: 30%; } -.sheet-corerules.sheet-table.sheet-twocolumn .sheet-table-row .sheet-table-cell:nth-child(2) { +.charsheet .corerules.table.twocolumn .table-row .table-cell:nth-child(2) { width: 40%; max-width: 40%; } -.sheet-table-config-row-name~span.sheet-table-cell>label { +.charsheet .table-config-row-name~span.table-cell>label { padding: 0.2rem 0 0.2rem 0.4rem; display: block; } -.sheet-sheetconfig .sheet-table .sheet-table-row:nth-child(odd), -.sheet-rule-options .sheet-table .sheet-table-row:nth-child(odd) { +.charsheet .sheetconfig .table .table-row:nth-child(odd), +.charsheet .rule-options .table .table-row:nth-child(odd) { background-color: #eeeeee; } -.sheet-header-images.sheet-table .sheet-macro-text-inline, -.sheet-header-images.sheet-table .sheet-inline-textarea { +.charsheet .header-images.table .macro-text-inline, +.charsheet .header-images.table .inline-textarea { resize: horizontal; } -.sheet-header-images .sheet-table-cell:last-child input[type="radio"] { +.charsheet .header-images .table-cell:last-child input[type="radio"] { margin-top: -16px; } -.sheet-label { +.charsheet label { font-weight: bold; text-align: center; color: Black; } -.sheet-select-small { +.charsheet .select-small { font-size: 1.2rem; height: 2em; padding: 0; @@ -1022,28 +1087,28 @@ also need 1 more level in selector or base css will override border */ width: 100%; } -.sheet-select-class { +.charsheet .select-class { width: 100%; } -.sheet-select-spelllvl { +.charsheet .select-spelllvl { max-width: 7em; width: calc(100% - 8px); } -.sheet-table-cell>select:not(.sheet-select-small) { +.charsheet .table-cell>select:not(.select-small) { height: 1.9em; } -.sheet-small-label2>select.sheet-select-small { +.charsheet .small-label2>select.select-small { height: 2em; } /* color for disabled/sheet-calc */ -.sheet-calc, -input.sheet-calc, -input:disabled { +.charsheet .calc, +.charsheet input.calc, +.charsheet input:disabled { background-color: #4A6486; background-color: rgba(74, 100, 134, 0.28); border-width: 0; @@ -1051,73 +1116,74 @@ input:disabled { padding-left: 0.4rem; } -input.sheet-calc { +.charsheet input.calc { border-bottom-color: transparent; border-bottom-width: 0; } /* CHROME: hide spinner area at right when readonly or when not hovering over a number */ -input[readonly]::-webkit-inner-spin-button, -input.sheet-calc::-webkit-inner-spin-button, -input.disabled::-webkit-inner-spin-button, -input[type="number"]:not(:hover)::-webkit-inner-spin-button { +.charsheet input[readonly]::-webkit-inner-spin-button, +.charsheet input.calc::-webkit-inner-spin-button, +.charsheet input.disabled::-webkit-inner-spin-button, +.charsheet input[type="number"]:not(:hover)::-webkit-inner-spin-button { -webkit-appearance: none; margin-right: 0; padding-right: .25em; } -.sheet-table-cell.sheet-right-border, -.sheet-table-header.sheet-right-border { +.charsheet .table-cell.right-border, +.charsheet .table-header.right-border { border-right: 0.1rem solid DimGray; } -.sheet-table-cell.sheet-left-border, -.sheet-table-header.sheet-left-border { +.charsheet .table-cell.left-border, +.charsheet .table-header.left-border { border-left: 0.1rem solid DimGray; } -.sheet-table-header.sheet-header-expand { +.charsheet .table-header.header-expand { white-space: nowrap; overflow: visible; } -input[type="text"].sheet-entry-custom-header { +.charsheet input[type="text"].entry-custom-header { font-style: inherit; font-size: inherit; border-bottom: inherit; font-weight: inherit; color: inherit; - height: 1.325em; + height: 2.125em; + border: 1px solid #d3d3d3; } -/* CANNOT PUT THESE ALL IN ONE IDK why but it breaks, so separate them */ -input[type="text"].sheet-entry-custom-header::-webkit-input-placeholder { +/* CANNOT PUT THESE ALL IN ONE IDK why but it breaks, so separate them */ +.charsheet input[type="text"].entry-custom-header::-webkit-input-placeholder { font-weight: normal; font-size: .825em; } -input[type="text"].sheet-entry-custom-header::-moz-placeholder { +.charsheet input[type="text"].entry-custom-header::-moz-placeholder { font-weight: normal; font-size: .825em; } -input[type="text"].sheet-entry-custom-header:-ms-input-placeholder { +.charsheet input[type="text"].entry-custom-header:-ms-input-placeholder { font-weight: normal; font-size: .825em; } -input[type="text"].sheet-entry-custom-header::placeholder { +.charsheet input[type="text"].entry-custom-header::placeholder { font-weight: normal; font-size: .825em; } -span.sheet-entry-custom-header { +.charsheet span.entry-custom-header { padding: .2em .25em .5em .25em; } -.sheet-pf-wrapper span.sheet-super::after, -.sheet-pf-wrapper h2.sheet-super::after { +.charsheet .pf-wrapper span.super::after, +.charsheet .pf-wrapper .h2.super::after { font-weight: normal; color: black; font-family: 'Roboto Mono', monospace; @@ -1127,35 +1193,38 @@ span.sheet-entry-custom-header { margin: -1px 0 0 1px; } -.sheet-pf-wrapper span.sheet-note-a::after, -.sheet-pf-wrapper h2.sheet-note-a::after { +.charsheet .pf-wrapper span.note-a::after, +.charsheet .pf-wrapper .h2.note-a::after { content: '(a)'; } -.sheet-pf-wrapper span.sheet-note-b::after, -.sheet-pf-wrapper h2.sheet-note-b::after { +.charsheet .pf-wrapper span.note-b::after, +.charsheet .pf-wrapper .h2.note-b::after { content: '(b)'; } -.sheet-pf-wrapper span.sheet-note-c::after, -.sheet-pf-wrapper h2.sheet-note-c::after { +.charsheet .pf-wrapper span.note-c::after, +.charsheet .pf-wrapper .h2.note-c::after { content: '(c)'; } -.sheet-pf-wrapper span.sheet-note-d::after, -.sheet-pf-wrapper h2.sheet-note-d::after { +.charsheet .pf-wrapper span.note-d::after, +.charsheet .pf-wrapper .h2.note-d::after { content: '(d)'; } -.sheet-text-tight { +.charsheet .text-tight { font-size: .75em; font-family: 'Roboto Mono', monospace; - margin: 0 0 0 -3px; + margin-left: -3px; + position: relative; + background-color: cornsilk; + padding: 2px 1px 2px 1px; } /******************************* API COMMAND BUTTONS *************************************/ -button[type=roll].sheet-command-button { +.charsheet button[type="roll"].command-button { background-color: #fff; color: #333; padding: 0 0.4rem 0 0.4rem; @@ -1167,78 +1236,89 @@ button[type=roll].sheet-command-button { font-size: 1.4rem; } -button[type=roll].sheet-command-button:hover { +.charsheet button[type="roll"].command-button:hover { color: #f00; box-shadow: 0.1rem 0.1rem 0.2rem #333; } -button[type=roll].sheet-text-button, -button[type=roll].sheet-spellcaster-button { +.charsheet button[type="roll"].text-button, +.charsheet button[type="roll"].spellcaster-button { border-radius: 0.4rem; } -.sheet-skills .sheet-table-row .sheet-table-cell:first-child { +.charsheet .skills .table-row .table-cell:first-child { font-size: 1.6rem; padding-left: 0; } -.sheet-skills button[type=roll] { +.charsheet .skills .table-row.adventure, +.charsheet .skills .table-row.bg, +.charsheet .skills .table-row.adventure textarea, +.charsheet .skills .table-row.bg textarea, +.charsheet .table-row.adventure input, +.charsheet .skills .table-row.bg input, +.charsheet .table-row.adventure select, +.charsheet .skills .table-row.bg select { + font-size: 1.2rem; + margin: 1px 2px 0 2px; +} + +.charsheet .skills button[type="roll"] { width: 2.4rem; height: 2.4rem; padding: 0; } -button[type=roll].sheet-custom-button::before, -button[type=roll].sheet-command-button::before { +.charsheet button[type="roll"].custom-button::before, +.charsheet button[type="roll"].command-button::before { content: "" !important; } /************************************* BUFFS ******************************************/ -.sheet-linked-fields { +.charsheet .linked-fields { display: inline-block; margin-left: 0; margin-right: 0; width: auto; } -.sheet-sect-buff .sheet-linked-fields { +.charsheet .sect-buff .linked-fields { margin-top: 0; } -.sheet-linked-fields .sheet-small-label2:first-child { +.charsheet .linked-fields .small-label2:first-child { margin-right: 0; } -.sheet-linked-fields .sheet-small-label2:last-child { +.charsheet .linked-fields .small-label2:last-child { margin-left: 0; } - -.sheet-section0.sheet-section-abilities span~input[type="checkbox"], -.sheet-section1.sheet-section-skills span~input[type="checkbox"], -.sheet-section2.sheet-section-attack span~input[type="checkbox"], -.sheet-section3.sheet-section-defense span~input[type="checkbox"], -.sheet-section4.sheet-section-other span~input[type="checkbox"] { +.charsheet .section0.section-abilities span~input[type="checkbox"], +.charsheet .section1.section-skills span~input[type="checkbox"], +.charsheet .section2.section-attack span~input[type="checkbox"], +.charsheet .section3.section-defense span~input[type="checkbox"], +.charsheet .section4.section-other span~input[type="checkbox"] { margin-right: 1em; } /********************************************* TABS ****************************************************/ /* can delete these soon just make margin above and clear both */ -.sheet-tabs { +.charsheet .tabs { display: block; clear: both; } -.sheet-tab { +.charsheet .tab { text-align: center; display: inline-block; background: #4a6486; color: White; font-weight: bold; - font-size: 1.3rem; - padding: .4em .3em .1em .3em; + font-size: 1.2rem; + padding: .4em .2em .1em .2em; vertical-align: bottom; margin-left: -0.4rem; margin-right: 0; @@ -1247,7 +1327,7 @@ button[type=roll].sheet-command-button::before { height: 1.5em; } -.sheet-tabinput { +.charsheet .tabinput { opacity: 0; position: relative !important; cursor: pointer; @@ -1257,312 +1337,312 @@ button[type=roll].sheet-command-button::before { line-height: 1.5em; } -input.sheet-tabinput { +.charsheet input.tabinput { height: 1.5em; } -.sheet-tab.sheet-tab99 { +.charsheet .tab.tab99 { width: 4.75% !important; } -.sheet-tabinput.sheet-tab99 { +.charsheet .tabinput.tab99 { width: 4.75% !important; margin-right: -4.75% !important; } -.sheet-mainnav~.sheet-tab, -.sheet-mainnav~.sheet-tabinput { +.charsheet .mainnav~.tab, +.charsheet .mainnav~.tabinput { font-size: 1.6rem; height: 1.5em; } -.sheet-mainnav~.sheet-tab { +.charsheet .mainnav~.tab { width: 8%; } -.sheet-mainnav~.sheet-tabinput { +.charsheet .mainnav~.tabinput { width: 8%; margin-right: -8%; } -.sheet-mainnav~.sheet-tab.sheet-narrow-tab { +.charsheet .mainnav~.tab.narrow-tab { width: 7%; } -.sheet-mainnav~.sheet-tabinput.sheet-narrow-tab { +.charsheet .mainnav~.tabinput.narrow-tab { width: 7%; margin-right: -7%; } -.sheet-mainnav~.sheet-tab.sheet-wider-tab { - width: 11%; +.charsheet .mainnav~.tab.wider-tab { + width: 10%; } -.sheet-mainnav~.sheet-tabinput.sheet-wider-tab { +.charsheet .mainnav~.tabinput.wider-tab { width: 11%; margin-right: -11%; } -.sheet-buffnav2~.sheet-tab { - width: 7%; +.charsheet .buffnav2~.tab { + width: 6%; } -.sheet-buffnav2~.sheet-tabinput { +.charsheet .buffnav2~.tabinput { width: 7%; margin-right: -7%; } -.sheet-buffnav2~.sheet-tab.sheet-wider-tab { +.charsheet .buffnav2~.tab.wider-tab { width: 10%; } -.sheet-buffnav2~.sheet-tabinput.sheet-wider-tab { +.charsheet .buffnav2~.tabinput.wider-tab { width: 10%; margin-right: -10%; } -.sheet-buffnav2~.sheet-tab.sheet-narrow-tab { +.charsheet .buffnav2~.tab.narrow-tab { width: 4%; } -.sheet-buffnav2~.sheet-tabinput.sheet-narrow-tab { +.charsheet .buffnav2~.tabinput.narrow-tab { width: 4%; margin-right: -4%; } -.sheet-buffsnav~.sheet-tab { +.charsheet .buffsnav~.tab { width: 10%; } -.sheet-buffsnav~.sheet-tabinput { +.charsheet .buffsnav~.tabinput { width: 10%; margin-right: -10%; } /* added keep tabs getting too compressed when using split-column */ -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-sect .sheet-main .sheet-buffsnav~.sheet-tabinput { +.charsheet .split-column-show:checked~.repeating-fields .sect .main .buffsnav~.tabinput { width: 16%; margin-right: -16%; } -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-sect .sheet-main .sheet-buffsnav~.sheet-tab { +.charsheet .split-column-show:checked~.repeating-fields .sect .main .buffsnav~.tab { width: 16%; } -.sheet-spellclassnav~.sheet-tab { +.charsheet .spellclassnav~.tab { width: 20%; } -.sheet-spellclassnav~.sheet-tabinput { +.charsheet .spellclassnav~.tabinput { width: 20%; margin-right: -20%; } -.sheet-spellsnav~.sheet-tab { +.charsheet .spellsnav~.tab { width: 7%; } -.sheet-spellsnav~.sheet-tabinput { +.charsheet .spellsnav~.tabinput { width: 7%; margin-right: -7%; } -.sheet-spellsnav~.sheet-tab.sheet-tab0 { +.charsheet .spellsnav~.tab.tab0 { width: 10%; } -.sheet-spellsnav~.sheet-tabinput.sheet-tab0 { +.charsheet .spellsnav~.tabinput.tab0 { width: 10%; margin-right: -10%; } -.sheet-abilitiesnav~.sheet-tab { +.charsheet .abilitiesnav~.tab { width: 8%; } -.sheet-abilitiesnav~.sheet-tabinput { +.charsheet .abilitiesnav~.tabinput { width: 8%; margin-right: -8%; } -.sheet-abilitiesnav~.sheet-tab.sheet-med-tab { +.charsheet .abilitiesnav~.tab.med-tab { width: 6%; } -.sheet-abilitiesnav~.sheet-tabinput.sheet-med-tab { +.charsheet .abilitiesnav~.tabinput.med-tab { width: 6%; margin-right: -6%; } -.sheet-abilitiesnav~.sheet-tab.sheet-wider-tab { - width: 12%; +.charsheet .abilitiesnav~.tab.wider-tab { + width: 11%; } -.sheet-abilitiesnav~.sheet-tabinput.sheet-wider-tab { +.charsheet .abilitiesnav~.tabinput.wider-tab { width: 12%; margin-right: -12%; } -.sheet-abilitiesnav~.sheet-tab.sheet-narrow-tab { +.charsheet .abilitiesnav~.tab.narrow-tab { width: 4%; } -.sheet-abilitiesnav~.sheet-tabinput.sheet-narrow-tab { +.charsheet .abilitiesnav~.tabinput.narrow-tab { width: 4%; margin-right: -4%; } -.sheet-skillsnav~.sheet-tab { +.charsheet .skillsnav~.tab { width: 14% !important; } -.sheet-skillsnav~.sheet-tabinput { +.charsheet .skillsnav~.tabinput { width: 14% !important; margin-right: -14% !important; } -.sheet-equipmentnav~.sheet-tab { - width: 8%; +.charsheet .equipmentnav~.tab { + width: 7.125%; } -.sheet-equipmentnav~.sheet-divider-db-lg { +.charsheet .equipmentnav~.divider-db-lg { width: .4em; margin-left: -0.3rem; } -.sheet-equipmentnav~.sheet-tabinput { +.charsheet .equipmentnav~.tabinput { width: 8%; margin-right: -8%; } -.sheet-equipmentnav~.sheet-tab.sheet-wider-tab { - width: 11%; +.charsheet .equipmentnav~.tab.wider-tab { + width: 10%; } -.sheet-equipmentnav~.sheet-tabinput.sheet-wider-tab { +.charsheet .equipmentnav~.tabinput.wider-tab { width: 11%; margin-right: -11%; } -.sheet-equipmentnav~.sheet-tab.sheet-narrow-tab { +.charsheet .equipmentnav~.tab.narrow-tab { width: 5.75%; } -.sheet-equipmentnav~.sheet-tabinput.sheet-narrow-tab { +.charsheet .equipmentnav~.tabinput.narrow-tab { width: 5.75%; margin-right: -5.75%; } /* make checked tab different color*/ -.sheet-tabinput.sheet-tab0:checked+.sheet-tab.sheet-tab0, -.sheet-tabinput.sheet-tab1:checked+.sheet-tab.sheet-tab1, -.sheet-tabinput.sheet-tab2:checked+.sheet-tab.sheet-tab2, -.sheet-tabinput.sheet-tab3:checked+.sheet-tab.sheet-tab3, -.sheet-tabinput.sheet-tab4:checked+.sheet-tab.sheet-tab4, -.sheet-tabinput.sheet-tab5:checked+.sheet-tab.sheet-tab5, -.sheet-tabinput.sheet-tab6:checked+.sheet-tab.sheet-tab6, -.sheet-tabinput.sheet-tab7:checked+.sheet-tab.sheet-tab7, -.sheet-tabinput.sheet-tab8:checked+.sheet-tab.sheet-tab8, -.sheet-tabinput.sheet-tab9:checked+.sheet-tab.sheet-tab9, -.sheet-tabinput.sheet-tab10:checked+.sheet-tab.sheet-tab10, -.sheet-tabinput.sheet-tab11:checked+.sheet-tab.sheet-tab11, -.sheet-tabinput.sheet-tab99:checked~.sheet-tab.sheet-tab99 { +.charsheet .tabinput.tab0:checked+.tab.tab0, +.charsheet .tabinput.tab1:checked+.tab.tab1, +.charsheet .tabinput.tab2:checked+.tab.tab2, +.charsheet .tabinput.tab3:checked+.tab.tab3, +.charsheet .tabinput.tab4:checked+.tab.tab4, +.charsheet .tabinput.tab5:checked+.tab.tab5, +.charsheet .tabinput.tab6:checked+.tab.tab6, +.charsheet .tabinput.tab7:checked+.tab.tab7, +.charsheet .tabinput.tab8:checked+.tab.tab8, +.charsheet .tabinput.tab9:checked+.tab.tab9, +.charsheet .tabinput.tab10:checked+.tab.tab10, +.charsheet .tabinput.tab11:checked+.tab.tab11, +.charsheet .tabinput.tab99:checked~.tab.tab99 { background: Black; color: White; } /************** TAB AREAS ***********************/ -.sheet-tabinput.sheet-tab0:not(:checked)~.sheet-section0.sheet-section-abilities, -.sheet-tabinput.sheet-tab1:not(:checked)~.sheet-section1.sheet-section-skills, -.sheet-tabinput.sheet-tab2:not(:checked)~.sheet-section2.sheet-section-attack, -.sheet-tabinput.sheet-tab3:not(:checked)~.sheet-section3.sheet-section-defense, -.sheet-tabinput.sheet-tab4:not(:checked)~.sheet-section4.sheet-section-other { +.charsheet .tabinput.tab0:not(:checked)~.section0.section-abilities, +.charsheet .tabinput.tab1:not(:checked)~.section1.section-skills, +.charsheet .tabinput.tab2:not(:checked)~.section2.section-attack, +.charsheet .tabinput.tab3:not(:checked)~.section3.section-defense, +.charsheet .tabinput.tab4:not(:checked)~.section4.section-other { display: none; } -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab0:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section0, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab1:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section1, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab2:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section2, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab3:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section3, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab4:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section4, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab5:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section5, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab6:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section6, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab7:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section7, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab8:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section8, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab9:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section9, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab10:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section10, -.sheet-tabs:not(.sheet-custbordernav)~.sheet-tabinput.sheet-tab11:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section11, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab0:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-0:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab1:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-1:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab2:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-2:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab3:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-3:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab4:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-4:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab5:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-5:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab6:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-6:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab7:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-7:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab8:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-8:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab9:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-9:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab10:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-10:not(:checked)~.sheet-custrepeating-border, -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab11:checked~.sheet-repeating-fields .sheet-custnavsection-new:not(:checked)~.sheet-custnavsection-11:not(:checked)~.sheet-custrepeating-border { +.charsheet .tabs:not(.custbordernav)~.tabinput.tab0:not(:checked)~.tabinput.tab99:not(:checked)~.section0, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab1:not(:checked)~.tabinput.tab99:not(:checked)~.section1, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab2:not(:checked)~.tabinput.tab99:not(:checked)~.section2, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab3:not(:checked)~.tabinput.tab99:not(:checked)~.section3, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab4:not(:checked)~.tabinput.tab99:not(:checked)~.section4, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab5:not(:checked)~.tabinput.tab99:not(:checked)~.section5, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab6:not(:checked)~.tabinput.tab99:not(:checked)~.section6, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab7:not(:checked)~.tabinput.tab99:not(:checked)~.section7, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab8:not(:checked)~.tabinput.tab99:not(:checked)~.section8, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab9:not(:checked)~.tabinput.tab99:not(:checked)~.section9, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab10:not(:checked)~.tabinput.tab99:not(:checked)~.section10, +.charsheet .tabs:not(.custbordernav)~.tabinput.tab11:not(:checked)~.tabinput.tab99:not(:checked)~.section11, +.charsheet .tabs.custbordernav~.tabinput.tab0:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-0:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab1:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-1:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab2:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-2:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab3:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-3:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab4:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-4:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab5:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-5:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab6:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-6:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab7:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-7:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab8:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-8:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab9:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-9:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab10:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-10:not(:checked)~.custrepeating-border, +.charsheet .tabs.custbordernav~.tabinput.tab11:checked~.repeating-fields .custnavsection-new:not(:checked)~.custnavsection-11:not(:checked)~.custrepeating-border { display: none; } /* if all pressed show all */ -.sheet-tabs.sheet-custbordernav~.sheet-tabinput.sheet-tab99:checked~.sheet-repeating-fields .sheet-custrepeating-border { +.charsheet .tabs.custbordernav~.tabinput.tab99:checked~.repeating-fields .custrepeating-border { display: block !important; } -/* extra abiliites tab: hide old sections */ -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab0:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section0, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab1:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section1, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab2:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section2, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab3:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section3, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab4:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section4, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab5:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section5, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab6:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section6, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab7:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section7, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab8:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section8, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab9:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section9, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab10:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section10, -.sheet-tabs.sheet-custbordernav.sheet-abilitiesnav~.sheet-tabinput.sheet-tab11:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section11 { +/* extra abiliites tab: hide old .sections */ +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab0:not(:checked)~.tabinput.tab99:not(:checked)~.section0, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab1:not(:checked)~.tabinput.tab99:not(:checked)~.section1, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab2:not(:checked)~.tabinput.tab99:not(:checked)~.section2, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab3:not(:checked)~.tabinput.tab99:not(:checked)~.section3, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab4:not(:checked)~.tabinput.tab99:not(:checked)~.section4, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab5:not(:checked)~.tabinput.tab99:not(:checked)~.section5, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab6:not(:checked)~.tabinput.tab99:not(:checked)~.section6, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab7:not(:checked)~.tabinput.tab99:not(:checked)~.section7, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab8:not(:checked)~.tabinput.tab99:not(:checked)~.section8, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab9:not(:checked)~.tabinput.tab99:not(:checked)~.section9, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab10:not(:checked)~.tabinput.tab99:not(:checked)~.section10, +.charsheet .tabs.custbordernav.abilitiesnav~.tabinput.tab11:not(:checked)~.tabinput.tab99:not(:checked)~.section11 { display: none; } /* hover */ -.sheet-tabinput.sheet-tab0:not(:checked):hover+.sheet-tab.sheet-tab0, -.sheet-tabinput.sheet-tab1:not(:checked):hover+.sheet-tab.sheet-tab1, -.sheet-tabinput.sheet-tab2:not(:checked):hover+.sheet-tab.sheet-tab2, -.sheet-tabinput.sheet-tab3:not(:checked):hover+.sheet-tab.sheet-tab3, -.sheet-tabinput.sheet-tab4:not(:checked):hover+.sheet-tab.sheet-tab4, -.sheet-tabinput.sheet-tab5:not(:checked):hover+.sheet-tab.sheet-tab5, -.sheet-tabinput.sheet-tab6:not(:checked):hover+.sheet-tab.sheet-tab6, -.sheet-tabinput.sheet-tab7:not(:checked):hover+.sheet-tab.sheet-tab7, -.sheet-tabinput.sheet-tab8:not(:checked):hover+.sheet-tab.sheet-tab8, -.sheet-tabinput.sheet-tab9:not(:checked):hover+.sheet-tab.sheet-tab9, -.sheet-tabinput.sheet-tab10:not(:checked):hover+.sheet-tab.sheet-tab10, -.sheet-tabinput.sheet-tab11:not(:checked):hover+.sheet-tab.sheet-tab11, -.sheet-tabinput.sheet-tab99:not(:checked):hover~.sheet-tab.sheet-tab99 { +.charsheet .tabinput.tab0:not(:checked):hover+.tab.tab0, +.charsheet .tabinput.tab1:not(:checked):hover+.tab.tab1, +.charsheet .tabinput.tab2:not(:checked):hover+.tab.tab2, +.charsheet .tabinput.tab3:not(:checked):hover+.tab.tab3, +.charsheet .tabinput.tab4:not(:checked):hover+.tab.tab4, +.charsheet .tabinput.tab5:not(:checked):hover+.tab.tab5, +.charsheet .tabinput.tab6:not(:checked):hover+.tab.tab6, +.charsheet .tabinput.tab7:not(:checked):hover+.tab.tab7, +.charsheet .tabinput.tab8:not(:checked):hover+.tab.tab8, +.charsheet .tabinput.tab9:not(:checked):hover+.tab.tab9, +.charsheet .tabinput.tab10:not(:checked):hover+.tab.tab10, +.charsheet .tabinput.tab11:not(:checked):hover+.tab.tab11, +.charsheet .tabinput.tab99:not(:checked):hover~.tab.tab99 { color: #e0e0e0; } /* custom tab overrides */ -.sheet-firsttab-inverse-show:not(:checked)~div .sheet-tabs~.sheet-tabinput.sheet-tab0:not(:checked)~.sheet-tabinput.sheet-tab99:not(:checked)~.sheet-section0 { +.charsheet .firsttab-inverse-show:not(:checked)~div .tabs~.tabinput.tab0:not(:checked)~.tabinput.tab99:not(:checked)~.section0 { display: block; } /******************************************************* spells **************************************************/ /* turn off default border */ -.sheet-hiderepborder .repcontainer .repitem { +.charsheet .hiderepborder .repcontainer .repitem { padding: 0; margin: 0; border: none; border-radius: 0; } -.sheet-hiderepborder .repcontainer .repitem .sheet-custrepeating-border { +.charsheet .hiderepborder .repcontainer .repitem .custrepeating-border { padding: 0.2rem; margin: 0.1rem 0 0 0; border: 0.2rem solid #CCCCCC; @@ -1570,66 +1650,66 @@ input.sheet-tabinput { } -.sheet-h2-section.sheet-current-loads, -.sheet-h2-section.sheet-loads-and-lift, -.sheet-h2-section.sheet-currency { +.charsheet .h2-section.current-loads, +.charsheet .h2-section.loads-and-lift, +.charsheet .h2-section.currency { display: flex; align-items: stretch; } -.sheet-spellcasting-options .sheet-table-row:nth-child(2) { +.charsheet .spellcasting-options .table-row:nth-child(2) { border-top: 1pt solid black; } -.sheet-spells-per-day .sheet-table .sheet-table-header { +.charsheet .spells-per-day .table.table-header { white-space: normal; word-break: break-word; } -.sheet-spells-per-day .sheet-table .sheet-divider, -.sheet-spells-per-day .sheet-table .sheet-divider-lg { +.charsheet .spells-per-day .table .divider, +.charsheet .spells-per-day .table .divider-lg { width: 2em; } -.sheet-spells-per-day .sheet-table .sheet-table-row .sheet-table-header, -.sheet-spells-per-day .sheet-table .sheet-table-row .sheet-table-cell { +.charsheet .spells-per-day .table .table-row .table-header, +.charsheet .spells-per-day .table .table-row .table-cell { padding-left: .5em; padding-right: .5em; } /* add space */ -.sheet-section-equipment .sheet-col.sheet-col1 .sheet-table { +.charsheet .section-equipment .col.col1 .table { margin-right: .125em; } -.sheet-section-equipment .sheet-col.sheet-col1 .sheet-table:last-child { +.charsheet .section-equipment .col.col1 .table:last-child { margin-right: 0; } /***************** collapse/expand rows arrow added after text found preceding span ******************************/ /* ARROWS */ -input.sheet-csstextbutton, -.sheet-csstextbutton, -.sheet-small-label2>input[type="checkbox"].sheet-cssbutton, -.sheet-small-label2>input[type="radio"].sheet-cssbutton, -input.sheet-cssbutton, -.sheet-cssbutton { +.charsheet input.csstextbutton, +.charsheet .csstextbutton, +.charsheet .small-label2>input[type="checkbox"].cssbutton, +.charsheet .small-label2>input[type="radio"].cssbutton, +.charsheet input.cssbutton, +.charsheet .cssbutton { display: inline; } /* the label underneath button*/ -.sheet-small-label2>.sheet-csstextbutton+span+span, -.sheet-small-label2>.sheet-cssbutton+span+span { +.charsheet .small-label2>.csstextbutton+span+span, +.charsheet .small-label2>.cssbutton+span+span { display: block; } -.sheet-csstextbutton, -.sheet-cssbutton, -.sheet-showarrow, -.sheet-ack-button, -.sheet-split-column-show, -.sheet-lock-show, -.sheet-counted { +.charsheet .csstextbutton, +.charsheet .cssbutton, +.charsheet .showarrow, +.charsheet .ack-button, +.charsheet .split-column-show, +.charsheet .lock-show, +.charsheet .counted { opacity: 0; position: relative; top: 0; @@ -1638,36 +1718,36 @@ input.sheet-cssbutton, z-index: 5; } -input.sheet-csstextbutton, -input.sheet-cssbutton, -input.sheet-showarrow, -input.sheet-ack-button, -input.sheet-split-column-show, -input.sheet-lock-show, -input.sheet-counted { +.charsheet input.csstextbutton, +.charsheet input.cssbutton, +.charsheet input.showarrow, +.charsheet input.ack-button, +.charsheet input.split-column-show, +.charsheet input.lock-show, +.charsheet input.counted { height: 1.6em; } -h2 label { +.charsheet h2 label { color: inherit !important; } -.sheet-hasexpandrows { +.charsheet .hasexpandrows { position: relative !important; } -.sheet-hasexpandrows .sheet-table-row .sheet-table-cell:first-child { +.charsheet .hasexpandrows .table-row .table-cell:first-child { padding-left: 1em; } -.sheet-ack-button+.sheet-showsect::before, -.sheet-showarrow+.sheet-showsect::before { +.charsheet .ack-button+.showsect::before, +.charsheet .showarrow+.showsect::before { margin-right: .25em; } -.sheet-counted+span::before, -.sheet-ack-button+.sheet-showsect::before, -.sheet-showarrow+.sheet-showsect::before { +.charsheet .counted+span::before, +.charsheet .ack-button+.showsect::before, +.charsheet .showarrow+.showsect::before { display: inline-block; content: '►'; width: 1em; @@ -1676,72 +1756,72 @@ h2 label { color: DarkGray; } -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-counted+span::before, -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-ack-button+.sheet-showsect::before, -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-showarrow+.sheet-showsect::before, -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-counted+span::before, -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-ack-button+.sheet-showsect::before, -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-showarrow+.sheet-showsect::before { +.charsheet .parchment-1:checked~.pf-wrapper .counted+span::before, +.charsheet .parchment-1:checked~.pf-wrapper .ack-button+.showsect::before, +.charsheet .parchment-1:checked~.pf-wrapper .showarrow+.showsect::before, +.charsheet .parchment-2:checked~.pf-wrapper .counted+span::before, +.charsheet .parchment-2:checked~.pf-wrapper .ack-button+.showsect::before, +.charsheet .parchment-2:checked~.pf-wrapper .showarrow+.showsect::before { color: darkslategray; } -.sheet-showarrow.sheet-npc-details-show+.sheet-showsect::before { +.charsheet .showarrow.npc-details-show+.showsect::before { color: White; padding-top: .5em; padding-left: .5em; } -.sheet-counted:checked+span::before, -.sheet-ack-button:not(:checked)+.sheet-showsect::before, -.sheet-showarrow:checked+.sheet-showsect::before { +.charsheet .counted:checked+span::before, +.charsheet .ack-button:not(:checked)+.showsect::before, +.charsheet .showarrow:checked+.showsect::before { content: '▼'; } -.sheet-showarrow.sheet-ack-button:checked+.sheet-showsect::before { +.charsheet .showarrow.ack-button:checked+.showsect::before { font-family: "Pictos" !important; content: '2'; } -.sheet-showsect, -label.sheet-tab, -.sheet-clickheader { +.charsheet .showsect, +.charsheet label.tab, +.charsheet .clickheader { position: relative; } -.sheet-showsect, -h3.sheet-clickheader, -h2.sheet-clickheader { +.charsheet .showsect, +.charsheet .h3.clickheader, +.charsheet .h2.clickheader { display: inline-block; margin-left: -.25em; } -.sheet-showarrow.sheet-ack-button { +.charsheet .showarrow.ack-button { width: 12em; margin-right: -12em; } -.sheet-showarrow.sheet-h2arrow, -.sheet-showarrow.sheet-h3arrow, -.sheet-showarrow.sheet-conditions-show, -.sheet-showarrow.sheet-buffs-show { +.charsheet .showarrow.h2arrow, +.charsheet .showarrow.h3arrow, +.charsheet .showarrow.conditions-show, +.charsheet .showarrow.buffs-show { width: 20em; margin-right: -20em; } -.sheet-skills .sheet-showsect, -.sheet-skill-minishow { +.charsheet .skills .showsect, +.charsheet .skill-minishow { width: 12em; color: #333; padding: 0 0.1rem 0 0.1rem; } -.sheet-skills .sheet-showarrow { - width: 12em; - margin-right: -12em; +.charsheet .skills .showarrow { + width: 7em; + margin-right: -11em; } -.sheet-showarrow.sheet-npc-details-show { +.charsheet .showarrow.npc-details-show { width: 2em; height: 2em; margin-right: -2em; @@ -1750,19 +1830,19 @@ h2.sheet-clickheader { top: 2em; } -.sheet-showarrow.sheet-npc-details-show+.sheet-showsect.sheet-npc-header .sheet-table-cell:first-child { +.charsheet .showarrow.npc-details-show+.showsect.npc-header .table-cell:first-child { padding-left: 1em; width: 90%; text-align: left; } -.sheet-showarrow.sheet-npc-details-show+.sheet-showsect.sheet-npc-header .sheet-table-cell:last-child { +.charsheet .showarrow.npc-details-show+.showsect.npc-header .table-cell:last-child { padding-right: 1em; width: 6em; min-width: 6em; } -.sheet-table.sheet-npc-header { +.charsheet .table.npc-header { margin: 0; display: inline-table; color: White; @@ -1771,7 +1851,7 @@ h2.sheet-clickheader { line-height: 1em; } -.sheet-table.sheet-npc-header .sheet-table-cell input { +.charsheet .table.npc-header .table-cell input { color: White !important; background-color: black !important; font-weight: bold; @@ -1779,86 +1859,86 @@ h2.sheet-clickheader { white-space: nowrap; } -.sheet-sect.sheet-expand .sheet-attack-damage, -.sheet-sect.sheet-expand .sheet-options-showlabel, -.sheet-sect.sheet-expand .sheet-desc-showlabel, -.sheet-sect.sheet-expand .sheet-macro-text-showlabel, -.sheet-sect.sheet-expand .sheet-attack-damage-showlabel, -.sheet-sect.sheet-expand .sheet-advmacro-text-showlabel, -.sheet-sect.sheet-expand .sheet-init-notes-showlabel, -.sheet-sect.sheet-expand .sheet-save-notes-showlabel, -.sheet-sect.sheet-expand .sheet-extra-damage-showlabel { +.charsheet .sect.expand .attack-damage, +.charsheet .sect.expand .options-showlabel, +.charsheet .sect.expand .desc-showlabel, +.charsheet .sect.expand .macro-text-showlabel, +.charsheet .sect.expand .attack-damage-showlabel, +.charsheet .sect.expand .advmacro-text-showlabel, +.charsheet .sect.expand .init-notes-showlabel, +.charsheet .sect.expand .save-notes-showlabel, +.charsheet .sect.expand .extra-damage-showlabel { width: 9em; } -.sheet-sect.sheet-expand .sheet-attack-damage, -.sheet-sect.sheet-expand .sheet-options-show, -.sheet-sect.sheet-expand .sheet-desc-show, -.sheet-sect.sheet-expand .sheet-macro-text-show, -.sheet-sect.sheet-expand .sheet-attack-damage-show, -.sheet-sect.sheet-expand .sheet-advmacro-text-show, -.sheet-sect.sheet-expand .sheet-init-notes-show, -.sheet-sect.sheet-expand .sheet-save-notes-show, -.sheet-sect.sheet-expand .sheet-extra-damage-show { +.charsheet .sect.expand .attack-damage, +.charsheet .sect.expand .options-show, +.charsheet .sect.expand .desc-show, +.charsheet .sect.expand .macro-text-show, +.charsheet .sect.expand .attack-damage-show, +.charsheet .sect.expand .advmacro-text-show, +.charsheet .sect.expand .init-notes-show, +.charsheet .sect.expand .save-notes-show, +.charsheet .sect.expand .extra-damage-show { width: 9em; margin-right: -9em; } -.sheet-sect.sheet-expand .sheet-level-showlabel, -.sheet-sect.sheet-expand .sheet-iterations-showlabel, -.sheet-sect.sheet-expand .sheet-advmacro-text-showlabel, -.sheet-sect.sheet-expand .sheet-armor-attributes-showlabel, -.sheet-sect.sheet-expand .sheet-all-saves-macro-showlabel { +.charsheet .sect.expand .level-showlabel, +.charsheet .sect.expand .iterations-showlabel, +.charsheet .sect.expand .advmacro-text-showlabel, +.charsheet .sect.expand .armor-attributes-showlabel, +.charsheet .sect.expand .all-saves-macro-showlabel { width: 11em; } -.sheet-sect.sheet-expand .sheet-level-show, -.sheet-sect.sheet-expand .sheet-iterations-show, -.sheet-sect.sheet-expand .sheet-advmacro-text-show, -.sheet-sect.sheet-expand .sheet-armor-attributes-show, -.sheet-sect.sheet-expand .sheet-all-saves-macro-show { +.charsheet .sect.expand .level-show, +.charsheet .sect.expand .iterations-show, +.charsheet .sect.expand .advmacro-text-show, +.charsheet .sect.expand .armor-attributes-show, +.charsheet .sect.expand .all-saves-macro-show { width: 11em; margin-right: -11em; } -.sheet-sect.sheet-expand .sheet-weapon-attributes-showlabel { +.charsheet .sect.expand .weapon-attributes-showlabel { width: 11em; } -.sheet-sect.sheet-expand .sheet-weapon-attributes-show { +.charsheet .sect.expand .weapon-attributes-show { width: 11em; margin-right: -11em; } -.sheet-sect.sheet-expand .sheet-misc-showlabel, -.sheet-sect.sheet-expand .sheet-range-showlabel, -.sheet-sect.sheet-expand .sheet-id-showlabel { +.charsheet .sect.expand .misc-showlabel, +.charsheet .sect.expand .range-showlabel, +.charsheet .sect.expand .id-showlabel { width: 5em; } -.sheet-sect.sheet-expand .sheet-misc-show, -.sheet-sect.sheet-expand .sheet-range-show, -.sheet-sect.sheet-expand .sheet-id-show { +.charsheet .sect.expand .misc-show, +.charsheet .sect.expand .range-show, +.charsheet .sect.expand .id-show { width: 5em; margin-right: -5em; } -.sheet-split-column-show:not(:checked)~.sheet-repeating-fields .sheet-sect.sheet-expand .sheet-showarrow:first-child { +.charsheet .split-column-show:not(:checked)~.repeating-fields .sect.expand .showarrow:first-child { margin-left: .125em; } -.sheet-sect.sheet-expand .sheet-showsect { +.charsheet .sect.expand .showsect { margin-right: 1em; } -.repitem .sheet-sect.sheet-expand { +.charsheet .repitem .sect.expand { display: block; clear: both; width: 100%; } -.sheet-innerlabel, -.sheet-innerlabel.sheet-showarrow { +.charsheet .innerlabel, +.charsheet .innerlabel.showarrow { position: absolute !important; opacity: 0; width: 100%; @@ -1870,41 +1950,41 @@ h2.sheet-clickheader { /* generic css buttons borders and colors only */ -.sheet-cssbutton { +.charsheet .cssbutton { width: 2.2rem !important; } -.sheet-cssbutton, -.sheet-refreshbutton, -.sheet-addarmorbutton, -.sheet-configbutton, -.sheet-addshieldbutton, -.sheet-createmacrobutton, -.sheet-createattackbutton { +.charsheet .cssbutton, +.charsheet .refreshbutton, +.charsheet .addarmorbutton, +.charsheet .configbutton, +.charsheet .addshieldbutton, +.charsheet .createmacrobutton, +.charsheet .createattackbutton { margin-right: -2.4rem; } -.sheet-minimize-show { +.charsheet .minimize-show { margin: 0 -2.2rem 0.2rem 0.5rem; } -.sheet-lock-show, -.sheet-split-column-show, -.sheet-readonly-show, -.sheet-createattackbutton { +.charsheet .lock-show, +.charsheet .split-column-show, +.charsheet .readonly-show, +.charsheet .createattackbutton { margin: 0 -2.2rem 0.2rem 0; } -.sheet-deletebutton { +.charsheet .deletebutton { margin: 0 -2.2rem 0.2rem 3.2rem; } -.sheet-csstextbutton { +.charsheet .csstextbutton { width: 5em; margin-right: -5em; } -.sheet-cssbutton+span::before { +.charsheet .cssbutton+span::before { display: inline-block; font-size: 1.5rem; margin: 0.3rem 0.2rem 0.2rem 0.2rem; @@ -1920,7 +2000,7 @@ h2.sheet-clickheader { height: 2.2rem; } -.sheet-csstextbutton+span { +.charsheet .csstextbutton+span { display: inline-block; font-size: 1.4rem; margin: 0.3rem 0.2rem 0.2rem 0.2rem; @@ -1936,29 +2016,29 @@ h2.sheet-clickheader { height: 2.2rem; } -.sheet-showarrow:hover+.sheet-showsect:not(.sheet-showsect-nocolor), -.sheet-showarrow:hover+.sheet-showsect::before, -.sheet-counted:hover+span, -.sheet-counted:hover+span::before { +.charsheet .showarrow:hover+.showsect:not(.showsect-nocolor), +.charsheet .showarrow:hover+.showsect::before, +.charsheet .counted:hover+span, +.charsheet .counted:hover+span::before { color: Red; } -.sheet-csstextbutton:hover, -.sheet-csstextbutton:hover+span, -.sheet-cssbutton:hover, -.sheet-cssbutton:hover+span::before { +.charsheet .csstextbutton:hover, +.charsheet .csstextbutton:hover+span, +.charsheet .cssbutton:hover, +.charsheet .cssbutton:hover+span::before { color: Red; box-shadow: 0.1rem 0.1rem 0.2rem #333; } -.sheet-minimize-show:checked~.sheet-lock-show+span::before, -.sheet-csstextbutton:checked+span, -.sheet-cssbutton:checked+span::before { +.charsheet .minimize-show:checked~.lock-show+span::before, +.charsheet .csstextbutton:checked+span, +.charsheet .cssbutton:checked+span::before { background-color: #4a6486; color: #DDDDDD; } -.sheet-minimize-show:checked+span::before { +.charsheet .minimize-show:checked+span::before { font-family: "Pictos" !important; content: '|'; /* '▢'; */ @@ -1966,18 +2046,18 @@ h2.sheet-clickheader { vertical-align: top; } -.sheet-minimize-show:checked:hover+span::before { +.charsheet .minimize-show:checked:hover+span::before { background-color: white !important; color: red; } -.sheet-minimize-show+span::before { +.charsheet .minimize-show+span::before { content: '▂'; padding-top: 0; vertical-align: top; } -.sheet-lock-show+span::before { +.charsheet .lock-show+span::before { font-family: "Pictos" !important; content: ')'; padding-left: 0.4rem; @@ -1985,8 +2065,8 @@ h2.sheet-clickheader { vertical-align: top; } -.sheet-minimize-show:checked~.sheet-lock-show+span::before, -.sheet-lock-show:checked+span::before { +.charsheet .minimize-show:checked~.lock-show+span::before, +.charsheet .lock-show:checked+span::before { font-family: "Pictos" !important; content: '('; padding-top: 0.1rem; @@ -1994,26 +2074,26 @@ h2.sheet-clickheader { vertical-align: top; } -.sheet-split-column-show+span::before { +.charsheet .split-column-show+span::before { content: '❚❚'; /* '▮';*/ padding-top: 0.1rem; vertical-align: top; } -.sheet-split-column-show:checked+span::before { +.charsheet .split-column-show:checked+span::before { content: '❚❚'; padding-left: 0.2rem; padding-top: 0.1rem; vertical-align: top; } -.sheet-split-column-show:checked:hover+span::before { +.charsheet .split-column-show:checked:hover+span::before { background-color: white !important; color: red; } -.sheet-deletebutton+span::before { +.charsheet .deletebutton+span::before { font-family: "Pictos" !important; content: '#'; padding-left: 0.2rem; @@ -2021,7 +2101,7 @@ h2.sheet-clickheader { vertical-align: top; } -.sheet-refreshbutton+span::before { +.charsheet .refreshbutton+span::before { font-family: "Pictos" !important; content: '1'; vertical-align: top; @@ -2029,52 +2109,52 @@ h2.sheet-clickheader { height: 2.3rem; } -.sheet-small-label2 .sheet-refreshbutton+span::before { +.charsheet .small-label2 .refreshbutton+span::before { margin-top: 0.2rem; } -.sheet-attack-damage>.sheet-small-label2 .sheet-refreshbutton+span::before { +.charsheet .attack-damage>.small-label2 .refreshbutton+span::before { padding: .35rem 0 0 0; } -.sheet-table-cell.sheet-small-label.sheet-cssbutton-cell { +.charsheet .table-cell.small-label.cssbutton-cell { padding-top: 1em; } -.sheet-createmacrobutton+span::before { +.charsheet .createmacrobutton+span::before { font-family: "Pictos Three" !important; content: 'g'; vertical-align: top; padding: 0.4rem 0 0 0 !important; } -.sheet-createattackbutton+span::before { +.charsheet .createattackbutton+span::before { content: '⚔'; vertical-align: top; padding: 0.3rem 0.1rem 0 0; } -input[name="attr_create_twoweapon_attack"].sheet-createattackbutton+span::before { +.charsheet input[name="attr_create_twoweapon_attack"].createattackbutton+span::before { padding-top: 0; } -.sheet-addarmorbutton+span::before { +.charsheet .addarmorbutton+span::before { font-family: "Pictos Three" !important; content: 'b'; vertical-align: top; padding: 0.4rem 0 0 0 !important; } -.sheet-addshieldbutton+span::before { +.charsheet .addshieldbutton+span::before { font-family: "Pictos Custom" !important; content: 'e'; vertical-align: top; padding: 0.4rem 0 0 0 !important; } -.sheet-maxhealbutton+span::before, -.sheet-newbuff-button+span::before, -.sheet-newtemplate-button+span::before { +.charsheet .maxhealbutton+span::before, +.charsheet .newbuff-button+span::before, +.charsheet .newtemplate-button+span::before { content: '✚'; /*'⛨☤';*/ vertical-align: top; @@ -2083,33 +2163,29 @@ input[name="attr_create_twoweapon_attack"].sheet-createattackbutton+span::before height: 1.6em; } -.sheet-newbuff-button+span::before { +.charsheet .newbuff-button+span::before { padding: 0.5rem 0.2rem 0.1rem 0.1rem; } -.sheet-cssbutton-label { - margin-left: -3em; +.charsheet .cssbutton-label { font-weight: bold; font-size: 1rem; font-style: italic; vertical-align: bottom; cursor: help; + line-height: 1em; } -.sheet-small-label2 .sheet-cssbutton-label { - margin-left: -.25em; -} - -input.sheet-configbutton, -input.sheet-readonly-show, -input.sheet-refreshbutton { +.charsheet input.configbutton, +.charsheet input.readonly-show, +.charsheet input.refreshbutton { vertical-align: top; margin-top: .5em; padding-top: 0; margin-left: .75em; } -.sheet-configbutton+span::before { +.charsheet .configbutton+span::before { content: '⛭'; margin-top: .5em; vertical-align: top; @@ -2117,12 +2193,12 @@ input.sheet-refreshbutton { height: 2.3rem; } -.sheet-configbutton:checked:hover+span::before { +.charsheet .configbutton:checked:hover+span::before { background-color: white !important; color: red; } -.sheet-readonly-show+span::before { +.charsheet .readonly-show+span::before { background-color: white !important; background: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Pathfinder%20Community/Images/edit_mode.png"); background-position: 0.2rem 0.2rem; @@ -2135,7 +2211,7 @@ input.sheet-refreshbutton { height: 2.3rem; } -.sheet-readonly-show:hover+span::before { +.charsheet .readonly-show:hover+span::before { background-color: white !important; background: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Pathfinder%20Community/Images/edit_mode_red.png"); background-position: 0.2rem 0.2rem; @@ -2143,7 +2219,7 @@ input.sheet-refreshbutton { color: transparent; } -.sheet-readonly-show:checked+span::before { +.charsheet .readonly-show:checked+span::before { background-color: #4a6486 !important; background: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Pathfinder%20Community/Images/compact_mode.png"); background-position: 0.2rem 0.2rem; @@ -2151,7 +2227,7 @@ input.sheet-refreshbutton { color: transparent; } -.sheet-readonly-show:checked:hover+span::before { +.charsheet .readonly-show:checked:hover+span::before { background-color: white !important; background: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Pathfinder%20Community/Images/compact_mode_red.png"); background-position: 0.2rem 0.2rem; @@ -2159,59 +2235,59 @@ input.sheet-refreshbutton { color: transparent; } -.sheet-allrows-note span { +.charsheet .allrows-note span { vertical-align: middle; } -.sheet-allrows-note { +.charsheet .allrows-note { margin-left: 1em; } -.sheet-small-label2 .sheet-createattackbutton+span::before { +.charsheet .small-label2 .createattackbutton+span::before { margin-top: 0.2rem; } -.sheet-small-label2 input[type="checkbox"].sheet-csstextbutton, -.sheet-small-label2 input[type="checkbox"].sheet-cssbutton { +.charsheet .small-label2 input[type="checkbox"].csstextbutton, +.charsheet .small-label2 input[type="checkbox"].cssbutton { -webkit-margin-before: 0; display: inline-block; } /***********************repeating item counter ************************************/ -.sheet-repeating-fields { +.charsheet .repeating-fields { counter-reset: sheet-rep-items -1; position: relative; } /* do not allow user to click when minimized */ -.sheet-minimize-show:checked~.sheet-lock-show, -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-counted, -.sheet-lock-show:checked~.sheet-repeating-fields .sheet-counted, -.sheet-lock-show:checked~.sheet-repeating-fields .sheet-showsect { +.charsheet .minimize-show:checked~.lock-show, +.charsheet .minimize-show:checked~.repeating-fields .counted, +.charsheet .lock-show:checked~.repeating-fields .counted, +.charsheet .lock-show:checked~.repeating-fields .showsect { pointer-events: none; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-counted:checked+span::before, -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-counted+span::before, -.sheet-counted+span::before { +.charsheet .minimize-show:checked~.repeating-fields .counted:checked+span::before, +.charsheet .minimize-show:checked~.repeating-fields .counted+span::before, +.charsheet .counted+span::before { counter-increment: sheet-rep-items; content: counter(sheet-rep-items) '. ►' !important; width: auto !important; color: Black; } -.sheet-counted:checked+span::before { +.charsheet .counted:checked+span::before { counter-increment: sheet-rep-items; content: counter(sheet-rep-items) '. ▼' !important; width: auto !important; } -/* inside table */ +/* inside .table */ -.sheet-counted, -.sheet-counted.sheet-sect-show { +.charsheet .counted, +.charsheet .counted.sect-show { position: absolute; left: .25em; top: 0; @@ -2220,44 +2296,45 @@ input.sheet-refreshbutton { padding: 0; } -.sheet-hiderepborder .sheet-table-repeating .sheet-counted { +.charsheet .hiderepborder .table-repeating .counted { top: 1.5em; } -.sheet-counted+span { +.charsheet .counted+span { position: relative; width: 3em; min-width: 3em; margin-left: -2em; } -.sheet-counted+span.sheet-table-cell { +.charsheet .counted+span.table-cell { vertical-align: top; padding-top: .25em; } -.sheet-nontable-repeating .sheet-counted, -.sheet-nontable-repeating .sheet-counted.sheet-sect-show, -.sheet-nontable-repeating .sheet-counted+span { +.charsheet .nontable-repeating .counted, +.charsheet .nontable-repeating .counted.sect-show, +.charsheet .nontable-repeating .counted+span { display: inline-block; position: relative; vertical-align: middle; } -.sheet-repeating-rollbutton { +.charsheet .repeating-rollbutton { width: 2em; } -.sheet-nontable-repeating .sheet-repeating-rollbutton button { +.charsheet .nontable-repeating .repeating-rollbutton button { position: relative; margin-left: 0; } /*highlight text */ -.sheet-boldlabel-check+b:not(.sheet-offCase), -.sheet-boldlabel-check+label b:not(.sheet-offCase), -.sheet-condition-exists+label, -.sheet-status-panel label b { +.charsheet .boldlabel-check+b:not(.offCase), +.charsheet .boldlabel-check+label b:not(.offCase), +.charsheet .condition-exists+label, +.charsheet .status-panel label b, +.charsheet input.narrow-numbers+b:not(.offCase) { display: inline; font-size: 1.2rem; line-height: 1.75em; @@ -2265,10 +2342,10 @@ input.sheet-refreshbutton { padding: .12em .5em .2em .5em; } -.sheet-boldlabel-check:checked+b:not(.sheet-offCase), -.sheet-boldlabel-check:checked+label b:not(.sheet-offCase), -.sheet-condition-exists.sheet-sect-either-show-n:checked~label, -.sheet-condition-exists:checked+label { +.charsheet .boldlabel-check:checked+b:not(.offCase), +.charsheet .boldlabel-check:checked+label b:not(.offCase), +.charsheet .condition-exists.sect-either-show-n:checked~label, +.charsheet .condition-exists:checked+label { background-color: #4a6486; color: White; border-radius: 0.5rem; @@ -2277,35 +2354,36 @@ input.sheet-refreshbutton { padding: .1rem .5rem .25rem .25rem; } -.sheet-boldlabel-check+b, -.sheet-boldlabel-check+label { +.charsheet .boldlabel-check+b, +.charsheet .boldlabel-check+label { cursor: pointer; } /*selected text */ -.sheet-selectedlabel-check+b:not(.sheet-offCase) { +.charsheet .selectedlabel-check+b:not(.offCase) { color: #333333; font-size: 1.2rem; line-height: 1.5em; padding: 0.1rem .65rem 0.1rem .25rem; + cursor: help; } -.sheet-corerules .sheet-table-row .sheet-table-cell { +.charsheet .corerules .table-row .table-cell { padding-left: .5em; } -.sheet-selectedlabel-check:hover+b:not(.sheet-offCase), -.sheet-selectedlabel-check:focus+b:not(.sheet-offCase), -.sheet-selectedlabel-check:checked:hover+b:not(.sheet-offCase), -.sheet-selectedlabel-check:checked:focus+b:not(.sheet-offCase) { +.charsheet .selectedlabel-check:hover+b:not(.offCase), +.charsheet .selectedlabel-check:focus+b:not(.offCase), +.charsheet .selectedlabel-check:checked:hover+b:not(.offCase), +.charsheet .selectedlabel-check:checked:focus+b:not(.offCase) { color: red; } -.sheet-selectedlabel-check:checked+b:not(.sheet-offCase) { +.charsheet .selectedlabel-check:checked+b:not(.offCase) { color: black; } -.sheet-conditions { +.charsheet .conditions { display: flex; flex-flow: row wrap; justify-content: space-between; @@ -2315,74 +2393,73 @@ input.sheet-refreshbutton { } -.sheet-conditions .sheet-nontable-name { - margin-left: -.25em; - margin-right: -.25em; +.charsheet .conditions .nontable-name { + margin: -.25em -.25em 0 -.25em; width: calc(100% + .5em); } -.sheet-conditions .sheet-option-condition { +.charsheet .conditions .option-condition { white-space: nowrap; font-size: 1.2rem; } -.sheet-no-pad-right { +.charsheet .no-pad-right { padding-right: 0 !important; } -hr { +.charsheet hr { border-color: Black; margin: 0.5rem 0; } -hr.sheet-skinny { +.charsheet .hr.skinny { border-color: DarkGray; height: 0.1rem; margin: 0; } -.sheet-npc-hr { +.charsheet .npc-hr { padding: 0; margin: 0; } -/* used to highlight background of sub-nav row on repeating sections */ -.sheet-subnav-hr { +/* used to highlight background of sub-nav row on repeating .sections */ +.charsheet .subnav-hr { width: 100%; border: 1.2rem solid #DAE4F2; background-color: #DAE4F2; margin-top: -2.3rem; } -.sheet-parchment-1:checked~.sheet-pf-wrapper .sheet-subnav-hr, -.sheet-parchment-2:checked~.sheet-pf-wrapper .sheet-subnav-hr { +.charsheet .parchment-1:checked~.pf-wrapper .subnav-hr, +.charsheet .parchment-2:checked~.pf-wrapper .subnav-hr { border-color: darkkhaki; background-color: darkkhaki; } -.sheet-npchead-bottom { +.charsheet .npchead-bottom { margin-bottom: 0.5rem; } -.sheet-npchead-top { +.charsheet .npchead-top { margin-top: 0.5rem; } -.sheet-spellrange-header { +.charsheet .spellrange-header { width: 15%; } -.sheet-iterative_attack_section .sheet-table-row .sheet-table-cell { +.charsheet .iterative_attack_section .table-row .table-cell { vertical-align: top; } -.sheet-iterative_attack_section .sheet-table-row .sheet-table-cell:first-child { +.charsheet .iterative_attack_section .table-row .table-cell:first-child { text-align: left; padding-top: .5em; white-space: nowrap; } -.sheet-footer { +.charsheet .footer { text-align: center; font-size: 1.2rem; background-color: #FFFFEE; @@ -2391,7 +2468,7 @@ hr.sheet-skinny { clear: both; } -.sheet-footnotes { +.charsheet .footnotes { width: 100%; font-size: 1rem; font-family: 'Roboto Mono', monospace; @@ -2401,31 +2478,31 @@ hr.sheet-skinny { line-height: 1rem; } -.sheet-compendium-note { +.charsheet .compendium-note { float: right; text-align: right; margin-top: .25em; } -.sheet-vertical-middle { +.charsheet .vertical-middle { vertical-align: middle; } -.sheet-drag-icon { +.charsheet .drag-icon { font-weight: bold; font-size: 2.4rem; vertical-align: sub; } -.sheet-compendium-icon { +.charsheet .compendium-icon { font-weight: bold; font-family: Pictos; font-size: 1.8rem; vertical-align: middle; } -.repcontainer .repitem, -.sheet-repeating-sect .repitem { +.charsheet .repcontainer .repitem, +.charsheet .repeating-sect .repitem { padding: 0.2rem 0.4rem 0.1rem 0; margin: 0.2rem 0 0.4rem 0; border: 0.2rem solid #CCCCCC; @@ -2440,7 +2517,7 @@ hr.sheet-skinny { margin-bottom: 3em; } */ -.repcontainer.editmode+.repcontrol .repcontrol_edit { +.charsheet .repcontainer.editmode+.repcontrol .repcontrol_edit { text-align: right; /* margin-left: calc(95% - 4em);*/ width: 10%; @@ -2448,25 +2525,25 @@ hr.sheet-skinny { float: none; } -.repcontainer.editmode .repitem .itemcontrol { +.charsheet .repcontainer.editmode .repitem .itemcontrol { z-index: 3; background-color: gray; background-color: rgba(220, 220, 220, 0.40); } -.sheet-repeating-sect { +.charsheet .repeating-sect { position: relative; } -.sheet-table-rollbuttoncell, -.sheet-table.cell .sheet-table-rollbuttoncell, -.sheet-small-label2.sheet-table-rollbuttoncell { +.charsheet .table-rollbuttoncell, +.charsheet .table.cell .table-rollbuttoncell, +.charsheet .small-label2-table-rollbuttoncell { vertical-align: top; } /*Expand to cross both columns */ -.sheet-repeating-sect .repcontrol { +.charsheet .repeating-sect .repcontrol { width: 95%; text-align: center; margin: 0.2rem 0 0 0; @@ -2474,26 +2551,26 @@ hr.sheet-skinny { clear: both; } -.sheet-split-column-show:not(:checked)~.sheet-repeating-fields .repitem { +.charsheet .split-column-show:not(:checked)~.repeating-fields .repitem { clear: both; } -.sheet-split-column-show:checked~.sheet-repeating-fields .repitem { +.charsheet .split-column-show:checked~.repeating-fields .repitem { width: 50%; /* display: inline-block; */ float: left; } -.sheet-split-column-show:checked~.sheet-repeating-fields .repitem:nth-child(odd), -.sheet-split-column-show:checked~.sheet-repeating-fields .repitem:first-child(odd) { +.charsheet .split-column-show:checked~.repeating-fields .repitem:nth-child(odd), +.charsheet .split-column-show:checked~.repeating-fields .repitem:first-child(odd) { float: left; } -.sheet-split-column-show:checked~.sheet-repeating-fields .repitem:nth-child(even) { +.charsheet .split-column-show:checked~.repeating-fields .repitem:nth-child(even) { float: right; } -.repcontrol_add::before { +.charsheet .repcontrol_add::before { content: '&'; visibility: visible; font-family: pictos; @@ -2505,7 +2582,7 @@ hr.sheet-skinny { color: #000; } -.repcontrol .repcontrol_edit:after { +.charsheet .repcontrol .repcontrol_edit:after { /* content: 'W'; hamburger menu*/ font-family: Arial; font-weight: bold; @@ -2520,21 +2597,21 @@ hr.sheet-skinny { color: #000; } -.editmode~.repcontrol .repcontrol_edit:after { +.charsheet .editmode~.repcontrol .repcontrol_edit:after { font-family: Pictos; content: '3'; width: 1.6rem; } -.repcontrol_edit:hover:before, -.repcontrol_edit:hover:after, -.repcontrol_add:hover:before { +.charsheet .repcontrol_edit:hover:before, +.charsheet .repcontrol_edit:hover:after, +.charsheet .repcontrol_add:hover:before { /* background-color: #EFEFEF; */ color: red !important; box-shadow: 0.1rem 0.1rem 0.2rem #333; } -.repcontrol .btn { +.charsheet .repcontrol .btn { border: none; color: white !important; font-size: 0; @@ -2544,12 +2621,12 @@ hr.sheet-skinny { box-shadow: none; } -.repcontrol .btn:focus { +.charsheet .repcontrol .btn:focus { outline: 0; } -.repcontrol_add, -.repcontrol_edit { +.charsheet .repcontrol_add, +.charsheet .repcontrol_edit { display: block; background: none; color: transparent !important; @@ -2557,8 +2634,8 @@ hr.sheet-skinny { box-shadow: none; } -.repcontrol_del, -.repcontrol_move { +.charsheet .repcontrol_del, +.charsheet .repcontrol_move { display: block; background: black; color: White !important; @@ -2567,73 +2644,73 @@ hr.sheet-skinny { width: 2em; } -.repcontrol_move { +.charsheet .repcontrol_move { float: right; margin-right: 0.5rem; } -.repcontainer.editmode .itemcontrol .btn { +.charsheet .repcontainer.editmode .itemcontrol .btn { margin-top: .25em; } -.repcontainer.editmode .itemcontrol .repcontrol_del { +.charsheet .repcontainer.editmode .itemcontrol .repcontrol_del { margin-right: .25em; } -button[type="roll"].sheet-blank-roll-button::before { +.charsheet button[type="roll"].blank-roll-button::before { content: ' '; } -.sheet-options { +.charsheet .options { padding: 0.2rem 0 0.2rem 0.5rem; border: 0.1rem solid #808080; border-radius: 0.5rem; background-color: WhiteSmoke; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-options-readonly, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-options-readonly .sheet-table-cell { +.charsheet .readonly-show:not(:checked)~.main .options-readonly, +.charsheet .readonly-show:not(:checked)~.main .options-readonly .table-cell { background-color: WhiteSmoke; } -.sheet-options.sheet-table.sheet-named, -.sheet-conditions.sheet-table { +.charsheet .options-table-named, +.charsheet .conditionstable { border-top-left-radius: 0; border-top-right-radius: 0; } -.sheet-options.sheet-table.sheet-named .sheet-table-name, -.sheet-table.sheet-named .sheet-table-name, -.sheet-conditions .sheet-table-name { +.charsheet .options-table-named .table-name, +.charsheet .table-named .table-name, +.charsheet .conditions .table-name { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; } -.sheet-nontable-repeating .sheet-options .sheet-table-row>span { +.charsheet .nontable-repeating .options .table-row>span { margin-right: 1em; display: inline-block; } -.sheet-nontable-repeating .sheet-options span input[type="checkbox"] { +.charsheet .nontable-repeating .options span input[type="checkbox"] { margin-left: .5em; margin-bottom: .25em; } -.sheet-section-condbuffedit { +.charsheet .section-condbuffedit { margin-bottom: 0.4rem; } -.sheet-section-status { +.charsheet .section-status { margin-top: .25em; display: flex; flex-flow: row nowrap; } -.sheet-section-status .sheet-status-panel:first-child { +.charsheet .section-status .status-panel:first-child { margin-right: .125em; } -.sheet-status-panel { +.charsheet .status-panel { display: inline-block; position: relative; vertical-align: top; @@ -2641,7 +2718,7 @@ button[type="roll"].sheet-blank-roll-button::before { line-height: 1.2em; } -.sheet-status-panel .sheet-options { +.charsheet .status-panel .options { padding-left: .25em; padding-right: .25em; display: block; @@ -2652,88 +2729,89 @@ button[type="roll"].sheet-blank-roll-button::before { background-color: WhiteSmoke; } -.sheet-status-panel .sheet-options div { +.charsheet .status-panel .options div { display: inline; } -.sheet-status-panel label b { +.charsheet .status-panel label b { padding: 0 0 0 .25em; } /* when a highlighted field is not showing error, put hidden 0.2rem border so size doesn't change */ -input.sheet-highlight, -.sheet-highlight input, -.sheet-highlight input:disabled, -.sheet-highlight input.sheet-calc, -.sheet-highlight input[readonly] { +.charsheet input.highlight, +.charsheet .highlight input, +.charsheet .highlight input:disabled, +.charsheet .highlight input.calc, +.charsheet .highlight input[readonly] { border-top: 0.2rem transparent solid; border-left: 0.2rem transparent solid; border-right: 0.2rem transparent solid; } -input.sheet-highlight:disabled, -input.sheet-highlightinput.sheet-calc, -input.sheet-highlight[readonly] .sheet-highlight input:disabled, -.sheet-highlight input.sheet-calc, -.sheet-highlight input[readonly] { +.charsheet input.highlight:disabled, +.charsheet input.highlightinputcalc, +.charsheet input.highlight[readonly] .highlight input:disabled, +.charsheet .highlight input.calc, +.charsheet .highlight input[readonly] { border-bottom: 0.2rem transparent solid; } -.sheet-warn-show:checked+input.sheet-highlight, -.sheet-warn-show:checked+textarea.sheet-highlight, -.sheet-warn-mshow:checked~input.sheet-highlight, -.sheet-warn-mshow:checked~textarea.sheet-highlight, -.sheet-warn-show:checked+.sheet-highlight input, -.sheet-warn-show:checked+.sheet-highlight textarea, -.sheet-warn-mshow:checked~.sheet-highlight input, -.sheet-warn-mshow:checked~.sheet-highlight textarea { +.charsheet .warn-show:checked+textarea.highlight, +.charsheet .warn-show:checked+input.highlight, +.charsheet .warn-mshow:checked~input.highlight, +.charsheet .warn-mshow:checked~textarea.highlight, +.charsheet .warn-show:checked+.highlight input, +.charsheet .warn-show:checked+.highlight textarea, +.charsheet .warn-mshow:checked~.highlight input, +.charsheet .warn-mshow:checked~.highlight textarea { border: 0.2rem #B8860B dashed !important; } -.sheet-error-show:checked+input.sheet-highlight, -.sheet-error-show:checked+textarea.sheet-highlight, -.sheet-error-mshow:checked~input.sheet-highlight, -.sheet-error-mshow:checked~textarea.sheet-highlight, -.sheet-error-show:checked+.sheet-highlight input, -.sheet-error-show:checked+.sheet-highlight textarea, -.sheet-error-mshow:checked~.sheet-highlight input, -.sheet-error-mshow:checked~.sheet-highlight textarea { +.charsheet .error-show:checked+input.highlight, +.charsheet .error-show:checked+textarea.highlight, +.charsheet .error-mshow:checked~input.highlight, +.charsheet .error-mshow:checked~textarea.highlight, +.charsheet .error-show:checked+.highlight input, +.charsheet .error-show:checked+.highlight textarea, +.charsheet .error-mshow:checked~.highlight input, +.charsheet .error-mshow:checked~.highlight textarea { border: 0.2rem #FF0044 dotted !important; } -.sheet-offscreen { +.charsheet .offscreen { position: absolute !important; clip: rect(0.1rem, 0.1rem, 0.1rem, 0.1rem); overflow: hidden !important; } -.sheet-table-group { +.charsheet .table-group { display: table-row-group; overflow: hidden; border-collapse: collapse; } -.sheet-table-group-head { +.charsheet .table-group-head { display: table-header-group; overflow: hidden; border-collapse: collapse; } -.sheet-table-group-head .sheet-table-divider, -.sheet-table-group-head .sheet-table-divider-lg { +.charsheet .table-group-head .table-divider, +.charsheet .table-group-head .table-divider-lg { vertical-align: bottom; } -.sheet-header-row { +.charsheet .header-row { background-color: Black; color: White; padding-left: 1rem; min-height: 1em; } -.sheet-table-header { +.charsheet .table-header { display: table-cell; + padding: 0 2px 0 2px; text-align: center; font-style: italic; font-weight: bold; @@ -2743,34 +2821,39 @@ input.sheet-highlight[readonly] .sheet-highlight input:disabled, overflow: hidden; } -.sheet-class-grid .sheet-table-header { +.charsheet .class-grid .table-header { vertical-align: bottom; } -.sheet-ability-scores .sheet-table { +.charsheet .ability-scores .table { height: 100%; min-height: 15em; } -.sheet-small-label2 { +.charsheet .small-label2 { display: inline-block; margin: .1em .124em .1em .125em; height: 3em; - min-height: 3em; vertical-align: top; text-align: center; position: relative; + width: initial; } -.sheet-nontable-repeating .sheet-linked-fields { +.charsheet .core-details .small-label2 { + margin: 0 0.2rem 0 0.2rem; + padding: 0 0.4rem 0.2rem 0.4rem; +} + +.charsheet .nontable-repeating .linked-fields { vertical-align: top; } -.sheet-linked-fields.sheet-use-size { +.charsheet .linked-fieldsuse-size { max-height: 3.6em; } -.sheet-small-label2 span:not(.sheet-autoexpand) { +.charsheet .small-label2 span:not(.autoexpand) { padding: 0 .07em 0 .07em; text-align: center; font-size: 1.125rem; @@ -2783,21 +2866,21 @@ input.sheet-highlight[readonly] .sheet-highlight input:disabled, white-space: nowrap; } -.sheet-text-button, -button.sheet-text-button { +.charsheet .text-button, +.charsheet .buttontext-button { border: 0; width: 90%; padding: .125em .125em .125em .25em; } -span.sheet-text-button { +.charsheet span.text-button { padding-left: 1.8em; } -.sheet-small-label2 .sheet-text-button span, -.sheet-text-button, -button.sheet-text-button, -.sheet-text-button span { +.charsheet .small-label2 .text-button span, +.charsheet .text-button, +.charsheet .buttontext-button, +.charsheet .text-button span { text-align: left; font-size: 1.6rem; background-color: Black; @@ -2806,33 +2889,33 @@ button.sheet-text-button, color: White; } -.sheet-small-label2.sheet-autoexpand span:not(.sheet-autoexpand) { +.charsheet .small-label2.autoexpand span:not(.autoexpand) { white-space: nowrap; } -.sheet-repeating-id .sheet-small-label2 span.sheet-selectable, -span[name="attr_row_id"].sheet-selectable, -input[name="attr_mainhand_id"].sheet-entry-long, -input[name="attr_offhand_id"].sheet-entry-long, -input[type="text"][name="attr_source-main"], -input[type="text"][name="attr_source-off"], -input[type="text"][name="attr_source-item"], -input[type="text"][name="attr_source-spell"], -input[type="text"][name="attr_source-ability"] { +.charsheet .repeating-id .small-label2 span.selectable, +.charsheet span[name="attr_row_id"].selectable, +.charsheet input[name="attr_mainhand_id"].entry-long, +.charsheet input[name="attr_offhand_id"].entry-long, +.charsheet input[type="text"][name="attr_source-main"], +.charsheet input[type="text"][name="attr_source-off"], +.charsheet input[type="text"][name="attr_source-item"], +.charsheet input[type="text"][name="attr_source-spell"], +.charsheet input[type="text"][name="attr_source-ability"] { background-color: #ECECEC; padding: .25em 0.2rem .25em 0.2rem; height: 1.825em; } -.sheet-repeating-id { +.charsheet .repeating-id { display: block; clear: left; margin: .25em; } -.sheet-repeating-id .sheet-small-label2 span.sheet-selectable, -.sheet-repeating-id .sheet-small-label2 span, -.sheet-repeating-id .sheet-small-label2 { +.charsheet .repeating-id .small-label2 span.selectable, +.charsheet .repeating-id .small-label2 span, +.charsheet .repeating-id .small-label2 { font-size: 1.3rem; font-weight: normal; font-style: normal; @@ -2840,39 +2923,39 @@ input[type="text"][name="attr_source-ability"] { white-space: nowrap; } -.sheet-repeating-id .sheet-small-label2 span.sheet-selectable { +.charsheet .repeating-id .small-label2 span.selectable { border: 1pt solid lightgrey; } /*not necessary? -.sheet-small-label2 > * { +small-label2 > * { max-width: 100%; }*/ -.sheet-small-label2>input:not(.sheet-cssbutton), -.sheet-small-label2>select, -.sheet-small-label2>.sheet-calc { +.charsheet .small-label2>input:not(.cssbutton), +.charsheet .small-label2>select, +.charsheet .small-label2>.calc { display: block; height: 1.825em; /* otherwise defaults from base.css hardcode it too tall */ position: relative; } -.sheet-small-label2>select { +.charsheet .small-label2>select { padding-top: 0; } /* added for ability level basis inline formulas */ -.sheet-small-label2>input.sheet-error-mshow { +.charsheet .small-label2>input.error-mshow { display: none; } -.sheet-small-label2 input::-moz-focus-inner { +.charsheet .small-label2 input::-moz-focus-inner { padding: 0; } /* webkit (chrome) needs different css firefox centers perfectly, not chrome.must make it equal to 1.825 */ -.sheet-small-label2>input[type="checkbox"]:not(.sheet-cssbutton), -.sheet-small-label2>input[type="radio"]:not(.sheet-cssbutton) { +.charsheet .small-label2>input[type="checkbox"]:not(.cssbutton), +.charsheet .small-label2>input[type="radio"]:not(.cssbutton) { -webkit-logical-height: 1em; -webkit-margin-before: .5em; -webkit-margin-after: .325em; @@ -2881,7 +2964,7 @@ input[type="text"][name="attr_source-ability"] { box-shadow: none; } -.sheet-hit-points { +.charsheet .hit-points { width: calc(30% - 4px); display: inline-block; min-height: 4em; @@ -2890,8 +2973,8 @@ input[type="text"][name="attr_source-ability"] { margin-right: .125em; } -.sheet-wound-threshold, -.sheet-h2-section.sheet-wound-threshold { +.charsheet .wound-threshold, +.charsheet .h2-section.wound-threshold { display: inline-block; height: auto; /*width:16%;*/ @@ -2902,144 +2985,144 @@ input[type="text"][name="attr_source-ability"] { width: auto; } -.sheet-readonly-show:checked~.sheet-main .sheet-section-core .sheet-wounds-show:checked~.sheet-wound-threshold { +.charsheet .readonly-show:checked~.main .section-core .wounds-show:checked~.wound-threshold { width: 20%; } -.sheet-hit-point-calcs { +.charsheet .hit-point-calcs { width: calc(70% - 4px); display: inline-block; height: auto; min-width: 20em; } -.sheet-wounds-show:checked~.sheet-hit-point-calcs { +.charsheet .wounds-show:checked~.hit-point-calcs { width: auto; max-width: calc(49% - 4px); } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2-section.sheet-initiative { +.charsheet .readonly-show:not(:checked)~.main .h2-section.initiative { min-width: 9em; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-initiative { +.charsheet .readonly-show:not(:checked)~.main .initiative { /* width: 32%;*/ display: inline-block; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-speeds { +.charsheet .readonly-show:not(:checked)~.main .speeds { /* width: 48.5%;*/ display: inline-block; min-width: 26em; } -.sheet-hit-points .sheet-table-header:last-child, -.sheet-hit-points .sheet-table-cell:last-child, -.sheet-initiative .sheet-table-header:last-child, -.sheet-initiative .sheet-table-cell:last-child { +.charsheet .hit-points .table-header:last-child, +.charsheet .hit-points .table-cell:last-child, +.charsheet .initiative .table-header:last-child, +.charsheet .initiative .table-cell:last-child { padding-right: .5em; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-h2-section.sheet-armor-shield { +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .h2-section.armor-shield { width: calc(100% - 4px); display: inline-block; margin-top: 0; } -.sheet-h2-section.sheet-armor-shield { +.charsheet .h2-section.armor-shield { width: calc(70% - 4px); display: inline-block; margin-top: 0; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-h2-section.sheet-armor-penalties { +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .h2-section.armor-penalties { width: calc(100% - 4px); display: inline-block; } -.sheet-h2-section.sheet-armor-penalties { +.charsheet .h2-section.armor-penalties { width: calc(30% - 4px); display: inline-block; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-col .sheet-h2-section.sheet-ability-buttons { - width: calc(50% - 4px); +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .col .h2-section.ability-buttons { + width: calc(50% - 6px); float: left; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-col .sheet-h2-section.sheet-section-mythic { +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .col .h2-section.section-mythic { width: calc(100% - 4px); float: left; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section .sheet-col .sheet-h2-section.sheet-ability-buttons, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section .sheet-col .sheet-h2-section.sheet-section-mythic { - width: calc(50% - 4px); +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section .col .h2-section.ability-buttons, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section .col .h2-section.section-mythic { + width: calc(50% - 6px); float: left; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section .sheet-col .sheet-h2-section.sheet-section-mythic { +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section .col .h2-section.section-mythic { width: calc(100% - 4px); float: left; } -div.sheet-feats .sheet-table-row span { +.charsheet div.feats .table-row span { text-align: center; } -div.sheet-feats .sheet-table-row span:last-child { +.charsheet div.feats .table-row span:last-child { width: auto; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-col .sheet-h2-section.sheet-feats, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section .sheet-col .sheet-h2-section.sheet-feats { +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .col .h2-section.feats, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section .col .h2-section.feats { width: calc(100% - 4px); display: inline-table; } /* if first row is not header */ -.sheet-table-name+.sheet-table-group .sheet-small-label2 { +.charsheet .table-name+.table-group .small-label2 { margin-top: 1.25em; } -.sheet-notes-cell, -.sheet-table-cell.sheet-notes-cell { +.charsheet .notes-cell, +.charsheet .table-cellnotes-cell { vertical-align: top; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section:not(.sheet-section-npc)>.sheet-h2-section:not(.sheet-wide-readonly).sheet-notes { +.charsheet .readonly-show:not(:checked)~.main .section:not(.section-npc)>.h2-section:not(.wide-readonly).notes { width: calc(100% - 4px); } -.sheet-config-table { +.charsheet .config-table { margin-bottom: 1em; } -.sheet-config-table .sheet-table-cell { +.charsheet .config-table .table-cell { vertical-align: top; padding-left: 0; padding-right: .5em; } -.sheet-config-table { +.charsheet .config-table { display: inline-table; } -.sheet-roll-config { +.charsheet .roll-config { width: 39%; } -.sheet-roll-appear { +.charsheet .roll-appear { width: 59%; float: right; } -.sheet-table-cell.sheet-repeating-rollbutton { +.charsheet .table-cellrepeating-rollbutton { vertical-align: top; } -.sheet-divider-subtext { +.charsheet .divider-subtext { display: block; text-align: center; font-size: 1.1rem; @@ -3049,42 +3132,44 @@ div.sheet-feats .sheet-table-row span:last-child { margin-top: -1.7em; } -.sheet-divider, -.sheet-divider-lg, -.sheet-divider-db, -.sheet-divider-db-lg { +.charsheet .divider, +.charsheet .divider-lg, +.charsheet .divider-db, +.charsheet .divider-db-lg { text-align: center; vertical-align: middle; + border: none; } -.sheet-divider, -.sheet-divider-db { +.charsheet .divider, +.charsheet .divider-db { width: .5em; font-size: .85em; font-weight: normal; } -.sheet-divider-lg, -.sheet-divider-db-lg { +.charsheet .divider-lg, +.charsheet .divider-db-lg { width: .75em; font-size: 1.125em; font-weight: bold; } -.sheet-divider, -.sheet-divider-lg { +.charsheet .divider, +.charsheet .divider-lg { display: table-cell; } -.sheet-divider-db, -.sheet-divider-db-lg { +.charsheet .divider-db, +.charsheet .divider-db-lg { display: inline-block; margin-left: -.125em; margin-top: .65em; } -.sheet-table-name, -.sheet-nontable-name { +.charsheet .table-name, +.charsheet .nontable-name { + display: table-caption; text-align: center; font-weight: bold; color: White; @@ -3092,62 +3177,56 @@ div.sheet-feats .sheet-table-row span:last-child { padding-top: .25em; } -.sheet-nontable-name { +.charsheet .nontable-name { + display: table-caption; + caption-side: top; width: 100%; -} - -.sheet-nontable-name { display: block; } -.sheet-spellclassnav~h2.sheet-nontable-name { +.charsheet .spellclassnav~.h2nontable-name { margin-top: 0; } -.sheet-table-name { - display: table-caption; - caption-side: top; -} - /* important so overrides more specific */ -.sheet-center { +.charsheet .center { text-align: center !important; } -.sheet-left { +.charsheet .left { text-align: left !important; } -.sheet-right { +.charsheet .right { text-align: right !important; } -.sheet-spellrange-data { +.charsheet .spellrange-data { width: 100% !important; text-align: center !important; } -.sheet-spellcaster-button, -.sheet-table-cell.sheet-spellcaster-button { +.charsheet .spellcaster-button, +.charsheet .table-cellspellcaster-button { text-align: left; } /* -.sheet-readonly-show:checked ~ .sheet-main .sheet-spellcaster-button, -.sheet-readonly-show:checked ~ .sheet-main .sheet-table-cell.sheet-spellcaster-button { +.readonly-show:checked ~ main spellcaster-button, +.readonly-show:checked ~ main table-cellspellcaster-button { width: 14.5rem; } -.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-spellcaster-button, -.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-table-cell.sheet-spellcaster-button { +.readonly-show:not(:checked) ~ main spellcaster-button, +.readonly-show:not(:checked) ~ main table-cellspellcaster-button { max-width: 14.5rem; width:auto; } -.sheet-spellclass-concentration .sheet-spellcaster-button { +spellclass-concentration spellcaster-button { max-width:14.4rem !important; width:14.4rem !important; } */ -button[type="roll"].sheet-spellcaster-button { +.charsheet button[type="roll"].spellcaster-button { font-size: 1.4rem; white-space: nowrap; width: auto; @@ -3155,12 +3234,12 @@ button[type="roll"].sheet-spellcaster-button { margin: 0; } -.sheet-table-group-head.sheet-hidden-head { +.charsheet .table-group-headhidden-head { position: absolute; left: -2000px; } -.sheet-hidden-head .sheet-table-header { +.charsheet .hidden-head .table-header { height: 0.1rem; min-height: 0.1rem; line-height: 0.1rem; @@ -3170,107 +3249,107 @@ button[type="roll"].sheet-spellcaster-button { /* tiny padding in skills */ -.sheet-skills .sheet-table-cell { +.charsheet .skills .table-cell { padding-right: 0.1rem; padding-left: 0.1rem; } -.sheet-nontable-repeating { +.charsheet .nontable-repeating { border-collapse: collapse; margin-left: 0.2rem; margin-right: 0.2rem; } -.sheet-nontable { +.charsheet .nontable { width: 100%; text-align: justify; border-collapse: collapse; display: inline-block; } -.sheet-buffs, -.sheet-conditions { +.charsheet .buffs, +.charsheet .conditions { border-style: solid; border-width: 0.2rem; border-radius: 0.5rem; margin-bottom: 0.6rem; } -.sheet-entry-wide, -span.sheet-entry-wide input, -span.sheet-entry-wide input[type="text"], -span.sheet-entry-wide textarea { +.charsheet .entry-wide, +.charsheet span.entry-wide input, +.charsheet span.entry-wide input[type="text"], +.charsheet span.entry-wide textarea { width: 100%; max-width: 100%; } -.sheet-nontable .sheet-divider-db-lg { +.charsheet .nontable .divider-db-lg { vertical-align: top; } -.sheet-nontable-repeating .sheet-divider-db-lg { +.charsheet .nontable-repeating .divider-db-lg { vertical-align: middle; line-height: 1em; } -.sheet-entry-vlong { +.charsheet .entry-vlong { width: 13em; } -.sheet-entry-long { +.charsheet .entry-long { width: 10em; } -.sheet-entry-med { +.charsheet .entry-med { width: 8em; } -.sheet-entry-short { +.charsheet .entry-short { width: 5.5em; } -.sheet-entry-vshort { +.charsheet .entry-vshort { width: 4em; } -input[type="number"].sheet-entry-wide { +.charsheet input[type="number"].entry-wide { width: 98%; max-width: 98%; } /****** repeating items ****/ -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-divider-db-lg, -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-divider-db, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-divider-db-lg, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-divider-db, -.sheet-counted:not(:checked)~.sheet-divider-db-lg, -.sheet-counted:not(:checked)~.sheet-divider-db { +.charsheet .minimize-show:checked~.repeating-fields .divider-db-lg, +.charsheet .minimize-show:checked~.repeating-fields .divider-db, +.charsheet .split-column-show:checked~.repeating-fields .divider-db-lg, +.charsheet .split-column-show:checked~.repeating-fields .divider-db, +.charsheet .counted:not(:checked)~.divider-db-lg, +.charsheet .counted:not(:checked)~.divider-db { width: .5em; margin-left: -.4em; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-small-label2, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-small-label2, -.sheet-counted:not(:checked)~.sheet-small-label2 { - margin-left: 0; - margin-right: 0.2rem; +.charsheet .minimize-show:checked~.repeating-fields .small-label2, +.charsheet .split-column-show:checked~.repeating-fields .small-label2, +.charsheet .counted:not(:checked)~.small-label2 { + margin: 0 0.2rem 0 0; + max-width: 22%; } -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-nontable-repeating .sheet-counted { +.charsheet .split-column-show:checked~.repeating-fields .nontable-repeating .counted { margin-left: -.25em; } -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-nontable-repeating .sheet-counted+span { +.charsheet .split-column-show:checked~.repeating-fields .nontable-repeating .counted+span { margin-left: -2.25em; width: 2em; } -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-small-label2 { +.charsheet .split-column-show:checked~.repeating-fields .small-label2 { height: auto; } -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-small-label2 span:not(.sheet-autoexpand) { +.charsheet .split-column-show:checked~.repeating-fields .small-label2 span:not(.autoexpand) { margin: 0 -.2em 0 -.2em; padding: 0; } @@ -3278,212 +3357,210 @@ input[type="number"].sheet-entry-wide { /*** when collapsed (sheet-counted unchecked) shrink width * if split, then widen width (so it is more than 1/2 wide) * split should override collapse/minimize - * without -shrink should expand on split but not collapse + * without -shrink should .expand on split but not collapse */ -.sheet-entry-60p, -.sheet-entry-60p-shrink { +.charsheet .entry-60p, +.charsheet .entry-60p-shrink { width: 59%; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-60p-shrink .sheet-counted:not(:checked)~.sheet-entry-60p-shrink { +.charsheet .minimize-show:checked~.repeating-fields .entry-60p-shrink .counted:not(:checked)~.entry-60p-shrink { width: 40%; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-entry-60p-shrink, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-60p, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-60p-shrink { +.charsheet .readonly-show:not(:checked)~.main .entry-60p-shrink, +.charsheet .split-column-show:checked~.repeating-fields .entry-60p, +.charsheet .split-column-show:checked~.repeating-fields .entry-60p-shrink { width: 80%; } -.sheet-entry-30p, -.sheet-entry-30p-shrink { +.charsheet .entry-30p, +.charsheet .entry-30p-shrink { width: 30%; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-30p-shrink, -.sheet-counted:not(:checked)~.sheet-entry-30p-shrink { +.charsheet .minimize-show:checked~.repeating-fields .entry-30p-shrink, +.charsheet .counted:not(:checked)~.entry-30p-shrink { width: 20%; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-entry-30p-shrink, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-30p, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-30p-shrink { +.charsheet .readonly-show:not(:checked)~.main .entry-30p-shrink, +.charsheet .split-column-show:checked~.repeating-fields .entry-30p, +.charsheet .split-column-show:checked~.repeating-fields .entry-30p-shrink { width: 40%; } -.sheet-entry-25p, -.sheet-entry-25p-shrink { +.charsheet .entry-25p, +.charsheet .entry-25p-shrink { width: 25%; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-25p-shrink, -.sheet-counted:not(:checked)~.sheet-entry-25p-shrink { +.charsheet .minimize-show:checked~.repeating-fields .entry-25p-shrink, +.charsheet .counted:not(:checked)~.entry-25p-shrink { width: 20%; } -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-25p, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-25p-shrink { +.charsheet .split-column-show:checked~.repeating-fields .entry-25p, +.charsheet .split-column-show:checked~.repeating-fields .entry-25p-shrink { width: 35%; } -.sheet-entry-20p, -.sheet-entry-20p-shrink, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-entry-20p-shrink { - width: 20%; +.charsheet .entry-20p, +.charsheet .entry-20p-shrink, +.charsheet .readonly-show:not(:checked)~.main .entry-20p-shrink, +.charsheet .minimize-show:checked~.repeating-fields .entry-20p-shrink, +.charsheet .counted:not(:checked)~.entry-20p-shrink { + width: calc(23% - 6rem); + min-width: 6rem; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-20p-shrink, -.sheet-counted:not(:checked)~.sheet-entry-20p-shrink { - width: 15%; -} - -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-20p, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-20p-shrink { +.charsheet .split-column-show:checked~.repeating-fields .entry-20p, +.charsheet .split-column-show:checked~.repeating-fields .entry-20p-shrink { width: 25%; } -.sheet-entry-15p, -.sheet-entry-15p-shrink { +.charsheet .entry-15p, +.charsheet .entry-15p-shrink { width: 15%; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-15p-shrink, -.sheet-counted:not(:checked)~.sheet-entry-15p-shrink { +.charsheet .minimize-show:checked~.repeating-fields .entry-15p-shrink, +.charsheet .counted:not(:checked)~.entry-15p-shrink { width: 10%; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-entry-15p-shrink, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-15p, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-15p-shrink { +.charsheet .readonly-show:not(:checked)~.main .entry-15p-shrink, +.charsheet .split-column-show:checked~.repeating-fields .entry-15p, +.charsheet .split-column-show:checked~.repeating-fields .entry-15p-shrink { width: 20%; } -.sheet-entry-12p, -.sheet-entry-12p-shrink { +.charsheet .entry-12p, +.charsheet .entry-12p-shrink { width: 12%; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-12p-shrink, -.sheet-counted:not(:checked)~.sheet-entry-12p-shrink { +.charsheet .minimize-show:checked~.repeating-fields .entry-12p-shrink, +.charsheet .counted:not(:checked)~.entry-12p-shrink { width: 9%; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-entry-12p-shrink, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-12p-shrink { - width: 15%; -} - -.sheet-entry-10p-shrink { +.charsheet .readonly-show:not(:checked)~.main .entry-12p-shrink, +.charsheet .split-column-show:checked~.repeating-fields .entry-12p-shrink { width: 10%; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-10p-shrink, -.sheet-counted:not(:checked)~.sheet-entry-10p-shrink { +.charsheet .entry-10p-shrink { + width: 10%; +} + +.charsheet .minimize-show:checked~.repeating-fields .entry-10p-shrink, +.charsheet .counted:not(:checked)~.entry-10p-shrink { width: 8%; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-entry-10p-shrink, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-10p-shrink { +.charsheet .readonly-show:not(:checked)~.main .entry-10p-shrink, +.charsheet .split-column-show:checked~.repeating-fields .entry-10p-shrink { width: 12%; } -.sheet-entry-8p, -.sheet-entry-8p-shrink { +.charsheet .entry-8p, +.charsheet .entry-8p-shrink { width: 8%; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-8p-shrink, -.sheet-counted:not(:checked)~.sheet-entry-8p-shrink { +.charsheet .minimize-show:checked~.repeating-fields .entry-8p-shrink, +.charsheet .counted:not(:checked)~.entry-8p-shrink { width: 6%; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-entry-8p-shrink, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-8p-shrink { +.charsheet .readonly-show:not(:checked)~.main .entry-8p-shrink, +.charsheet .split-column-show:checked~.repeating-fields .entry-8p-shrink { width: 10%; } -.sheet-entry-5p, -.sheet-entry-5p-shrink { +.charsheet .entry-5p, +.charsheet .entry-5p-shrink { width: 5%; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-5p-shrink, -.sheet-counted:not(:checked)~.sheet-entry-5p-shrink { +.charsheet .minimize-show:checked~.repeating-fields .entry-5p-shrink, +.charsheet .counted:not(:checked)~.entry-5p-shrink { width: 4%; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-entry-5p-shrink, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-5p, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-5p-shrink { +.charsheet .readonly-show:not(:checked)~.main .entry-5p-shrink, +.charsheet .split-column-show:checked~.repeating-fields .entry-5p, +.charsheet .split-column-show:checked~.repeating-fields .entry-5p-shrink { width: 8%; } -.sheet-entry-rowname { +.charsheet .entry-rowname { width: 35%; } -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-entry-rowname { +.charsheet .readonly-show:not(:checked)~.main .entry-rowname { width: 65%; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-vlong, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-vlong, -.sheet-counted:not(:checked)~.sheet-small-label2.sheet-entry-vlong { +.charsheet .minimize-show:checked~.repeating-fields .entry-vlong, +.charsheet .split-column-show:checked~.repeating-fields .entry-vlong, +.charsheet .counted:not(:checked)~.small-label2entry-vlong { width: 11em; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-long, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-long, -.sheet-counted:not(:checked)~.sheet-small-label2.sheet-entry-long { +.charsheet .minimize-show:checked~.repeating-fields .entry-long, +.charsheet .split-column-show:checked~.repeating-fields .entry-long, +.charsheet .counted:not(:checked)~.small-label2entry-long { width: 9em; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-med, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-med, -.sheet-counted:not(:checked)~.sheet-small-label2.sheet-entry-med { +.charsheet .minimize-show:checked~.repeating-fields .entry-med, +.charsheet .split-column-show:checked~.repeating-fields .entry-med, +.charsheet .counted:not(:checked)~.small-label2entry-med { width: 7em; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-short, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-short, -.sheet-counted:not(:checked)~.sheet-small-label2.sheet-entry-short { +.charsheet .minimize-show:checked~.repeating-fields .entry-short, +.charsheet .split-column-show:checked~.repeating-fields .entry-short, +.charsheet .counted:not(:checked)~.small-label2entry-short { width: 4.5em; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-entry-vshort, -.sheet-split-column-show:checked~.sheet-repeating-fields .sheet-entry-vshort, -.sheet-counted:not(:checked)~.sheet-small-label2.sheet-entry-vshort { +.charsheet .minimize-show:checked~.repeating-fields .entry-vshort, +.charsheet .split-column-show:checked~.repeating-fields .entry-vshort, +.charsheet .counted:not(:checked)~.small-label2entry-vshort { width: 3.5em; } -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-small-label2.sheet-space-right-collapse, -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-linked-fields.sheet-space-right-collapse, -.sheet-counted:not(:checked)~.sheet-small-label2.sheet-space-right-collapse, -.sheet-counted:not(:checked)~.sheet-linked-fields.sheet-space-right-collapse { +.charsheet .minimize-show:checked~.repeating-fields .small-label2space-right-collapse, +.charsheet .minimize-show:checked~.repeating-fields .linked-fieldsspace-right-collapse, +.charsheet .counted:not(:checked)~.small-label2space-right-collapse, +.charsheet .counted:not(:checked)~.linked-fieldsspace-right-collapse { margin-right: .125em; } /* old buffs */ -.sheet-sect-buff.sheet-oldbuff .sheet-linked-fields { +.charsheet .sect-buffoldbuff .linked-fields { width: 13.5em; } -.sheet-minimize-show:checked~.sheet-sect-buff.sheet-oldbuff .sheet-linked-fields, -.sheet-sect-buff.sheet-oldbuff .sheet-counted:not(:checked)~.sheet-linked-fields { +.charsheet .minimize-show:checked~.sect-buffoldbuff .linked-fields, +.charsheet .sect-buffoldbuff .counted:not(:checked)~.linked-fields { width: 4em; } /* new buffs*/ -.sheet-sect-buff.sheet-newbuff .sheet-linked-fields { +.charsheet .sect-buffnewbuff .linked-fields { max-width: 32em; } -.sheet-minimize-show:checked~.sheet-sect-buff.sheet-newbuff .sheet-linked-fields, -.sheet-sect-buff.sheet-newbuff .sheet-counted:not(:checked)~.sheet-linked-fields { +.charsheet .minimize-show:checked~.sect-buffnewbuff .linked-fields, +.charsheet .sect-buffnewbuff .counted:not(:checked)~.linked-fields { width: 13.5em; } -.sheet-sect-buff.sheet-newbuff .sheet-linked-fields { +.charsheet .sect-buffnewbuff .linked-fields { border: 0.1rem solid #808080; border-radius: 0.5rem; margin: .125em 0 .125em 0; @@ -3491,111 +3568,122 @@ input[type="number"].sheet-entry-wide { /******* end of generic repeating items ********/ -.sheet-extra-damage, -.sheet-sect.sheet-expand div.sheet-macro-text { +.charsheet .extra-damage, +.charsheet .sect.expand div.macro-text { height: auto; background-color: WhiteSmoke; } -div.sheet-macro-text .sheet-small-label2, -.sheet-extra-damage .sheet-small-label2 { +.charsheet div.macro-text .small-label2, +.charsheet .extra-damage .small-label2 { text-align: left; width: auto; height: auto; } -.sheet-readonly-show:checked .sheet-main .sheet-defense-table .sheet-table-header { +.charsheet .readonly-show:checked .main .defense-table .table-header { width: 6%; } -.sheet-spell-options .sheet-table-cell, -.sheet-command-buttons .sheet-table-cell { +.charsheet .spell-options .table-cell, +.charsheet .command-buttons .table-cell { text-align: left; } -.sheet-status-panel .sheet-options .sheet-small-label2 { +.charsheet .status-panel .options .small-label2 { height: 2.85em; margin-bottom: -.25em; } -.sheet-status-panel .sheet-options .sheet-small-label2 input { +.charsheet .status-panel .options .small-label2 input { position: inherit; } -.sheet-section-state:checked~.sheet-background-color1 { +.charsheet .section-state:checked~.background-color1 { background-color: #f0f8ff; } -.sheet-monster-indicator { +.charsheet .monster-indicator { width: 100%; display: block; margin-top: -1em; text-align: center; } -.sheet-section-header { +.charsheet .section-header { display: inline-table; vertical-align: bottom; } -.sheet-section-header .sheet-small-label2 { +.charsheet .section-header .small-label2 { display: table-cell; padding: 0 .25em 0 .25em; vertical-align: bottom; } -.sheet-announcements { +.charsheet .announcements { width: 100%; display: block; clear: both; } -.sheet-textarea-gray:not(:checked)~.sheet-small-label2 textarea { +.charsheet textarea-gray:not(:checked)~.small-label2 textarea { background-color: silver; color: DimGray; pointer-events: none; } -.sheet-textarea-gray:not(:checked)~.sheet-small-label2 { +.charsheet textarea-gray:not(:checked)~.small-label2 { pointer-events: none; } -.sheet-insertmacrocell { +.charsheet .insertmacrocell { display: table-cell; } -.sheet-insertmacrocell .sheet-small-label2 { +.charsheet .insertmacrocell .small-label2 { display: inline; } -.sheet-ability-column select, -.sheet-ability-column select.sheet-select-small, -.sheet-ability-column { +.charsheet .ability-column select, +.charsheet .ability-column select.select-small, +.charsheet .ability-column { max-width: 5em; min-width: 3.75em; width: 4.5em; } -.sheet-exspsu-dropdown select { +.charsheet .exspsu-dropdown select { width: 3.5em; min-width: 3em; max-width: 4em; } -.sheet-section-ability-list .sheet-small-label2 span:not(.sheet-autoexpand) { +.charsheet .section-ability-list .small-label2 span:not(.autoexpand) { font-size: 1rem; } -span.sheet-table-cell.sheet-linked-tablecell.sheet-extra-sect { +.charsheet .nontable-repeating .linked-fields label input { + max-width: inherit; + margin: 0 3px 0 3px; +} + +/* +items labelsmall-label2small-label { + max-width: max-content; + width: 21%; +} +*/ +.charsheet span.table-cell.linked-tablecellextra-sect { text-align: right; } -.sheet-kinetic-sect .sheet-linked-tablecell, -.sheet-kinetic-sect .sheet-linked-fields { +.charsheet .kinetic-sect .linked-tablecell, +.charsheet .kinetic-sect .linked-fields { height: auto; } -.sheet-defense-table .sheet-table-group-head span.sheet-table-header { +.charsheet .defense-table .table-group-head span.table-header { min-width: 3.25em; width: 4em; padding: 0 0.2rem 0 0.2rem; @@ -3603,208 +3691,210 @@ span.sheet-table-cell.sheet-linked-tablecell.sheet-extra-sect { /************************************ TOGGLES **************************************/ /* edit view h2 and h3 arrows*/ -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-h2-section+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-h2-section+.sheet-h2-section+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-npc-hr+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-npc-hr+.sheet-h2-section+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-cheat+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-cheat+.sheet-h2-section+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-cheat+.sheet-h2-section+.sheet-h2-section+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-nontable-name, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-nontable-name+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-nontable-name+.sheet-h2-section+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-nontable-name+.sheet-h2-section+.sheet-h2-section+.sheet-h2-section, -.sheet-h2arrow:not(:checked)+.sheet-showsect+.sheet-nontable-name+.sheet-h2-section+.sheet-h2-section+.sheet-h2-section+.sheet-h2-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-h3-section+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-npc-hr+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-cheat+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-cheat+.sheet-h3-section+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-cheat+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-cheat+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-nontable-name, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-nontable-name+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-nontable-name+.sheet-h3-section+.sheet-h3-section, -.sheet-h3arrow:not(:checked)+.sheet-showsect+.sheet-nontable-name+.sheet-h3-section+.sheet-h3-section+.sheet-h3-section, +.charsheet .h2arrow:not(:checked)+.showsect+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.h2-section+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.h2-section+.h2-section+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.npc-hr+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.npc-hr+.h2-section+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.cheat+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.cheat+.h2-section+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.cheat+.h2-section+.h2-section+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.nontable-name, +.charsheet .h2arrow:not(:checked)+.showsect+.nontable-name+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.nontable-name+.h2-section+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.nontable-name+.h2-section+.h2-section+.h2-section, +.charsheet .h2arrow:not(:checked)+.showsect+.nontable-name+.h2-section+.h2-section+.h2-section+.h2-section, +.charsheet .h3arrow:not(:checked)+.showsect+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.h3-section+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.h3-section+.h3-section+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.h3-section+.h3-section+.h3-section+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.h3-section+.h3-section+.h3-section+.h3-section+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.npc-hr+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.cheat+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.cheat+.h3-section+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.cheat+.h3-section+.h3-section+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.cheat+.h3-section+.h3-section+.h3-section+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.nontable-name, +.charsheet .h3arrow:not(:checked)+.showsect+.nontable-name+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.nontable-name+.h3-section+.h3-section, +.charsheet .h3arrow:not(:checked)+.showsect+.nontable-name+.h3-section+.h3-section+.h3-section, /* header */ -.sheet-ack-button:checked~.sheet-announcements, -/* top of repeating section */ -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-expand, -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-sect, -.sheet-minimize-show:checked~.sheet-expand, -.sheet-minimize-show:checked~.sheet-repeating-fields .sheet-linked-fields .sheet-macro-text-inline, +.charsheet .ack-button:checked~.announcements, +/* top of repeating .section */ +.charsheet .minimize-show:checked~.repeating-fields .expand, +.charsheet .minimize-show:checked~.repeating-fields .sect, +.charsheet .minimize-show:checked~.expand, +.charsheet .minimize-show:checked~.repeating-fields .linked-fields .macro-text-inline, /* repeating rows */ -.sheet-counted:not(:checked)~.sheet-linked-fields .sheet-macro-text-inline, -.sheet-counted:not(:checked)~.sheet-linked-fields .sheet-sect, -.sheet-oldbuff .sheet-counted:not(:checked)~.sheet-linked-fields .sheet-entry-med, -.sheet-minimize-show:checked~.sheet-oldbuff .sheet-linked-fields .sheet-entry-med, -.sheet-repeating-sect-show:not(:checked)~.sheet-repeating-fields .sheet-repeating-hidesect, -.sheet-desc-show:not(:checked)~.sheet-desc, -.sheet-macro-text-show:not(:checked)~.sheet-macro-text, -.sheet-options-show:not(:checked)~.sheet-options, -.sheet-advmacro-text-show:not(:checked)~.sheet-advanced-macros, -.sheet-misc-show:not(:checked)~.sheet-misc, -.sheet-level-show:not(:checked)~.sheet-level, -.sheet-id-show:not(:checked)~.sheet-repeating-id, -.sheet-range-show:not(:checked)~.sheet-range, -.sheet-sp-show:not(:checked)~.sheet-sect-sp, -.sheet-sp-show:checked~.sheet-sect-sp-inverse, -.sheet-nolevel-show-inverse:checked~.sheet-sect.sheet-expand .sheet-nolevel-sect, +.charsheet .counted:not(:checked)~.linked-fields .macro-text-inline, +.charsheet .counted:not(:checked)~.linked-fields .sect, +.charsheet .oldbuff .counted:not(:checked)~.linked-fields .entry-med, +.charsheet .minimize-show:checked~.oldbuff .linked-fields .entry-med, +.charsheet .repeating-sect-show:not(:checked)~.repeating-fields .repeating-hidesect, +.charsheet .desc-show:not(:checked)~.desc, +.charsheet .macro-text-show:not(:checked)~.macro-text, +.charsheet .options-show:not(:checked)~.options, +.charsheet .advmacro-text-show:not(:checked)~.advanced-macros, +.charsheet .misc-show:not(:checked)~.misc, +.charsheet .level-show:not(:checked)~.level, +.charsheet .id-show:not(:checked)~.repeating-id, +.charsheet .range-show:not(:checked)~.range, +.charsheet .sp-show:not(:checked)~.sect-sp, +.charsheet .sp-show:checked~.sect-sp-inverse, +.charsheet .nolevel-show-inverse:checked~.sect.expand .nolevel-sect, /* pc vs npc */ -.sheet-npc-show:checked~.sheet-pc-only, -.sheet-npc-show:checked~span .sheet-pc-only, -.sheet-npc-show:checked~.sheet-pfsheet .sheet-pc-only, -.sheet-npc-show:not(:checked)~.sheet-npc-only, -.sheet-npc-show:not(:checked)~span .sheet-npc-only, -.sheet-npc-show:not(:checked)~.sheet-pfsheet .sheet-npc-only, -/* generic sections */ -.sheet-sect-show:not(:checked)~.sheet-sect, -.sheet-sect2-show:not(:checked)~.sheet-sect2, -.sheet-sect3-show:not(:checked)~.sheet-sect3, -.sheet-sect-show-inverse:checked~.sheet-sect-inverse, -.sheet-sect2-show-inverse:checked~.sheet-sect2-inverse, -.sheet-subsect-show-inverse:checked~div .sheet-sect-inverse, -.sheet-subsect-show:not(:checked)~div .sheet-sect, -.sheet-subsect2-show:not(:checked)~div .sheet-sect2, -.sheet-subsect3-show:not(:checked)~div .sheet-sect3, -.sheet-deletesect-show:not(:checked)+span+.sheet-deletesect, -.sheet-extra-show:not(:checked)~.sheet-extra-sect, -.sheet-extra-show:not(:checked)~div .sheet-extra-sect, -.sheet-extra-show:checked~.sheet-extra-sect-inverse, -.sheet-extra-show:checked~div .sheet-extra-sect-inverse, +.charsheet .npc-show:checked~.pc-only, +.charsheet .npc-show:checked~span .pc-only, +.charsheet .npc-show:checked~.pfsheet .pc-only, +.charsheet .npc-show:not(:checked)~.npc-only, +.charsheet .npc-show:not(:checked)~span .npc-only, +.charsheet .npc-show:not(:checked)~.pfsheet .npc-only, +/* generic .sections */ +.charsheet .sect-show:not(:checked)~.sect, +.charsheet .sect2-show:not(:checked)~.sect2, +.charsheet .sect3-show:not(:checked)~.sect3, +.charsheet .sect-show-inverse:checked~.sect-inverse, +.charsheet .sect2-show-inverse:checked~.sect2-inverse, +.charsheet .subsect-show-inverse:checked~div .sect-inverse, +.charsheet .subsect-show:not(:checked)~div .sect, +.charsheet .subsect2-show:not(:checked)~div .sect2, +.charsheet .subsect3-show:not(:checked)~div .sect3, +.charsheet .deletesect-show:not(:checked)+span+.deletesect, +.charsheet .extra-show:not(:checked)~.extra-sect, +.charsheet .extra-show:not(:checked)~div .extra-sect, +.charsheet .extra-show:checked~.extra-sect-inverse, +.charsheet .extra-show:checked~div .extra-sect-inverse, /* buttons */ -.sheet-progress-show:not(:checked)~.sheet-progress-icon, -.sheet-use-size-show:not(:checked)~.sheet-use-size, -.sheet-use-size-show:checked~.sheet-dont-use-size, -.sheet-use-size-show:not(:checked)~.sheet-repeating-fields .sheet-use-size, -.sheet-use-size-show:not(:checked)~.sheet-repeating-fields .sheet-use-size-only, -.sheet-use-size-show:checked~.sheet-repeating-fields .sheet-size-affects-show:checked~.sheet-dont-use-size, -.sheet-use-size-show:checked~.sheet-repeating-fields .sheet-size-affects-show:not(:checked)~.sheet-use-size, -.sheet-nextitem-show:not(:checked)+.sheet-nextitem, -.sheet-nextitem2-hide:checked+.sheet-nextitem2, -/* logic section */ -.sheet-xor-A-show:not(:checked)~.sheet-xor-B-show:not(:checked)~.sheet-xor-sect, -.sheet-xor-A-show:checked~.sheet-xor-B-show:checked~.sheet-xor-sect, -.sheet-nexor-A-show:checked~.sheet-nexor-B-show:not(:checked)~.sheet-nexor-sect, -.sheet-nexor-A-show:not(:checked)~.sheet-nexor-B-show:checked~.sheet-nexor-sect, -.sheet-or3-show:not(:checked)~.sheet-or3-show:not(:checked)~.sheet-or3-show:not(:checked)~.sheet-or3-sect, -.sheet-or4-show:not(:checked)~.sheet-or4-show:not(:checked)~.sheet-or4-show:not(:checked)~.sheet-or4-show:not(:checked)~.sheet-or4-sect, -.sheet-or-A-show:not(:checked)~.sheet-or-B-show:not(:checked)~.sheet-either-or-sect, -.sheet-or-A-show:not(:checked)~.sheet-or-B-show:not(:checked)~div.sheet-class-table .sheet-either-or-sect, -.sheet-spells-per-day .sheet-or-A-show:not(:checked)~.sheet-or-B-show:not(:checked)~div.sheet-table .sheet-either-or-sect, -.sheet-or-A-show:not(:checked)~.sheet-or-B-show:not(:checked)~.sheet-or-C-show:not(:checked)~.sheet-or-D-show:not(:checked)~.sheet-or-E-show:not(:checked)~.sheet-or5-sect, -.sheet-or-A-show:checked~.sheet-nor-sect, -.sheet-or-B-show:checked~.sheet-nor-sect, -.sheet-or-C-show:checked~.sheet-nor-sect, -.sheet-or-D-show:checked~.sheet-nor-sect, -.sheet-or-E-show:checked~.sheet-nor-sect, -.sheet-not-A-show:checked~.sheet-or-B-show:not(:checked)~.sheet-not-A-or-B-sect, -.sheet-not-A-show:checked~.sheet-or-B-show:not(:checked)~div .sheet-not-A-or-B-sect, -.sheet-not-C-show:checked~.sheet-or-D-show:not(:checked)~.sheet-not-C-or-D-sect, -.sheet-not-C-show:checked~.sheet-or-D-show:not(:checked)~div .sheet-not-C-or-D-sect, -.sheet-sect-either-show-n:not(:checked)~.sheet-sect, +.charsheet .progress-show:not(:checked)~.progress-icon, +.charsheet .use-size-show:not(:checked)~.use-size, +.charsheet .use-size-show:checked~.dont-use-size, +.charsheet .use-size-show:not(:checked)~.repeating-fields .use-size, +.charsheet .use-size-show:not(:checked)~.repeating-fields .use-size-only, +.charsheet .use-size-show:checked~.repeating-fields .size-affects-show:checked~.dont-use-size, +.charsheet .use-size-show:checked~.repeating-fields .size-affects-show:not(:checked)~.use-size, +.charsheet .nextitem-show:not(:checked)+.nextitem, +.charsheet .nextitem2-hide:checked+.nextitem2, +/* logic .section */ +.charsheet .xor-A-show:not(:checked)~.xor-B-show:not(:checked)~.xor-sect, +.charsheet .xor-A-show:checked~.xor-B-show:checked~.xor-sect, +.charsheet .nexor-A-show:checked~.nexor-B-show:not(:checked)~.nexor-sect, +.charsheet .nexor-A-show:not(:checked)~.nexor-B-show:checked~.nexor-sect, +.charsheet .or3-show:not(:checked)~.or3-show:not(:checked)~.or3-show:not(:checked)~.or3-sect, +.charsheet .or4-show:not(:checked)~.or4-show:not(:checked)~.or4-show:not(:checked)~.or4-show:not(:checked)~.or4-sect, +.charsheet .or-A-show:not(:checked)~.or-B-show:not(:checked)~.either-or-sect, +.charsheet .or-A-show:not(:checked)~.or-B-show:not(:checked)~div.class-table .either-or-sect, +.charsheet .spells-per-day .or-A-show:not(:checked)~.or-B-show:not(:checked)~div.table .either-or-sect, +.charsheet .or-A-show:not(:checked)~.or-B-show:not(:checked)~.or-C-show:not(:checked)~.or-D-show:not(:checked)~.or-E-show:not(:checked)~.or5-sect, +.charsheet .or-A-show:checked~.nor-sect, +.charsheet .or-B-show:checked~.nor-sect, +.charsheet .or-C-show:checked~.nor-sect, +.charsheet .or-D-show:checked~.nor-sect, +.charsheet .or-E-show:checked~.nor-sect, +.charsheet .not-A-show:checked~.or-B-show:not(:checked)~.not-A-or-B-sect, +.charsheet .not-A-show:checked~.or-B-show:not(:checked)~div .not-A-or-B-sect, +.charsheet .not-C-show:checked~.or-D-show:not(:checked)~.not-C-or-D-sect, +.charsheet .not-C-show:checked~.or-D-show:not(:checked)~div .not-C-or-D-sect, +.charsheet .sect-either-show-n:not(:checked)~.sect, /* conditions and buffs */ -.sheet-condition-exists:not(:checked)+label, -.sheet-condition-exists:checked~.sheet-panel-name, -.sheet-conditions-show:not(:checked)~.sheet-conditions, -.sheet-buff-exists:not(:checked)+label, -.sheet-buff-exists:checked~.sheet-panel-name, -.sheet-buffs-show:not(:checked)~.sheet-buffs, -/* spells per day section */ -.sheet-spellclass0-show:not(:checked)~.sheet-sect-spellclass0, -.sheet-spellclass1-show:not(:checked)~.sheet-sect-spellclass1, -.sheet-spellclass2-show:not(:checked)~.sheet-sect-spellclass2, -/* other sections */ -.sheet-extra-damage-show:not(:checked)~.sheet-extra-damage, -.sheet-show-spell-cell:not(:checked)~div .sheet-spell-cell, -.sheet-init-notes-show:not(:checked)~.sheet-init-notes, -.sheet-save-notes-show:not(:checked)~.sheet-save-notes, -.sheet-iterations-show:not(:checked)~.sheet-iterative_attack_section, -.sheet-armor-attributes-show:not(:checked)~.sheet-armor-attributes, -.sheet-weapon-attributes-show:not(:checked)~.sheet-weapon-attributes, -.sheet-attack-damage-show:not(:checked)~.sheet-attack-damage, +.charsheet .condition-exists:not(:checked)+label, +.charsheet .condition-exists:checked~.panel-name, +.charsheet .conditions-show:not(:checked)~.conditions, +.charsheet .buff-exists:not(:checked)+label, +.charsheet .buff-exists:checked~.panel-name, +.charsheet .buffs-show:not(:checked)~.buffs, +/* spells per day .section */ +.charsheet .spellclass0-show:not(:checked)~.sect-spellclass0, +.charsheet .spellclass1-show:not(:checked)~.sect-spellclass1, +.charsheet .spellclass2-show:not(:checked)~.sect-spellclass2, +/* other .sections */ +.charsheet .extra-damage-show:not(:checked)~.extra-damage, +.charsheet .show-spell-cell:not(:checked)~div .spell-cell, +.charsheet .init-notes-show:not(:checked)~.init-notes, +.charsheet .save-notes-show:not(:checked)~.save-notes, +.charsheet .iterations-show:not(:checked)~.iterative_attack_section, +.charsheet .armor-attributes-show:not(:checked)~.armor-attributes, +.charsheet .weapon-attributes-show:not(:checked)~.weapon-attributes, +.charsheet .attack-damage-show:not(:checked)~.attack-damage, /* skills */ -.sheet-custom-skill-2-show:not(:checked)~.sheet-custom-skill-3-show:not(:checked)~.sheet-custom-skill-6-show:not(:checked)~.sheet-custom-skill-10-show:not(:checked)~.sheet-custom-skill-2, -.sheet-custom-skill-3-show:not(:checked)~.sheet-custom-skill-6-show:not(:checked)~.sheet-custom-skill-10-show:not(:checked)~.sheet-custom-skill-3, -.sheet-custom-skill-6-show:not(:checked)~.sheet-custom-skill-10-show:not(:checked)~.sheet-custom-skill-6, -.sheet-custom-skill-10-show:not(:checked)~.sheet-custom-skill-10, -.sheet-misc-skill-2-show:not(:checked)~.sheet-misc-skill-3-show:not(:checked)~.sheet-misc-skill-6-show:not(:checked)~.sheet-misc-skill-10-show:not(:checked)~.sheet-misc-skill-2, -.sheet-misc-skill-3-show:not(:checked)~.sheet-misc-skill-6-show:not(:checked)~.sheet-misc-skill-10-show:not(:checked)~.sheet-misc-skill-3, -.sheet-misc-skill-6-show:not(:checked)~.sheet-misc-skill-10-show:not(:checked)~.sheet-misc-skill-6, -.sheet-misc-skill-10-show:not(:checked)~.sheet-misc-skill-10, -/* skills fill-in sections */ -.sheet-custom-skill-1-show:not(:checked)~.sheet-artistry-show:not(:checked)~.sheet-artistry, -.sheet-custom-skill-1-show:not(:checked)~.sheet-craft-show:not(:checked)~.sheet-craft, -.sheet-custom-skill-1-show:not(:checked)~.sheet-misc-show:not(:checked)~.sheet-misc, -.sheet-knowledge-show:not(:checked)~.sheet-knowledge, -.sheet-custom-skill-1-show:not(:checked)~.sheet-lore-show:not(:checked)~.sheet-lore, -.sheet-custom-skill-1-show:not(:checked)~.sheet-perform-show:not(:checked)~.sheet-perform, -.sheet-custom-skill-1-show:not(:checked)~.sheet-profession-show:not(:checked)~.sheet-profession, +.charsheet .custom-skill-2-show:not(:checked)~.custom-skill-3-show:not(:checked)~.custom-skill-6-show:not(:checked)~.custom-skill-10-show:not(:checked)~.custom-skill-2, +.charsheet .custom-skill-3-show:not(:checked)~.custom-skill-6-show:not(:checked)~.custom-skill-10-show:not(:checked)~.custom-skill-3, +.charsheet .custom-skill-6-show:not(:checked)~.custom-skill-10-show:not(:checked)~.custom-skill-6, +.charsheet .custom-skill-10-show:not(:checked)~.custom-skill-10, +.charsheet .misc-skill-2-show:not(:checked)~.misc-skill-3-show:not(:checked)~.misc-skill-6-show:not(:checked)~.misc-skill-10-show:not(:checked)~.misc-skill-2, +.charsheet .misc-skill-3-show:not(:checked)~.misc-skill-6-show:not(:checked)~.misc-skill-10-show:not(:checked)~.misc-skill-3, +.charsheet .misc-skill-6-show:not(:checked)~.misc-skill-10-show:not(:checked)~.misc-skill-6, +.charsheet .misc-skill-10-show:not(:checked)~.misc-skill-10, +/* skills fill-in .sections */ +.charsheet .custom-skill-1-show:not(:checked)~.artistry-show:not(:checked)~.artistry, +.charsheet .custom-skill-1-show:not(:checked)~.craft-show:not(:checked)~.craft, +.charsheet .custom-skill-1-show:not(:checked)~.misc-show:not(:checked)~.misc, +.charsheet .knowledge-show:not(:checked)~.knowledge, +.charsheet .custom-skill-1-show:not(:checked)~.lore-show:not(:checked)~.lore, +.charsheet .custom-skill-1-show:not(:checked)~.perform-show:not(:checked)~.perform, +.charsheet .custom-skill-1-show:not(:checked)~.profession-show:not(:checked)~.profession, /* skill total top row */ -.sheet-skill-totals .sheet-unchained-show:not(:checked)~* .sheet-bg, -.sheet-skill-totals .sheet-bg-show:not(:checked)~* .sheet-bg, +.charsheet .skill-totals .unchained-show:not(:checked)~* .bg, +.charsheet .skill-totals .bg-show:not(:checked)~* .bg, /* unchained off turn off consolidated and bg only tabs and skills */ -.sheet-unchained-show:not(:checked)~.sheet-consolidated, -.sheet-unchained-show:not(:checked)~.sheet-bg-only, -.sheet-unchained-show:not(:checked)~.sheet-skills .sheet-consolidated, -.sheet-unchained-show:not(:checked)~.sheet-skills .sheet-bg-only, +.charsheet .unchained-show:not(:checked)~.consolidated, +.charsheet .unchained-show:not(:checked)~.bg-only, +.charsheet .unchained-show:not(:checked)~.skills .consolidated, +.charsheet .unchained-show:not(:checked)~.skills .bg-only, /* unchained turn off core tab */ -.sheet-unchained-show:checked~.sheet-core-only, +.charsheet .unchained-show:checked~.core-only, /* unchained plus consolidated turn off core tab and skills (adventure, bg, and bg only) */ -.sheet-unchained-show:checked~.sheet-consolidated-show:checked~.sheet-bg-only, -.sheet-unchained-show:checked~.sheet-consolidated-show:checked~.sheet-skills .sheet-adventure, -.sheet-unchained-show:checked~.sheet-consolidated-show:checked~.sheet-skills .sheet-bg, -.sheet-unchained-show:checked~.sheet-consolidated-show:checked~.sheet-skills .sheet-bg-only, +.charsheet .unchained-show:checked~.consolidated-show:checked~.bg-only, +.charsheet .unchained-show:checked~.consolidated-show:checked~.skills .adventure, +.charsheet .unchained-show:checked~.consolidated-show:checked~.skills .bg, +.charsheet .unchained-show:checked~.consolidated-show:checked~.skills .bg-only, /* unchained plus background turn off consolidated tab and skills*/ -.sheet-unchained-show:checked~.sheet-bg-show:checked~.sheet-consolidated, -.sheet-unchained-show:checked~.sheet-bg-show:checked~.sheet-skills .sheet-consolidated, +.charsheet .unchained-show:checked~.bg-show:checked~.consolidated, +.charsheet .unchained-show:checked~.bg-show:checked~.skills .consolidated, /* bg adventure tab turn off bg and bg only skills */ -.sheet-unchained-show:checked~.sheet-bg-show:checked~.sheet-tab1:checked~.sheet-skills .sheet-bg:not(.sheet-adventure), -.sheet-unchained-show:checked~.sheet-bg-show:checked~.sheet-tab1:checked~.sheet-skills .sheet-bg-only, +.charsheet .unchained-show:checked~.bg-show:checked~.tab1:checked~.skills .bg:not(.adventure), +.charsheet .unchained-show:checked~.bg-show:checked~.tab1:checked~.skills .bg-only, /* bg background tab turn off adventure skills */ -.sheet-unchained-show:checked~.sheet-bg-show:checked~.sheet-tab2:checked~.sheet-skills .sheet-adventure:not(.sheet-bg) { +.charsheet .unchained-show:checked~.bg-show:checked~.tab2:checked~.skills .adventure:not(.bg), +/* hide show more option*/ +.charsheet .readonly-show:not(:checked)~.main .selectedlabel-check:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .selectedlabel-check+b:not(.show-readonly) { display: none; } -.sheet-condition-exists.sheet-sect-either-show-n:checked~label { +.charsheet .condition-exists.sect-either-show-n:checked~label { display: inline !important; } /* inventory subsections */ -.sheet-equipment-onetime-show:not(:checked)~.sheet-repeating-fields .sheet-nontable-repeating .sheet-items-toggle { +.charsheet .equipment-onetime-show:not(:checked)~.repeating-fields .nontable-repeating .items-toggle { display: none; } /* -.sheet-equipmentnav ~ .sheet-tabinput.sheet-tab99:not(:checked) ~ .sheet-tabinput.sheet-tab9:not(:checked) ~ .sheet-tabinput.sheet-tab10:not(:checked) ~ .sheet-tabinput.sheet-tab11:not(:checked) ~ .sheet-equipment-onetime-show:not(:checked) ~ .sheet-repeating-fields .sheet-nontable-repeating .sheet-items-toggle-except-on-all - +equipmentnav ~ tabinputtab99:not(:checked) ~ tabinputtab9:not(:checked) ~ tabinputtab10:not(:checked) ~ tabinputtab11:not(:checked) ~ equipment-onetime-show:not(:checked) ~ .repeating-fields .nontable-repeating items-toggle-except-on-all */ -.sheet-equipmentnav~.sheet-tab99:not(:checked)~.sheet-tab9:not(:checked)~.sheet-tab10:not(:checked)~.sheet-tab11:not(:checked)~.sheet-equipment-onetime-show:not(:checked)~.sheet-repeating-fields .sheet-nontable-repeating .sheet-items-toggle-except-on-all { +.charsheet .equipmentnav~.tab99:not(:checked)~.tab9:not(:checked)~.tab10:not(:checked)~.tab11:not(:checked)~.equipment-onetime-show:not(:checked)~.repeating-fields .nontable-repeating .items-toggle-except-on-all { display: none; } /* skill columns */ -.sheet-skill-conds-header { +.charsheet .skill-conds-header { width: 5em; font-stretch: extra-condensed; } -input[type="text"].sheet-skill-conds { +.charsheet input[type="text"].skill-conds { width: 4.5em; text-align: center; } -.sheet-skilllist .sheet-skill-onetime-show:not(:checked)~.sheet-skills .sheet-table-row .sheet-table-header:nth-child(8), -.sheet-skilllist .sheet-skill-onetime-show:not(:checked)~.sheet-skills .sheet-table-row .sheet-table-header:nth-child(9), -.sheet-skilllist .sheet-skill-onetime-show:not(:checked)~.sheet-skills .sheet-table-row .sheet-table-header:nth-child(10), -.sheet-skilllist .sheet-skill-onetime-show:not(:checked)~.sheet-skills .sheet-table-row+.sheet-table-cell+.sheet-table-cell, -.sheet-skilllist .sheet-skill-onetime-show:not(:checked)~.sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(8), -.sheet-skilllist .sheet-skill-onetime-show:not(:checked)~.sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(9), -.sheet-skilllist .sheet-skill-onetime-show:not(:checked)~.sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(10) { +.charsheet .skilllist .skill-onetime-show:not(:checked)~.skills .table-row .table-header:nth-child(8), +.charsheet .skilllist .skill-onetime-show:not(:checked)~.skills .table-row .table-header:nth-child(9), +.charsheet .skilllist .skill-onetime-show:not(:checked)~.skills .table-row .table-header:nth-child(10), +.charsheet .skilllist .skill-onetime-show:not(:checked)~.skills .table-row+.table-cell+.table-cell, +.charsheet .skilllist .skill-onetime-show:not(:checked)~.skills .table-row .table-cell:nth-of-type(8), +.charsheet .skilllist .skill-onetime-show:not(:checked)~.skills .table-row .table-cell:nth-of-type(9), +.charsheet .skilllist .skill-onetime-show:not(:checked)~.skills .table-row .table-cell:nth-of-type(10) { display: none; } @@ -3883,12 +3973,12 @@ input[type="text"].sheet-skill-conds { width: 100%; } -.sheet-rolltemplate-pf_generic .sheet-roll-table.sheet-rounded, -.sheet-rolltemplate-pf_ability .sheet-roll-table.sheet-rounded, -.sheet-rolltemplate-pf_defense .sheet-roll-table.sheet-rounded, -.sheet-rolltemplate-pf_attack .sheet-roll-table.sheet-rounded, -.sheet-rolltemplate-pf_spell .sheet-roll-table.sheet-rounded, -.sheet-rolltemplate-pf_block .sheet-roll-table.sheet-rounded { +.sheet-rolltemplate-pf_generic .sheet-roll-tablerounded, +.sheet-rolltemplate-pf_ability .sheet-roll-tablerounded, +.sheet-rolltemplate-pf_defense .sheet-roll-tablerounded, +.sheet-rolltemplate-pf_attack .sheet-roll-tablerounded, +.sheet-rolltemplate-pf_spell .sheet-roll-tablerounded, +.sheet-rolltemplate-pf_block .sheet-roll-tablerounded { border-radius: 0.5rem; } @@ -3920,12 +4010,12 @@ input[type="text"].sheet-skill-conds { min-width: 3rem; } -.sheet-rolltemplate-pf_generic img, -.sheet-rolltemplate-pf_ability img, -.sheet-rolltemplate-pf_defense img, -.sheet-rolltemplate-pf_attack img, -.sheet-rolltemplate-pf_spell img, -.sheet-rolltemplate-pf_block img { +.sheet-rolltemplate-pf_generic .sheet-img, +.sheet-rolltemplate-pf_ability .sheet-img, +.sheet-rolltemplate-pf_defense .sheet-img, +.sheet-rolltemplate-pf_attack .sheet-img, +.sheet-rolltemplate-pf_spell .sheet-img, +.sheet-rolltemplate-pf_block .sheet-img { vertical-align: middle; } @@ -4003,12 +4093,17 @@ input[type="text"].sheet-skill-conds { width: 65%; } -.sheet-rolltemplate-pf_attack .sheet-roll-accessible>label.sheet-dmg span:first-child { - display: flex; +.sheet-rolltemplate-pf_attack .sheet-roll-accessible>label.sheet-dmg>span:first-child, +.sheet-rolltemplate-pf_attack .sheet-roll-accessible>label.sheet-dmg> :not(span:last-child) { + display: inline-flex; flex-wrap: wrap; flex-direction: row; } +.sheet-rolltemplate-pf_attack .sheet-roll-accessible>label.sheet-dmg>span:first-child { + margin-right: 3px; +} + .sheet-rolltemplate-pf_generic .sheet-roll-cell:first-child, .sheet-rolltemplate-pf_ability .sheet-roll-cell:first-child, .sheet-rolltemplate-pf_defense .sheet-roll-cell:first-child, @@ -4042,17 +4137,17 @@ input[type="text"].sheet-skill-conds { line-height: .5em; } -.sheet-rolltemplate-pf_spell .sheet-pfctracking span.sheet-pictos a strong:hover, -.sheet-rolltemplate-pf_ability .sheet-pfctracking span.sheet-pictos a strong:hover, -.sheet-rolltemplate-pf_attack .sheet-pfctracking span.sheet-pictos a strong:hover, -.sheet-rolltemplate-pf_block .sheet-pfctracking span.sheet-pictos a strong:hover { +.sheet-rolltemplate-pf_spell .sheet-pfctracking span.sheet-pictos a .sheet-strong:hover, +.sheet-rolltemplate-pf_ability .sheet-pfctracking span.sheet-pictos a .sheet-strong:hover, +.sheet-rolltemplate-pf_attack .sheet-pfctracking span.sheet-pictos a .sheet-strong:hover, +.sheet-rolltemplate-pf_block .sheet-pfctracking span.sheet-pictos a .sheet-strong:hover { color: red; } -.sheet-rolltemplate-pf_spell .sheet-pfctracking span.sheet-pictos a strong, -.sheet-rolltemplate-pf_ability .sheet-pfctracking span.sheet-pictos a strong, -.sheet-rolltemplate-pf_attack .sheet-pfctracking span.sheet-pictos a strong, -.sheet-rolltemplate-pf_block .sheet-pfctracking span.sheet-pictos a strong { +.sheet-rolltemplate-pf_spell .sheet-pfctracking span.sheet-pictos a .sheet-strong, +.sheet-rolltemplate-pf_ability .sheet-pfctracking span.sheet-pictos a .sheet-strong, +.sheet-rolltemplate-pf_attack .sheet-pfctracking span.sheet-pictos a .sheet-strong, +.sheet-rolltemplate-pf_block .sheet-pfctracking span.sheet-pictos a .sheet-strong { font-size: .85em; vertical-align: bottom; font-weight: normal; @@ -4069,8 +4164,8 @@ input[type="text"].sheet-skill-conds { .sheet-rolltemplate-pf_attack .sheet-roll-groupc .sheet-roll-row .sheet-roll-cell:last-child, .sheet-rolltemplate-pf_spell .sheet-roll-groupc .sheet-roll-row .sheet-roll-cell:last-child { text-align: right; - padding: 0.1rem 0.1rem 0.1rem .65rem; - min-width: 4em; + padding: 0.1rem 0.1rem 0.1rem 0; + min-width: 5.65rem; position: relative; z-index: 1; } @@ -4223,12 +4318,12 @@ input[type="text"].sheet-skill-conds { .sheet-rolltemplate-pf_attack .sheet-roll-iter-space, .sheet-rolltemplate-pf_spell .sheet-roll-iter-space { - height: .75em; + height: .25rem; } .sheet-rolltemplate-pf_attack .sheet-roll-accessible>label.sheet-atk-i, .sheet-rolltemplate-pf_spell .sheet-roll-accessible>label.sheet-atk-i { - margin-top: .75em; + margin-top: .25rem; } .sheet-rolltemplate-pf_attack .sheet-roll-groupi, @@ -4301,7 +4396,7 @@ input[type="text"].sheet-skill-conds { .sheet-rolltemplate-pf_generic .sheet-roll-accessible>label:nth-child(odd), .sheet-rolltemplate-pf_ability .sheet-roll-accessible>label:nth-child(odd), .sheet-rolltemplate-pf_defense .sheet-roll-accessible>label:nth-child(odd), -.sheet-rolltemplate-pf_attack .sheet-roll-accessible>label:not(.sheet-atksbkg):nth-child(odd), +.sheet-rolltemplate-pf_attack .sheet-roll-accessible>label:not(.atksbkg):nth-child(odd), .sheet-rolltemplate-pf_spell .sheet-roll-accessible>label:nth-child(odd), .sheet-rolltemplate-pf_block .sheet-roll-accessible>label:nth-child(odd) { background-color: WhiteSmoke; @@ -4784,6 +4879,12 @@ input[type="text"].sheet-skill-conds { color: transparent; } +.sheet-rolltemplate-pf_attack span.sheet-vs, +.sheet-rolltemplate-pf_attack .sheet-roll-accessible>label span.sheet-vs { + font-size: 1.1rem; + font-weight: bold; +} + /************* inline roll *******/ /* first line not used so put dummy class here, something really odd going on*/ @@ -4808,8 +4909,8 @@ input[type="text"].sheet-skill-conds { .sheet-rolltemplate-pf_spell :not(.sheet-roll-description)>.sheet-roll-cell:first-child .inlinerollresult, .sheet-rolltemplate-pf_attack :not(.sheet-roll-row)>.sheet-roll-cell:first-child .inlinerollresult, .sheet-rolltemplate-pf_attack .sheet-roll-cell.sheet-atk:first-child .inlinerollresult, -.sheet-rolltemplate-pf_attack label.sheet-atk span.sheet-atk:first-child>.inlinerollresult, -.sheet-rolltemplate-pf_spell label strong+strong+.inlinerollresult { +.sheet-rolltemplate-pf_attack>div.sheet-roll-accessible>label.sheet-atk span.sheet-atk:first-child>.inlinerollresult, +.sheet-rolltemplate-pf_spell>div.sheet-roll-accessible>label>span.inlinerollresult { color: black; background-color: transparent; border: none; @@ -4857,1117 +4958,6 @@ input[type="text"].sheet-skill-conds { background-color: #4A57ED; } -/****************************************************************************************************************** -**************************************************************************************************************** -****************************************************************************************************************/ - -.sheet-feats .sheet-table-header { - white-space: nowrap; -} - -.sheet-extra-damage-section .sheet-table-cell { - padding-right: .5em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section:not(.sheet-section-npc)>.sheet-h2-section:not(.sheet-wide-readonly).sheet-extra-damage-section { - width: 100%; -} - -/* 3way */ -/* readonly / edit mode button is reverse unchecked looks like checked */ -/* button */ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skill-options .sheet-config-table.sheet-options { - border: none; -} - -/* draw border have to put + here just to override specificity of arrow toggles above. don't want to use important here or all display below will have to use important. */ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2arrow:not(:checked)~.sheet-h2-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2arrow:not(:checked)~.sheet-h2-section+.sheet-h2-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2arrow:not(:checked)~.sheet-h2-section+.sheet-h2-section+.sheet-h2-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h3-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h3arrow:not(:checked)~.sheet-h3-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h3arrow:not(:checked)~.sheet-h3-section+.sheet-h3-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h3arrow:not(:checked)~.sheet-h3-section+.sheet-h3-section+.sheet-h3-section { - max-width: calc(100% - .25em); - /* display: inline-block; */ - display: block; - margin: .125em; - clear: none; - float: left; - height: auto; - overflow: hidden; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section>.sheet-h2-section .sheet-h3-section:not(.sheet-wide-readonly).sheet-section-oldslas { - width: calc(100% - .25em); - display: block; - margin: .125em; - clear: none; - float: left; - height: auto; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2-section:not(.sheet-noborder-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2arrow:not(:checked)~.sheet-h2-section:not(.sheet-noborder-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2arrow:not(:checked)~.sheet-h2-section:not(.sheet-noborder-readonly)+.sheet-h2-section:not(.sheet-noborder-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2arrow:not(:checked)~.sheet-h2-section:not(.sheet-noborder-readonly)+.sheet-h2-section:not(.sheet-noborder-readonly)+.sheet-h2-section:not(.sheet-noborder-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h3-section:not(.sheet-noborder-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h3arrow:not(:checked)~.sheet-h3-section:not(.sheet-noborder-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h3arrow:not(:checked)~.sheet-h3-section:not(.sheet-noborder-readonly)+.sheet-h3-section:not(.sheet-noborder-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h3arrow:not(:checked)~.sheet-h3-section:not(.sheet-noborder-readonly)+.sheet-h3-section:not(.sheet-noborder-readonly)+.sheet-h3-section:not(.sheet-noborder-readonly) { - border: 0.1rem solid black; - border-radius: 0.5rem; -} - -/* default turn off sections */ - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-notes { - min-height: 1.5em !important; - height: auto; -} - -/* readonly/compact mode toggles */ -.sheet-readonly-show:checked~.sheet-main .sheet-show-readonly.sheet-inverse-readonly, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-hide-readonly, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-cheat:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-showarrow.sheet-h2arrow:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-showarrow.sheet-h3arrow:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-clickheader.sheet-showsect:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-table-name:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-nontable-name:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-secondary-table-name:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-divider:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-divider-lg:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-desc:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-desc-show:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-desc-showlabel:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-macro-text-show:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-macro-text-showlabel:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-id-show:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-id-showlabel:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-macro-text:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-repeating-id:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-armor-attributes:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-armor-attributes-showlabel:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-weapon-attributes:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-repeating-fields .sheet-weapon-attributes-showlabel:not(.sheet-show-readonly) { - display: none !important; -} - -.sheet-hide-unused-section-readonly:checked+.sheet-showarrow.sheet-h2arrow+.sheet-showsect+.sheet-h2-section, -.sheet-hide-unused-section-readonly:checked+.sheet-showarrow.sheet-h3arrow+.sheet-showsect+.sheet-h3-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section h1 { - display: none; -} - -/*widths */ - -.sheet-col { - width: 100%; - display: block; -} - -.sheet-row { - width: 100%; - display: block; - height: auto; -} - - -.sheet-expand-arrow { - position: absolute; -} - -.sheet-expand-arrow+span { - position: absolute; - left: .25em; -} - -.sheet-hasexpandrows .sheet-expand1, -.sheet-hasexpandrows .sheet-expand1+span { - top: 4.25em; -} - -.sheet-hasexpandrows .sheet-expand2, -.sheet-hasexpandrows .sheet-expand2+span { - top: 6.25em; -} - -.sheet-hasexpandrows .sheet-expand3, -.sheet-hasexpandrows .sheet-expand3+span { - top: 8.25em; -} - -.sheet-class-table.sheet-hasexpandrows .sheet-expand1, -.sheet-class-table.sheet-hasexpandrows .sheet-expand1+span { - top: 5em; -} - -.sheet-class-table.sheet-hasexpandrows .sheet-expand2, -.sheet-class-table.sheet-hasexpandrows .sheet-expand2+span { - top: 7em; -} - -.sheet-class-table.sheet-hasexpandrows .sheet-expand3, -.sheet-class-table.sheet-hasexpandrows .sheet-expand3+span { - top: 9em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-class-table.sheet-hasexpandrows .sheet-expand1, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-class-table.sheet-hasexpandrows .sheet-expand1+span { - top: 5.25em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-class-table.sheet-hasexpandrows .sheet-expand2, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-class-table.sheet-hasexpandrows .sheet-expand2+span { - top: 7.25em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-class-table.sheet-hasexpandrows .sheet-expand3, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-class-table.sheet-hasexpandrows .sheet-expand3+span { - top: 9.25em; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1, -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1+span { - top: 5.5em; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2, -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2+span { - top: 7.75em; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2, -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2+span { - top: 9.75em; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2:not(:checked)~.sheet-expand3, -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2:not(:checked)~.sheet-expand3+span { - top: 10em; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2:checked~.sheet-expand3, -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2:checked~.sheet-expand3+span, -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2:not(:checked)~.sheet-expand3, -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2:not(:checked)~.sheet-expand3+span { - top: 12em; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2:checked~.sheet-expand3, -.sheet-readonly-show:checked~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2:checked~.sheet-expand3+span { - top: 14.25em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1+span { - top: 2.5em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2+span { - top: 4.75em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2+span { - top: 7em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2:not(:checked)~.sheet-expand3, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2:not(:checked)~.sheet-expand3+span { - top: 7em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2:checked~.sheet-expand3, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:not(:checked)~.sheet-expand2:checked~.sheet-expand3+span, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2:not(:checked)~.sheet-expand3, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2:not(:checked)~.sheet-expand3+span { - top: 9.25em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2:checked~.sheet-expand3, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-attack-grid.sheet-hasexpandrows .sheet-expand1:checked~.sheet-expand2:checked~.sheet-expand3+span { - top: 11.5em; -} - -/* repeating sections take up half on "all" view -also if multiple repeating sects inside h2 they are 100% wide and only h2 is narrow. -*/ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section .sheet-half-readonly, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section .sheet-tab99:checked~.sheet-section>.sheet-col, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section:not(.sheet-section-npc)>.sheet-h2-section:not(.sheet-wide-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section>.sheet-h2-section .sheet-h3-section:not(.sheet-wide-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section:not(.sheet-section-npc)>.sheet-h2-section.sheet-repeating-sect:not(.sheet-wide-readonly) { - margin: 0.2rem; - width: calc(50% - 4px); -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-npc>.sheet-h2-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-npc>.sheet-h2-section .sheet-repeating-sect, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section>.sheet-h2-section.sheet-wide-readonly, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section>.sheet-h2-section.sheet-repeating-sect, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section .sheet-col .sheet-h2-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-col .sheet-h2-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section>.sheet-h2-section.sheet-wide-readonly, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-h3-section.sheet-wide-readonly { - margin: 0.2rem; - width: calc(100% - 4px); - float: left; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-col { - /* display:inline-block; */ - display: block; - float: left; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-col.sheet-equipment { - display: flex; - float: none; - width: 100% !important; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-flex-row { - display: flex !important; - flex-flow: row nowrap; - align-items: stretch !important; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-flex-col { - display: flex !important; - flex-flow: column nowrap; - align-items: stretch !important; -} - -.sheet-h2-section.sheet-core-details { - width: calc(100% - 4px); - height: auto; - display: block; - clear: both; - margin: 0.4rem 0.2rem 0.2rem 0.2rem; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section .sheet-col .sheet-h2-section.sheet-ability-scores, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-col .sheet-h2-section.sheet-ability-scores { - margin: 0.2rem; - width: calc(50% - 4px); - float: left; - min-height: 16.7em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section .sheet-col .sheet-h2-section.sheet-half-readonly, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-col .sheet-h2-section.sheet-half-readonly { - margin: 0.2rem; - width: calc(50% - 4px); -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section .sheet-col .sheet-h2-section.sheet-class-grid, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section .sheet-col .sheet-h2-section.sheet-experience, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-col .sheet-h2-section.sheet-class-grid, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-col .sheet-h2-section.sheet-experience { - margin: 0.2rem; - width: calc(50% - 4px); -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2-section.sheet-ability-scores { - /* width: 44%;*/ - min-width: 15em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-h2-section.sheet-class-grid { - /* width: 55%;*/ - min-width: 15em; -} - -.sheet-creature-race-header { - height: 4.2em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-class-grid .sheet-creature-race-header { - height: 1.25em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-h2-section.sheet-experience { - min-width: 19em; - margin: 0.2rem; - /* width: calc(50% - 4px);*/ - display: inline-block; - min-height: 6.45em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-h2-section.sheet-speeds { - min-width: 25em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-core .sheet-row.sheet-row2 { - width: 100%; - display: block; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-core .sheet-row.sheet-row2 { - width: 70%; - /* display:inline-block; */ - display: block; - float: left; - margin-right: .125em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main~.sheet-section-core .sheet-h2-section.sheet-hit-points, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-core .sheet-h2-section.sheet-hit-points { - max-width: calc(50% - 4px); - width: auto; - flex-grow: 2; -} - -/* -.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-tab99:checked ~ .sheet-section-core .sheet-h2-section.sheet-hit-points { - max-width:calc(40% - 4px); - width:auto; -} -*/ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-wounds-show:not(:checked)~.sheet-h2-section.sheet-hit-points { - margin: 0.2rem; -} - -.sheet-wound-threshold .sheet-table-row { - float: right; - clear: right; - white-space: nowrap; -} - -.sheet-wound-threshold .sheet-table-cell { - text-align: left; - padding-left: .5em; -} - -.sheet-wound-threshold .sheet-table-cell label { - margin-right: .5em; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-section-core .sheet-h2-section.sheet-wound-threshold { - width: auto; - flex-grow: 1; -} - -/* -.sheet-h2-section.sheet-wound-threshold { - min-width:11.5em; - width:auto; - display:inline-block; -} -.sheet-readonly-show:checked ~ .sheet-main .sheet-section-core .sheet-h2-section.sheet-wound-threshold { - width:17%; -} -.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-tab99:not(:checked ) ~ .sheet-section-core .sheet-h2-section.sheet-wound-threshold { - width: 24%; - display:inline-block; - min-width:12em; -} -*/ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-h2-section.sheet-initiative, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-wounds-show:checked~.sheet-h2-section.sheet-initiative, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-wounds-show:not(:checked)~.sheet-h2-section.sheet-initiative { - max-width: calc(50% - 4px); - margin: 0.2rem; - width: auto; - flex-grow: 2; - min-width: 14em; -} - -/*added this because the contents were pushing out of the parent element in non-edit view */ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-initiative .sheet-table span.sheet-table-cell { - display: inline-block; - vertical-align: bottom; - padding: 0.4rem; -} - -.sheet-h2-section.sheet-speeds { - min-width: 30em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-h2-section.sheet-speeds { - margin: 0.2rem; - width: calc(100% - 4px); - display: block; -} - -/* defense page */ - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section>.sheet-h2-section.sheet-saves, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-h2-section.sheet-saves, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-defenses .sheet-h2-section.sheet-saves { - min-width: 18em; - /* display: inline-block; */ - display: block; - margin: 0.2rem 0.2rem 0 0; - float: right; - width: calc(30% - 4px); - min-height: 17em; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-saves-notes-table .sheet-table-cell:first-child { - width: 25%; - text-align: left; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-saves-notes-table .sheet-table-cell { - display: block; - width: 100%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section .sheet-saves-notes-table .sheet-table-cell textarea { - min-height: 4em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-h2-section.sheet-defense-grid { - min-width: 30em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-h2-section.sheet-defense-grid { - width: 69%; - min-height: 19.3em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-defenses .sheet-h2-section.sheet-defense-grid { - margin: 0.2rem; - width: calc(50% - 4px); -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-h2-section.sheet-attack-grid { - /*margin: 0.2rem; - width: calc(50% - 4px);*/ - min-width: 24em; - min-height: 13em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-linked-tablecell-short { - width: 4em; - max-width: 4em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-linked-tablecell-short select.sheet-linked-cellfield { - width: 100%; - max-width: 100%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section>.sheet-h2-section.sheet-spellcasting-classes.sheet-wide-readonly { - margin: 0.2rem 0 0.2rem 0.4rem; - width: 100%; - float: left; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section .sheet-h3-section.sheet-domains.sheet-wide-readonly { - padding-bottom: 0.5em; - margin: 0; - min-width: calc(100% - 1px); -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-h2-section.sheet-advanced-macros { - /*margin: 0.2rem; - width: calc(100% - 4px);*/ - border: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-equipment .sheet-col.sheet-col1 .sheet-table { - margin-right: 0; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-section-equipment .sheet-h2-section.sheet-current-loads { - flex-flow: row nowrap; - justify-content: space-between; -} - -/* block not table because of wrap */ -.sheet-readonly-show:checked~.sheet-main .sheet-section-equipment .sheet-h2-section.sheet-current-loads .sheet-table, -.sheet-readonly-show:checked~.sheet-main .sheet-section-equipment .sheet-h2-section.sheet-loads-and-lift .sheet-table, -.sheet-readonly-show:checked~.sheet-main .sheet-section-equipment .sheet-h2-section.sheet-currency .sheet-table { - display: inline-block; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-section-equipment .sheet-h2-section.sheet-current-loads .sheet-load .sheet-table-cell { - line-height: 3em; -} - -.sheet-carried-totals, -.sheet-load, -.sheet-currency, -.sheet-lift-modifiers, -.sheet-lift { - min-width: 16em; -} - -.sheet-carried-totals, -.sheet-load { - width: 50%; -} - -.sheet-lift-modifiers, -.sheet-lift { - width: 33.3%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-equipment .sheet-h2-section.sheet-other-items { - width: 100%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-equipment .sheet-h2-section.sheet-other-items { - width: 100%; -} - -/* inventory page switch from rows to columns */ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-equipment .sheet-h2-section.sheet-currency, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-equipment .sheet-h2-section.sheet-current-loads, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-equipment .sheet-h2-section.sheet-loads-and-lift { - display: flex; - flex-flow: column; -} - -/* inventory page only */ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-equipment .sheet-col.sheet-col1 .sheet-h2-section.sheet-currency, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-equipment .sheet-col.sheet-col1 .sheet-h2-section.sheet-current-loads { - width: calc(50% - 4px); - float: left; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-equipment .sheet-loads-and-lift { - width: calc(50% - 4px); - float: right; -} - -/* inventory all page */ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-col.sheet-col1 .sheet-h2-section.sheet-currency, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-col.sheet-col1 .sheet-h2-section.sheet-current-loads, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-col.sheet-col1 .sheet-h2-section.sheet-loads-and-lift { - width: 100%; -} - -/* col 2 worn items */ -.sheet-worn-items { - display: flex; - flex-flow: row nowrap; - justify-content: space-between; - max-width: 100%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-worn-items { - flex-flow: column; - align-items: stretch; -} - -.sheet-worn-items .sheet-table { - display: inline-block; - width: 49%; - flex-basis: 50%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-equipment .sheet-col.sheet-col2 { - width: 100%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-col.sheet-col1 { - margin: 0.2rem 0.2rem 0.2rem -0.2rem; - width: 40%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-col.sheet-col2 { - margin: 0.2rem 0 0.2rem 0; - width: calc(60% - 4px); - float: right; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-col.sheet-col2 .sheet-worn-items .sheet-table { - width: 100%; - display: table; - flex-basis: 100%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-col.sheet-col2.sheet-worn-items { - display: block; - width: 100%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-col.sheet-col2.sheet-worn-items .sheet-table { - display: inline-block; - width: calc(50% - 2px); -} - -/* in case flex not supported: */ -.sheet-h2-section.sheet-worn-items .sheet-table:first-child { - margin-right: .125em; -} - -.sheet-h2-section.sheet-worn-items .sheet-table:last-child { - float: right; -} - -/* read only any page */ -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-equipment .sheet-h2-section.sheet-current-loads .sheet-table, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-equipment .sheet-h2-section.sheet-loads-and-lift .sheet-table, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-equipment .sheet-h2-section.sheet-currency .sheet-table { - width: 100%; -} - -/* display xp at bottom of page in all pages mode */ - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-equipment .sheet-experience { - display: none; -} - -/******** spells ********/ - -.sheet-spellclass-spellnotes .sheet-table-header { - white-space: nowrap; -} - -.sheet-spellpoints .sheet-table-header { - white-space: normal; -} - -.sheet-spellclass-spellnotes .sheet-notes-cell { - width: 33%; -} - -.sheet-h3-section.sheet-spellclass-level, -.sheet-h3-section.sheet-spellclass-concentration { - width: 69.5%; - float: left; -} - -.sheet-h3-section.sheet-spellclass-ranges { - display: inline-table; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-section-spells .sheet-h3-section.sheet-spellclass-ranges { - max-width: 29.75%; - vertical-align: top; - float: right; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-section-spells .sheet-h3-section.sheet-spellclass-roll-adj { - max-width: 29.75%; - float: right; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-section-spells .sheet-spellclass-ranges .sheet-table-header { - height: 3.05rem; - /* exactly matches 2 rows from sheet-spellclass-level table.*/ -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-col.sheet-col1 .sheet-table .sheet-divider, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-col.sheet-col1 .sheet-table .sheet-divider-lg { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-spells-per-day .sheet-table-row .sheet-table-header:nth-child(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-spells-per-day .sheet-table-row .sheet-table-cell:nth-child(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-spells-per-day .sheet-table-row .sheet-divider:nth-child(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-spells-per-day .sheet-table-row .sheet-table-header:nth-child(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-spells-per-day .sheet-table-row .sheet-table-cell:nth-child(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-spells-per-day .sheet-table-row .sheet-divider:nth-child(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-spells-per-day .sheet-table-row .sheet-table-header:nth-child(10), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-spells-per-day .sheet-table-row .sheet-table-cell:nth-child(10), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-spells-per-day .sheet-table-row .sheet-divider:nth-child(10) { - display: none; -} - -.sheet-readonly-show:checked~.sheet-main .sheet-section-spells .sheet-col.sheet-col1, -.sheet-readonly-show:checked~.sheet-main .sheet-section-spells .sheet-col.sheet-col2 { - width: 100%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-col.sheet-col1 { - margin: 0.2rem 0.2rem 0.2rem -0.2rem; - width: 50%; - float: left; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-col.sheet-col1:last-child { - margin: 0; - width: calc(50% - .4rem); -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-col.sheet-col2 { - margin: 0.2rem; - width: calc(50% - 4px); - float: right; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-col.sheet-col1 .sheet-h2-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-col.sheet-col2 .sheet-h2-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-col.sheet-col1 .sheet-h3-section, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-spells .sheet-col.sheet-col2 .sheet-h3-section { - width: 100%; - display: block; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-skills .sheet-skilllist { - width: 100%; -} - -/* -.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-tab99:checked ~ .sheet-section-skills .sheet-skilllist { - margin: 0.2rem; - width: calc(50% - 4px); -}*/ - -/**************** tabs expand */ - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-skills .sheet-skillsnav~.sheet-tab { - width: 28%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-skills .sheet-skillsnav~.sheet-tabinput { - width: 28%; - margin-right: -28%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-h2-section.sheet-skill-totals, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-h2-section.sheet-skill-notes, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-skills .sheet-h2-section.sheet-skill-totals, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-skills .sheet-h2-section.sheet-skill-notes { - float: left; - width: calc(40% - 4px); -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-h2-section.sheet-skill-options, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-skills .sheet-h2-section.sheet-skill-options { - float: right; - width: calc(60% - 4px); -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-spells .sheet-spellclassnav~.sheet-tab:not(.sheet-tab99) { - width: 25%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~.sheet-section-spells .sheet-spellclassnav~.sheet-tabinput:not(.sheet-tab99) { - width: 25%; - margin-right: -25%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~div .sheet-tab.sheet-tab99 { - width: 10%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:checked~div .sheet-tabinput.sheet-tab99 { - width: 10%; - margin-right: -10%; -} - -/* hide table columns */ - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-header:nth-child(4), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-cell:nth-child(4), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-header:nth-child(5), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-cell:nth-child(5), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-header:nth-child(6), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-cell:nth-child(6), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-header:nth-child(7), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-cell:nth-child(7), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-header:nth-child(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-table-cell:nth-child(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-divider, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-ability-scores .sheet-divider-lg { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-class-grid .sheet-table-header:nth-child(6), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-class-grid .sheet-table-cell:nth-child(6), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-class-grid .sheet-table-header:nth-child(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-class-grid .sheet-table-cell:nth-child(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-class-grid .sheet-table-header:nth-child(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-class-grid .sheet-table-cell:nth-child(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-class-grid .sheet-table-header:nth-child(10), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-core .sheet-class-grid .sheet-table-cell:nth-child(10) { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-header:nth-child(3), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-cell:nth-of-type(3), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-header:nth-child(6), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-cell:nth-of-type(6), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-header:nth-child(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-cell:nth-of-type(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-header:nth-child(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-cell:nth-of-type(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-header:nth-child(n+13), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-grid .sheet-defense-table .sheet-table-cell:nth-of-type(n+13) { - display: none; -} - -.sheet-extra-saves-show:not(:checked)~.sheet-saves-table .sheet-table-group-head :nth-child(8), -.sheet-extra-saves-show:not(:checked)~.sheet-saves-table .sheet-table-group-head :nth-child(9), -.sheet-extra-saves-show:not(:checked)~.sheet-saves-table .sheet-table-group-head :nth-child(12), -.sheet-extra-saves-show:not(:checked)~.sheet-saves-table .sheet-table-group-head :nth-child(13), -.sheet-extra-saves-show:not(:checked)~.sheet-saves-table .sheet-table-row :nth-child(8), -.sheet-extra-saves-show:not(:checked)~.sheet-saves-table .sheet-table-row :nth-child(9), -.sheet-extra-saves-show:not(:checked)~.sheet-saves-table .sheet-table-row :nth-child(12), -.sheet-extra-saves-show:not(:checked)~.sheet-saves-table .sheet-table-row :nth-child(13) { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-group-head :nth-child(4), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-group-head :nth-child(7), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-group-head :nth-child(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-group-head :nth-child(n+12), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-row :nth-child(4), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-row :nth-child(7), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-row :nth-child(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-row :nth-child(n+12) { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-divider, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-tab99:not(:checked)~.sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-divider-lg { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-defense-notes .sheet-notes { - height: 5em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-row .sheet-divider, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-group-head .sheet-table-header:nth-child(n+3), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-row .sheet-table-cell:nth-child(n+3), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-linked-tablecell-short input { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-group-head .sheet-table-header:nth-of-type(4), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-row .sheet-table-cell:nth-of-type(4), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-group-head .sheet-table-header:nth-of-type(6), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-row .sheet-table-cell:nth-of-type(6), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-group-head .sheet-table-header:nth-of-type(11), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-row .sheet-table-cell:nth-of-type(11), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-group-head .sheet-table-header:nth-of-type(16), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-row .sheet-table-cell:nth-of-type(16), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-group-head .sheet-table-header:nth-of-type(17), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-attack-grid .sheet-table-row .sheet-table-cell:nth-of-type(17) { - display: table-cell; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-divider, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-header:nth-child(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-header:nth-child(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-header:nth-child(10), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-header:nth-child(12), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-header:nth-child(13), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-header:nth-child(n+15), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(8), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(9), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(10), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(12), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(13), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skilllist .sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(n+15), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skills-key { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skill-totals .sheet-table-header:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skill-totals .sheet-table-cell:not(.sheet-show-readonly), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skill-totals .sheet-divider, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skill-totals .sheet-divider-lg { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-equipment .sheet-carried-totals .sheet-divider, -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section-equipment .sheet-carried-totals .sheet-divider-lg { - display: none; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-section>.sheet-nontable-name.sheet-show-readonly { - width: 49%; - float: left; - display: block; -} - -/* npc / spells overrides all above,no config in readonly if not checked */ -.sheet-show-spell-tab:not(:checked)~.sheet-main .sheet-spelltab, -.sheet-show-spell-tab:not(:checked)~.sheet-main .sheet-section-spells { - display: none; -} - -.sheet-table-rightcell { - width: 90%; - max-width: 90%; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-nowrap-readonly { - white-space: nowrap !important; -} - -.sheet-small-label2.sheet-autoexpand { - padding-top: 2em; - width: auto; - min-width: 3.5em; - max-width: 99%; - max-height: 1em; -} - -.sheet-small-label2.sheet-autoexpand input { - position: absolute; - overflow: hidden; - height: 1.5em; - top: .3em; - text-align: center; -} - -.sheet-small-label2.sheet-autoexpand span.sheet-autoexpand { - visibility: hidden; - width: 100%; - white-space: pre-wrap; - word-wrap: break-word; - overflow-wrap: break-word; - display: block; - min-height: 1.3rem; - padding: 0 1.25rem 0 1.25rem; - height: auto; -} - -.sheet-small-label2.sheet-wide-textareaparent { - display: block; - clear: both; - height: auto; -} - -.sheet-emphasize-field, -.sheet-table-header.sheet-emphasize-field { - background-color: #556677; - color: white; -} - -.sheet-inspecial { - display: inline-block; - text-indent: 1.25em; -} - -.sheet-noshow { - display: none !important; -} - -/* attacks */ -.sheet-dualwield-hide:checked~.sheet-nondual-sect, -.sheet-dualwield-hide:checked~.sheet-sect.sheet-expand .sheet-nondual-sect, -.sheet-dualwield-hide:not(:checked)~.sheet-dual-sect, -.sheet-dualwield-hide:not(:checked)~.sheet-sect.sheet-expand .sheet-dual-sect { - display: none; -} - -.sheet-h2-section.sheet-dual-wield-sect.sheet-wide-readonly { - padding: 0.4rem; - border: 0.2rem solid #CCCCCC; - border-radius: 0.7rem; -} - -.sheet-option-header { - border-top: 0.1rem solid black !important; - background-color: lightgrey; -} - -.sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(7) { - cursor: help; -} - -.sheet-skills .sheet-table-row .sheet-table-header:nth-of-type(7), -.sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(7) { - width: 2em; - max-width: 1em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-skills .sheet-table-row .sheet-table-header:nth-of-type(7), -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(7) { - width: .5em; - max-width: .5em; -} - -.sheet-readonly-show:not(:checked)~.sheet-main .sheet-skills .sheet-table-row .sheet-table-cell:nth-of-type(7) { - transform: rotate(90deg); -} - -input.sheet-macro-text-inline, -textarea.sheet-macro-text-inline, -.sheet-macro-text-inline input, -textarea.sheet-macro-text, -textarea.sheet-skill-macro-text, -input.sheet-skill-macro-text { - font-family: 'Roboto Mono', monospace; - font-size: 1.2rem; - line-height: 1.2rem; -} - -.sheet-accessible:checked~.sheet-pf-wrapper input.sheet-macro-text-inline, -.sheet-accessible:checked~.sheet-pf-wrapper textarea.sheet-macro-text-inline, -.sheet-accessible:checked~.sheet-pf-wrapper .sheet-macro-text-inline input, -.sheet-accessible:checked~.sheet-pf-wrapper textarea.sheet-macro-text, -.sheet-accessible:checked~.sheet-pf-wrapper .sheet-inline-textarea, -.sheet-accessible:checked~.sheet-pf-wrapper textarea.sheet-skill-macro-text, -.sheet-accessible:checked~.sheet-pf-wrapper input.sheet-skill-macro-text { - font-family: 'Roboto Mono', monospace; - font-size: 1.2rem; - line-height: 1.2rem; -} - - -/*skill too crowded*/ -.sheet-skills .sheet-divider, -/* turn config page on /off */ -.sheet-config-show:checked~.sheet-pfsheet, -.sheet-config-show:checked~.sheet-footnotes, -.sheet-config-show:not(:checked)~.sheet-section-config, -/* config page toggles override all others: */ -.sheet-kineticist-show:not(:checked)~.sheet-kineticist, -.sheet-horror-show:not(:checked)~.sheet-horror-sect, -.sheet-dual-wield-show:not(:checked)~.sheet-dual-wield-sect, - -.sheet-spellpoints-show:not(:checked)~.sheet-section-spellclass .sheet-spellpoints-sect, -.sheet-advanced-spell-option-show:not(:checked)~.sheet-spellcasting-classes .sheet-section-spellclass .sheet-manual-column-show:not(:checked)~div .sheet-spell-userdef-column, -.sheet-advanced-spell-option-show:not(:checked)~.sheet-spellcasting-classes .sheet-section-spellclass .sheet-advanced-spell-option, -.sheet-advanced-spell-option-show:not(:checked)~.sheet-spells .sheet-advanced-spell-option, -.sheet-advanced-spell-option-show:not(:checked)~.sheet-npc-spells .sheet-advanced-spell-option, -.sheet-spell-multiclassed-show:not(:checked)~.sheet-spellcasting-classes .sheet-spell-multiclassed, -.sheet-spell-multiclassed-show:not(:checked)~.sheet-repeating-sect .sheet-spell-multiclassed, -.sheet-all-macro-text-show:not(:checked)~div .sheet-macro-text, -.sheet-all-macro-text-show:not(:checked)~div .sheet-showsect.sheet-macro-text-showlabel, -.sheet-all-macro-text-show:not(:checked)~div .sheet-showsect.sheet-all-saves-macro-showlabel, -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skills .sheet-table-row .sheet-table-header:last-child, -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-section-skills .sheet-skills .sheet-table-row .sheet-table-cell:last-child, -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-group-head .sheet-table-header:nth-last-child(2), -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-group .sheet-table-row .sheet-table-cell:nth-last-child(2), -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-group-head .sheet-table-header:last-child, -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-section-defenses .sheet-saves .sheet-saves-table .sheet-table-group .sheet-table-row .sheet-table-cell:last-child, - -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-ability-scores .sheet-table .sheet-table-group-head .sheet-table-header:last-child, -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-ability-scores .sheet-table .sheet-table-group .sheet-table-cell:last-child, - -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-table .sheet-table-group-head .sheet-table-header.sheet-super:last-child, -.sheet-all-macro-text-show:not(:checked)~.sheet-main .sheet-section-attacks .sheet-table .sheet-table-group .sheet-table-cell:last-child, - -.sheet-bonustype-show:not(:checked)~.sheet-newbuff, -.sheet-bonustype-show:checked~.sheet-oldbuff, -.sheet-wounds-show:not(:checked)~.sheet-wound-threshold, -.sheet-advanced-macro-show:not(:checked)~.sheet-main .sheet-advanced-macros, -.sheet-advanced-macro-show:not(:checked)~.sheet-main .sheet-advmacro-text-showlabel, -.sheet-racial-traits-show:not(:checked)~.sheet-section-racial-traits, -.sheet-racial-traits-show:not(:checked)~div .sheet-section-racial-traits, -.sheet-traits-show:not(:checked)~.sheet-section-traits, -.sheet-traits-show:not(:checked)~div .sheet-section-traits, -.sheet-featlist-show:not(:checked)~.sheet-section-featlist, -.sheet-featlist-show:not(:checked)~div .sheet-section-featlist, -.sheet-classfeatures-show:not(:checked)~.sheet-section-classfeatureslist, -.sheet-classfeatures-show:not(:checked)~div .sheet-section-classfeatureslist, -.sheet-oldslas-show:not(:checked)~.sheet-section-oldslas, -.sheet-oldslas-show:not(:checked)~div .sheet-section-oldslas, -.sheet-mythic-show:not(:checked)~.sheet-section-mythic, -.sheet-mythic-show:not(:checked)~.sheet-repeating-fields .sheet-section-mythic, -.sheet-mythic-show:not(:checked)~.sheet-repeating-sect .sheet-repeating-fields .sheet-section-mythic, -.sheet-mythic-show:not(:checked)~div .sheet-section-mythic, -.sheet-psionic-show:not(:checked)~.sheet-section-psionic, -.sheet-psionic-show:not(:checked)~div .sheet-section-psionic { - display: none !important; -} - /* prevents background-color from interfering with inserted images*/ .sheet-rolltemplate-pf_generic .sheet-roll-row.sheet-roll-description a[href$=".png"], .sheet-rolltemplate-pf_ability .sheet-roll-row.sheet-roll-description a[href$=".png"], @@ -6023,19 +5013,1138 @@ input.sheet-skill-macro-text { max-height: 100%; } +/*************************************************************************************/ + +.charsheet feats .table-header { + white-space: nowrap; +} + +.charsheet .extra-damage-section .table-cell { + padding-right: .5em; +} + +.charsheet .readonly-show:not(:checked)~.main .section:not(.section-npc)>.h2-section:not(.wide-readonly).extra-damage-section { + width: 100%; +} + +/* 3way */ +/* readonly / edit mode button is reverse unchecked looks like checked */ +/* button */ +.charsheet .readonly-show:not(:checked)~.main .section-skills .skill-options .config-table.options { + border: none; +} + +/* draw border have to put + here just to override specificity of arrow toggles above. don't want to use important here or all display below will have to use important. */ +.charsheet .readonly-show:not(:checked)~.main .h2-section, +.charsheet .readonly-show:not(:checked)~.main .h2arrow:not(:checked)~.h2-section, +.charsheet .readonly-show:not(:checked)~.main .h2arrow:not(:checked)~.h2-section+.h2-section, +.charsheet .readonly-show:not(:checked)~.main .h2arrow:not(:checked)~.h2-section+.h2-section+.h2-section, +.charsheet .readonly-show:not(:checked)~.main .h3-section, +.charsheet .readonly-show:not(:checked)~.main .h3arrow:not(:checked)~.h3-section, +.charsheet .readonly-show:not(:checked)~.main .h3arrow:not(:checked)~.h3-section+.h3-section, +.charsheet .readonly-show:not(:checked)~.main .h3arrow:not(:checked)~.h3-section+.h3-section+.h3-section { + max-width: calc(100% - .25em); + /* display: inline-block; */ + display: block; + margin: .125em; + clear: none; + float: left; + height: auto; + overflow: hidden; +} + +.charsheet .readonly-show:not(:checked)~.main .section>.h2-section .h3-section:not(.wide-readonly).section-oldslas { + width: calc(100% - .25em); + display: block; + margin: .125em; + clear: none; + float: left; + height: auto; +} + +.charsheet .readonly-show:not(:checked)~.main .h2-section:not(.noborder-readonly), +.charsheet .readonly-show:not(:checked)~.main .h2arrow:not(:checked)~.h2-section:not(.noborder-readonly), +.charsheet .readonly-show:not(:checked)~.main .h2arrow:not(:checked)~.h2-section:not(.noborder-readonly)+.h2-section:not(.noborder-readonly), +.charsheet .readonly-show:not(:checked)~.main .h2arrow:not(:checked)~.h2-section:not(.noborder-readonly)+.h2-section:not(.noborder-readonly)+.h2-section:not(.noborder-readonly), +.charsheet .readonly-show:not(:checked)~.main .h3-section:not(.noborder-readonly), +.charsheet .readonly-show:not(:checked)~.main .h3arrow:not(:checked)~.h3-section:not(.noborder-readonly), +.charsheet .readonly-show:not(:checked)~.main .h3arrow:not(:checked)~.h3-section:not(.noborder-readonly)+.h3-section:not(.noborder-readonly), +.charsheet .readonly-show:not(:checked)~.main .h3arrow:not(:checked)~.h3-section:not(.noborder-readonly)+.h3-section:not(.noborder-readonly)+.h3-section:not(.noborder-readonly) { + border: 0.1rem solid black; + border-radius: 0.5rem; +} + +/* default turn off .sections */ + +.charsheet .readonly-show:not(:checked)~.main .notes { + min-height: 1.5em !important; + height: auto; +} + +/* readonly/compact mode toggles */ +.charsheet .readonly-show:checked~.main .show-readonly.inverse-readonly, +.charsheet .readonly-show:not(:checked)~.main .hide-readonly, +.charsheet .readonly-show:not(:checked)~.main .cheat:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .showarrow.h2arrow:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .showarrow.h3arrow:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .clickheader.showsect:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .table-name:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .nontable-name:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .secondary-table-name:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .divider:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .divider-lg:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .desc:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .desc-show:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .desc-showlabel:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .macro-text-show:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .macro-text-showlabel:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .id-show:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .id-showlabel:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .macro-text:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .repeating-id:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .armor-attributes:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .armor-attributes-showlabel:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .weapon-attributes:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .repeating-fields .weapon-attributes-showlabel:not(.show-readonly) { + display: none !important; +} + +.charsheet .hide-unused-section-readonly:checked+.showarrow.h2arrow+.showsect+.h2-section, +.charsheet .hide-unused-section-readonly:checked+.showarrow.h3arrow+.showsect+.h3-section, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section h1 { + display: none; +} + +/*widths */ + +.charsheet .col { + width: 100%; + display: block; +} + +.charsheet .row { + width: 100%; + display: block; + height: auto; + margin: 0; +} + +.charsheet .expand-arrow { + position: absolute; +} + +.charsheet .expand-arrow+span { + position: absolute; + left: .25em; +} + +.charsheet .hasexpandrows .expand1, +.charsheet .hasexpandrows .expand1+span { + top: 4.25em; +} + +.charsheet .hasexpandrows .expand2, +.charsheet .hasexpandrows .expand2+span { + top: 6.25em; +} + +.charsheet .hasexpandrows .expand3, +.charsheet .hasexpandrows .expand3+span { + top: 8.25em; +} + +.charsheet .class-table.hasexpandrows .expand1, +.charsheet .class-table.hasexpandrows .expand1+span { + top: 5em; +} + +.charsheet .class-table.hasexpandrows .expand2, +.charsheet .class-table.hasexpandrows .expand2+span { + top: 7em; +} + +.charsheet .class-table.hasexpandrows .expand3, +.charsheet .class-table.hasexpandrows .expand3+span { + top: 9em; +} + +.charsheet .readonly-show:not(:checked)~.main .class-table.hasexpandrows .expand1, +.charsheet .readonly-show:not(:checked)~.main .class-table.hasexpandrows .expand1+span { + top: 5.25em; +} + +.charsheet .readonly-show:not(:checked)~.main .class-table.hasexpandrows .expand2, +.charsheet .readonly-show:not(:checked)~.main .class-table.hasexpandrows .expand2+span { + top: 7.25em; +} + +.charsheet .readonly-show:not(:checked)~.main .class-table.hasexpandrows .expand3, +.charsheet .readonly-show:not(:checked)~.main .class-table.hasexpandrows .expand3+span { + top: 9.25em; +} + +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1, +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1+span { + top: 5.5em; +} + +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2, +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2+span { + top: 7.75em; +} + +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:checked~.expand2, +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:checked~.expand2+span { + top: 9.75em; +} + +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2:not(:checked)~.expand3, +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2:not(:checked)~.expand3+span { + top: 10em; +} + +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2:checked~.expand3, +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2:checked~.expand3+span, +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:checked~.expand2:not(:checked)~.expand3, +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:checked~.expand2:not(:checked)~.expand3+span { + top: 12em; +} + +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:checked~.expand2:checked~.expand3, +.charsheet .readonly-show:checked~.main .attack-grid.hasexpandrows .expand1:checked~.expand2:checked~.expand3+span { + top: 14.25em; +} + +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1, +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1+span { + top: 2.5em; +} + +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2, +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2+span { + top: 4.75em; +} + +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:checked~.expand2, +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:checked~.expand2+span { + top: 7em; +} + +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2:not(:checked)~.expand3, +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2:not(:checked)~.expand3+span { + top: 7em; +} + +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2:checked~.expand3, +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:not(:checked)~.expand2:checked~.expand3+span, +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:checked~.expand2:not(:checked)~.expand3, +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:checked~.expand2:not(:checked)~.expand3+span { + top: 9.25em; +} + +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:checked~.expand2:checked~.expand3, +.charsheet .readonly-show:not(:checked)~.main .attack-grid.hasexpandrows .expand1:checked~.expand2:checked~.expand3+span { + top: 11.5em; +} + +/* repeating .sections take up half on "all" view +also if multiple repeating sects inside h2 they are 100% wide and only h2 is narrow. +*/ +.charsheet .readonly-show:not(:checked)~.main .section .half-readonly, +.charsheet .readonly-show:not(:checked)~.main .section .tab99:checked~.section>.col, +.charsheet .readonly-show:not(:checked)~.main .section:not(.section-npc)>.h2-section:not(.wide-readonly), +.charsheet .readonly-show:not(:checked)~.main .section>.h2-section .h3-section:not(.wide-readonly), +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section:not(.section-npc)>.h2-section.repeating-sect:not(.wide-readonly) { + margin: 0.2rem; + width: calc(50% - 6px); +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-npc>.h2-section, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-npc>.h2-section .repeating-sect, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section>.h2-section.wide-readonly, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section>.h2-section.repeating-sect, +.charsheet .readonly-show:not(:checked)~.main .section .col .h2-section, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .col .h2-section, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section>.h2-section.wide-readonly, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .h3-section.wide-readonly { + margin: 0.2rem; + width: calc(100% - 4px); + float: left; +} + +.charsheet .readonly-show:not(:checked)~.main .col { + /* display:inline-block; */ + display: block; + float: left; +} + +.charsheet .readonly-show:not(:checked)~.main .col.equipment { + display: flex; + float: none; + width: 100% !important; +} + +.charsheet .readonly-show:not(:checked)~.main .flex-row { + display: flex !important; + flex-flow: row nowrap; + align-items: stretch !important; +} + +.charsheet .readonly-show:not(:checked)~.main .flex-col { + display: flex !important; + flex-flow: column nowrap; + align-items: stretch !important; +} + +.charsheet .h2-section.core-details { + width: calc(100% - 4px); + height: auto; + display: block; + clear: both; + margin: 0.4rem 0.2rem 0.2rem 0.2rem; +} + +.charsheet .readonly-show:not(:checked)~.main .section .col .h2-section.ability-scores, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .col .h2-section.ability-scores { + margin: 0.2rem; + width: calc(50% - 6px); + float: left; + min-height: 16.7em; +} + +.charsheet .readonly-show:not(:checked)~.main .section .col .h2-section.half-readonly, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .col .h2-section.half-readonly { + margin: 0.2rem; + width: calc(50% - 6px); +} + +.charsheet .readonly-show:not(:checked)~.main .section .col .h2-section.class-grid, +.charsheet .readonly-show:not(:checked)~.main .section .col .h2-section.experience, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .col .h2-section.class-grid, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .col .h2-section.experience { + margin: 0.2rem; + width: calc(50% - 6px); +} + +.charsheet .readonly-show:not(:checked)~.main .h2-section.ability-scores { + /* width: 44%;*/ + min-width: 15em; +} + +.charsheet .readonly-show:not(:checked)~.main .h2-section.class-grid { + /* width: 55%;*/ + min-width: 15em; +} + +.charsheet .creature-race-header { + height: 4.2em; +} + +.charsheet .readonly-show:not(:checked)~.main .section-core .class-grid .creature-race-header { + height: 1.25em; +} + +.charsheet .readonly-show:not(:checked)~.main .section-core .h2-section.experience { + min-width: 19em; + margin: 0.2rem; + /* width: calc(50% - 6px);*/ + display: inline-block; + min-height: 6.45em; +} + +.charsheet .readonly-show:not(:checked)~.main .section-core .h2-section.speeds { + min-width: 25em; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-core .row.row2 { + width: 100%; + display: block; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-core .row.row2 { + width: 70%; + /* display:inline-block; */ + display: block; + float: left; + margin-right: .125em; +} + +.charsheet .readonly-show:not(:checked)~.main~.section-core .h2-section.hit-points, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-core .h2-section.hit-points { + max-width: calc(50% - 6px); + width: auto; + flex-grow: 2; +} + +/* +.charsheet .readonly-show:not(:checked)~main tab99:checked~.section-core .h2-section.hit-points { + max-width:calc(40% - 4px); + width:auto; +} +*/ +.charsheet .readonly-show:not(:checked)~.main .section-core .wounds-show:not(:checked)~.h2-section.hit-points { + margin: 0.2rem; +} + +.charsheet .wound-threshold .table-row { + float: right; + clear: right; + white-space: nowrap; +} + +.charsheet .wound-threshold .table-cell { + text-align: left; + padding-left: .5em; +} + +.charsheet .wound-threshold .table-cell label { + margin-right: .5em; +} + +.charsheet .readonly-show:checked~.main .section-core .h2-section.wound-threshold { + width: auto; + flex-grow: 1; +} + +/* +.charsheet h2-sectionwound-threshold { + min-width:11.5em; + width:auto; + display:inline-block; +} +.charsheet .readonly-show:checked~main .section-core .h2-section.wound-threshold { + width:17%; +} +.charsheet .readonly-show:not(:checked)~main tab99:not(:checked)~.section-core .h2-section.wound-threshold { + width: 24%; + display:inline-block; + min-width:12em; +} +*/ +.charsheet .readonly-show:not(:checked)~.main .section-core .h2-section.initiative, +.charsheet .readonly-show:not(:checked)~.main .section-core .wounds-show:checked~.h2-section.initiative, +.charsheet .readonly-show:not(:checked)~.main .section-core .wounds-show:not(:checked)~.h2-section.initiative { + max-width: calc(50% - 6px); + margin: 0.2rem; + width: auto; + flex-grow: 2; + min-width: 14em; +} + +/*added this because the contents were pushing out of the parent element in non-edit view */ +.charsheet .readonly-show:not(:checked)~.main .section-core .initiative .table span.table-cell { + display: inline-block; + vertical-align: bottom; + padding: 0.4rem; + max-height: 4rem; +} + +.charsheet .h2-section.speeds { + min-width: 30em; +} + +.charsheet .readonly-show:not(:checked)~.main .section-core .h2-section.speeds { + margin: 0.2rem; + width: calc(100% - 4px); + display: block; +} + +.charsheet .speeds .narrow-numbers-readonly input[type="number"] { + width: auto; +} + +.charsheet .readonly-show:not(:checked)~.main .speeds .narrow-numbers-readonly input[type="number"] { + width: auto; +} + +/* defense page */ + +.charsheet .readonly-show:not(:checked)~.main .section>.h2-section.saves, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .h2-section.saves, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-defenses .h2-section.saves { + min-width: 18em; + /* display: inline-block; */ + display: block; + margin: 0.2rem 0.2rem 0 0; + float: right; + width: calc(30% - 6px); + min-height: 17em; +} + +.charsheet .readonly-show:checked~.main .saves-notes-table .table-cell:first-child { + width: 25%; + text-align: left; +} + +.charsheet .readonly-show:not(:checked)~.main .saves-notes-table .table-cell { + display: block; + width: 100%; +} + +.charsheet .readonly-show:not(:checked)~.main .section .saves-notes-table .table-cell textarea { + min-height: 4em; +} + +.charsheet .readonly-show:not(:checked)~.main .section-defenses .h2-section.defense-grid { + min-width: 30em; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .h2-section.defense-grid { + width: 69%; + min-height: 19.3em; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-defenses .h2-section.defense-grid { + margin: 0.2rem; + width: calc(50% - 6px); +} + +.charsheet .readonly-show:not(:checked)~.main .section-attacks .h2-section.attack-grid { + /*margin: 0.2rem; + width: calc(50% - 6px);*/ + min-width: 24em; + min-height: 13em; +} + +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .linked-tablecell-short { + width: 4em; + max-width: 4em; +} + +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .linked-tablecell-short select.linked-cellfield { + width: 100%; + max-width: 100%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section>.h2-section.spellcasting-classes.wide-readonly { + margin: 0.2rem 0 0.2rem 0.4rem; + width: 100%; + float: left; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section .h3-section.domains.wide-readonly { + padding-bottom: 0.5em; + margin: 0; + min-width: calc(100% - 1px); +} + +.charsheet .readonly-show:not(:checked)~.main .section-attacks .h2-section.advanced-macros { + /*margin: 0.2rem; + width: calc(100% - 4px);*/ + border: none; +} + +.charsheet .readonly-show:not(:checked)~.main .section-equipment .col.col1 .table { + margin-right: 0; +} + +.charsheet .readonly-show:checked~.main .section-equipment .h2-section.current-loads { + flex-flow: row nowrap; + justify-content: space-between; +} + +/* block not .table because of wrap */ +.charsheet .readonly-show:checked~.main .section-equipment .h2-section.current-loads .table, +.charsheet .readonly-show:checked~.main .section-equipment .h2-section.loads-and-lift .table, +.charsheet .readonly-show:checked~.main .section-equipment .h2-section.currency .table { + display: inline-block; +} + +.charsheet .readonly-show:checked~.main .section-equipment .h2-section.current-loads .load .table-cell { + line-height: 3em; +} + +.charsheet .carried-totals, +.charsheet .load, +.charsheet .currency, +.charsheet .lift-modifiers, +.charsheet .lift { + min-width: 16em; +} + +.charsheet .carried-totals, +.charsheet .load { + width: 50%; +} + +.charsheet .lift-modifiers, +.charsheet .lift { + width: 33.3%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-equipment .h2-section.other-items { + width: 100%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-equipment .h2-section.other-items { + width: 100%; +} + +/* inventory page switch from rows to columns */ +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-equipment .h2-section.currency, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-equipment .h2-section.current-loads, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-equipment .h2-section.loads-and-lift { + display: flex; + flex-flow: column; +} + +/* inventory page only */ +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-equipment .col.col1 .h2-section.currency, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-equipment .col.col1 .h2-section.current-loads { + width: calc(50% - 6px); + float: left; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-equipment .loads-and-lift { + width: calc(50% - 6px); + float: right; +} + +/* inventory all page */ +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .col.col1 .h2-section.currency, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .col.col1 .h2-section.current-loads, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .col.col1 .h2-section.loads-and-lift { + width: 100%; +} + +/* .col 2 worn items +.charsheet .worn-items { + max-width: 100%; +} +*/ + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .worn-items { + flex-flow: column; + align-items: stretch; +} + +.charsheet .worn-items .table { + display: inline-block; + width: 49%; + flex-basis: 50%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-equipment .col.col2 { + width: 100%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .col.col1 { + margin: 0.2rem 0.2rem 0.2rem -0.2rem; + width: 40%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .col.col2 { + margin: 0.2rem 0 0.2rem 0; + width: calc(60% - 8px); + float: right; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .col.col2 .worn-items .table { + width: 100%; + display: table; + flex-basis: 100%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .col.col2.worn-items { + display: block; + width: 100%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .col.col2.worn-items .table { + display: inline-block; + width: calc(50% - 2px); +} + +/* in case flex not supported: */ +.charsheet .h2-section.worn-items .table:first-child { + margin-right: .125em; +} + +.charsheet .h2-section.worn-items .table:last-child { + float: right; +} + +/* read only any page */ +.charsheet .readonly-show:not(:checked)~.main .section-equipment .h2-section.current-loads .table, +.charsheet .readonly-show:not(:checked)~.main .section-equipment .h2-section.loads-and-lift .table, +.charsheet .readonly-show:not(:checked)~.main .section-equipment .h2-section.currency .table { + width: 100%; +} + +/* display xp at bottom of page in all pages mode */ + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-equipment .experience { + display: none; +} + +/******** spells ********/ + +.charsheet .spellclass-spellnotes .table-header { + white-space: nowrap; +} + +.charsheet .spellpoints .table-header { + white-space: normal; +} + +.charsheet .spellclass-spellnotes .notes-cell { + width: 33%; +} + +.charsheet .h3-section.spellclass-level, +.charsheet .h3-section.spellclass-concentration { + width: 69.5%; + float: left; +} + +.charsheet .h3-section.spellclass-ranges { + display: inline-table; +} + +.charsheet .readonly-show:checked~.main .section-spells .h3-section.spellclass-ranges { + max-width: 29.75%; + vertical-align: top; + float: right; +} + +.charsheet .readonly-show:checked~.main .section-spells .h3-section.spellclass-roll-adj { + max-width: 29.75%; + float: right; +} + +.charsheet .readonly-show:checked~.main .section-spells .spellclass-ranges .table-header { + height: 3.05rem; + /* exactly matches 2 rows from sheet-spellclass-level table.*/ +} + +.charsheet .readonly-show:not(:checked)~.main .section-spells .col.col1 .table .divider, +.charsheet .readonly-show:not(:checked)~.main .section-spells .col.col1 .table .divider-lg { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .section-spells .spells-per-day .table-row .table-header:nth-child(8), +.charsheet .readonly-show:not(:checked)~.main .section-spells .spells-per-day .table-row .table-cell:nth-child(8), +.charsheet .readonly-show:not(:checked)~.main .section-spells .spells-per-day .table-row .divider:nth-child(8), +.charsheet .readonly-show:not(:checked)~.main .section-spells .spells-per-day .table-row .table-header:nth-child(9), +.charsheet .readonly-show:not(:checked)~.main .section-spells .spells-per-day .table-row .table-cell:nth-child(9), +.charsheet .readonly-show:not(:checked)~.main .section-spells .spells-per-day .table-row .divider:nth-child(9), +.charsheet .readonly-show:not(:checked)~.main .section-spells .spells-per-day .table-row .table-header:nth-child(10), +.charsheet .readonly-show:not(:checked)~.main .section-spells .spells-per-day .table-row .table-cell:nth-child(10), +.charsheet .readonly-show:not(:checked)~.main .section-spells .spells-per-day .table-row .divider:nth-child(10) { + display: none; +} + +.charsheet .readonly-show:checked~.main .section-spells .col.col1, +.charsheet .readonly-show:checked~.main .section-spells .col.col2 { + width: 100%; +} + +.charsheet .readonly-show:not(:checked)~.main .section-spells .col.col1 { + margin: 0.2rem 0.2rem 0.2rem -0.2rem; + width: 50%; + float: left; +} + +.charsheet .readonly-show:not(:checked)~.main .section-spells .col.col1:last-child { + margin: 0; + width: calc(50% - .4rem); +} + +.charsheet .readonly-show:not(:checked)~.main .section-spells .col.col2 { + margin: 0.2rem; + width: calc(50% - 6px); + float: right; +} + +.charsheet .readonly-show:not(:checked)~.main .section-spells .col.col1 .h2-section, +.charsheet .readonly-show:not(:checked)~.main .section-spells .col.col2 .h2-section, +.charsheet .readonly-show:not(:checked)~.main .section-spells .col.col1 .h3-section, +.charsheet .readonly-show:not(:checked)~.main .section-spells .col.col2 .h3-section { + width: 100%; + display: block; + overflow-x: auto; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-skills skilllist { + width: 100%; +} + +/* +.charsheet .readonly-show:not(:checked)~main tab99:checked~.section-skills skilllist { + margin: 0.2rem; + width: calc(50% - 6px); +}*/ + +/**************** tabs .expand */ + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-skills .skillsnav~.tab { + width: 28%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-skills .skillsnav~.tabinput { + width: 28%; + margin-right: -28%; +} + +.charsheet .readonly-show:not(:checked)~.main .section-skills .h2-section.skill-totals, +.charsheet .readonly-show:not(:checked)~.main .section-skills .h2-section.skill-notes, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-skills .h2-section.skill-totals, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-skills .h2-section.skill-notes { + float: left; + width: calc(40% - 4px); +} + +.charsheet .readonly-show:not(:checked)~.main .section-skills .h2-section.skill-options, +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-skills .h2-section.skill-options { + float: right; + width: calc(60% - 8px); +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-spells .spellclassnav~.tab:not(.tab99) { + width: 25%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~.section-spells .spellclassnav~.tabinput:not(.tab99) { + width: 25%; + margin-right: -25%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~div .tab.tab99 { + width: 10%; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:checked~div .tabinput.tab99 { + width: 10%; + margin-right: -10%; +} + +/* hide .table columns */ + +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-header:nth-child(4), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-cell:nth-child(4), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-header:nth-child(5), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-cell:nth-child(5), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-header:nth-child(6), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-cell:nth-child(6), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-header:nth-child(7), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-cell:nth-child(7), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-header:nth-child(8), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .table-cell:nth-child(8), +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .divider, +.charsheet .readonly-show:not(:checked)~.main .section-core .ability-scores .divider-lg { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .section-core .class-grid .table-header:nth-child(6), +.charsheet .readonly-show:not(:checked)~.main .section-core .class-grid .table-cell:nth-child(6), +.charsheet .readonly-show:not(:checked)~.main .section-core .class-grid .table-header:nth-child(8), +.charsheet .readonly-show:not(:checked)~.main .section-core .class-grid .table-cell:nth-child(8), +.charsheet .readonly-show:not(:checked)~.main .section-core .class-grid .table-header:nth-child(9), +.charsheet .readonly-show:not(:checked)~.main .section-core .class-grid .table-cell:nth-child(9), +.charsheet .readonly-show:not(:checked)~.main .section-core .class-grid .table-header:nth-child(10), +.charsheet .readonly-show:not(:checked)~.main .section-core .class-grid .table-cell:nth-child(10) { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-header:nth-child(3), +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-cell:nth-of-type(3), +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-header:nth-child(6), +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-cell:nth-of-type(6), +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-header:nth-child(8), +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-cell:nth-of-type(8), +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-header:nth-child(9), +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-cell:nth-of-type(9), +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-header:nth-child(n+13), +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-grid .defense-table .table-cell:nth-of-type(n+13) { + display: none; +} + +.charsheet .extra-saves-show:not(:checked)~.saves-table .table-group-head :nth-child(8), +.charsheet .extra-saves-show:not(:checked)~.saves-table .table-group-head :nth-child(9), +.charsheet .extra-saves-show:not(:checked)~.saves-table .table-group-head :nth-child(12), +.charsheet .extra-saves-show:not(:checked)~.saves-table .table-group-head :nth-child(13), +.charsheet .extra-saves-show:not(:checked)~.saves-table .table-row :nth-child(8), +.charsheet .extra-saves-show:not(:checked)~.saves-table .table-row :nth-child(9), +.charsheet .extra-saves-show:not(:checked)~.saves-table .table-row :nth-child(12), +.charsheet .extra-saves-show:not(:checked)~.saves-table .table-row :nth-child(13) { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .table-group-head :nth-child(4), +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .table-group-head :nth-child(7), +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .table-group-head :nth-child(9), +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .table-group-head :nth-child(n+12), +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .table-row :nth-child(4), +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .table-row :nth-child(7), +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .table-row :nth-child(9), +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .table-row :nth-child(n+12) { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .divider, +.charsheet .readonly-show:not(:checked)~.main .tab99:not(:checked)~.section-defenses .saves .saves-table .divider-lg { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .section-defenses .defense-notes .notes { + height: 5em; +} + +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-row .divider, +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-group-head .table-header:nth-child(n+3), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-row .table-cell:nth-child(n+3), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .linked-tablecell-short input { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-group-head .table-header:nth-of-type(4), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-row .table-cell:nth-of-type(4), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-group-head .table-header:nth-of-type(6), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-row .table-cell:nth-of-type(6), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-group-head .table-header:nth-of-type(11), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-row .table-cell:nth-of-type(11), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-group-head .table-header:nth-of-type(16), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-row .table-cell:nth-of-type(16), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-group-head .table-header:nth-of-type(17), +.charsheet .readonly-show:not(:checked)~.main .section-attacks .attack-grid .table-row .table-cell:nth-of-type(17) { + display: table-cell; +} + +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .divider, +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-header:nth-child(8), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-header:nth-child(9), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-header:nth-child(10), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-header:nth-child(12), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-header:nth-child(13), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-header:nth-child(n+15), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-cell:nth-of-type(8), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-cell:nth-of-type(9), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-cell:nth-of-type(10), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-cell:nth-of-type(12), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-cell:nth-of-type(13), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skilllist .skills .table-row .table-cell:nth-of-type(n+15), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skills-key { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .section-skills .skill-totals .table-header:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skill-totals .table-cell:not(.show-readonly), +.charsheet .readonly-show:not(:checked)~.main .section-skills .skill-totals .divider, +.charsheet .readonly-show:not(:checked)~.main .section-skills .skill-totals .divider-lg { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .section-equipment .carried-totals .divider, +.charsheet .readonly-show:not(:checked)~.main .section-equipment .carried-totals .divider-lg { + display: none; +} + +.charsheet .readonly-show:not(:checked)~.main .section>.nontable-nameshow-readonly { + width: 49%; + float: left; + display: block; +} + +/* npc / spells overrides all above,no config in readonly if not checked */ +.charsheet .show-spell-tab:not(:checked)~.main .spelltab, +.charsheet .show-spell-tab:not(:checked)~.main .section-spells { + display: none; +} + +.charsheet .table-rightcell { + width: 90%; + max-width: 90%; +} + +.charsheet .readonly-show:not(:checked)~.main .nowrap-readonly { + white-space: nowrap !important; +} + +.charsheet .small-label2.autoexpand { + padding-top: 2em; + width: auto; + min-width: 3.5em; + max-width: 99%; +} + +.charsheet .small-label2.autoexpand input { + position: absolute; + overflow: hidden; + height: 1.5em; + top: .3em; + text-align: center; +} + +.charsheet .small-label2.autoexpand span.autoexpand { + visibility: hidden; + width: 100%; + white-space: pre-wrap; + word-wrap: break-word; + overflow-wrap: break-word; + display: block; + min-height: 1.3rem; + padding: 0 1.25rem 0 1.25rem; + height: auto; +} + +.charsheet .small-label2.wide-textareaparent { + display: block; + clear: both; + height: auto; +} + +.charsheet .emphasize-field, +.charsheet .table-header.emphasize-field { + background-color: #556677; + color: white; +} + +.charsheet .inspecial { + display: inline-block; + text-indent: 1.25em; +} + +.charsheet .noshow { + display: none !important; +} + +/* attacks */ +.charsheet .dualwield-hide:checked~.nondual-sect, +.charsheet .dualwield-hide:checked~.sect.expand .nondual-sect, +.charsheet .dualwield-hide:not(:checked)~.dual-sect, +.charsheet .dualwield-hide:not(:checked)~.sect.expand .dual-sect { + display: none; +} + +.charsheet .h2-section.dual-wield-sect.wide-readonly { + padding: 0.4rem; + border: 0.2rem solid #CCCCCC; + border-radius: 0.7rem; +} + +.charsheet .option-header { + border-top: 0.1rem solid black !important; + background-color: lightgrey; +} + +.charsheet .skills .table-row .table-cell:nth-of-type(7) { + cursor: help; +} + +.charsheet .skills .table-row .table-header:nth-of-type(7), +.charsheet .skills .table-row .table-cell:nth-of-type(7) { + width: 2em; + max-width: 1em; +} + +.charsheet .readonly-show:not(:checked)~.main .skills .table-row .table-header:nth-of-type(7), +.charsheet .readonly-show:not(:checked)~.main .skills .table-row .table-cell:nth-of-type(7) { + width: .5em; + max-width: .5em; +} + +.charsheet .readonly-show:not(:checked)~.main .skills .table-row .table-cell:nth-of-type(7) { + transform: rotate(90deg); +} + +.charsheet input.macro-text-inline, +.charsheet textarea.macro-text-inline, +.charsheet .macro-text-inline input, +.charsheet textarea.macro-text, +.charsheet textarea.skill-macro-text, +.charsheet input.skill-macro-text { + font-family: 'Roboto Mono', monospace; + font-size: 1rem; + line-height: 2rem; + height: 2.75rem; + padding: 2px; + box-sizing: border-box; + vertical-align: inherit; +} + +.charsheet .accessible:checked~.pf-wrapper input.macro-text-inline, +.charsheet .accessible:checked~.pf-wrapper textarea.macro-text-inline, +.charsheet .accessible:checked~.pf-wrapper .macro-text-inline input, +.charsheet .accessible:checked~.pf-wrapper textarea.macro-text, +.charsheet .accessible:checked~.pf-wrapper .inline-textarea, +.charsheet .accessible:checked~.pf-wrapper textarea.skill-macro-text, +.charsheet .accessible:checked~.pf-wrapper input.skill-macro-text { + font-family: 'Roboto Mono', monospace; + font-size: 1.2rem; + line-height: 1.2rem; +} + +/*skill too crowded*/ +.charsheet .skills .divider, +/* turn config page on /off */ +.charsheet .config-show:checked~.pfsheet, +.charsheet .config-show:checked~.footnotes, +.charsheet .config-show:not(:checked)~.section-config, +/* config page toggles override all others: */ +.charsheet .kineticist-show:not(:checked)~.kineticist, +.charsheet .horror-show:not(:checked)~.horror-sect, +.charsheet .dual-wield-show:not(:checked)~.dual-wield-sect, +.charsheet .spellpoints-show:not(:checked)~.section-spellclass .spellpoints-sect, +.charsheet .advanced-spell-option-show:not(:checked)~.spellcasting-classes .section-spellclass .manual-column-show:not(:checked)~div .spell-userdef-column, +.charsheet .advanced-spell-option-show:not(:checked)~.spellcasting-classes .section-spellclass .advanced-spell-option, +.charsheet .advanced-spell-option-show:not(:checked)~.spells .advanced-spell-option, +.charsheet .advanced-spell-option-show:not(:checked)~.npc-spells .advanced-spell-option, +.charsheet .spell-multiclassed-show:not(:checked)~.spellcasting-classes .spell-multiclassed, +.charsheet .spell-multiclassed-show:not(:checked)~.repeating-sect .spell-multiclassed, +.charsheet .all-macro-text-show:not(:checked)~div .macro-text, +.charsheet .all-macro-text-show:not(:checked)~div .showsect.macro-text-showlabel, +.charsheet .all-macro-text-show:not(:checked)~div .showsect.all-saves-macro-showlabel, +.charsheet .all-macro-text-show:not(:checked)~.main .section-skills .skills .table-row .table-header:last-child, +.charsheet .all-macro-text-show:not(:checked)~.main .section-skills .skills .table-row .table-cell:last-child, +.charsheet .all-macro-text-show:not(:checked)~.main .section-defenses .saves .saves-table .table-group-head .table-header:nth-last-child(2), +.charsheet .all-macro-text-show:not(:checked)~.main .section-defenses .saves .saves-table .table-group .table-row .table-cell:nth-last-child(2), +.charsheet .all-macro-text-show:not(:checked)~.main .section-defenses .saves .saves-table .table-group-head .table-header:last-child, +.charsheet .all-macro-text-show:not(:checked)~.main .section-defenses .saves .saves-table .table-group .table-row .table-cell:last-child, +.charsheet .all-macro-text-show:not(:checked)~.main .ability-scores .table .table-group-head .table-header:last-child, +.charsheet .all-macro-text-show:not(:checked)~.main .ability-scores .table .table-group .table-cell:last-child, +.charsheet .all-macro-text-show:not(:checked)~.main .section-attacks .table .table-group-head .table-headersuper:last-child, +.charsheet .all-macro-text-show:not(:checked)~.main .section-attacks .table .table-group .table-cell:last-child, +.charsheet .bonustype-show:not(:checked)~.newbuff, +.charsheet .bonustype-show:checked~.oldbuff, +.charsheet .wounds-show:not(:checked)~.wound-threshold, +.charsheet .advanced-macro-show:not(:checked)~.main .advanced-macros, +.charsheet .advanced-macro-show:not(:checked)~.main .advmacro-text-showlabel, +.charsheet .racial-traits-show:not(:checked)~.section-racial-traits, +.charsheet .racial-traits-show:not(:checked)~div .section-racial-traits, +.charsheet .traits-show:not(:checked)~.section-traits, +.charsheet .traits-show:not(:checked)~div .ection-traits, +.charsheet .featlist-show:not(:checked)~.section-featlist, +.charsheet .featlist-show:not(:checked)~div .section-featlist, +.charsheet .classfeatures-show:not(:checked)~.section-classfeatureslist, +.charsheet .classfeatures-show:not(:checked)~div .section-classfeatureslist, +.charsheet .oldslas-show:not(:checked)~.section-oldslas, +.charsheet .oldslas-show:not(:checked)~div .section-oldslas, +.charsheet .mythic-show:not(:checked)~.section-mythic, +.charsheet .mythic-show:not(:checked)~.repeating-fields .section-mythic, +.charsheet .mythic-show:not(:checked)~.repeating-sect .repeating-fields .section-mythic, +.charsheet .mythic-show:not(:checked)~div .section-mythic, +.charsheet .psionic-show:not(:checked)~.section-psionic, +.charsheet .psionic-show:not(:checked)~div .section-psionic { + display: none !important; +} + +.charsheet .readonly-show:not(:checked)~.main .section-spellclass .col button[type="roll"] { + font-size: .95em; +} + /*styles sheet mode note*/ -div.sheet-mode { +.charsheet div.mode { float: right; clear: right; font-weight: bold; font-style: italic; } -div.sheet-mode:hover { +.charsheet div.mode:hover { color: red; } -div.sheet-mode input.sheet-readonly-show { +.charsheet div.mode input.readonly-show { display: inline-block; opacity: 0; width: 7em; @@ -6046,11 +6155,11 @@ div.sheet-mode input.sheet-readonly-show { } /*hides edit-mode note*/ -.sheet-readonly-show:not(:checked)+span.sheet-mode { +.charsheet .readonly-show:not(:checked)+span.mode { display: none; } /*hides compact-mode note*/ -.sheet-readonly-show:checked+span.sheet-mode+span.sheet-mode { +.charsheet .readonly-show:checked+span.mode+span.mode { display: none; } \ No newline at end of file diff --git a/Pathfinder Community/pathfinder_community.html b/Pathfinder Community/pathfinder_community.html index da8098e3b0..336febe7f2 100644 --- a/Pathfinder Community/pathfinder_community.html +++ b/Pathfinder Community/pathfinder_community.html @@ -1,275 +1,270 @@ - - - - - - - - - - - -
-
- - Edit Mode - Compact Mode + + + + + + + + + + + +
+
+ + Edit Mode + Compact Mode
- Screenreader users should check expand all to ensure all content is visible to the reader. It is the second checkbox on this page. - Screenreader users please turn on reading of Title attributes. A lot of information is still in the titles. - Checkboxes with a label right after cause the section with same name (h2 or h3 header) to be revealed or hidden. - New sheets begin on the Configuration page. Use the Settings button(config-show) to edit the sheet. - - - + Screenreader users should check expand all to ensure all content is visible to the reader. It is the second checkbox on this page. + Screenreader users please turn on reading of Title attributes. A lot of information is still in the titles. + Checkboxes with a label right after cause the section with same name (h2 or h3 header) to be revealed or hidden. + New sheets begin on the Configuration page. Use the Settings button(config-show) to edit the sheet. + + +
-