Skip to content

Commit

Permalink
Merge pull request #12367 from MadCoder253/gurps-2.10.4
Browse files Browse the repository at this point in the history
[GURPS] 2.10.4
  • Loading branch information
NorWhal authored Dec 11, 2023
2 parents 8df2533 + e201693 commit 824e5ad
Show file tree
Hide file tree
Showing 4 changed files with 298 additions and 188 deletions.
23 changes: 23 additions & 0 deletions GURPS/gurps.css
Original file line number Diff line number Diff line change
Expand Up @@ -6015,6 +6015,11 @@ height: 20px;
border: 2px solid black;
display: inline-block;
position: relative;
cursor: pointer;
}

.sheet-toggle-button span:hover {
border-color: #ccc;
}

/* Create a plus sign inside the custom checkbox */
Expand All @@ -6025,6 +6030,11 @@ position: absolute;
background-color: black;
}

.sheet-toggle-button span:hover:before,
.sheet-toggle-button span:hover:after{
background-color: #ccc;
}

/* Position the plus sign horizontally */
.sheet-toggle-button span:before {
width: 10px;
Expand Down Expand Up @@ -6451,3 +6461,16 @@ input[name="attr_tool_tabs"][value="macros"] ~ .sheet-tabs.sheet-options > div:n
.sheet-grid-travel-mitigation-options input[name="attr_toggle_notes"][value="1"] ~ .sheet-expandable-section {
display: block;
}

div.sheet-united-states-customary-units,
div.sheet-metric-units {
display: none;
}

input[name="attr_use_metric_distances"][value="0"] ~ div.sheet-united-states-customary-units {
display: block;
}

input[name="attr_use_metric_distances"][value="1"] ~ div.sheet-metric-units {
display: block;
}
Loading

0 comments on commit 824e5ad

Please sign in to comment.