Skip to content

Commit

Permalink
Revert "Pendragon 3.0 by Chaosium"
Browse files Browse the repository at this point in the history
  • Loading branch information
NorWhal authored Aug 3, 2024
1 parent c12c153 commit 4e9f888
Show file tree
Hide file tree
Showing 40 changed files with 278 additions and 1,463 deletions.
2 changes: 1 addition & 1 deletion Pendragon6thEdition/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pendragon6thedition",
"version": "3.0.0",
"version": "2.4.2",
"description": "You need to run npm start to get the compilers going.",
"dependencies": {
"20": "^3.1.9",
Expand Down
111 changes: 50 additions & 61 deletions Pendragon6thEdition/pendragon.css
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@ div.sheet-attacks input[name="attr_damage"],
div.sheet-attacks span[name*="damage"] {
text-align: center; }

div.sheet-attacks div.sheet-table.sheet-damage div.sheet-header,
div.sheet-attacks div.sheet-table.sheet-damage div.sheet-body div.sheet-row {
grid-template-columns: 2fr 1fr 2.5em; }
div.sheet-attacks div.sheet-table.sheet-brawling div.sheet-header,
div.sheet-attacks div.sheet-table.sheet-brawling div.sheet-body div.sheet-row {
grid-template-columns: 2fr 1fr 5em 2.5em; }

div.sheet-attacks div.sheet-repeating-container div.sheet-row,
div.sheet-attacks div.sheet-repeating-container div.sheet-header {
Expand All @@ -407,14 +407,6 @@ div.sheet-attacks label[data-i18n-title="other skill"] {
div.sheet-attacks input[name="attr_skill"][value*="other"] + label {
visibility: visible; }

div.sheet-attacks select[name="attr_skill"] {
margin-left: -5px; }

div.sheet-attacks h3,
div.sheet-attacks span[data-i18n*="brawling"],
div.sheet-attacks span[name*="damage"] {
color: #000; }

div.sheet-character div.sheet-horse input[type="text"],
div.sheet-character div.sheet-horse input[type="number"] {
text-align: center;
Expand Down Expand Up @@ -473,22 +465,8 @@ div.sheet-character div.sheet-squire div.sheet-skill {
div.sheet-character div.sheet-squire input[name="attr_squire_age"] {
text-align: center; }

div.sheet-character div.sheet-squire div.sheet-notes {
grid-template-columns: 1fr 10px;
padding: 1% 2%; }
div.sheet-character div.sheet-squire div.sheet-notes input.sheet-flag,
div.sheet-character div.sheet-squire div.sheet-notes span.sheet-pictos {
grid-area: 1/2/2/3; }
div.sheet-character div.sheet-squire div.sheet-notes textarea,
div.sheet-character div.sheet-squire div.sheet-notes span.sheet-display {
grid-area: 1/1/2/2; }

div.sheet-character div.sheet-equipment span[name="attr_value"],
div.sheet-character div.sheet-equipment input[name="attr_value"] {
text-align: center; }

div.sheet-character div.sheet-equipment div.sheet-col {
grid-template-rows: min-content 1fr; }
div.sheet-character div.sheet-equipment input[name="attr_category"] {
font-weight: bold; }

div.sheet-character div.sheet-equipment div.sheet-2autocolumn {
align-content: end; }
Expand All @@ -497,9 +475,6 @@ div.sheet-character div.sheet-equipment span[name="attr_equipment"],
div.sheet-character div.sheet-equipment span[name="attr_category"] {
min-height: 20px; }

div.sheet-character div.sheet-equipment div.sheet-category {
grid-template-columns: 3fr 1fr; }

div.sheet-character div.sheet-equipment div.sheet-repeating-container div.sheet-flags {
grid-template-columns: 1fr 25px; }

Expand All @@ -520,9 +495,6 @@ div.sheet-character div.sheet-characteristics div.sheet-core {
grid-auto-flow: column;
grid-column-gap: 2%; }

div.sheet-character div.sheet-characteristics span {
color: #000; }

div.sheet-character h2 {
text-overflow: ellipsis;
width: fit-content; }
Expand Down Expand Up @@ -807,18 +779,25 @@ div.sheet-table {
/* TABLE
============================= */
div.sheet-shield {
border-radius: 50% 50% 50% 50% / 12% 12% 88% 88%;
border: 5px solid #240202;
height: 50px;
width: 50px; }
width: 50px;
border: 5px solid #240202;
border-radius: 50% 50% 50% 50% / 12% 12% 88% 88%; }
div.sheet-shield label,
div.sheet-shield span {
align-items: center;
display: grid;
font-weight: bold;
height: 100%;
justify-content: center;
text-align: center;
width: 100%; }
div.sheet-shield:hover span,
div.sheet-shield input[type="number"] {
font-weight: bolder;
width: 3em; }
div.sheet-shield input[type="number"]:placeholder-shown, div.sheet-shield input[type="number"]:hover {
background-color: #fffde7; }
div.sheet-shield input[type="number"]::-webkit-outer-spin-button, div.sheet-shield input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0; }
display: none; }
div.sheet-shield:hover input[type="number"] {
display: inline;
background-color: #fffde7; }

/* ROLL TEMPLATE STYLE
----------------------------- */
Expand Down Expand Up @@ -927,33 +906,43 @@ div.sheet-repeating-container div.sheet-notes {
font-family: "pictos";
z-index: 100;
position: absolute;
right: 1.5%; }
left: 85%; }

/* DRAG & DROP
============================= */
.sheet-dropzone.active-drop-target.dropping {
opacity: 0.5;
transition: opacity 0.15s ease-in-out;
-moz-transition: opacity 0.15s ease-in-out;
-webkit-transition: opacity 0.15s ease-in-out;
background-color: transparent;
opacity: 0.5;
transition: opacity 0.15s ease-in-out; }
background-color: transparent; }

.sheet-compendium_warning {
.sheet-compendium_warning,
.sheet-monster_confirm {
display: none; }

.sheet-dropzone.active-drop-target.dropping ~ .sheet-compendium_warning {
position: absolute;
background: white;
border-radius: 0.5em;
border: 2px solid #000;
box-shadow: 0 0 50px #000;
.sheet-dropzone.active-drop-target.dropping ~ .sheet-compendium_warning,
.sheet-monster_confirm_flag[value="1"] ~ .sheet-monster_confirm {
display: block;
height: 100px;
left: 50%;
margin: -70px 0 0 -170px;
min-height: max-content;
padding: 2em;
text-align: center;
position: fixed;
top: 50%;
background: white;
left: 50%;
z-index: 100;
border: 2px solid black;
width: 300px;
z-index: 100; }
height: 100px;
text-align: center;
margin: -70px 0 0 -170px; }

.charsheet input.sheet-licensedsheet[value="1"] ~ .sheet-compendium_warning,
.charsheet input.sheet-licensedsheet[value="1"] ~ .sheet-monster_confirm {
position: absolute !important;
padding: 2em 0 !important;
min-height: max-content;
box-shadow: 0 0 50px #000;
border: 2px solid #000 !important;
border-radius: 0.5em; }

.sheet-dropzone.active-drop-target.dropping ~ .sheet-compendium_warning span {
line-height: 100px; }
639 changes: 44 additions & 595 deletions Pendragon6thEdition/pendragon.html

Large diffs are not rendered by default.

16 changes: 0 additions & 16 deletions Pendragon6thEdition/src/js/drag_and_drop/get_rep_update.js

This file was deleted.

24 changes: 0 additions & 24 deletions Pendragon6thEdition/src/js/drag_and_drop/handle_horse.js

This file was deleted.

4 changes: 0 additions & 4 deletions Pendragon6thEdition/src/js/drag_and_drop/handle_item.js

This file was deleted.

7 changes: 0 additions & 7 deletions Pendragon6thEdition/src/js/drag_and_drop/handle_squire.js

This file was deleted.

4 changes: 0 additions & 4 deletions Pendragon6thEdition/src/js/drag_and_drop/handle_weapon.js

This file was deleted.

28 changes: 0 additions & 28 deletions Pendragon6thEdition/src/js/drag_and_drop/helpers.js

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions Pendragon6thEdition/src/js/drag_and_drop/reset_skill_list.js

This file was deleted.

7 changes: 0 additions & 7 deletions Pendragon6thEdition/src/js/drag_and_drop/roll_20_attribute.js

This file was deleted.

44 changes: 0 additions & 44 deletions Pendragon6thEdition/src/js/drag_and_drop/update_attack.js

This file was deleted.

13 changes: 0 additions & 13 deletions Pendragon6thEdition/src/js/drag_and_drop/update_item.js

This file was deleted.

5 changes: 0 additions & 5 deletions Pendragon6thEdition/src/js/drag_and_drop/update_section.js

This file was deleted.

Loading

0 comments on commit 4e9f888

Please sign in to comment.