Skip to content

Commit

Permalink
Update FraggedEmpire2E HTML & CSS
Browse files Browse the repository at this point in the history
FraggedEmpire2E.html
Sheet Modification

# Submission Checklist
## Required

<!-- Check these off by adding an 'x' to each of these boxes. If you fail to meet all these criteria, your PR will be rejected. -->

- [X] The pull request title clearly contains the name of the sheet I am editing.
- [X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
- [X] The pull request makes changes to files in only one sub-folder.
- [X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

- [X] I have followed the [Character Sheets Standards](https://wiki.roll20.net/Building_Character_Sheets#Roll20_Character_Sheets_Repository) when building this sheet.

<!-- Please check any that apply: -->

- [ ] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
- [ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
- [ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

# Changes / Description

Added new initiative functionality to sheet and specific button styling to complement.
  • Loading branch information
Wrathborn committed Jan 6, 2025
1 parent 043f19d commit 3624d89
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
34 changes: 34 additions & 0 deletions Fragged-Empire 2E/FraggedEmpire2E.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,30 @@ input[type="number"]{
padding-top: 0.2em;
padding-bottom: 0.1em;
}

/** Start Order Button **/

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

.charsheet button[type=roll].sheet-orderbtn {
background-image: none;
background-color: #262626;
color: white;
border: none;
font-weight: bold;
font-size: 12px;
padding: 2px;
}

.charsheet button[type=roll].sheet-orderbtn:hover {
background-color:#cc0d00;
color:black;
}

/** End Order Button **/

.sheet-header{
color: white;
font-weight: bold;
Expand Down Expand Up @@ -153,6 +177,16 @@ input[type="number"]{
font-size: 10px;
text-align: center;
}
.sheet-buttoncasing{
background-color: #262626;
color: white;
font-weight: bold;
font-size: 12px;
padding-left: 5px;
margin: 0px 0px 0px 0px;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}


/***** Roll Templates *****/
Expand Down
2 changes: 1 addition & 1 deletion Fragged-Empire 2E/FraggedEmpire2E.html
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@
<td><input type="number" name="attr_order" value="@{cur_grit}+@{mod_rec}" disabled="true"/></td>
</tr>
<tr>
<td><div class="sheet-attributes"><span>Order</span></div></td>
<td><div class="sheet-buttoncasing"><span><button class="sheet-orderbtn" type="roll" name="roll_initiativeorder" value="/me adds their Combat Order of [[@{cur_int}+(@{cur_ref}/10)+@{mod_order}+(1d6/100)+(1d6/1000) &{tracker}]] to the initiative tracker.">Order</button></span></div></td>
<td><div class="sheet-small-right"><span>Int + (Ref/10) +</span></div></td>
<td><input type="number" name="attr_mod_order" value="0"/></td>
<td></td>
Expand Down

0 comments on commit 3624d89

Please sign in to comment.