Merge pull request #9818 from Fragpuss/troubleshooters_nov21
[The Troubleshooters] update Nov21
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 300 KiB |
@@ -1,7 +1,8 @@
|
||||
/* Set the min-width so that when the window is resized the look will stay consistant */
|
||||
|
||||
.charsheet {
|
||||
min-width: 800px;
|
||||
min-width: 850px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
/* Universal styling applied to all elements of these types */
|
||||
@@ -12,6 +13,31 @@ h2 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
summary {
|
||||
font-weight: 600;
|
||||
font-size: 2em;
|
||||
margin-bottom: 10px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
details summary:after {
|
||||
content: "+";
|
||||
color: black;
|
||||
position: absolute;
|
||||
font-size: 2rem;
|
||||
line-height: 0;
|
||||
margin-top: 0.75rem;
|
||||
right: 80;
|
||||
font-weight: 200;
|
||||
transform-origin: center;
|
||||
transition: 200ms linear;
|
||||
}
|
||||
|
||||
details[open] summary:after {
|
||||
transform: rotate(45deg);
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
}
|
||||
@@ -23,6 +49,7 @@ input {
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
max-width: 92%;
|
||||
}
|
||||
|
||||
/* Targetted styling that only effects elements with these classes */
|
||||
@@ -35,12 +62,21 @@ img.sheet-shield {
|
||||
}
|
||||
|
||||
img.sheet-logo {
|
||||
align: right
|
||||
width: 300px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
img.sheet-portrait {
|
||||
height: 350px;
|
||||
text-align: center;
|
||||
width: auto;
|
||||
min-width: 300px;
|
||||
border: 1px solid silver;
|
||||
background-color: #ffffcc;
|
||||
}
|
||||
|
||||
label.sheet-gearcheck {
|
||||
display: inline;
|
||||
font-size: 1em;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
@@ -57,11 +93,23 @@ label.sheet-skilllabel {
|
||||
white-space: pre;
|
||||
font-size: 1em;
|
||||
font-weight: 550;
|
||||
width: 15ch;
|
||||
width: 14ch;
|
||||
}
|
||||
|
||||
input.sheet-skilllabel {
|
||||
display: inline-block;
|
||||
white-space: pre;
|
||||
font-size: 1em;
|
||||
font-weight: 550;
|
||||
width: 16ch;
|
||||
}
|
||||
|
||||
input.sheet-short {
|
||||
width: 17%;
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
input.sheet-shorter {
|
||||
width: 9%;
|
||||
}
|
||||
|
||||
input.sheet-number {
|
||||
@@ -70,109 +118,340 @@ input.sheet-number {
|
||||
|
||||
input.sheet-skill {
|
||||
display: inline-block;
|
||||
width: 5%;
|
||||
width: 2.5em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
input.sheet-npcskill {
|
||||
display: inline-block;
|
||||
width: 2.0em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
button[type=roll].sheet-blank-roll-button::before {
|
||||
content: '';
|
||||
}
|
||||
|
||||
/* - - - - - Remove Number Spinner - - - - - */
|
||||
input[type="number"].sheet-skill::-webkit-outer-spin-button,
|
||||
input[type="number"].sheet-skill::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
input[type="number"].sheet-skill {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
select.sheet-short {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
button[type=roll].sheet-blank-button::before {
|
||||
content: "";
|
||||
select.sheet-shorter {
|
||||
width: 9%;
|
||||
}
|
||||
|
||||
.charsheet button[type="action"].sheet-skillroll {
|
||||
width: 15ch;
|
||||
border: none;
|
||||
background-color: white;
|
||||
text-align: left;
|
||||
font-weight: 550;
|
||||
}
|
||||
|
||||
.charsheet button[type="action"].sheet-skillroll:hover {
|
||||
background-color: purple;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.charsheet button[type="action"].sheet-cbtroll {
|
||||
width: 12ch;
|
||||
}
|
||||
|
||||
.charsheet button[type="action"].sheet-npcroll {
|
||||
width: 6ch;
|
||||
}
|
||||
|
||||
.charsheet button[type="action"].sheet-cbtroll,
|
||||
.charsheet button[type="action"].sheet-npcroll {
|
||||
border: 1px solid black;
|
||||
background-color: silver;
|
||||
background-image: linear-gradient(to top, silver, white);
|
||||
text-align: center;
|
||||
font-weight: 550;
|
||||
}
|
||||
|
||||
.charsheet button[type="action"].sheet-cbtroll:hover,
|
||||
.charsheet button[type="action"].sheet-npcroll:hover {
|
||||
background-color: purple;
|
||||
background-image: linear-gradient(to top, purple, white);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.charsheet button[type="roll"].sheet-blank-button::before {
|
||||
content: ' ';
|
||||
}
|
||||
|
||||
input.sheet-gearcheck:checked {
|
||||
background: purple;
|
||||
}
|
||||
|
||||
/* Targetted styling that only effects elements contained within the stated class */
|
||||
|
||||
.sheet-stats h3 {
|
||||
display: inline-block;
|
||||
font-size: 1em;
|
||||
text-align: left;
|
||||
.sheet-mugshot {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sheet-stats h3:first-child {
|
||||
margin-left: 35%;
|
||||
margin-right: 15%;
|
||||
.sheet-coverfluff {
|
||||
width:425px;
|
||||
font-size: 1.5em;
|
||||
border: none;
|
||||
border-bottom: 2px dotted black;
|
||||
}
|
||||
|
||||
.sheet-stats input {
|
||||
margin-right: 8%;
|
||||
width: 17%;
|
||||
.sheet-fluff {
|
||||
width:98%;
|
||||
font-size: 1.2em;
|
||||
border: none;
|
||||
border-bottom: 2px dotted black;
|
||||
}
|
||||
|
||||
.sheet-cover {
|
||||
text-align: center
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*Configure the tabs*/
|
||||
.sheet-character,
|
||||
.sheet-cover,
|
||||
.sheet-skills,
|
||||
.sheet-gear,
|
||||
.sheet-combat,
|
||||
.sheet-journal {
|
||||
display: none;
|
||||
.charsheet div.sheet-cover, .charsheet div.sheet-character, .charsheet div.sheet-skills, .charsheet div.sheet-gear, .charsheet div.sheet-journal, .charsheet div.sheet-combat, .charsheet div.sheet-npc {
|
||||
display: none;
|
||||
background-color: #f9f9eb;
|
||||
}
|
||||
|
||||
.charsheet input[type=radio] {
|
||||
display: none;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.charsheet input[type=radio] + label{
|
||||
content: '';
|
||||
border: none;
|
||||
background-image: radial-gradient(#f9f9eb,#f5f5dc,#eeeec3);
|
||||
color: black;
|
||||
font-size: 0.8em;
|
||||
font-weight: bold;
|
||||
width: 14%;
|
||||
text-align: center;
|
||||
padding: 0%;
|
||||
float: left;
|
||||
clip-path: polygon(8px 0%, calc(100% - 8px) 0%, 100% 100%, 0% 100%);
|
||||
}
|
||||
|
||||
.charsheet input[type=radio]:hover + label{
|
||||
color: purple;
|
||||
}
|
||||
|
||||
.charsheet input[type=radio]:checked + label{
|
||||
background: purple;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* show the selected tab */
|
||||
.sheet-tabstoggle[value="character"] ~ div.sheet-character,
|
||||
.sheet-tabstoggle[value="cover"] ~ div.sheet-cover,
|
||||
.sheet-tabstoggle[value="skills"] ~ div.sheet-skills,
|
||||
.sheet-tabstoggle[value="gear"] ~ div.sheet-gear,
|
||||
.sheet-tabstoggle[value="journal"] ~ div.sheet-journal,
|
||||
.sheet-tabstoggle[value="combat"] ~ div.sheet-combat {
|
||||
display: block;
|
||||
|
||||
|
||||
.charsheet input.sheet-page1:checked ~ div.sheet-cover,
|
||||
.charsheet input.sheet-page2:checked ~ div.sheet-character,
|
||||
.charsheet input.sheet-page3:checked ~ div.sheet-skills,
|
||||
.charsheet input.sheet-page4:checked ~ div.sheet-gear,
|
||||
.charsheet input.sheet-page5:checked ~ div.sheet-journal,
|
||||
.charsheet input.sheet-page6:checked ~ div.sheet-combat,
|
||||
.charsheet input.sheet-page7:checked ~ div.sheet-npc{
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* show the relevant buttons */
|
||||
|
||||
/*Hide attack buttons by default*/
|
||||
.sheet-meleebuttons,
|
||||
.sheet-rangedbuttons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* show the relevant combat skill buttons */
|
||||
.sheet-revealbuttons[value="1"]:checked ~ div.sheet-meleebuttons,
|
||||
.sheet-revealbuttons[value="2"]:checked ~ div.sheet-rangedbuttons {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/* show the relevant buttons */
|
||||
.sheet-revealbuttons[value="0"]:checked ~div.sheet-meleebuttons,
|
||||
.sheet-revealbuttons[value="0"]:checked ~div.sheet-rangedbuttons,
|
||||
/* show the relevant combat skill buttons */
|
||||
.sheet-revealbuttons[value="2"]:checked ~ div.sheet-meleebuttons,
|
||||
.sheet-revealbuttons[value="1"]:checked ~ div.sheet-rangedbuttons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* hide condition descriptions */
|
||||
.sheet-showcondition[value="1"]:not(:checked) ~ div.sheet-condition_blinded,
|
||||
.sheet-showcondition[value="2"]:not(:checked) ~ div.sheet-condition_deaf,
|
||||
.sheet-showcondition[value="3"]:not(:checked) ~ div.sheet-condition_exhausted,
|
||||
.sheet-showcondition[value="4"]:not(:checked) ~ div.sheet-condition_frightened,
|
||||
.sheet-showcondition[value="5"]:not(:checked) ~ div.sheet-condition_intoxicated,
|
||||
.sheet-showcondition[value="6"]:not(:checked) ~ div.sheet-condition_mortal_peril,
|
||||
.sheet-showcondition[value="7"]:not(:checked) ~ div.sheet-condition_onfire,
|
||||
.sheet-showcondition[value="8"]:not(:checked) ~ div.sheet-condition_outcold,
|
||||
.sheet-showcondition[value="9"]:not(:checked) ~ div.sheet-condition_overburdened,
|
||||
.sheet-showcondition[value="10"]:not(:checked) ~ div.sheet-condition_paralysed,
|
||||
.sheet-showcondition[value="11"]:not(:checked) ~ div.sheet-condition_prone,
|
||||
.sheet-showcondition[value="12"]:not(:checked) ~ div.sheet-condition_restrained,
|
||||
.sheet-showcondition[value="13"]:not(:checked) ~ div.sheet-condition_stunned,
|
||||
.sheet-showcondition[value="14"]:not(:checked) ~ div.sheet-condition_surprised,
|
||||
.sheet-showcondition[value="15"]:not(:checked) ~ div.sheet-condition_terrified,
|
||||
.sheet-showcondition[value="16"]:not(:checked) ~ div.sheet-condition_wounded {
|
||||
display: none;
|
||||
/* styling the CRP roll templates to look like the default*/
|
||||
.sheet-rolltemplate-init table {
|
||||
width:100%;
|
||||
background-color:white;
|
||||
border:1px solid rgba(112,32,130,1);
|
||||
}
|
||||
.sheet-rolltemplate-init caption {
|
||||
background-color:rgba(112,32,130,1);
|
||||
color:white;
|
||||
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
||||
font-weight:300;
|
||||
font-size:1.1em;
|
||||
padding:5px;
|
||||
}
|
||||
.sheet-rolltemplate-init td {
|
||||
padding:5px;
|
||||
line-height:1.4em;
|
||||
vertical-align:top;
|
||||
}
|
||||
.sheet-rolltemplate-init td:first-child {
|
||||
font-weight:bold;
|
||||
text-align:left;
|
||||
min-width:50px;
|
||||
padding-right:10px;
|
||||
}
|
||||
.sheet-rolltemplate-init tr:nth-child(even) {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
/* show condition descriptions */
|
||||
.sheet-showcondition[value="1"]:checked ~ div.sheet-condition_blinded,
|
||||
.sheet-showcondition[value="2"]:checked ~ div.sheet-condition_deaf,
|
||||
.sheet-showcondition[value="3"]:checked ~ div.sheet-condition_exhausted,
|
||||
.sheet-showcondition[value="4"]:checked ~ div.sheet-condition_frightened,
|
||||
.sheet-showcondition[value="5"]:checked ~ div.sheet-condition_intoxicated,
|
||||
.sheet-showcondition[value="6"]:checked ~ div.sheet-condition_mortal_peril,
|
||||
.sheet-showcondition[value="7"]:checked ~ div.sheet-condition_onfire,
|
||||
.sheet-showcondition[value="8"]:checked ~ div.sheet-condition_outcold,
|
||||
.sheet-showcondition[value="9"]:checked ~ div.sheet-condition_overburdened,
|
||||
.sheet-showcondition[value="10"]:checked ~ div.sheet-condition_paralysed,
|
||||
.sheet-showcondition[value="11"]:checked ~ div.sheet-condition_prone,
|
||||
.sheet-showcondition[value="12"]:checked ~ div.sheet-condition_restrained,
|
||||
.sheet-showcondition[value="13"]:checked ~ div.sheet-condition_stunned,
|
||||
.sheet-showcondition[value="14"]:checked ~ div.sheet-condition_surprised,
|
||||
.sheet-showcondition[value="15"]:checked ~ div.sheet-condition_terrified,
|
||||
.sheet-showcondition[value="16"]:checked ~ div.sheet-condition_wounded {
|
||||
display: inline-block;
|
||||
.sheet-rolltemplate-atk table {
|
||||
width:100%;
|
||||
background-color:white;
|
||||
border:1px solid rgba(112,32,130,1);
|
||||
}
|
||||
.sheet-rolltemplate-atk caption {
|
||||
background-color:rgba(112,32,130,1);
|
||||
color:white;
|
||||
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
||||
font-weight:300;
|
||||
font-size:1.1em;
|
||||
padding:5px;
|
||||
}
|
||||
.sheet-rolltemplate-atk td {
|
||||
padding:5px;
|
||||
line-height:1.4em;
|
||||
vertical-align:top;
|
||||
}
|
||||
.sheet-rolltemplate-atk td:first-child {
|
||||
font-weight:bold;
|
||||
text-align:left;
|
||||
min-width:50px;
|
||||
padding-right:10px;
|
||||
}
|
||||
.sheet-rolltemplate-atk tr:nth-child(even) {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-whp table {
|
||||
width:100%;
|
||||
background-color:white;
|
||||
border:1px solid rgba(112,32,130,1);
|
||||
}
|
||||
.sheet-rolltemplate-whp caption {
|
||||
background-color:rgba(112,32,130,1);
|
||||
color:white;
|
||||
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
||||
font-weight:300;
|
||||
font-size:1.1em;
|
||||
padding:5px;
|
||||
}
|
||||
.sheet-rolltemplate-whp td {
|
||||
padding:5px;
|
||||
line-height:1.4em;
|
||||
vertical-align:top;
|
||||
}
|
||||
.sheet-rolltemplate-whp td:first-child {
|
||||
font-weight:bold;
|
||||
text-align:left;
|
||||
min-width:50px;
|
||||
padding-right:10px;
|
||||
}
|
||||
.sheet-rolltemplate-whp tr:nth-child(even) {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-soakrecover table {
|
||||
width:100%;
|
||||
background-color:white;
|
||||
border:1px solid rgba(112,32,130,1);
|
||||
}
|
||||
.sheet-rolltemplate-soakrecover caption {
|
||||
background-color:rgba(112,32,130,1);
|
||||
color:white;
|
||||
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
||||
font-weight:300;
|
||||
font-size:1.1em;
|
||||
padding:5px;
|
||||
}
|
||||
.sheet-rolltemplate-soakrecover td {
|
||||
padding:5px;
|
||||
line-height:1.4em;
|
||||
vertical-align:top;
|
||||
}
|
||||
.sheet-rolltemplate-soakrecover td:first-child {
|
||||
font-weight:bold;
|
||||
text-align:left;
|
||||
min-width:50px;
|
||||
padding-right:10px;
|
||||
}
|
||||
.sheet-rolltemplate-soakrecover tr:nth-child(even) {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-std table {
|
||||
width:100%;
|
||||
background-color:white;
|
||||
border:1px solid rgba(112,32,130,1);
|
||||
}
|
||||
.sheet-rolltemplate-std caption {
|
||||
background-color:rgba(112,32,130,1);
|
||||
color:white;
|
||||
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
||||
font-weight:300;
|
||||
font-size:1.1em;
|
||||
padding:5px;
|
||||
}
|
||||
.sheet-rolltemplate-std td {
|
||||
padding:5px;
|
||||
line-height:1.4em;
|
||||
vertical-align:top;
|
||||
}
|
||||
.sheet-rolltemplate-std td:first-child {
|
||||
font-weight:bold;
|
||||
text-align:left;
|
||||
min-width:50px;
|
||||
padding-right:10px;
|
||||
}
|
||||
.sheet-rolltemplate-std tr:nth-child(even) {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
.sheet-rolltemplate-def table {
|
||||
width:100%;
|
||||
background-color:white;
|
||||
border:1px solid rgba(112,32,130,1);
|
||||
}
|
||||
.sheet-rolltemplate-def caption {
|
||||
background-color:rgba(112,32,130,1);
|
||||
color:white;
|
||||
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
||||
font-weight:300;
|
||||
font-size:1.1em;
|
||||
padding:5px;
|
||||
}
|
||||
.sheet-rolltemplate-def td {
|
||||
padding:5px;
|
||||
line-height:1.4em;
|
||||
vertical-align:top;
|
||||
}
|
||||
.sheet-rolltemplate-def td:first-child {
|
||||
font-weight:bold;
|
||||
text-align:left;
|
||||
min-width:50px;
|
||||
padding-right:10px;
|
||||
}
|
||||
.sheet-rolltemplate-def tr:nth-child(even) {
|
||||
background-color:#eee;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user