Skip to content

Commit

Permalink
Merge pull request #12812 from LilLiteralist/master
Browse files Browse the repository at this point in the history
[Star Wars Saga Edition] Repeating Force Powers and minor fixes
  • Loading branch information
kfroll20 authored Apr 18, 2024
2 parents d26ae74 + 81de91e commit 9e4e8f6
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 44 deletions.
61 changes: 53 additions & 8 deletions Star Wars Saga Edition/StarWarsSagaEdition.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ label.clickable,
--checkbox-border:#8f8f9d;
--checkbox-checked-border:#54545c;
--checkbox-check:#222;
--checkbox-disabled-bg:#aaa;
--checkbox-disabled-bg:#cecece;
--checkbox-disabled-check:#606060;
--header-bg: #000;
--header-bg-highlight: #333;
--col1-bg:#a7a8aa;
Expand Down Expand Up @@ -127,6 +128,10 @@ label.clickable,
background-color: var(--checkbox-disabled-bg);
}

.charsheet .defaultCrew:not(:checked) ~ .defaultCrewLock[type="checkbox"]:before {
background-color: var(--checkbox-disabled-check);
}

input[type="number"] {
appearance:textfield;
}
Expand Down Expand Up @@ -344,6 +349,49 @@ input[type="number"]:hover {
margin-left: -3px;
}

/* Force Power/Suite Grid */
.powers-flex-container {
display:flex;
justify-content:space-evenly;
padding: 2px;
}

.powers-flex-container label {
font-size:13px;
}

#individual-powers:checked ~ textarea,
#power-suite:checked ~ .repcontainer,
#power-suite:checked ~ .repcontrol {
display:none;
}

.powers-grid {
display:grid;
grid-template-columns:48px 1fr 45px 10px 45px;
grid-template-rows:auto;
justify-content: center;
grid-row-gap: 2px;
grid-column-gap: 2px;
}

.charsheet .powers-grid button {
width:fit-content;
}

.charsheet .powers-grid input[type="text"],
.charsheet .powers-grid input[type="number"] {
width:auto;
}

.powers-notes-title {
grid-column:1/6;
font-size:12px;
font-weight:bold;
line-height:12px;
margin-bottom:-2px;
}

/* Equipment CSS-rules section */
.EquipmentSection {
width: 100%;
Expand Down Expand Up @@ -692,7 +740,8 @@ hr.small-hr {
box-shadow: 0 1px 0 var(--button-inset) inset;
}

.charsheet button[type=roll].blank-roll-button::before {
.charsheet button[type=roll].blank-roll-button::before,
.charsheet button[type=roll].sheet-wiki-url::before {
content: "";
}

Expand Down Expand Up @@ -723,10 +772,6 @@ hr.small-hr {
cursor: pointer;
}

.charsheet button[type=roll].sheet-wiki-url::before {
content:"";
}

.charsheet button[type=roll].sheet-wiki-url:hover {
background-position:0;
}
Expand Down Expand Up @@ -1218,8 +1263,8 @@ input:not(:checked) + label.clickable {
--dm-checkbox-border: #4b4b8f;
--dm-checkbox-border-checked: #7497ea;
--dm-checkbox-check: #8cd0ff;
--dm-checkbox-disabled-bg: #606080;
--dm-checkbox-disabled-check: #9fd4fa;
--dm-checkbox-disabled-bg: #303060;
--dm-checkbox-disabled-check: #719cbb;
--dm-header-bg: #338;
--dm-header-bg-highlight: #44a;
--dm-header-text: #f5f5f5;
Expand Down
Loading

0 comments on commit 9e4e8f6

Please sign in to comment.