diff --git a/Draw Steel/draw-steel.css b/Draw Steel/draw-steel.css index 7dc68cbcdd..4c684d4f16 100644 --- a/Draw Steel/draw-steel.css +++ b/Draw Steel/draw-steel.css @@ -4,31 +4,172 @@ grid-column-end: -1 } -/* Main Sheet */ +/* Sheet-wide variables */ + .charsheet { - background-color: #eee; - padding: 1em; - font-family: Georgia, serif; - overflow: clip; + /* === COLORS === */ + /* Backgrounds */ + --color-bg-main: #ffffff; + --color-bg-section: #e0e0e0; + + /* Text */ + --color-text-body: #333333; + --color-text-header: #1a1a1a; + --color-text-accent: #666666; + + /* Borders & Accents */ + --color-border: #999999; + --color-accent-steel: #777777; + + /* Inputs & UI */ + --color-input-bg: #ffffff; + --color-input-border: #b0b0b0; + --color-button-bg: var(--color-border); + --color-button-border: #555555; + --color-button-hover-bg: var(--color-accent-steel); + --color-button-hover-border: #1a1a1a; + + /* === FONTS === */ + --font-family-header: "Georgia", "Times New Roman", serif; + --font-family-body: "Georgia", "Times New Roman", serif; + + /* === SIZING & SPACING === */ + --border-main: 1px solid var(--color-border); + --border-section: 2px solid var(--color-border); + --border-radius: 5px; + --box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.05), 0 0 4px rgba(0, 0, 0, 0.3); + --sheet-padding: 8px; + --section-gap: 0.5em; } +/* Dark Mode Sheet-wide variables */ + +.sheet-darkmode .charsheet { + /* === COLORS === */ + /* Backgrounds */ + --color-bg-main: #1f1f1f; /* Very dark gray, near black */ + --color-bg-section: rgb(59, 64, 69); /* Slightly lighter dark gray for sections */ + + /* Text */ + --color-text-body: #cccccc; /* Light gray for body text */ + --color-text-header: #f0f0f0; /* Very light gray, almost white for headers */ + --color-text-accent: #999999; /* Mid-gray for emphasis or subtle accent */ + + /* Borders & Accents */ + --color-border: #666666; /* Darker mid-gray for borders */ + --color-accent-steel: #888888; /* A solid gray for steel-like accents */ + + /* Inputs & UI */ + --color-input-bg: #444444; /* Darker gray for inputs */ + --color-input-border: #777777; /* Mid-gray for input borders */ + --color-button-bg: #3b4045; + --color-button-border: #888888; + --color-button-hover-border: #aaaaaa; + +} + +/* Roll Template variables */ + +.sheet-rolltemplate-monsterability .sheet-roll-container, +.sheet-rolltemplate-ability .sheet-roll-container, +.sheet-rolltemplate-powerroll .sheet-roll-container, +.sheet-rolltemplate-abilitypowerroll .sheet-roll-container { + /* === COLORS === */ + /* Backgrounds */ + --color-bg-main: #f5f5f5; + --color-bg-section: #e0e0e0; + + /* Text */ + --color-text-body: #333333; + --color-text-header: #1a1a1a; + --color-text-accent: #666666; + + /* Borders & Accents */ + --color-border: #999999; + --color-accent-steel: #777777; + + /* === FONTS === */ + --font-family-header: "Georgia", "Times New Roman", serif; + --font-family-body: "Georgia", "Times New Roman", serif; + + /* === SIZING & SPACING === */ + --border-main: 1px solid var(--color-border); + --border-section: 1px solid var(--color-border); + --border-radius: 5px; + --sheet-padding: 8px; +} + +/* Darkmode Roll Template variables */ + +.sheet-rolltemplate-darkmode.sheet-rolltemplate-monsterability .sheet-roll-container, +.sheet-rolltemplate-darkmode.sheet-rolltemplate-ability .sheet-roll-container, +.sheet-rolltemplate-darkmode.sheet-rolltemplate-powerroll .sheet-roll-container, +.sheet-rolltemplate-abilitypowerroll.sheet-rolltemplate-darkmode .sheet-roll-container { + --color-bg-main: #1f1f1f; + --color-bg-section: rgb(59, 64, 69); + + /* Text */ + --color-text-body: #cccccc; + --color-text-header: #f0f0f0; + --color-text-accent: #999999; + + /* Borders & Accents */ + --color-border: #666666; + --color-accent-steel: #888888; + +} + + +/* Main Sheet */ + +.charsheet { + background-color: var(--color-bg-main) ; + color: var(--color-text-body); + font-family: var(--font-family-body); + padding: 1em; + overflow: clip; + min-width: 566px; +} + +/* .sheet-darkmode .charsheet { color: #e0e0e0; background: #2b3035 !important; } +*/ + +.sheet-panel { + background-color: var(--color-bg-section); + color: var(--color-text-body); + border: var(--border-main); + border-radius: var(--border-radius); + box-shadow: var(--box-shadow); + padding: var(--sheet-padding); + margin-bottom: var(--section-gap); +} + +.sheet-panel-box { + border: var(--border-section); + border-radius: var(--border-radius); + padding: var(--sheet-padding); + background-color: var(--color-bg-subsection); +} + +/* +.sheet-header { + display: grid; +} +*/ .sheet-darkmode img[alt="Powered By Draw Steel"] { filter: invert(100%); } -.sheet-header { - display: grid; -} - -.sheet-body { +.sheet-body { /* Sets the minimum width for the player character sheet */ min-width:800px; } +/* .sheet-body > :not(.v-spacer):not(.h-spacer) { background-color: #fdfdfd; } @@ -40,68 +181,24 @@ background: #2b3035 !important; box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.05), 0 0 4px rgba(0, 0, 0, 0.3); } +*/ -.sheet-darkmode button[type="action"] { - background-color: #3b4045 !important; +.charsheet button[type="action"] { + background-color: var(--color-button-bg); + color: var(--color-text-body); + border: 1px solid var(--color-button-border); + border-radius: var(--border-radius); + font-family: var(--font-family-body); + cursor: pointer; + transition: background-color 0.2s ease; } -.border { - border: 3px solid #aaa; - border-radius: 4px; - padding: 0.5em; +.charsheet button[type="action"]:hover { + background-color: var(--color-button-hover-bg); + border-color: var(--color-button-hover-border); } -.border-right { - border-right: 1px solid #aaa; -} - -.v-spacer { - height: 1em; -} - -.hexagon { - background-color: #f9f9f9; - border: 2px solid #ccc; - border-radius: 0.5em; - padding: 0.5em; - text-align: center; - box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); -} - -.sheet-darkmode .hexagon { - background-color: #3b4045; -} - -.charsheet input { - width: unset; -} -.charsheet input[type=number] { - text-align: center; -} -.charsheet input[type=number].no-spin::-webkit-inner-spin-button, -.charsheet input[type=number].no-spin::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; -} -.charsheet input.input-md { - height: 20px; - font-size: 0.9em; -} - -.sheet-darkmode .charsheet input.input-md { - background-color: #3b4045; - color: #e0e0e0; - border-color: #444; -} - -.charsheet input.input-stamina { - height: 20px; - font-size: 0.9em; - width: 100%; - box-sizing: border-box; - min-width: 6em; -} -.charsheet label { +.characterviewer .charsheet label { display: unset; margin: unset; padding: unset; @@ -109,24 +206,120 @@ background: #2b3035 !important; text-align: unset; float: unset; font-size: 1em; + color: var(--color-text-header); } -label.sublabel { + +.charsheet input { + width: unset; + color: var(--color-text-body); + background-color: var(--color-input-bg); + border: 1px solid var(--color-input-border); + border-radius: var(--border-radius); +} +.charsheet input[type=number] { + text-align: center; +} + +.charsheet select { + margin: unset; + width: unset; + color: var(--color-text-body); + background-color: var(--color-input-bg); + border: 1px solid var(--color-input-border); + border-radius: var(--border-radius); +} + +.charsheet textarea { + margin: unset; + width: unset; + resize: vertical; + color: var(--color-text-body); + background-color: var(--color-input-bg); + border: 1px solid var(--color-input-border); + border-radius: var(--border-radius); + min-height: 50px; + box-sizing: border-box; +} + +.charsheet h1, +.charsheet h2, +.charsheet h3, +.charsheet h4, +.charsheet h5, +.charsheet h6 { + color: var(--color-text-header); + font-family: var(--font-family-header); +} + +.charsheet .repcontrol { + margin: var(--sheet-padding); +} +/* +.border { + border: 3px solid #aaa; + border-radius: 4px; + padding: 0.5em; +} +*/ + +.border-right { + border-right: var(--border-main); +} + +/* +.v-spacer { + height: 1em; +} +*/ + + + +/* +.sheet-darkmode .hexagon { + background-color: #3b4045; +} +*/ + +.charsheet input[type=number].no-spin::-webkit-inner-spin-button, +.charsheet input[type=number].no-spin::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.charsheet input.input-md { + height: 20px; + font-size: 0.9em; +} + +.charsheet input.input-stamina { + height: 20px; + font-size: 0.9em; + width: 100%; + box-sizing: border-box; + min-width: 6em; +} + +.charsheet label.sublabel { height: 16px; font-size: 0.8em; font-weight: normal; + color: var(--color-text-accent); } .charsheet label.sublabel input { padding: 0; font-size: 1em; } -.charsheet select { - margin: unset; - width: unset; + +.charsheet .panel-title { + font-size: 14px; + text-align: center } -.charsheet textarea { - margin: unset; - width: unset; - resize: vertical; + +/* +.sheet-darkmode .charsheet input.input-md { + background-color: #3b4045; + color: #e0e0e0; + border-color: #444; } .sheet-darkmode .charsheet input.input-stamina { @@ -159,34 +352,42 @@ label.sublabel { color: #e0e0e0; opacity: 1; } - +*/ .progressbox-group { display: flex; } .progressbox-group > input { display: none; } -.progressbox-group > .progressbox { +.charsheet .progressbox-group > .progressbox { display: block; height: 1.5em; width: 1.3em; - border: 1px solid #aaa; + border: 1px solid var(--color-input-border); cursor: pointer; } .progressbox-group > .progressbox:has(~ input:checked), .progressbox-group > input:checked + .progressbox { - background-color: #777; + background-color: var(--color-accent-steel); } +/* .sheet-darkmode .progressbox-group > .progressbox:has(~ input:checked), .sheet-darkmode .progressbox-group > input:checked + .progressbox { background-color: #e0e0e0; } +*/ +/* Sheet Options Panel */ + + + + +/* Header Panel */ .header-panel { display: flex; - gap: 0.5em; + gap: var(--section-gap); } .header-panel > * { flex: 1 1 0; @@ -200,6 +401,26 @@ label.sublabel { .text-warning { color: orangered; } +/* Minimize Panel Icon +.minimize { + display:none; +} + +#stats-minimize-checkbox:checked + label::before, +#biography-minimize-checkbox:checked + label::before, +#skills-languages-minimize-checkbox:checked + label::before, +#features-minimize-checkbox:checked + label::before, +#abilities-minimize-checkbox:checked + label::before, +#inventory-minimize-checkbox:checked + label::before, +#projects-minimize-checkbox:checked + label::before { + content:'&'; +} +label[for*='minimize']::before { + display: inline-block; + content:'_'; + font-family: 'Pictos'; +} +*/ .minimizable:has(.minimize-control > .minimize:checked) > :not(.minimize-control):not(.minimize-ignore):not(.minimize-show), .minimizable:has(.minimize-control > .minimize:checked) > .minimize-ignore > :not(.minimize-ignore), @@ -220,7 +441,7 @@ label.sublabel { .profile-panel .name-input-group { grid-column-end: span 2; } - +/* .sheet-darkmode .panel-dark input[type="text"] { background-color: #3b4045 !important; color: #e0e0e0 !important; @@ -237,7 +458,7 @@ label.sublabel { color: #e0e0e0; border-color: #444; } - +*/ .progress-panel { display: grid; grid-template-columns: repeat(6, 1fr); @@ -256,6 +477,7 @@ label.sublabel { grid-column-end: span 2; } +/* .sheet-darkmode h5[data-i18n="victories"], .sheet-darkmode h5[data-i18n="level"], .sheet-darkmode h5[data-i18n="biography"], @@ -273,29 +495,106 @@ label.sublabel { .sheet-darkmode h2[data-i18n="move-actions"] { color: #e0e0e0; } +*/ .stats-panel { position: sticky; top: 0; z-index: 10; display: grid; - grid-template-columns: repeat(12, 1fr); - gap: 0.25em; -} -.stats-panel > .minimize-control { - grid-column-start: 1; - grid-column-end: -1; + grid-template-columns: repeat(10,76px); + grid-template-rows: auto; + gap: 5px; } +.charsheet .sheet-body .stats-panel input[type=number]::-webkit-inner-spin-button, +.charsheet .sheet-body .stats-panel input[type=number]::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +.charsheet .sheet-body .stats-panel input[type=number] { + -moz-appearance: textfield; +} + +.stats-panel > .minimize-control { + grid-column: 1 / -1; +} + +.stat-dashboard { + display: grid; + grid-template-columns: repeat(10, 76px); + gap: 5px; + grid-column: 1/-1; + justify-items: center; + align-items: end; + +} + +.hexagon { +--b: 2px; + height: 75px; + aspect-ratio: cos(30deg); + clip-path: polygon(50% 0,-50% 50%,50% 100%,150% 50%,50% 0, 50% var(--b), calc(100% - var(--b)*sin(60deg)) calc(25% + var(--b)*cos(60deg)), calc(100% - var(--b)*sin(60deg)) calc(75% - var(--b)*cos(60deg)), 50% calc(100% - var(--b)), calc(var(--b)*sin(60deg)) calc(75% - var(--b)*cos(60deg)), calc(var(--b)*sin(60deg)) calc(25% + var(--b)*cos(60deg)), 50% var(--b)); + background: var(--color-bg-main); + position: absolute; + z-index: -10; + top: 0px; +} + +.dashboard-characteristics { + grid-column-start: 1; + grid-column-end: span 5; + display: flex; + gap: 2px; + flex-direction: row; +} + +.dashboard-stat-group { + text-align: center; + width: 75px; + position: relative; + display: grid; + justify-items: center; +} + +.charsheet .sheet-body .dashboard-stat-group input[type="number"] { + display: block; + width: 50px; + height: 45px; + font-size: 1.5em; + text-align: center; + color: var(--color-text-header); + -moz-appearance: textfield; +} + +.charsheet .sheet-body .dashboard-stat-group input[type=number]::-webkit-inner-spin-button, +.charsheet .sheet-body .dashboard-stat-group input[type=number]::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} +.dashboard-stamina { + grid-column: 6/ span 2; + display: grid; + grid-template-columns: 1fr 1fr; + align-items: end; +} + +.dashboard-resource, .dashboard-recoveries { + font-size: 0.9em; +} + +/* .core-panel { - grid-column-end: span 6; - grid-row-end: span 2; + grid-column-start: 1; + grid-column-end: 5; display: flex; flex-direction: column; align-items: center; justify-content: space-between; } - +*/ +/* .characteristics { display: grid; grid-template-columns: repeat(5, 1fr); @@ -305,26 +604,41 @@ label.sublabel { grid-column-start: 1; grid-column-end: -1; } +*/ .characteristic-input-group > label { cursor: pointer; } .characteristic-input-group > input { text-align: center; } - +/* .sheet-darkmode .characteristic-input-group > input { background-color: #3b4045; color: #e0e0e0; border-color: #444; } - -.potencies, .potencies > div { +*/ +.potencies { + grid-column-start: 1; + grid-column-end: span 2; display: flex; - align-items: center; gap: 0.25em; + flex-direction: column; } +.potency-input-group { + flex-direction: row; + display: flex; + justify-content: right; + gap: 0.5em; +} + +.potencies .potency-input-group input[type="number"] { + width:4.5em; +} .movement { + grid-column-start: 1; + grid-column-end: span 5; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.1em; @@ -339,44 +653,72 @@ label.sublabel { text-align: center; } + .stamina-panel { - grid-column-end: span 3; + grid-column-start: 6; + grid-column-end: span 2; display: grid; - grid-template-columns: 2fr 2fr 2fr; - column-gap: 0.5em; + grid-template-columns: 75px 1fr; + column-gap: 5px; + padding: 3px; } +/* .stamina-panel > .panel-title { grid-column-start: 1; grid-column-end: -1; text-align: center; } -.stamina-input-group, -.stamina-temporary-input-group { +*/ +.stamina-input-group { grid-row-end: span 2; display: flex; flex-direction: column; align-items: center; } +.stamina-temp-max-group { + grid-column-end: -1; + grid-column-start: 1; + display: grid; + grid-template-columns: 1fr 1fr; + text-align: center; +} -.stamina-input-group input, -.stamina-temporary-input-group input { +.stamina-input-group input{ width: 100%; box-sizing: border-box; min-width: 6em; } -.recoveries-panel { - grid-column-end: span 2; - display: grid; - grid-template-columns: repeat(2, 1fr); - grid-auto-rows: min-content; - gap: 0.1em; +.stamina-winded-input-group, .stamina-dying-input-group { + text-align: center; } +.stamina-temporary-input-group input { + min-width:6em; +} + +.charsheet .stamina-panel input[name="attr_stamina"], +.charsheet .recoveries-panel input[name="attr_recoveries"], +.charsheet .resource-panel input[name="attr_resource"] { + height: 57px; + font-size: 1.5em; + padding: 0; + width: 75px; + min-width: unset; +} + +.recoveries-panel { + display: flex; + flex-direction: column; +} + +/* .recoveries-panel > .panel-title { grid-column-start: 1; grid-column-end: -1; - justify-self: center; +/ justify-self: center; } +*/ + .recoveries-input-group { grid-column-start: 1; grid-column-end: -1; @@ -390,102 +732,124 @@ label.sublabel { } .damage-mod-panel { - grid-column-end: span 6; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0.25em; + grid-column-start: 3; + grid-column-end: 7; } .resource-description-panel { - grid-column-end: span 4; -} + grid-column: 7/-1; +} + .resource-description-panel > textarea { width: 100%; - height: 6em; + height: 7em; resize: vertical; + box-sizing: border-box; } .resource-panel { - grid-column-end: span 2; justify-self: center; display: grid; grid-template-columns: 1fr; grid-auto-rows: min-content; justify-items: center; } + +/* .resource-panel > .panel-title { overflow-wrap: break-word; text-align: center; } +*/ + .resource-name-input-group > input { width: 100px; text-align: center; } .surges-panel { - grid-column-end: span 2; display: grid; grid-template-columns: 1fr; grid-auto-rows: min-content; justify-items: center; + grid-column-start: 10; +} } .surges-panel > label { justify-self: start; } -.conditions-panel { - grid-column-end: span 4; +.surges-panel > span { + font-size: 0.7em; } + +.conditions-panel { + grid-column: 1 /-1; +} + .repcontainer[data-groupname="repeating_conditions"] > .repitem { display: grid; - grid-template-columns: auto auto; + grid-template-columns: 3fr auto 1fr; gap: 0.25em; align-items: start; } + .repcontainer[data-groupname="repeating_conditions"] > .repitem > input { grid-row-end: span 2; } +/* Biography Panel Styling */ .biography-panel { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 0.5em; } + .biography-panel > .minimize-control { grid-column-start: 1; grid-column-end: -1; } + .career-panel { display: grid; } -.career-panel > .panel-title, + .career-panel > input, .career-panel > label { text-align: center; } + .career-panel > input { font-weight: bold; } + .career-panel > textarea { height: 75px; resize: vertical; } + .complication-panel { display: grid; } -.complication-panel > .panel-title, + .complication-panel > input, .complication-panel > label { text-align: center; } + .complication-panel > input { font-weight: bold; } + .complication-panel > textarea { height: 75px; resize: vertical; } + .culture-panel { grid-column-start: 1; grid-column-end: -1; @@ -493,19 +857,22 @@ label.sublabel { grid-template-columns: repeat(3, 1fr); grid-gap: 0.2em; } + .culture-panel > .panel-title { grid-column-start: 1; grid-column-end: -1; - text-align: center; } + .culture-panel > label { text-align: center; } + .culture-panel > textarea { height: 75px; resize: vertical; } +/* Skills and Language Panel Styling */ .skills-panel { display: grid; grid-template-columns: auto 1fr; @@ -526,6 +893,7 @@ label.sublabel { grid-column-end: -1; } +/* Features Panel Styling */ .features-panel { display: grid; grid-template-columns: repeat(6, 1fr); @@ -536,56 +904,12 @@ label.sublabel { grid-column-end: -1; } -.inventory-panel { - display: grid; - grid-template-columns: repeat(6, 1fr); - grid-gap: 0.5em; -} -.inventory-panel > .minimize-control { - grid-column-start: 1; - grid-column-end: -1; -} - .class-panel { grid-column-end: span 4; } .ancestry-panel { grid-column-end: span 2; } -.class-panel > .panel-title, -.ancestry-panel > .panel-title { - text-align: center; -} - -.trinket-panel { - grid-column-end: span 4; -} -.consumable-panel { - grid-column-end: span 2; -} - -.level-treasure-panel { - grid-column-end: span 6; -} - -.trinket-panel > .panel-title, -.consumable-panel > .panel-title, -.level-treasure-panel > .panel-title { - text-align: center; -} - -.level-treasure-panel .carry-checks { - display: flex; - justify-content: center; - align-items: center; - gap: 0.5em; - margin-bottom: 0.5em; - flex-wrap: wrap; -} - -.carry-checks .carry-label { - font-weight: bold; -} .repcontainer[data-groupname="repeating_classfeatures"] { display: grid; @@ -618,85 +942,37 @@ label.sublabel { resize: vertical; } -.repcontainer[data-groupname="repeating_trinkets"] { - display: grid; - grid-template-columns: repeat(2, 1fr); - grid-gap: 0.2em; -} - -.repcontainer[data-groupname="repeating_leveltreasure"] { - display: grid; - grid-template-columns: repeat(3, 1fr); - grid-gap: 0.2em; -} - .repcontainer[data-groupname="repeating_classfeatures"] > .repitem, .repcontainer[data-groupname="repeating_ancestrytraits"] > .repitem { display: grid; grid-gap: 0.2em; } -.repcontainer[data-groupname="repeating_trinkets"] > .repitem, -.repcontainer[data-groupname="repeating_leveltreasure"] > .repitem { - display: grid; - grid-gap: 0.2em; -} - -.repcontainer[data-groupname="repeating_consumables"] > .repitem { - display: flex; - align-items: center; - gap: 0.2em; - flex-wrap: wrap; -} - .repcontainer[data-groupname="repeating_classfeatures"] > .repitem > input, .repcontainer[data-groupname="repeating_ancestrytraits"] > .repitem > input { font-weight: bold; } -.repcontainer[data-groupname="repeating_trinkets"] > .repitem > input, -.repcontainer[data-groupname="repeating_leveltreasure"] > .repitem > input { - font-weight: bold; -} - -.repcontainer[data-groupname="repeating_consumables"] > .repitem > input { - flex: 1 1 auto; - font-weight: bold; -} - .repcontainer[data-groupname="repeating_classfeatures"] > .repitem > textarea, .repcontainer[data-groupname="repeating_ancestrytraits"] > .repitem > textarea { height: 50px; resize: vertical; } -.repcontainer[data-groupname="repeating_trinkets"] > .repitem > textarea, -.repcontainer[data-groupname="repeating_leveltreasure"] > .repitem > textarea { - height: 50px; - resize: vertical; -} - -.repcontainer[data-groupname="repeating_consumables"] > .repitem > textarea { - flex: 1 1 100%; - resize: vertical; - height: 50px; -} - .perks-panel { grid-column-end: span 4; } + .titles-panel { grid-column-end: span 2; } -.perks-panel > .panel-title, -.titles-panel > .panel-title { - text-align: center; -} + .repcontainer[data-groupname="repeating_perks"] { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 0.2em; } + .repcontainer[data-groupname="repeating_titles"] { display: grid; grid-gap: 0.2em; @@ -707,10 +983,6 @@ label.sublabel { grid-column-end: -1; } -.modifiers-panel > .panel-title { - text-align: center; -} - .repcontainer[data-groupname="repeating_modifiers"] { display: grid; grid-template-columns: repeat(2, 1fr); @@ -731,50 +1003,78 @@ label.sublabel { .modifier-card:has(> .modifier-type > option[value="kit"]:not(:checked)) > .kit { display: none; } + .modifier-type { grid-column-end: span 2; } +/* .sheet-darkmode .modifier-type { background-color: #3b4045 !important; color: #e0e0e0 !important; } - +*/ .modifier-card > .input-group { display: grid; } + .modifier-card > .input-group > input[type] { width: 100%; } + .modifier-card > .input-group > label { text-align: center; } + .kit-weapon-input-group, .kit-armor-input-group { grid-column-end: span 3; } + .modifier-card > .kit-damage-label { grid-column-end: span 3; text-align: center; } + .modifier-card:has(> .modifier-type > option[value="kit"]:checked) > .modifier-description { grid-column-end: span 3; grid-row-end: span 4; height: 100%; } + .modifier-card:has(> .modifier-type > option[value="kit"]:not(:checked)) > .modifier-description { grid-column-start: 1; grid-column-end: -1; height: 75px; } +/* +.feature-button { + width: 20px; + height: 20px; + padding: 0px; + margin: 0px; + background-color: var(--color-button-bg); + border: 1px solid var(--color-button-border); + border-radius: var(--border-ra; +} + +.sheet-darkmode .feature-button { + background-color: #3b4045 !important; + color: #e0e0e0 !important; + border: 1px solid #e0e0e0; +} +*/ /*Abilities Panel*/ .abilities-panel { display: grid; grid-gap: 0.5em; + padding-top: 5px; } + +/* -- Ability Tab Buttons */ .abilities-buttons { display: flex; border-bottom: 2px solid; @@ -791,7 +1091,7 @@ label.sublabel { } .abilities-buttons button[type="action"]:hover { - background-color: rgba(255, 215, 0, 0.6); + background-color: var(--color-button-hover-bg)/*rgba(255, 215, 0, 0.6)*/; } .charsheet .sheet-action, @@ -807,11 +1107,11 @@ label.sublabel { .charsheet .sheet-tabstoggle[value="triggered"] ~ abilities-buttons .sheet-button-triggered .charsheet .sheet-tabstoggle[value="noaction"] ~ abilities-buttons .sheet-button-noaction .charsheet .sheet-tabstoggle[value="move"] ~ abilities-buttons .sheet-button-move { - background-color: #fdfdfd; - border-radius: 8px 8px 0 0; - border: 1px solid #ccc; - border-bottom: none; - box-shadow: 0 -2px 0 #444 inset; + background-color: var(--color-button-bg); + border-radius: 8px 8px 0 0; + border: var(--color-button-border) /*1px solid #ccc*/; + border-bottom: none; + box-shadow: 0 -2px 0 #444 inset; } .charsheet .sheet-tabstoggle[value="action"] ~ div.sheet-action, @@ -831,21 +1131,223 @@ label.sublabel { .default-maneuvers, .default-moves, .default-noaction, -.default-mainaction { +.default-mainaction, +.standard-abilities { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 0.5em; } -/*Read-only Ability Card Styling*/ +.standard-abilities-item { + position: relative; +} +/* -- Ability Card Styling */ +#ability-edit::before { + content: 'p'; + font-family: "Pictos"; + font-size: 1.5em; + cursor: pointer; +} + +#ability-edit { + top: 0px; + right: 5px; + position: absolute; + appearance: none; + background-color: transparent; + border-color: transparent; + color: var(--color-text-accent); +} + +#ability-edit:hover { + color: var(--color-text-header); +} + +.charsheet input.ability-edit:not(:checked) ~ div.card-edit, .charsheet input.ability-edit:checked ~ div.card-display { + display: none; +} + +.ability-card { + display: grid; + grid-template-columns: 30px repeat(3, 1fr) auto 30px; + background-color: var(--color-bg-section); + border: var(--border-section); + border-radius: var(--border-radius); + padding: var(--sheet-padding); +} + +.ability-share-button { + width: 20px; + height: 20px; + padding: 0px; + margin: 0px; +} + +.ability-name { + grid-column-end: span 2; + grid-column-start: 2; + font-weight: bold; +} + +.ability-name::placeholder { + opacity: 0.7; +} + +.ability-cost-input-group, .ability-cost { + grid-column-start: 5; + justify-self: end; +} + +.ability-cost-input-group > input { + font-weight: bold; +} + +.ability-cost input:not([value]) ~ span, +.ability-cost input[value="0"] ~ span { + display: none; +} + +.ability-details { + grid-column: 1/-1; + display: grid; + grid-template-columns: 1fr 1fr; +} + +.ability-description { + grid-column-start: 1; + grid-column-end: -1; + font-size: 0.8em; + font-style: italic; +} + +.ability-description::placeholder { + opacity: 0.7; +} + +.ability-keywords { + /*grid-column-end: span 4;*/ + font-size: 0.8em; + font-weight: bold; +} + +.ability-keywords::placeholder { + opacity: 0.7; +} + +.ability-type { + /*grid-column-end: span 2;*/ + text-align: end; + font-weight: bold; +} +/* +.sheet-darkmode .ability-type { + background-color: #3b4045 !important; + color: #e0e0e0 !important; +} +*/ + +.ability-type:has(> option[value*="triggered"]:checked) ~ .triggered-hide, +.ability-type:not(:has(> option[value*="triggered"]:checked)) ~ .triggered-show { + display: none; +} + +.ability-distance { + font-size: 0.9em; +} + +.ability-distance::placeholder { + opacity: 0.7; +} + +.ability-target { +/* grid-column-end: span 3; */ + font-size: 0.8em; + text-align: end; +} + +.ability-target::placeholder { + opacity: 0.7; +} + +.card-edit .ability-details:has([name="attr_has_power_roll"]:not(:checked)) > .power-roll > .power-roll-mods > :not(input[type="checkbox"]):not(label), +.card-edit .ability-details:has([name="attr_has_power_roll"]:not(:checked)) > .power-roll > :not(.power-roll-mods) { + display: none; +} + +.card-display .ability-details input[name*="attr_has"]:not([value="on"]) + div { + display: none; +} + +.ability-card > .power-roll-hide, +.ability-card > .power-roll { + grid-column-start: 1; + grid-column-end: -1; +} + +.power-roll { + grid-column: 1 / -1; + display: grid; + grid-template-columns: auto 1fr; + column-gap: 0.5em; + align-items: center; +} + +.power-roll-mods { + grid-column-start: 1; + grid-column-end: -1; +} +.power-roll-characteristic { + font-weight: bold; +} + +/* +.sheet-darkmode select.power-roll-characteristic { + background-color: #3b4045; +} +*/ + +.power-roll-characteristic::placeholder { + opacity: 0.7; +} + +.power-roll-tier-effect { + font-size: 0.8em; +} + +.power-roll label.sublabel { + background-color: var(--color-bg-subsection); + border: var(--border-main); + border-radius: var(--border-radius); + padding: 1px; + text-align: center; + margin: 4PX 0px 0px 0px; + line-height: normal; +} + +.ability-details > .ability-trigger, +.ability-details > .ability-effect { + grid-column-start: 1; + grid-column-end: -1; + height: auto; +} + + + +/* .ability-edit-label { float: right; margin-right: 20px; font-family: 'Cinzel', serif; font-style: bold; } +*/ + +/* -- Read-only Ability Card Styling*/ + + +/* .read-ability-name:empty::before { content: attr(data-i18n-placeholder); font-style: bold; @@ -912,7 +1414,8 @@ label.sublabel { .read-ability-card .ability-effect, .ability-trigger { height: auto; } - +*/ +/* label.ability-edit { font-family: "Pictos"; font-size: 1.5em; @@ -927,13 +1430,6 @@ label.ability-edit { color: #e0e0e0; } -.charsheet input.ability-edit:not(:checked) ~ div.ability-card, .charsheet input.ability-edit:checked ~ div.read-ability-card { - display: none; -} - -.abilities-panel { - padding-top: 5px; -} .sheet-action > .repcontainer[data-groupname="repeating_abilities"] > .repitem, .sheet-maneuver > .repcontainer[data-groupname="repeating_maneuvers"] > .repitem, @@ -1022,31 +1518,11 @@ label.ability-edit { display: none; } + .ability-trigger { grid-column-end: span 6; } -.feature-button { - width: 20px; - height: 20px; - padding: 0px; - margin: 0px; - background-color: #ddd; - border: 1px solid #aaa; - border-radius: 5px; -} - -.sheet-darkmode .feature-button { - background-color: #3b4045 !important; - color: #e0e0e0 !important; - border: 1px solid #e0e0e0; -} - -input.ability-edit { - right: 5px; - position: absolute; -} - .free-strikes > div, .default-maneuvers > div, .default-moves > div, @@ -1059,121 +1535,90 @@ input.ability-edit { grid-column-start: 1; grid-column-end: -1; } +*/ /*End Read-only Ability Card Styling*/ -.ability-card { + + +/* Inventory Panel Styling */ +.inventory-panel { display: grid; - grid-template-columns: repeat(4, 1fr) repeat(2, auto); -} -.ability-name { - grid-column-end: span 4; - font-weight: bold; + grid-template-columns: repeat(3, 1fr); + grid-gap: 0.5em; } -.ability-name::placeholder { - opacity: 0.7; -} - -.ability-cost-input-group { - justify-self: end; -} -.ability-cost-input-group > input { - font-weight: bold; -} -.ability-description { - grid-column-start: 1; - grid-column-end: -1; - font-size: 0.8em; - font-style: italic; -} - -.ability-description::placeholder { - opacity: 0.7; -} - -.ability-keywords { - grid-column-end: span 4; - font-size: 0.8em; - font-weight: bold; -} - -.ability-keywords::placeholder { - opacity: 0.7; -} - -.ability-type { - grid-column-end: span 2; - text-align: end; - font-weight: bold; -} - -.sheet-darkmode .ability-type { - background-color: #3b4045 !important; - color: #e0e0e0 !important; -} - -.ability-type:has(> option[value*="triggered"]:checked) ~ .triggered-hide, -.ability-type:not(:has(> option[value*="triggered"]:checked)) ~ .triggered-show { - display: none; -} -.ability-distance { - grid-column-end: span 3; -} - -.ability-distance::placeholder { - opacity: 0.7; -} - -.ability-target { - grid-column-end: span 3; - font-size: 0.8em; - text-align: end; -} - -.ability-target::placeholder { - opacity: 0.7; -} - -.ability-card:has([name="attr_has_power_roll"]:not(:checked)) > .power-roll > .power-roll-mods > :not(input[type="checkbox"]):not(label), -.ability-card:has([name="attr_has_power_roll"]:not(:checked)) > .power-roll > :not(.power-roll-mods) { - display: none; -} -.ability-card > .power-roll-hide, -.ability-card > .power-roll { - grid-column-start: 1; - grid-column-end: -1; -} -.power-roll { - display: grid; - grid-template-columns: auto 1fr; - align-items: center; -} -.power-roll-mods { - grid-column-start: 1; - grid-column-end: -1; -} -.power-roll-characteristic { - font-weight: bold; -} - -.sheet-darkmode select.power-roll-characteristic { - background-color: #3b4045; -} - -.power-roll-characteristic::placeholder { - opacity: 0.7; -} - -.power-roll-tier-effect { - font-size: 0.8em; -} -.ability-card > .ability-trigger, -.ability-card > .ability-effect { - grid-column-start: 1; - grid-column-end: -1; +.inventory-panel textarea { height: 50px; + width: 100%; } +.inventory-panel .name-input { + font-weight: bold; +} + +.inventory-panel > .minimize-control { + grid-column-start: 1; + grid-column-end: -1; +} + +input.name-input { + width: 100%; +} + +.trinket-panel { + grid-column-end: span 2; +} + +.consumable-panel input-bg { + width: 100% +} + +.level-treasure-panel { + grid-column: 1 / -1; +} + +.level-treasure-panel .carry-checks { + display: flex; + justify-content: center; + align-items: center; + gap: 0.5em; + margin-bottom: 0.5em; + flex-wrap: wrap; +} + +.carry-checks .carry-label { + font-weight: bold; +} + +.repcontainer[data-groupname="repeating_trinkets"] { + display: grid; + grid-template-columns: repeat(2, 1fr); + grid-gap: var(--sheet-padding); +} + +.repcontainer[data-groupname="repeating_consumables"] { + display: flex; + grid-gap: var(--sheet-padding); + flex-direction: column; +} + +.repcontainer[data-groupname="repeating_leveltreasure"] { + display: grid; + grid-template-columns: repeat(3, 1fr); + grid-gap: var(--sheet-padding); +} + + +.repcontainer[data-groupname="repeating_trinkets"] > .repitem, +.repcontainer[data-groupname="repeating_leveltreasure"] > .repitem, +.repcontainer[data-groupname="repeating_consumables"] > .repitem { + display: flex; + grid-gap: 0.2em; + flex-direction: column; +} + + +/* Projects Panel Styling */ .repcontainer[data-groupname="repeating_projects"] > .repitem { display: grid; grid-template-columns: 5fr 4fr 3fr 3fr; @@ -1186,27 +1631,30 @@ input.ability-edit { flex-grow: 1; } -.import-panel > textarea { - height: 50px; -} -.sheet-rolltemplate-powerroll, -.sheet-rolltemplate-ability, -.sheet-rolltemplate-abilitypowerroll { - background-color: #f5f5f5; /* eggshell */ - font-family: 'Georgia', serif; + +/* Roll Template Styling */ + +.sheet-rolltemplate-powerroll .sheet-roll-container, +.sheet-rolltemplate-ability .sheet-roll-container, +.sheet-rolltemplate-abilitypowerroll .sheet-roll-container { + background-color: var(--color-bg-main); + font-family: var(--font-family-body); padding: 16px; border-radius: 10px; - border: 1px solid #ccc; + border: var(--border-main); max-width: 264px; box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); + color: var(--color-text-body); } -.sheet-rolltemplate-powerroll.sheet-rolltemplate-darkmode, + +/*.sheet-rolltemplate-powerroll.sheet-rolltemplate-darkmode, .sheet-rolltemplate-ability.sheet-rolltemplate-darkmode, .sheet-rolltemplate-abilitypowerroll.sheet-rolltemplate-darkmode { background-color: #333333; color: #ddd; } +*/ .sheet-rolltemplate-powerroll .sheet-header, .sheet-rolltemplate-ability .sheet-header, @@ -1217,24 +1665,25 @@ input.ability-edit { font-weight: bold; } -.sheet-rolltemplate-powerroll, -.sheet-rolltemplate-abilitypowerroll { +.sheet-rolltemplate-powerroll .sheet-roll-container, +.sheet-rolltemplate-abilitypowerroll .sheet-roll-container { display: grid; grid-template-columns: repeat(2, 1fr); } .sheet-rolltemplate-powerroll .sheet-header, .sheet-rolltemplate-powerroll .sheet-header { margin-bottom: 3px; - border-bottom: 1px solid #bbb; + border-bottom: var(--border-main); padding-bottom: 3px; - line-height: 1.4; + line-height: 1.4; } .sheet-rolltemplate-ability .sheet-header { margin-bottom: 3px; padding-bottom: 3px; - line-height: 1.4; + line-height: 1.4; } + .sheet-rolltemplate-powerroll label, .sheet-rolltemplate-abilitypowerroll label, .sheet-rolltemplate-powerroll .sheet-powerroll-edge-bane { @@ -1247,16 +1696,19 @@ input.ability-edit { font-size: 1em; font-weight: bold; } + .sheet-rolltemplate-powerroll .sheet-powerroll-bonus-penalty { grid-column-start: -2; } + .sheet-rolltemplate-powerroll .sheet-powerroll-crit, .sheet-rolltemplate-powerroll .sheet-powerroll-total, .sheet-rolltemplate-powerroll .sheet-powerroll-tier { margin-top: 3px; - border-top: 1px solid #bbb; + border-top: var(--border-main); padding-top: 3px; } + .sheet-rolltemplate-powerroll .sheet-powerroll-crit { grid-column-start: 1; grid-column-end: -1; @@ -1264,15 +1716,18 @@ input.ability-edit { color: red; text-transform: uppercase; } + .sheet-rolltemplate-powerroll .sheet-powerroll-total { grid-column-start: 1; } -.sheet-rolltemplate-ability .sheet-description { +.sheet-rolltemplate-ability .sheet-description, +.sheet-rolltemplate-monsterability .sheet-description { + font-size: 0.80em; font-style: italic; margin-bottom: 10px; - border-bottom: 2px solid #aaa; + border-bottom: var(--border-section); padding-bottom: 6px; } @@ -1310,7 +1765,7 @@ input.ability-edit { align-items: center; padding: 6px 0; margin-bottom: 10px; - border-bottom: 1px solid #aaa; + border-bottom: var(--border-main); } .sheet-rolltemplate-ability .sheet-roll-label { @@ -1343,10 +1798,10 @@ input.ability-edit { .sheet-rolltemplate-ability .sheet-range { flex-shrink: 0; - background-color: #e0dbce; - padding: 2px 6px; - border-radius: 4px; - font-weight: bold; + background-color: #e0dbce; + padding: 2px 6px; + border-radius: 4px; + font-weight: bold; } .sheet-rolltemplate-ability.sheet-rolltemplate-darkmode .sheet-range { background-color: #5f5d58; @@ -1399,13 +1854,13 @@ input.ability-edit { .npc-panel { display: grid; - background: #fff; - padding: 10px; - border-bottom: 2px solid #aaa; - border-left: 1px solid #aaa; - border-right: 1px solid #aaa; + background: var(--color-bg-section); + padding: var(--sheet-padding); + border-bottom: var(--border-section); + border-left: var(--border-main); + border-right: var(--border-main); } - +/* .sheet-darkmode .npc-panel { background: #3b4045 !important; color: #e0e0e0 !important; @@ -1413,18 +1868,18 @@ input.ability-edit { border-left: 1px solid #e0e0e0 !important; border-right: 1px solid #e0e0e0 !important; } - +*/ .npc-header-panel { grid-template-columns: 1fr auto; align-items: baseline; border-radius: 20px 20px 0px 0px; - border-top: 1px solid #aaa; + border-top: var(--border-main); } - +/* sheet-darkmode .npc-header-panel { border-top: 1px solid #444; } - +*/ .npc-header-panel div:nth-child(even) { justify-self: right; } @@ -1487,7 +1942,7 @@ sheet-darkmode .npc-header-panel { gap: 0.5em; align-items: start; } - +/* .sheet-darkmode .npc-conditions { background-color: #3b4045 !important; color: #e0e0e0 !important; @@ -1499,7 +1954,7 @@ sheet-darkmode .npc-header-panel { color: #e0e0e0 !important; border-color: #444 !important; } - +*/ /* NPC Ability Card Styling */ .npc-abilities-panel { @@ -1513,23 +1968,25 @@ sheet-darkmode .npc-header-panel { } .npc-abilities-panel > .repcontainer[data-groupname="repeating_npcabilities"] > .repitem { - border: 1px solid #aaa; - border-radius: 5px; - background: #fff; - padding: 5px; + border: var(--border-main); + border-radius: var(--border-radius); + background-color: var(--color-bg-section); + padding: var(--sheet-padding); } - +/* .sheet-darkmode .npc-abilities-panel > .repcontainer[data-groupname="repeating_npcabilities"] > .repitem { background-color: #3b4045 !important; color: #e0e0e0 !important; border-color: #444 !important; } - +*/ +/* .npc-ability-card-display, .npc-ability-card-edit { display: grid; grid-template-columns: 30px repeat(4, 1fr) 30px; } - +*/ +/* #npc-ability-edit-toggle { right: 5px; position: absolute; @@ -1560,6 +2017,7 @@ input.npc-ability-edit-toggle:checked ~ div.npc-ability-card-display { grid-column-start: 2; font-weight: bold; } +*/ .npc-ability-subtype-selector, .npc-ability-subtype { grid-column-start: 4; @@ -1568,7 +2026,7 @@ input.npc-ability-edit-toggle:checked ~ div.npc-ability-card-display { font-weight: bold; } - +/* .sheet-darkmode .npc-ability-subtype-selector, .sheet-darkmode .npc-ability-subtype { background-color: #3b4045 !important; color: #e0e0e0 !important; @@ -1580,12 +2038,18 @@ input.npc-ability-edit-toggle:checked ~ div.npc-ability-card-display { color: #e0e0e0 !important; border: 1px solid #e0e0e0; } - +*/ .npc-ability-card { display: grid; grid-template-columns: 30px repeat(4, 1fr) 30px; } +.npc-ability-name { + grid-column-start: 2; + grid-column-end: span 2; + font-weight: bold; +} + .npc-ability-solo-monster { display: grid; @@ -1602,11 +2066,11 @@ input.npc-ability-edit-toggle:checked ~ div.npc-ability-card-display { .npc-ability-subtype-selector:not(:has(> option[value*="ability"]:checked)) ~ .npc-ability-details { display: none; } - +/* .npc-ability-card-edit textarea { height: 50px; } - +*/ .npc-ability-type:has(> option[value*="triggered"]:checked) ~ .triggered-hide, .npc-ability-type:not(:has(> option[value*="triggered"]:checked)) ~ .triggered-show { display: none; @@ -1621,11 +2085,13 @@ input.npc-ability-edit-toggle:checked ~ div.npc-ability-card-display { } .npc-power-roll label.sublabel { - border: 1px solid black; - border-radius: 5px; + background-color: var(--color-bg-subsection); + border: var(--border-main); + border-radius: var(--border-radius); padding: 1px; text-align: center; margin: 4PX 0px 0px 0px; + line-height: normal; } .npc-power-roll-mods { @@ -1650,11 +2116,11 @@ input.npc-ability-edit-toggle:checked ~ div.npc-ability-card-display { display: none; } -.npc-ability-card-display input[name*="attr_has"]:not([value="on"]) + div { +.npc-ability-card input[name*="attr_has"]:not([value="on"]) + div { display: none; } -.npc-ability-card-display .npc-ability-effect, .npc-ability-card-display .npc-ability-trigger { +.npc-ability-card .npc-ability-effect, .npc-ability-card .npc-ability-trigger { height: auto; } @@ -1667,12 +2133,12 @@ input.npc-ability-edit-toggle:checked ~ div.npc-ability-card-display { .npc-ability-type, .npc-ability-target { text-align: end; } - +/* .sheet-darkmode .npc-ability-type { background-color: #3b4045 !important; color: #e0e0e0 !important; } - +*/ .npc-ability-distance { grid-column-start: 1; } @@ -1682,6 +2148,7 @@ input.npc-ability-edit-toggle:checked ~ div.npc-ability-card-display { display: none; } +/* .npc-ability-button { width: 20px; height: 20px; @@ -1690,14 +2157,15 @@ input.npc-ability-edit-toggle:checked ~ div.npc-ability-card-display { background-color: #ddd; border: 1px solid #aaa; border-radius: 5px; -} - +}*/ +/* .sheet-darkmode .npc-ability-button { background-color: #3b4045 !important; color: #e0e0e0 !important; border: 1px solid #e0e0e0; } - +*/ +/* input.npc-ability-edit { right: 5px; position: absolute; @@ -1707,13 +2175,13 @@ input.npc-ability-edit { background-color: #ccc; } - -.npc-ability-card-display .npc-power-roll .npc-power-roll-mods button[type="roll"]::before { +*/ +.npc-ability-card .npc-power-roll .npc-power-roll-mods button[type="roll"]::before { content: "k"; font-family: "dicefontd10"; } -.npc-ability-card-display .npc-power-roll .npc-power-roll-mods button[type="roll"] { +.npc-ability-card .npc-power-roll .npc-power-roll-mods button[type="roll"] { margin-left: 0px; } @@ -1736,39 +2204,39 @@ input.npc-ability-edit { } /* Switches between Character and NPC Sheets */ -.charsheet .npc-checkbox:not(:checked) ~ .npc-sheet-body, -.charsheet .npc-checkbox:checked ~ .sheet-body +.charsheet input.npc-checkbox:not([value="on"]) ~ .npc-sheet-body, +.charsheet input.npc-checkbox[value="on"] ~ .sheet-body { display: none; } label[for="npc-checkbox"] { - color: black; + color: var(--color-text-body); font-weight: bold; font-size: 1em; padding-left: 0.5em; } - +/* .sheet-darkmode label[for="npc-checkbox"] { color: #e0e0e0; } - +*/ /* NPC edit styling */ label.npc-edit-icon { font-family: "Pictos"; - font-size: 1.5em; + font-size: 20px; position: absolute; - left: calc(100% - 45px); - top: 125px; - color: #aaa; + left: calc(100% - 60px); + top: 140px; + color: var(--color-text-accent); cursor: pointer; } - +/* .sheet-darkmode label.npc-edit-icon { color: #e0e0e0; } - +*/ input.npc-edit-toggle { display: none; } @@ -1810,30 +2278,35 @@ input.npc-edit-toggle:not(:checked) ~ div.npc-edit { -/* Dark Mode */ +/* Dark Mode .sheet-darkmode .characterviewer .charsheet label { color: #333; } +*/ /* Monster Ability Roll Template */ -.sheet-rolltemplate-monsterability { - background-color: #f5f5f5; /* eggshell */ - font-family: 'Georgia', serif; + +.sheet-rolltemplate-monsterability .sheet-roll-container { + background-color: var(--color-bg-main); + font-family: var(--font-family-body); padding: 16px; border-radius: 10px; - border: 1px solid #ccc; + border: var(--border-main); max-width: 264px; box-shadow: 0 0 8px rgba(0, 0, 0, 0.1); + color: var(--color-text-body); } - +/* .sheet-rolltemplate-monsterability.sheet-rolltemplate-darkmode { background-color: #333333; color: #ddd; } - +*/ .sheet-rolltemplate-monsterability .sheet-header { font-size: 1.2em; font-weight: bold; + color: var(--color-text-header); + font-family: var(--font-family-header); } .sheet-rolltemplate-monsterability .sheet-character-name, @@ -1846,7 +2319,7 @@ input.npc-edit-toggle:not(:checked) ~ div.npc-edit { font-size: 0.9em; font-style: italic; margin-bottom: 10px; - border-bottom: 2px solid #aaa; + border-bottom: var(--border-section); padding-bottom: 6px; font-weight: bold; } @@ -1876,17 +2349,17 @@ input.npc-edit-toggle:not(:checked) ~ div.npc-edit { .sheet-rolltemplate-monsterability .sheet-effect-block { margin-top: 14px; - padding: 10px; - background-color: #f0f0f0; - border: 1px solid #aaa; - border-radius: 6px; + padding: var(--sheet-padding); + background-color: var(--color-bg-section); + border: var(--border-main); + border-radius: var(--border-radius); } - +/* .sheet-rolltemplate-monsterability.sheet-rolltemplate-darkmode .sheet-effect-block { background-color: #0f0f0f; color: #aaa } - +*/ .sheet-rolltemplate-monsterability .sheet-effect-text { font-size: .9em; } @@ -1897,7 +2370,7 @@ input.npc-edit-toggle:not(:checked) ~ div.npc-edit { align-items: center; padding: 6px 0; margin-bottom: 10px; - border-bottom: 1px solid #aaa; + border-bottom: var(--border-main); } .sheet-rolltemplate-monsterability .sheet-roll-label { @@ -1920,7 +2393,7 @@ input.npc-edit-toggle:not(:checked) ~ div.npc-edit { } .sheet-rolltemplate-monsterability .sheet-range { - background-color: #e0dbce; + background-color: var(--color-bg-section); padding: 2px 6px; border-radius: 4px; font-weight: bold; @@ -1928,16 +2401,17 @@ input.npc-edit-toggle:not(:checked) ~ div.npc-edit { height: 20px; text-align: center; } +/* .sheet-rolltemplate-monsterability.sheet-rolltemplate-darkmode .sheet-range { background-color: #5f5d58; } - +*/ .sheet-rolltemplate-monsterability .sheet-damage { font-size: 0.95em; } /* Dark Mode for Whisper Query */ - +/* .sheet-darkmode select[name="attr_wtype"] { background-color: #3b4045 !important; color: #e0e0e0 !important; @@ -1948,4 +2422,24 @@ input.npc-edit-toggle:not(:checked) ~ div.npc-edit { background-color: #3b4045 !important; color: #e0e0e0 !important; border-color: #e0e0e0 !important; -} \ No newline at end of file +} +*/ +.charsheet label.sheet-options-checkbox-label { + font-family: "Pictos"; + font-size: 25px; + position: absolute; + color: var(--color-text-accent); + cursor: pointer; + right: 30px; + top: 100px; + font-weight: normal; +} + +input.sheet-options-checkbox { + display: none; +} + +#sheet-options-checkbox:not(:checked) + div.sheet-panel { + display: none; +} + diff --git a/Draw Steel/draw-steel.html b/Draw Steel/draw-steel.html index 3a06e8f25f..85b04b2107 100644 --- a/Draw Steel/draw-steel.html +++ b/Draw Steel/draw-steel.html @@ -7,178 +7,219 @@ style="height: 60px" /> + + +
+ +
+ + +
+ + +
+
+ +
+
+

Paste the contents of the Forge Steel data export (*.ds-hero file) into the text box below, then click "Import".

+

This will overwrite attributes on this sheet. This cannot be undone.

+ + +
+
+ - - +
-
-
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
- -
-
- - -
-
- - -
-
- - -
+
+
+ +
+
+ + +
+
+ + +
+
+ +
-
-
+ +
-
-
- Click Characteristic to Power Roll -
- +
+
+
+
-
- +
+
-
+
- +
-
+
- +
-
+
- +
-
-
+
+
+ + +
- - - - - - +
+ +
+ 12 +
+
+
+ +
+ 0 to -12
+
+
+
+
+
+ +
-
-
- - +
+
+ +
-
- - -
-
- - -
-
- - +
+
+
+ +
-
-
-
- - + +
+
+ +
- - - - -
- - +
+ + +
+
+ + +
+
+ +
- - - -
-
-
-
- + +
+
+
+ + +
+
+ + +
+
+ +
- +
@@ -186,37 +227,51 @@
-
+ +
+
+ +
+
+ +
+ + Damage + + + Potency + 1 +
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+ +
-
+ +
-
-
-
- -
-
- -
-
-
-
-
- -
- - -
-
+ +
@@ -229,11 +284,10 @@
-
+
-
-
+
@@ -241,23 +295,23 @@
-
+
- + - +
-
+
- + - +
-
+
@@ -265,14 +319,13 @@ - - - + + +
-
-
+
@@ -298,9 +351,8 @@
-
-
+
@@ -308,7 +360,8 @@
-
+ +
@@ -321,7 +374,8 @@
-
+ +
@@ -334,7 +388,8 @@
-
+ +
@@ -405,7 +460,8 @@
-
+ +
@@ -418,7 +474,8 @@
-
+ +
@@ -432,9 +489,8 @@
-
-
+
@@ -442,6 +498,7 @@
+
@@ -450,459 +507,491 @@
+

- Edit -
+
- - - - +
+ + + + - - - -
-
- - - + - + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
- -
- - + +
+ + + +
- +   +
+ - - - - - - - - -
-
- - + - - + + + + + + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
- -
+ +
+
- Edit -
+
- - -
- -
- - - -
-
- - + - +
+ + +
+ +
+ + + +
+
+ + + + +
+ + + + + +
- - - - - -
-
- - - - - - - -
-
- - + - - + +
+ + + + + +
+
+ + + + + +
+ + + + + +
- - - - - -
-
+
- Edit -
+
- - -
- -
- - - -
-
- - + - +
+ + +
+ +
+ + + +
+
+ + + + +
+ + + + + +
- - - - - -
-
- - - - - - - -
-
- - + - - + +
+ + + + + +
+
+ + + + + +
+ + + + + +
- - - - - -
-
-
- -
+
- + - -
- - - - - + +
+ + + + +
-
+
- + -
- - - - - + +
+ + + +
-
+
- + -
- - - - - - - - + +
+ + + + + +
+
- +

-
+
- Edit -
+
- - - - - - -
-
- - - + - +
+ + + + + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
- -
- - + +
+ + + +
- +   +
+ - - - - - - - - -
-
- - + - - -
- - - - - - -
- -
-
-
- -
-
- - - - - - - - - - - - - - - - + + - - -
+ + + + + +
+ - -
- + - + - +
- +
-
- -
- - - - - - - - - - - +
+ + +
+ +
+ + + + + + + + + + + + +
+ + +
+ + + + + + +
+
+ + + + + +
+ + + + + + +
+ +
+
+
+ +
+ + + + + + + + + + + + +
- - - - - - -
-
- - + - - + +
+ + + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
- - Edit - + +
- + @@ -911,709 +1000,740 @@ -
- - - + +
+ +
+ + - - -
-
- - + - + + +
+
+ + + + +
+ + + + + +
- - - - - - +
-
-
- - - - + +
+ + - - -
-
- - + - - + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
-
- - - - - - - - - - +
+ + + + + + + + + + - - - - - - - -
-
- - + - - + +
+ + + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
- - Edit -
- - - - - - - -
-
- - - - - - - - + +
+ + + + + + +
-
- - Edit -
- - - - - - - -
-
- - - - - - - - + +
+ + + + + +
-
- - Edit -
- - - - - - - -
-
- - - - - - - - + +
+ + + + + +
- -
- - Edit -
- - - - - - - -
-
- - - - - - - - + +
+ + + + + +
-
- - Edit -
- - - - - - - -
-
- - - - - - - - + +
+ + + + + +
+
-

+
- Edit -
+
- - - - - - -
-
- - - + - +
+ + + + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
- -
- - + +
+ + + +
- +   +
+ - - - - - - - - -
-
- - + - - + + + + + + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
+
-

+
- Edit -
+
- - - - +
+ + + + - - - -
-
- - - + - + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
- -
- - + +
+ + + +
- +   +
+ - -   - - - - - - -
-
- - + - - + + + + + + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
-
- - Edit -
- + +
+ +
+ + + + + + -
-
- - + - + +
+ +
+
+
+ + + + +
+ + + + + + +
+
- - - - - -
- -
-
- - -
-
- - + - - +
+ + +
+
+
+ + + + + +
+ + + + + + +
+
- - - - - -
-
-
-
- - - Edit -
+ +
- -
- -
- - + - + + + + + + + +
+ +
+
+
+ + + + +
+ + + + + + +
+
- - - - - - - - -
- -
-
- - -
-
- - + - - +
+ + +
+
+
+ + + + + +
+ + + + + + +
+
- - - - - -
-
-
+
-

+
- Edit -
+
- - - - - - - -
-
- - - + - +
+ + + + + + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
- -
- - + +
+ + + +
- +   +
+ - - - - - - - - -
-
- - + - - + + + + + + + + +
+
+ + + + + +
+ + + + + +
- - - - - - +
-
-
-
+ +
-
- - - - - - - - - - - - - - + +
+ + + + + +
-
-
- - - - - - - - - - - - - - + +
+ + + + + +
-
-
- - - - - - - - - - - - - - + +
+ + + + + +
-
-
+ +
@@ -1621,21 +1741,24 @@
-
+ +
- +
-
+ +
- +
-
+ +
carry three safely: @@ -1644,13 +1767,13 @@
- +
-
-
+ +
@@ -1669,23 +1792,11 @@
-
-
-
- - -
-
-
-
-

Paste the contents of the Forge Steel data export (*.ds-hero file) into the text box below, then click "Import".

-

This will overwrite attributes on this sheet. This cannot be undone.

- - -
-
+ +
+
@@ -1733,15 +1844,9 @@
-
- - -
+
+
@@ -1812,7 +1917,7 @@
-
+
@@ -1826,10 +1931,11 @@
-
+ +
- -
+ +