[TheWitcher] add checkbox for used skill

This commit is contained in:
Stexinator
2021-07-13 08:36:59 +02:00
parent 67a40d62e3
commit b28cfea89d
3 changed files with 1500 additions and 883 deletions
+1
View File
@@ -2,6 +2,7 @@
"whisper-rolls-u": "WHISPER ROLLS?",
"npc-sheet-u": "NPC SHEET?",
"count-x2-skills": "COUNT x2 SKILLS",
"show-used": "SHOW 'USED SKILL' INDICATOR",
"show-temphp": "SHOW TEMPORARY HP?",
"sheet-options-u": "SHEET OPTIONS?",
"maximum-current": "Maximum / Current",
+26 -2
View File
@@ -391,6 +391,15 @@ input.repeating_npcskill_score {
display: none;
}
.sheet-show-used-checkbox {
display: none;
}
.sheet-show-used:checked ~ .sheet-block-pc .sheet-show-used-checkbox {
display: initial;
}
input[type="checkbox"].sheet-show-used,
input[type="checkbox"].sheet-cc-skills-checkbox,
input[type="checkbox"].sheet-whisper-checkbox,
input[type="checkbox"].sheet-block-switch {
@@ -406,6 +415,7 @@ input[type="checkbox"].sheet-block-switch {
z-index: 1;
}
input[type="checkbox"].sheet-show-used + span::before,
input[type="checkbox"].sheet-cc-skills-checkbox + span::before,
input[type="checkbox"].sheet-whisper-checkbox + span::before,
input[type="checkbox"].sheet-block-switch + span::before {
@@ -422,6 +432,7 @@ input[type="checkbox"].sheet-block-switch + span::before {
background: radial-gradient(#939393, #5b5b5b);
}
input[type="checkbox"].sheet-show-used + span::before,
input[type="checkbox"].sheet-cc-skills-checkbox + span::before,
input[type="checkbox"].sheet-whisper-checkbox + span::before,
input[type="checkbox"].sheet-block-switch + span::before {
@@ -434,6 +445,7 @@ input[type="checkbox"].sheet-block-switch + span::before {
border-radius: 3px;
}
input[type="checkbox"].sheet-show-used:checked + span::before,
input[type="checkbox"].sheet-cc-skills-checkbox:checked + span::before,
input[type="checkbox"].sheet-whisper-checkbox:checked + span::before,
input[type="checkbox"].sheet-block-switch:checked + span::before {
@@ -700,6 +712,18 @@ label.sheet-toggle-skills {
z-index: 1;
}
label.sheet-toggle-trackbox {
display: inline-block;
margin-top: 20px;
margin-left: -5px;
font-size: 11px;
text-align: right;
color: #939393;
font-weight: 1;
width: 170px;
z-index: 1;
}
/* MAJOR STAT & CHARACTER SECTION */
label.sheet-stattotal {
@@ -1632,7 +1656,7 @@ input[type="checkbox"].sheet-brawling-dropdown::after {
display: block;
height: 15px;
margin-right: 5px;
width: 153px;
width: 123px;
text-shadow: none;
font-weight: bold;
text-align: right;
@@ -5814,7 +5838,7 @@ button[type=roll].sheet-stat-roller2:active {
button[type=roll].sheet-skill-roller {
background: none;
margin-right: 5px;
width: 150px;
width: 120px;
text-shadow: none;
text-align: right;
font-family: "Helvetica";
+1473 -881
View File
File diff suppressed because it is too large Load Diff