chore: Adds collapsing sections for all areas of the sheet

This commit is contained in:
Ian Merryweather
2024-11-17 18:27:09 +00:00
parent c3178ad06d
commit 5bcc97f3e2
2 changed files with 800 additions and 607 deletions
+29 -5
View File
@@ -596,6 +596,10 @@ div.sheet-wrapper {
position: relative;
}
div.sheet-no-background {
background-color: #00000000;
}
div.sheet-pokemon-move,
div.sheet-class-feature {
background-image: var(--background-image);
@@ -659,11 +663,10 @@ div.sheet-skill-selection .sheet-no-dropdown {
}
.sheet-logo {
width: 280px;
height: 150px;
margin-left: auto;
margin-right: auto;
margin-top: -15px;
min-height: 150px;
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/PokemonTabletopAdventures_v3/images/PTA3SmallLogo.png");
background-position: center top;
background-repeat: no-repeat;
}
.sheet-form-buttons {
@@ -1926,6 +1929,11 @@ button[type="roll"].sheet-stat-roller:hover {
visibility: visible;
}
.sheet-extra-max-height .sheet-options-flag:not(:checked) ~ div.sheet-display,
.sheet-extra-max-height .sheet-options-flag:checked ~ div.sheet-options {
max-height: 1800px;
}
.sheet-options-flag:checked ~ div.sheet-display,
.sheet-options-flag:not(:checked) ~ div.sheet-options {
max-height: 0px;
@@ -1998,6 +2006,13 @@ h3.sheet-section-header {
padding-left: 40px;
}
b.sheet-subsection-header {
display: block;
line-height: 24px;
margin-bottom: 8px;
padding-left: 32px;
}
.sheet-options-flag {
height: 18px;
opacity: 0;
@@ -2216,6 +2231,15 @@ input.sheet-capitalize {
grid-template-columns: 1fr 5fr 1fr 1fr;
}
.sheet-feature-container > .sheet-options-flag,
.sheet-feature-container > .sheet-options-flag + span,
.sheet-feature-container > .sheet-options-flag:checked,
.sheet-feature-container > .sheet-options-flag:checked + span {
left: 8px;
top: 22px;
}
.sheet-rolltemplate-move-roll .sheet-container table.sheet-move-template,
.sheet-rolltemplate-dual-hit-move-roll .sheet-container table.sheet-move-template,
.sheet-rolltemplate-ten-hit-move-roll .sheet-container table.sheet-move-template,
File diff suppressed because it is too large Load Diff