Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AD&D1e Revised #13581

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions ADnD_1E_Revised/1ESheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -2864,7 +2864,7 @@ details[open].thac0-box {
text-align: left;
top: 1.25em;
width: 75%;
z-index: 3;
z-index: 5;
}

.charsheet .center {
Expand Down Expand Up @@ -2916,11 +2916,10 @@ details[open].thac0-box {
border-bottom: 1px solid var(--color-lightgrey2);
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
display: flex;
margin-top: -3px;
}

.charsheet details[open].border-bottom-half {
.ui-dialog .charsheet .background .wrapper .sect .repitem details[open].border-bottom-half {
border: 1px solid;
border-top: none;
border-top-left-radius: 0;
Expand Down Expand Up @@ -3007,30 +3006,32 @@ details[open].thac0-box {
}

/* emphasize memorized */
.charsheet input.toggle-show[value='1'] ~ input.not-memorized ~ .spell-display {
.charsheet .toggle-show[value='1'] ~ .not-memorized ~ .spell-display {
opacity: 1;
}

.charsheet input.toggle-show[value='1'] ~ input.not-memorized[value='0'] ~ .spell-display {
.charsheet .toggle-show[value='1'] ~ .not-memorized[value='0'] ~ .spell-display {
opacity: 0.5;
}

/* toggle memorized only */
.charsheet input.toggle-show[value='1'] ~ input.toggle-memorized:checked + input.toggle-all:not(:checked) ~ .spell-display {
display: block;
.charsheet .toggle-show[value='1'] ~ .toggle-memorized:checked + .toggle-all:not(:checked) ~ .spell-display {
/* display: block; */
display: flex;
}

.charsheet input.toggle-show[value='1'] ~ input.toggle-memorized:not(:checked) ~ .spell-display {
.charsheet .toggle-show[value='1'] ~ .toggle-memorized:not(:checked) ~ .spell-display {
display: none;
}

.charsheet input.toggle-show[value='1'] ~ input.toggle-memorized:not(:checked) + input.toggle-all:checked ~ .spell-display {
display: block;
.charsheet .toggle-show[value='1'] ~ .toggle-memorized:not(:checked) + .toggle-all:checked ~ .spell-display {
/* display: block; */
display: flex;
}

/* ensure un-memorized spells top-row and details get 100% opacity with hover/focus */
.charsheet .repcontainer[data-groupname='repeating_spells'] .repitem:focus-within input.toggle-show[value='1'] ~ input.not-memorized[value='0'] ~ .spell-display,
.charsheet .repcontainer[data-groupname='repeating_spells'] .repitem:hover input.toggle-show[value='1'] ~ input.not-memorized[value='0'] ~ .spell-display {
.charsheet .repcontainer[data-groupname='repeating_spells'] .repitem:focus-within .toggle-show[value='1'] ~ .not-memorized[value='0'] ~ .spell-display,
.charsheet .repcontainer[data-groupname='repeating_spells'] .repitem:hover .toggle-show[value='1'] ~ .not-memorized[value='0'] ~ .spell-display {
opacity: 1;
}

Expand Down
3 changes: 2 additions & 1 deletion ADnD_1E_Revised/1ESheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ <h5 class="right two-columns">
<span class="left">
<span>v<span name="attr_sheet_version">
</span>
<span class="right"> • 11/27/24'</span>
<span class="right"> • 12/4/24'</span>
</h5>
<ul>
<li>Rollback of last weeks single column not spanning full width 'fix' and a proper redo that doesn't cause collateral issues with the spell header layout.</li>
<li>Small fix for single column spells and special abilities not spanning the full width.</li>
<li>Added an option in the Sheet settings to auto-roll weapon damage regardless of the attack roll.</li>
<li>
Expand Down
Loading