From 74eed76872898aac12aabbe505bbd13db441aefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=88=87ince?= Date: Wed, 4 Dec 2024 17:48:00 -0800 Subject: [PATCH 1/2] 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. --- ADnD_1E_Revised/1ESheet.css | 22 ++++++++++++---------- ADnD_1E_Revised/1ESheet.html | 3 ++- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/ADnD_1E_Revised/1ESheet.css b/ADnD_1E_Revised/1ESheet.css index a7b74905968..791ddb68aa2 100644 --- a/ADnD_1E_Revised/1ESheet.css +++ b/ADnD_1E_Revised/1ESheet.css @@ -2920,7 +2920,7 @@ details[open].thac0-box { 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; @@ -3007,30 +3007,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; } diff --git a/ADnD_1E_Revised/1ESheet.html b/ADnD_1E_Revised/1ESheet.html index 1e048151004..67f50df3768 100644 --- a/ADnD_1E_Revised/1ESheet.html +++ b/ADnD_1E_Revised/1ESheet.html @@ -63,9 +63,10 @@
v - • 11/27/24' + • 12/4/24'