diff --git a/ADnD_1E_Revised/1ESheet.css b/ADnD_1E_Revised/1ESheet.css index a7b74905968d..1b6af202a420 100644 --- a/ADnD_1E_Revised/1ESheet.css +++ b/ADnD_1E_Revised/1ESheet.css @@ -2864,7 +2864,7 @@ details[open].thac0-box { text-align: left; top: 1.25em; width: 75%; - z-index: 3; + z-index: 5; } .charsheet .center { @@ -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; @@ -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; } diff --git a/ADnD_1E_Revised/1ESheet.html b/ADnD_1E_Revised/1ESheet.html index 1e0481510046..67f50df3768b 100644 --- a/ADnD_1E_Revised/1ESheet.html +++ b/ADnD_1E_Revised/1ESheet.html @@ -63,9 +63,10 @@