mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
*Added missing translation keys *Minor visual adjustments to elements to fit text better *New script for gear quantity, now with total wgt per item and bug fixing available carry
869 lines
24 KiB
CSS
869 lines
24 KiB
CSS
/* Roll20 character sheet layout override */
|
|
.ui-dialog .largedialog {
|
|
padding: 0px 8px 0px 8px;
|
|
}
|
|
/* placed background image here to allow the image to extend past html */
|
|
.ui-dialog .charsheet {
|
|
padding: 5px;
|
|
background-image: url(https://raw.githubusercontent.com/roguetradermago/Rogue-Trader-improved-assets/main/RTIbackgroundimage.png);
|
|
background-size: 100% 1100px;
|
|
background-position: top;
|
|
background-repeat: repeat-y;
|
|
}
|
|
/* navigation tabs padding/margin mod */
|
|
.nav {
|
|
margin-left: 0;
|
|
margin-bottom: 5px;
|
|
list-style: none;
|
|
}
|
|
.characterviewer .nav-tabs {
|
|
padding-top: 0px;
|
|
}
|
|
/*Universal override for Roll20 content box*/
|
|
.ui-dialog .charsheet .rti * {
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
}
|
|
|
|
/*Tabs setup, this hides and shows content*/ {}
|
|
.charsheet .rti .skill,
|
|
.charsheet .rti .combat,
|
|
.charsheet .rti .talent,
|
|
.charsheet .rti .psykana,
|
|
.charsheet .rti .journal,
|
|
.charsheet .rti .ship,
|
|
.charsheet .rti .npcs,
|
|
.charsheet .rti .config {
|
|
display: none;
|
|
}
|
|
.charsheet .rti .tabstoggle[value="skill"] ~ div.skill,
|
|
.charsheet .rti .tabstoggle[value="combat"] ~ div.combat,
|
|
.charsheet .rti .tabstoggle[value="talent"] ~ div.talent,
|
|
.charsheet .rti .tabstoggle[value="psykana"] ~ div.psykana,
|
|
.charsheet .rti .tabstoggle[value="journal"] ~ div.journal,
|
|
.charsheet .rti .tabstoggle[value="ship"] ~ div.ship,
|
|
.charsheet .rti .tabstoggle[value="npcs"] ~ div.npcs,
|
|
.charsheet .rti .tabstoggle[value="config"] ~ div.config {
|
|
display: block;
|
|
}
|
|
|
|
/* HTML tags Styling general rules */{}
|
|
.charsheet .rti button[type="roll"],
|
|
.charsheet .rti span,
|
|
.charsheet .rti label,
|
|
.charsheet .rti select,
|
|
.charsheet .rti b,
|
|
.charsheet .rti i,
|
|
.charsheet .rti input[type="text"],
|
|
.charsheet .rti input[type="number"] {
|
|
display: inline-block;
|
|
padding: 0;
|
|
margin: 0 0 3px 0; /* shorthand reminder Top - Right - Bottom - Left (0 0 0 0) */
|
|
vertical-align: middle;
|
|
text-shadow: none;
|
|
box-shadow: none;
|
|
color: black;
|
|
}
|
|
.charsheet .rti button[type="roll"],
|
|
.charsheet .rti span,
|
|
.charsheet .rti label,
|
|
.charsheet .rti select,
|
|
.charsheet .rti h1,
|
|
.charsheet .rti h2,
|
|
.charsheet .rti b,
|
|
.charsheet .rti i {
|
|
-webkit-user-select: none; /* Safari and older Chrome versions */
|
|
-moz-user-select: none; /* Firefox */
|
|
-ms-user-select: none; /* Internet Explorer and Edge */
|
|
user-select: none; /* Standard syntax */
|
|
}
|
|
|
|
/* Button type Roll */{}
|
|
.charsheet .rti button[type="roll"] {
|
|
width: 100%;
|
|
height:24px;
|
|
font-size: 0px;
|
|
cursor: pointer;
|
|
background-image: none;
|
|
background-color: rgb(255 182 0 / 17%);
|
|
border: 1px solid black;
|
|
white-space: nowrap;
|
|
border-radius: 3px;
|
|
line-height: 24px;
|
|
}
|
|
.charsheet .rti button[type="roll"]:hover {
|
|
background-color: #DAA520;
|
|
border-color: #DAA520;
|
|
}
|
|
.charsheet .rti button[type="roll"] label,
|
|
.charsheet .rti button[type="roll"] input {
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
margin: 0;
|
|
border: 0;
|
|
cursor: inherit;
|
|
}
|
|
.charsheet .rti button[type="roll"]:hover label,
|
|
.charsheet .rti button[type="roll"]:hover input {
|
|
color: white;
|
|
}
|
|
.charsheet .rti button[type="roll"] b {
|
|
margin: 0;
|
|
line-height: 22px;
|
|
}
|
|
|
|
/* SPAN tag */{}
|
|
.charsheet .rti span {
|
|
text-align: center;
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
}
|
|
.charsheet .rti span.hpl {
|
|
-webkit-user-select: all; /* Safari and older Chrome versions */
|
|
-moz-user-select: all; /* Firefox */
|
|
-ms-user-select: all; /* Internet Explorer and Edge */
|
|
user-select: all; /* Standard syntax */
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Header tags H1 H2 */{}
|
|
.charsheet .rti h1,
|
|
.charsheet .rti h2 {
|
|
color: black;
|
|
margin-top: 7px;
|
|
margin-bottom: 3px;
|
|
padding: 0;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
}
|
|
.charsheet .rti h1 {
|
|
font-size: 18px;
|
|
line-height: 18px;
|
|
}
|
|
.charsheet .rti h2 {
|
|
font-size: 15px;
|
|
line-height: 15px;
|
|
}
|
|
|
|
/* Tags B and I used for icons */{}
|
|
.charsheet .rti b,
|
|
.charsheet .rti i {
|
|
width: fit-content;
|
|
height: 24px;
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
font-family: "pictos";
|
|
font-size: 18px;
|
|
text-align: center;
|
|
line-height: 24px;
|
|
cursor: help;
|
|
}
|
|
.charsheet .rti b:hover {
|
|
color: red;
|
|
}
|
|
.charsheet .rti i {
|
|
cursor: initial;
|
|
line-height: normal;
|
|
}
|
|
.charsheet .rti button[type="roll"] label.shct {
|
|
font-size: 22px;
|
|
font-family: "pictos";
|
|
margin: 0;
|
|
line-height: 20px;
|
|
}
|
|
|
|
/* TEXTAREA Field for descriptions */{}
|
|
.charsheet .rti textarea {
|
|
resize: vertical;
|
|
display: inline-block;
|
|
border: 1px solid #aaa;
|
|
width: 100%;
|
|
margin: 0 0 5px 0;
|
|
padding: 2px;
|
|
color: black;
|
|
font-size: 14px;
|
|
line-height: 16px;
|
|
font-weight: normal;
|
|
background-color: white;
|
|
vertical-align: middle;
|
|
cursor: auto;
|
|
letter-spacing: normal;
|
|
word-spacing: normal;
|
|
text-transform: none;
|
|
text-indent: 0px;
|
|
text-shadow: none;
|
|
text-align: start;
|
|
box-shadow: none;
|
|
}
|
|
|
|
/* INPUT fields that record player info */{}
|
|
.charsheet .rti input[type="text"],
|
|
.charsheet .rti input[type="number"] {
|
|
border: 1px solid black;
|
|
height: 24px;
|
|
width: 100%;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
line-height: 16px;
|
|
text-align: center;
|
|
background-color: transparent;
|
|
cursor: auto;
|
|
letter-spacing: normal;
|
|
word-spacing: normal;
|
|
text-transform: none;
|
|
text-indent: 0px;
|
|
-webkit-user-select: text;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* INPUT type checkbox */{}
|
|
.charsheet .rti input[type="checkbox"] {
|
|
display: inline-block;
|
|
height: 13px;
|
|
width: 13px;
|
|
vertical-align: middle;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Improved Fancy checkbox Baleine version */{}
|
|
.charsheet .rti label.fancyButton {
|
|
line-height: normal;
|
|
}
|
|
.charsheet .rti label.fancyButton > div {
|
|
height:24px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: 100%;
|
|
text-align: center;
|
|
border: 1px solid black;
|
|
font-size: 14px;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
margin-bottom: 3px;
|
|
line-height: normal;
|
|
cursor: pointer;
|
|
background-color: rgb(255 182 0 / 17%);
|
|
}
|
|
.charsheet .rti label.fancyButton:hover > div {
|
|
color: white;
|
|
border: 1px solid rgb(218, 165, 32, 1.0);
|
|
background-color: rgb(218, 165, 32, 1.0);
|
|
}
|
|
.charsheet .rti label.fancyButton input:checked ~ div,
|
|
.charsheet .rti label.fancyButton input:checked ~ span {
|
|
background-color: rgba(255, 0, 0, 0.6);
|
|
color: white;
|
|
}
|
|
.charsheet .rti label.fancyButton > input {
|
|
display: none;
|
|
}
|
|
.charsheet .rti .fancyButton b,
|
|
.charsheet .rti .fancyButton span {
|
|
margin: 0;
|
|
}
|
|
.charsheet .rti .fancyButton b {
|
|
line-height: 22px;
|
|
}
|
|
.charsheet .rti .fancyButton span:hover {
|
|
color: white;
|
|
}
|
|
.charsheet .rti .fancyButton div[id="bionic"] {
|
|
margin: 0;
|
|
}
|
|
.charsheet .rti .fancyButton i[id="bionic"] {
|
|
font-size: 13px;
|
|
margin: 0;
|
|
}
|
|
.charsheet .rti .fancyButton i[id="bionic2"] {
|
|
font-size: 13px;
|
|
margin: 0;
|
|
transform: scaleX(-1);
|
|
}
|
|
.charsheet .rti label.titleButton {
|
|
height: 42px;
|
|
line-height: 42px;
|
|
width: 12%;
|
|
}
|
|
.charsheet .rti label.titleButton > div {
|
|
height: 42px;
|
|
line-height: 42px;
|
|
border-radius: 6px;
|
|
font-size: 20px;
|
|
font-weight: bold;
|
|
}
|
|
.charsheet .rti label.shipweapon > div {
|
|
font-size: 9px;
|
|
height: 18px;
|
|
line-height: 18px;
|
|
font-weight: bold;
|
|
}
|
|
.charsheet .rti label.shipweapon {
|
|
height: 18px;
|
|
}
|
|
|
|
/* Checkbox Arrow icon that toggles visibility */{}
|
|
.charsheet .rti input[type="checkbox"].icon {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
display: inline-block;
|
|
height: 15px;
|
|
font-size: 14px;
|
|
font-family: "pictos";
|
|
color: black;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
background-color: transparent;
|
|
}
|
|
.charsheet .rti input[type="checkbox"].icon:before {
|
|
content: "{";
|
|
box-sizing: border-box;
|
|
}
|
|
.charsheet .rti input[type="checkbox"].icon:checked:before {
|
|
content: "}";
|
|
}
|
|
.charsheet .rti input[type="checkbox"].icon:focus:before,
|
|
.charsheet .rti input[type="checkbox"].icon:focus {
|
|
outline: 0;
|
|
}
|
|
|
|
/* SELECT drop-down menu, OPTION tag inside */{}
|
|
.charsheet .rti select {
|
|
border: 1px solid black;
|
|
height: 24px;
|
|
width: 100%;
|
|
font-size: 14px;
|
|
line-height: 16px;
|
|
font-weight: normal;
|
|
background-color: transparent;
|
|
cursor: pointer;
|
|
letter-spacing: normal;
|
|
word-spacing: normal;
|
|
text-transform: none;
|
|
text-indent: 0px;
|
|
text-align: left;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
-moz-padding-start: 3px;
|
|
}
|
|
.charsheet .rti option {
|
|
display: block;
|
|
height: inherit;
|
|
width: inherit;
|
|
padding: 0;
|
|
margin: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Disabled readonly fields */{}
|
|
.charsheet .rti input[disabled],
|
|
.charsheet .rti select[disabled],
|
|
.charsheet .rti input[readonly],
|
|
.charsheet .rti select[readonly] {
|
|
cursor: not-allowed;
|
|
border-color: #AAAAAA;
|
|
}
|
|
|
|
/* LABEL tag */{}
|
|
.charsheet .rti label {
|
|
width: 100%;
|
|
height: 24px;
|
|
border: 0;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
line-height: 24px;
|
|
text-align: left;
|
|
}
|
|
|
|
/*CSS Grid Cols and Rows architecture*/{}
|
|
.charsheet .rti .grid2 {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
column-gap: 7px;
|
|
justify-content: center;
|
|
}
|
|
.charsheet .rti .leftbox {
|
|
grid-column: 1 / 2;
|
|
}
|
|
.charsheet .rti .rightbox {
|
|
grid-column: 2 / 3;
|
|
}
|
|
|
|
.charsheet .rti .grid4 {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
column-gap: 6px;
|
|
justify-content: center;
|
|
}
|
|
.charsheet .rti .gridbox1 {
|
|
grid-column: 1 / 2;
|
|
}
|
|
.charsheet .rti .gridbox2 {
|
|
grid-column: 2 / 3;
|
|
}
|
|
.charsheet .rti .gridbox3 {
|
|
grid-column: 3 / 4;
|
|
}
|
|
.charsheet .rti .gridbox4 {
|
|
grid-column: 4 / 5;
|
|
}
|
|
|
|
.charsheet .rti .grid3 {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
column-gap: 6px;
|
|
justify-content: center;
|
|
}
|
|
.charsheet .rti .gridbox1st {
|
|
grid-column: 1 / 2;
|
|
}
|
|
.charsheet .rti .gridbox2nd {
|
|
grid-column: 2 / 3;
|
|
}
|
|
.charsheet .rti .gridbox3rd {
|
|
grid-column: 3 / 4;
|
|
}
|
|
/* grid for nav powers */
|
|
.charsheet .rti .gridnav {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: 5fr 1fr 32px 32px 32px 32px 32px;
|
|
gap: 0;
|
|
}
|
|
/*grid with 9 blocks used in npc, custom skill, trade and advance skills*/
|
|
.charsheet .rti .grid9 {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: 4fr 1fr 30px 30px 30px 30px 30px 30px 30px;
|
|
gap: 0;
|
|
}
|
|
/* grid with 8 blocks used in skill groups*/
|
|
.charsheet .rti .grid8 {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: 1fr 30px 30px 30px 30px 30px 30px 30px;
|
|
gap: 0;
|
|
}
|
|
/* grid with 8 blocks used in basic skills*/
|
|
.charsheet .rti .grid8b {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: 5fr 1fr 30px 30px 30px 30px 30px 30px;
|
|
gap: 0;
|
|
}
|
|
/*element styling to fit the grid*/
|
|
.charsheet .rti .label2 {
|
|
font-size: 9px;
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
.charsheet .rti .label1 {
|
|
margin: 0;
|
|
text-align: center;
|
|
}
|
|
.charsheet .rti input[id="subitem"],
|
|
.charsheet .rti select[id="subitem"],
|
|
.charsheet .rti button[id="subitem"],
|
|
.charsheet .rti span[id="gridspan"] {
|
|
border-radius: 0;
|
|
border: 1px solid black;
|
|
margin: 0;
|
|
}
|
|
.charsheet .rti div[id="cbitem"] {
|
|
display: flex;
|
|
border: 1px solid black;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.charsheet .rti span[id="gridspan"] {
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* Grid for characteristics */
|
|
.charsheet .rti .CharGrid {
|
|
width: 100%;
|
|
display: grid;
|
|
grid-template-columns: repeat(9, 1fr);
|
|
gap: 5px;
|
|
}
|
|
.charsheet .rti .CharGrid label {
|
|
text-align: center;
|
|
}
|
|
.charsheet .rti button > input[id="CharBtnIn"] {
|
|
width: inherit;
|
|
height: inherit;
|
|
margin: 0;
|
|
font-size: 38px;
|
|
text-align: right;
|
|
padding: 0 15px 0 0;
|
|
}
|
|
/* Characteristic Bonus container "unnatural" */
|
|
.charsheet .rti input[id="unnatural"] {
|
|
font-weight: bold;
|
|
font-size: 25px;
|
|
height: 60px;
|
|
text-align: center;
|
|
background: #b7b7b7;
|
|
border: 1px solid black;
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 30%;
|
|
border-radius: 0 23px 23px 0;
|
|
bottom: 63px;
|
|
margin-bottom: -60px;
|
|
}
|
|
|
|
/* Special styles and containers */
|
|
.charsheet .rti {
|
|
font-family: Times, "Times New Roman", serif;
|
|
font-size: 0px; /*this eliminates XML whitespaces */
|
|
}
|
|
/* This rule is needed to allow inputs inside buttons */
|
|
.charsheet .rti button input {
|
|
pointer-events: none;
|
|
}
|
|
/* This adds a background color to some input fields */
|
|
.charsheet .rti input[type="text"].cur,
|
|
.charsheet .rti input[type="number"].cur {
|
|
background-color: white;
|
|
}
|
|
/*labels with tooltip*/
|
|
.charsheet .rti label:hover.help {
|
|
cursor: help;
|
|
color: red;
|
|
}
|
|
/*Firefox spinner buttons mod*/
|
|
/*by default is not visible*/
|
|
.charsheet .rti input[Type="number"]{
|
|
-moz-appearance: textfield;
|
|
}
|
|
/* hover over reveals buttons*/
|
|
.charsheet .rti input[Type="number"]:hover{
|
|
-moz-appearance: initial;
|
|
}
|
|
/* Chrome, Safari, Edge, Opera spinner buttons*/
|
|
/*by default is not visible*/
|
|
.charsheet .rti input[type="number"]::-webkit-inner-spin-button,
|
|
.charsheet .rti input[type="number"]::-webkit-outer-spin-button {
|
|
display: none;
|
|
}
|
|
/* hover over reveals buttons*/
|
|
.charsheet .rti input[type="number"]:hover::-webkit-inner-spin-button,
|
|
.charsheet .rti input[type="number"]:hover::-webkit-outer-spin-button {
|
|
display: inline
|
|
}
|
|
|
|
/* armour section */
|
|
.charsheet .rti .quickborder {
|
|
border: 1px solid #AAAAAA;
|
|
padding: 2px 2px 1px 2px;
|
|
margin-bottom: 3px;
|
|
}
|
|
.charsheet .rti .armourblock {
|
|
margin: auto auto 5px auto;
|
|
width: calc(33% - 3px);
|
|
display: inline-block;
|
|
}
|
|
.charsheet .rti .armourblock label {
|
|
text-align: center;
|
|
height: inherit;
|
|
white-space: pre-wrap;
|
|
}
|
|
.charsheet .rti .armourblock button {
|
|
height: 48px;
|
|
}
|
|
|
|
/*used as horizontal spacing for inline-block lines*/
|
|
.charsheet .rti .spacing {
|
|
display: inline-block;
|
|
width: auto;
|
|
height: auto;
|
|
vertical-align: middle;
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
/* container for image top logo */
|
|
.charsheet .rti .logo {
|
|
display: inline-block;
|
|
width: auto;
|
|
height: auto;
|
|
}
|
|
/* container for image in armour section */
|
|
.charsheet .rti .trask {
|
|
background-image: url(https://raw.githubusercontent.com/roguetradermago/Rogue-Trader-improved-assets/main/RTtsemitrans.png);
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
/*the checkbox that allows to hide divs with hbody*/
|
|
.charsheet .rti input.arrow {
|
|
position: relative;
|
|
}
|
|
.charsheet .rti input.arrow:checked ~ div.hbody {
|
|
display: none;
|
|
}
|
|
/*the checkbox that allows to Show divs with hbody2*/
|
|
.charsheet .rti input.arrow2 {
|
|
position: relative;
|
|
}
|
|
.charsheet .rti input.arrow2 ~ div.hbody2 {
|
|
display: none;
|
|
}
|
|
.charsheet .rti input.arrow2:checked ~ div.hbody2 {
|
|
display: block;
|
|
}
|
|
|
|
/*tab setup for ship actions - replaces radio input*/
|
|
.charsheet .rti .shipmanu,
|
|
.charsheet .rti .shipaction,
|
|
.charsheet .rti .shipnpc,
|
|
.charsheet .rti .shipwp4,
|
|
.charsheet .rti .shipwp5 {
|
|
display: none;
|
|
}
|
|
.charsheet .rti .shiptoggle[value="shipmanu"] ~ div.shipmanu,
|
|
.charsheet .rti .shiptoggle[value="shipaction"] ~ div.shipaction,
|
|
.charsheet .rti .shiptoggle[value="shipnpc"] ~ div.shipnpc,
|
|
.charsheet .rti .shiptoggle[value="shipwp4"] ~ div.shipwp4,
|
|
.charsheet .rti .shiptoggle[value="shipwp5"] ~ div.shipwp5 {
|
|
display: block;
|
|
}
|
|
|
|
/* Modification for Add, Delete, Move and Modify buttons under a fieldset */
|
|
.repcontrol_move,
|
|
.repcontrol_add,
|
|
.repcontrol_edit,
|
|
.repcontrol_del {
|
|
box-shadow: none;
|
|
z-index: 1;
|
|
position: relative;
|
|
text-shadow: none;
|
|
height: 27px;
|
|
width: 30px;
|
|
}
|
|
.repcontrol_add {
|
|
font-size: 0px;
|
|
color: rgba(255, 0, 0, 0.0);
|
|
background-image: url(https://raw.githubusercontent.com/roguetradermago/Rogue-Trader-improved-assets/main/plus-icon.png);
|
|
background-size: contain;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-color: rgb(218, 165, 32, 0.15);
|
|
}
|
|
.repcontrol_edit {
|
|
font-size: 0px;
|
|
color: rgba(255, 0, 0, 0.0);
|
|
background-image: url(https://raw.githubusercontent.com/roguetradermago/Rogue-Trader-improved-assets/main/gear-icon.png);
|
|
background-size: contain;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-color: rgb(218, 165, 32, 0.15);
|
|
}
|
|
.repcontrol_move:hover,
|
|
.repcontrol_add:hover,
|
|
.repcontrol_edit:hover,
|
|
.repcontrol_del:hover {
|
|
background-position: initial;
|
|
}
|
|
/* Mod for skill notes in a fieldset */
|
|
.repcontainer[data-groupname="repeating_skillnotes"] > .repitem {
|
|
display: inline-block;
|
|
width: 25%;
|
|
}
|
|
/* Mod for single fieldset dual layout */
|
|
.repcontainer[data-groupname="repeating_shipweapons"] > .repitem,
|
|
.repcontainer[data-groupname="repeating_psypowers1"] > .repitem,
|
|
.repcontainer[data-groupname="repeating_psypowers2"] > .repitem{
|
|
display: inline-block;
|
|
width: 50%;
|
|
padding: 0 3px;
|
|
}
|
|
|
|
/* style for text inside scripts*/
|
|
.charsheet .rti span.insanity-text,
|
|
.charsheet .rti span.corruption-text,
|
|
.charsheet .rti span.population-text,
|
|
.charsheet .rti span.morale-text{
|
|
display: none;
|
|
}
|
|
.charsheet .rti input[type="hidden"][name="attr_madnessdegree"][value="insanity_0"] ~ span.insanity-text[data-show-if="insanity_0"],
|
|
.charsheet .rti input[type="hidden"][name="attr_madnessdegree"][value="insanity_10"] ~ span.insanity-text[data-show-if="insanity_10"],
|
|
.charsheet .rti input[type="hidden"][name="attr_madnessdegree"][value="insanity_40"] ~ span.insanity-text[data-show-if="insanity_40"],
|
|
.charsheet .rti input[type="hidden"][name="attr_madnessdegree"][value="insanity_60"] ~ span.insanity-text[data-show-if="insanity_60"],
|
|
.charsheet .rti input[type="hidden"][name="attr_madnessdegree"][value="insanity_80"] ~ span.insanity-text[data-show-if="insanity_80"],
|
|
.charsheet .rti input[type="hidden"][name="attr_madnessdegree"][value="insanity_100"] ~ span.insanity-text[data-show-if="insanity_100"] {
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
.charsheet .rti input[type="hidden"][name="attr_corruptiondegree"][value="corruption_0"] ~ span.corruption-text[data-show-if="corruption_0"],
|
|
.charsheet .rti input[type="hidden"][name="attr_corruptiondegree"][value="corruption_30"] ~ span.corruption-text[data-show-if="corruption_30"],
|
|
.charsheet .rti input[type="hidden"][name="attr_corruptiondegree"][value="corruption_60"] ~ span.corruption-text[data-show-if="corruption_60"],
|
|
.charsheet .rti input[type="hidden"][name="attr_corruptiondegree"][value="corruption_90"] ~ span.corruption-text[data-show-if="corruption_90"],
|
|
.charsheet .rti input[type="hidden"][name="attr_corruptiondegree"][value="corruption_99"] ~ span.corruption-text[data-show-if="corruption_99"],
|
|
.charsheet .rti input[type="hidden"][name="attr_corruptiondegree"][value="corruption_100"] ~ span.corruption-text[data-show-if="corruption_100"] {
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
.charsheet .rti input[type="hidden"][name="attr_crewpopeffect"][value="population_0"] ~ span.population-text[data-show-if="population_0"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewpopeffect"][value="population_10"] ~ span.population-text[data-show-if="population_10"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewpopeffect"][value="population_20"] ~ span.population-text[data-show-if="population_20"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewpopeffect"][value="population_40"] ~ span.population-text[data-show-if="population_40"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewpopeffect"][value="population_50"] ~ span.population-text[data-show-if="population_50"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewpopeffect"][value="population_60"] ~ span.population-text[data-show-if="population_60"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewpopeffect"][value="population_80"] ~ span.population-text[data-show-if="population_80"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewpopeffect"][value="population_100"] ~ span.population-text[data-show-if="population_100"] {
|
|
display: inline-block;
|
|
width: 100%;
|
|
font-weight: normal;
|
|
line-height: 13px;
|
|
}
|
|
.charsheet .rti input[type="hidden"][name="attr_crewmoreffect"][value="morale_0"] ~ span.morale-text[data-show-if="morale_0"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewmoreffect"][value="morale_10"] ~ span.morale-text[data-show-if="morale_10"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewmoreffect"][value="morale_20"] ~ span.morale-text[data-show-if="morale_20"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewmoreffect"][value="morale_40"] ~ span.morale-text[data-show-if="morale_40"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewmoreffect"][value="morale_50"] ~ span.morale-text[data-show-if="morale_50"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewmoreffect"][value="morale_60"] ~ span.morale-text[data-show-if="morale_60"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewmoreffect"][value="morale_80"] ~ span.morale-text[data-show-if="morale_80"],
|
|
.charsheet .rti input[type="hidden"][name="attr_crewmoreffect"][value="morale_100"] ~ span.morale-text[data-show-if="morale_100"] {
|
|
display: inline-block;
|
|
width: 100%;
|
|
font-weight: normal;
|
|
line-height: 13px;
|
|
}
|
|
.charsheet .rti span.crewef {
|
|
background-color: rgb(255 182 0 / 17%);
|
|
width: 100%;
|
|
height: 50px;
|
|
padding: 4px;
|
|
overflow: hidden;
|
|
transition: height 0.3s ease;
|
|
cursor: zoom-in;
|
|
border: 1px solid #AAAAAA;
|
|
}
|
|
.charsheet .rti span.crewef:hover {
|
|
height: 140px;
|
|
}
|
|
|
|
/* ROLL TEMPLATE STYLE CUSTOM based on "better default template"*/
|
|
/* margin reduction to better fit the chat window */
|
|
.sheet-rolltemplate-custom {
|
|
margin: 0px -11px;
|
|
font-family: math, Arial;
|
|
}
|
|
/* Header formatting */
|
|
.sheet-rolltemplate-custom .sheet-header {
|
|
background-image: url(https://raw.githubusercontent.com/roguetradermago/Rogue-Trader-improved-assets/main/templateheaderV2.png);
|
|
background-position: center;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
width: 275px;
|
|
height: 48px;
|
|
z-index: 1;
|
|
}
|
|
/* footer formatting */
|
|
.sheet-rolltemplate-custom .sheet-footer {
|
|
background-image: url(https://raw.githubusercontent.com/roguetradermago/Rogue-Trader-improved-assets/main/templatefooterV2.png);
|
|
background-position: center;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
width: 275px;
|
|
height: 48px;
|
|
z-index: 1;
|
|
}
|
|
/* Name field */
|
|
.sheet-rolltemplate-custom .sheet-name {
|
|
grid-column: span 2;
|
|
padding: 3px 5px;
|
|
text-align: center;
|
|
font-size: 17px;
|
|
font-weight: bold;
|
|
color: black;
|
|
}
|
|
|
|
/* main container */
|
|
.sheet-rolltemplate-custom .sheet-content {
|
|
margin-top: -2px;
|
|
margin-bottom: -1px;
|
|
display: grid;
|
|
background: #F1EFEB;
|
|
width: 275px;
|
|
height: auto;
|
|
z-index: 0;
|
|
/* Header formatting - modify the column layout below */
|
|
grid-template-columns: auto auto;
|
|
/* Line height to match default roll template */
|
|
line-height: 1.4em;
|
|
}
|
|
|
|
/* Left column "key"*/
|
|
.sheet-rolltemplate-custom .sheet-content .sheet-key {
|
|
padding: 3px;
|
|
text-align: right;
|
|
font-weight: bold;
|
|
font-size: 15px;
|
|
color: black;
|
|
}
|
|
|
|
/* right column "value"*/
|
|
.sheet-rolltemplate-custom .sheet-value {
|
|
padding: 3px;
|
|
text-align: left;
|
|
font-weight: bold;
|
|
font-size: 15px;
|
|
color: black;
|
|
}
|
|
|
|
/* Description field */
|
|
.sheet-rolltemplate-custom .sheet-desc {
|
|
grid-column: span 2;
|
|
padding: 3px 5px;
|
|
text-align: center;
|
|
font-weight: normal;
|
|
line-height: 18px;
|
|
color: black;
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* Result field */
|
|
.sheet-rolltemplate-custom .sheet-result {
|
|
grid-column: span 2;
|
|
padding: 3px 5px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
font-size: 15px;
|
|
color: black;
|
|
}
|
|
|
|
.sheet-rolltemplate-custom .sheet-result span,
|
|
.sheet-rolltemplate-custom .sheet-value span,
|
|
.sheet-rolltemplate-custom .sheet-desc span{
|
|
background-color: transparent;
|
|
height: 14px;
|
|
display: inline-block;
|
|
line-height: 16px;
|
|
font-size: 15px;
|
|
color: black;
|
|
font-weight: bold;
|
|
}
|
|
.sheet-rolltemplate-custom .sheet-result p,
|
|
.sheet-rolltemplate-custom .sheet-desc p{
|
|
display: inline-block;
|
|
font-family: inherit;
|
|
letter-spacing: inherit;
|
|
line-height: inherit;
|
|
font-weight: inherit;
|
|
font-size: inherit;
|
|
margin: inherit;
|
|
box-sizing: inherit;
|
|
} |