Files
roll20-character-sheets/Rogue Trader Improved/RogueTraderImproved.css
T
Mago 6bf8ee850a RTI Update 1.2
CHANGES:
-Page Tabs reorganized based on importance from left to right.
-Psykana Tab:  Complete revamp of the Psychic Technique macros (and roll template) for expanded functionality and determination of Psychic Phenomena. NOW IN COLOR!
-Psykana Tab: Psychic technique fields revision, now easier to fill (fields changed: damage mod, psy strength, Discipline)
-Ship Tab: Minor changes, mostly cosmetic, however the Initiative Macro now includes Detection bonus by default.
-Ship Tab: a smaller field next to initiative was restored, this is labeled "Supplies".
-Combat Tab: Minor element reorganization to accomodate removal of fatigue (now in universal header)
-Combat Tab: "Quick defense" buttons removed in favor of universal header.
-Profit factor field relocated for cosmetic reasons (inside Skills Tab).
-Altered the Size and Font of the +Add and Modify Buttons.
-Character's Physical Description fields removed in favor of character description field (inside Journal Tab)

-NEW FEATURES:
*Universal header for characteristics, Fate points, 3 Quick Skills and Fatigue.
***Auto-calc fields for characteristics removed in favor of sheet workers scripts.

*Psy Rating field, Profit factor, fate Points and Fatigue now have a scripted +/- buttons that adds/substracts (1).

*Core Tab renamed "Skills"
**Skills Tab: Now ALL SKILLS and SKILL GROUPS have a tooltip (title) info with rules taken from core rule book.
***Skill Groups Expansion: Now each skill group has repeating fields.

*New Tab: Journal
**The misfortunes , acquisitions and special notes were relocated here.
***Origin Path fields relocated here. Also added more Alternate Career Fields.
****Character Description and Endevours fields added.

*Psykana Tab: Discipline Mastery Checkboxes.
**Fields for up to 5 different disciplines.
***Mastery Checkboxes add +1 to EPR for fettered powers.

*Combat Tab: Damage Calculator added next to Initiative macro.
2021-03-25 11:45:09 -04:00

582 lines
15 KiB
CSS

/*----------- Tabs Setup -------------*/
/*this hides the contents of each tab by default*/
.charsheet div[class^="sheet-section"] {
display: none;
}
/*this shows the tab content when the appropriate input field is selected*/
.charsheet input.sheet-tab1:checked ~ div.sheet-section-skillstab,
.charsheet input.sheet-tab2:checked ~ div.sheet-section-gear,
.charsheet input.sheet-tab3:checked ~ div.sheet-section-advancements,
.charsheet input.sheet-tab4:checked ~ div.sheet-section-npcsandminions,
.charsheet input.sheet-tab5:checked ~ div.sheet-section-vehicles,
.charsheet input.sheet-tab6:checked ~ div.sheet-section-psykana,
.charsheet input.sheet-tab7:checked ~ div.sheet-section-ship,
.charsheet input.sheet-tab8:checked ~ div.sheet-section-journal,
{
display: block;
}
.charsheet input.sheet-tab99:checked ~ div[class^="sheet-section"] {
display: block;
}
/*this hides the radio button for each tab, makes it 100px wide and 40px tall and makes sure it's above everything else*/
.charsheet input.sheet-tab {
width: 100px;
height: 40px;
cursor: pointer;
position: relative;
opacity: 0;
z-index: 9999;
}
/*this styles the span with the tab information and slides to the left, so it appears underneath the radio button*/
.charsheet span.sheet-tab {
text-align: center;
display: inline-block;
background: #bcd4e6;
color: black;
border: solid 1px rgba(0, 0, 0, 0.35);
font-size: 17px;
font-weight: bold;
border-radius: 6px;
width: 100px;
height: 40px;
cursor: pointer;
position: relative;
vertical-align: middle;
margin-left: -96px;
background-image: url(http://i.imgur.com/PWr9jAR.png);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/*this modifies the span color once the radio button is selected so you know which tab is selected*/
.charsheet input.sheet-tab1:checked + span.sheet-tab1,
.charsheet input.sheet-tab2:checked + span.sheet-tab2,
.charsheet input.sheet-tab3:checked + span.sheet-tab3,
.charsheet input.sheet-tab4:checked + span.sheet-tab4,
.charsheet input.sheet-tab5:checked + span.sheet-tab5,
.charsheet input.sheet-tab6:checked + span.sheet-tab6,
.charsheet input.sheet-tab7:checked + span.sheet-tab7,
.charsheet input.sheet-tab8:checked + span.sheet-tab8,
.charsheet input.sheet-tab9:checked + span.sheet-tab9,
.charsheet input.sheet-tab99:checked + span.sheet-tab99 {
background: #faf0be;
color: #000000;
border-radius: 4px;
}
/*----------- End Tab Setup -----------*/
/* CSS Reset */{}
.charsheet .sheet-wrapper div, .charsheet .sheet-wrapper span, .charsheet .sheet-wrapper label,
.charsheet .sheet-wrapper h1, .charsheet .sheet-wrapper h2, .charsheet .sheet-wrapper h3, .charsheet .sheet-wrapper h4, .charsheet .sheet-wrapper h5, .charsheet .sheet-wrapper h6, .charsheet .sheet-wrapper p,
.charsheet .sheet-wrapper table, .charsheet .sheet-wrapper caption, .charsheet .sheet-wrapper tbody, .charsheet .sheet-wrapper tfoot, .charsheet .sheet-wrapper thead, .charsheet .sheet-wrapper tr, .charsheet .sheet-wrapper th, .charsheet .sheet-wrapper td {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
color: #404040;
vertical-align: baseline;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.charsheet .sheet-wrapper table {
border-collapse: collapse;
border-spacing: 0;
}
.charsheet .sheet-wrapper input::-webkit-outer-spin-button,
.charsheet .sheet-wrapper input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.charsheet .sheet-wrapper input[type="number"] {
-moz-appearance: textfield;
}
.charsheet .sheet-wrapper textarea {
resize: vertical;
}
/* Button Reset */
.charsheet .sheet-wrapper button[type="roll"]:before {
content: ""!important;
display: none;
}
.charsheet .sheet-wrapper button[type="roll"],
.charsheet .sheet-wrapper .sheet-btn {
width: 100%;
height:24px;
vertical-align: middle;
padding: 0;
display: inline-block;
margin: 0;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none;
background-color: transparent;
border: 1px solid #a3a3a3; /* original color #ccc */
white-space: nowrap;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.charsheet .sheet-wrapper button[type="roll"]:hover,
.charsheet .sheet-wrapper .sheet-btn:hover,
.charsheet .sheet-wrapper .sheet-hider input[type=checkbox]:checked ~ .sheet-btn {
background-color: #DAA520;
border-color: #DAA520;
}
.charsheet .sheet-wrapper button[type="roll"] label,
.charsheet .sheet-wrapper button[type="roll"] input {
height: 24px;
line-height: 24px;
font-size: 11px; /*13px*/
vertical-align: middle;
text-align: center;
width: 100%;
cursor: pointer;
background: none;
box-shadow: none;
transition: none;
border-radius: none;
border: none;
font-weight: 700;
}
.charsheet .sheet-wrapper button[type="roll"]:hover label,
.charsheet .sheet-wrapper button[type="roll"]:hover input {
color: white;
border: none;
}
/* Main Styles */
.charsheet {
background-image: url(http://i.imgur.com/PWr9jAR.png);
background-size:100%;
font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
font-size: 14px;
}
.charsheet .sheet-wrapper h3 {
color: black;
margin-top: 3px;
margin-bottom: 3px;
font-size: 18px;
font-weight: bold;
font-family: inherit;
text-transform: uppercase;
text-align: center;
}
.charsheet .sheet-wrapper h2 {
color: black;
margin-top: 5px;
margin-bottom: 1px;
font-size: 17px;
font-weight: bold;
font-family: inherit;
text-transform: uppercase;
text-align: center;
}
.charsheet .sheet-wrapper h1 {
color: black;
margin-top: 5px;
margin-bottom: -1px;
font-size: 14px;
font-weight: bold;
font-family: inherit;
text-transform: uppercase;
text-align: center;
}
.charsheet .sheet-wrapper textarea {
display: inline-block;
border: 1px solid #aaa;
padding: 2px;
height: 24px;
width: 100%;
font-size: 14px;
font-family: inherit;
line-height: 16px;
font-weight: normal;
margin: 0;
color: #555;
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;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-webkit-transition: border linear .2s,box-shadow linear .2s;
-moz-transition: border linear .2s,box-shadow linear .2s;
-ms-transition: border linear .2s,box-shadow linear .2s;
-o-transition: border linear .2s,box-shadow linear .2s;
transition: border linear .2s,box-shadow linear .2s;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-writing-mode: horizontal-tb;
}
.charsheet .sheet-wrapper input, .charsheet .sheet-wrapper select, .charsheet .sheet-wrapper input[type="number"] {
display: inline-block;
border-bottom: 1px dotted gray;
border-top: none;
border-left: none;
border-right: none;
padding: 2px;
height: 24px;
width: 100%;
font-size: 14px;
font-family: inherit;
line-height: 16px;
font-weight: normal;
margin: 0;
color: #555;
background-color: transparent;
vertical-align: middle;
cursor: auto;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
text-align: start;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-webkit-transition: border linear .2s,box-shadow linear .2s;
-moz-transition: border linear .2s,box-shadow linear .2s;
-ms-transition: border linear .2s,box-shadow linear .2s;
-o-transition: border linear .2s,box-shadow linear .2s;
transition: border linear .2s,box-shadow linear .2s;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-writing-mode: horizontal-tb;
}
.charsheet .sheet-wrapper input:not([type='checkbox']) {
-webkit-appearance: textfield;
}
.charsheet .sheet-wrapper input[type="checkbox"] {
height: 13px;
width: 13px;
color: #555;
border: 1px solid #aaa;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-webkit-transition: border linear .2s,box-shadow linear .2s;
-moz-transition: border linear .2s,box-shadow linear .2s;
-ms-transition: border linear .2s,box-shadow linear .2s;
-o-transition: border linear .2s,box-shadow linear .2s;
transition: border linear .2s,box-shadow linear .2s;
}
.charsheet .sheet-wrapper input[disabled],
.charsheet .sheet-wrapper select[disabled],
.charsheet .sheet-wrapper textarea[disabled],
.charsheet .sheet-wrapper input[readonly],
.charsheet .sheet-wrapper select[readonly],
.charsheet .sheet-wrapper textarea[readonly] {
background-color: transparent;
border-color: #aaa;
cursor: not-allowed;
}
.charsheet .sheet-wrapper textarea {
width: 98%;
height: 80px;
line-height: 16px;
margin-bottom: 5px;
margin-top: 5px;
}
.charsheet .sheet-wrapper label {
display: inline-block;
width: 100%;
font-size: 14px;
text-align: left;
font-weight: 600;
height: 24px;
line-height: 24px;
vertical-align: middle;
}
.charsheet .sheet-wrapper .sheet-2colrow .sheet-col {
width: calc(50% - 2px) !important;
margin-right: 0px !important;
}
.charsheet .sheet-wrapper .sheet-2colrow .sheet-col:last-child {
margin-right: 0px !important;
}
.charsheet .sheet-wrapper .sheet-1colrow .sheet-col {
width: calc(100% - 2px) !important;
margin-right: 0px !important;
}
/* Special Styles */
.charsheet .sheet-wrapper .sheet-skills td:first-child {
width:70%;
height:24px;
border-bottom:1px solid gray;
}
.charsheet .sheet-wrapper .sheet-skills td:nth-child(n+2) {
width:24px;
height:24px;
border:1px solid gray;
text-align:center;
}
.charsheet .sheet-wrapper .sheet-skills button[type="roll"] {
width:100%; /*24px*/
}
.charsheet .sheet-wrapper .sheet-transparent {
background: transparent;
border: transparent;
}
.charsheet .sheet-wrapper .sheet-inline {
display:inline-block;
}
.charsheet .sheet-wrapper .sheet-quickborder {
border: 1px solid #AAAAAA;
padding:3px;
margin-bottom:5px;
}
.charsheet .sheet-wrapper .sheet-armourblock {
text-align: center;
margin: auto auto 5px auto;
width: calc(33% - 3px);
display: inline-block;
}
.charsheet .sheet-wrapper .sheet-armourblock label {
text-align: center;
text-transform:uppercase;
}
.charsheet .sheet-wrapper .sheet-armourblock input {
text-align: center;
font-size: 1.2em;
}
/* Rows and Items */
.charsheet .sheet-wrapper .sheet-row {
height: 24px;
margin: 0 0 2px;
}
.charsheet .sheet-wrapper .sheet-item { /*used all over the sheet*/
display: inline-block;
width: 100%;
height: 28px;
vertical-align: middle;
margin: 0 -2px;
text-align: center;
padding: 3px 2px;
overflow: hidden;
}
.charsheet .sheet-wrapper .sheet-item2 { /* used in NPC tab characteristics */
display: inline-block;
width: 100%;
height: 28px;
vertical-align: middle;
margin-top: 4px;
margin-bottom: 0px;
margin-right: -2px;
margin-left: -1px;
padding-top: 1px;
overflow: hidden;
border: 1px solid #a3a3a3;
border-radius: 2px;
font-weight: bold;
}
.charsheet .sheet-wrapper .sheet-item3 { /* used in Core tab characteristics header*/
display: inline-block;
width: 100%;
height: 60px;
vertical-align: middle;
margin-left: -2px;
margin-right: -2px;
margin-bottom: -10px;
text-align: center;
overflow: hidden;
white-space: pre;
}
.charsheet .sheet-wrapper .sheet-item4 { /* used in Core tab characteristics as spacing, also some buttons and inputs */
display: inline-block;
margin-left: -3px;
margin-right: -3.5px;
}
.charsheet .sheet-wrapper .sheet-unnatural { /* Ability Bonus container "unnatural" */
position: relative;
top: 17px;
}
.charsheet .sheet-wrapper .sheet-unnatural[type="number"] {
font-size: 17px;
height:1.5em;
width:1.5em;
text-align:center;
background: #b7b7b7;
border: none;
border-top-left-radius: 16px;
margin-left:-29px;
}
.charsheet .sheet-wrapper .sheet-brackets {
border-left: 1px solid #aaa;
border-right: 1px solid #aaa;
border-radius: 12px;
}
.charsheet .sheet-wrapper .sheet-thickborder { /* used in Core tab characteristics as improved border also psykana disciplines*/
border: solid #a3a3a3;
border-width: 1px;
border-radius: 5px;
height:30px;
}
/*the checkbox that allows to hide divs with hbody*/
input.sheet-arrow
{
position: relative;
top: 0px;
left: 0px;
cursor: pointer;
}
input.sheet-arrow:checked ~ div.sheet-hbody
{
display: none;
}
/*the checkbox that allows to Show divs with hbody2*/
input.sheet-arrow2
{
position: relative;
top: 0px;
left: 0px;
cursor: pointer;
}
input.sheet-arrow2 ~ div.sheet-hbody2
{
display: none;
}
input.sheet-arrow2:checked ~ div.sheet-hbody2
{
display: inline-block;
}
/* Modification for Add, Delete and Modify buttons in a fieldset */
.charsheet .repcontrol_add,
.charsheet .repcontrol_edit,
.charsheet .repcontrol_del {
display: block;
background: #faf0be;
color: #000000;
box-shadow: none;
font-size: 0.9em;
font-weight: bold;
height: 1.6em;
width: 3em;
z-index: 1;
position: relative;
}
[data-groupname=repeating_class-ability] > .editmode + button.btn.repcontrol_edit::after {
z-index: 1;
position: relative;
}
/* ROLL TEMPLATE STYLE CUSTOM based on "better default template"*/
/* left margin reduction to better fit the chat window */
.sheet-rolltemplate-custom {
margin-left: -12px;
}
/* border color kept for testing do not remove*/
.sheet-rolltemplate-custom .sheet-container {
border: 1px solid;
border-color: #F1EFEB;
}
/* Header formatting */
.sheet-rolltemplate-custom .sheet-header {
background-image: url(https://raw.githubusercontent.com/roguetradermago/rogue-trader-sheet/master/templateheader.png);
background-position: center;
background-size: contain;
background-repeat: no-repeat;
width: 100%;
height: 48px;
z-index: 1;
}
/* footer formatting */
.sheet-rolltemplate-custom .sheet-footer {
background-image: url(https://raw.githubusercontent.com/roguetradermago/rogue-trader-sheet/master/templatefooter.png);
background-position: center;
background-size: contain;
background-repeat: no-repeat;
width: 100%;
height: 48px;
z-index: 1;
}
/* Name field */
.sheet-rolltemplate-custom .sheet-name {
grid-column: span 2;
padding: 3px 5px 5px;
text-align: center;
font-size: 15px;
font-weight: bold;
color: #000000;
}
/* Allprops part */
.sheet-rolltemplate-custom .sheet-content {
margin-top: -2px;
margin-bottom: -1px;
display: grid;
background: #F1EFEB;
width: 100%;
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;
}
/* lines in column */
.sheet-rolltemplate-custom .sheet-content > div {
padding: 3px 5px 5px;
font-weight: normal;
color: #000000;
}
/* Left column "key"*/
.sheet-rolltemplate-custom .sheet-content .sheet-key {
font-weight: bold;
color: #000000;
padding-right: 9px;
text-align: right;
}
/* Empty rule, use this if you want to change the right column
.sheet-rolltemplate-custom .sheet-value {
}*/
/* Description field */
.sheet-rolltemplate-custom .sheet-desc {
grid-column: span 2;
padding: 3px 5px 5px;
text-align: center;
font-weight: normal;
color: #000000;
}
/* Result field */
.sheet-rolltemplate-custom .sheet-result {
grid-column: span 2;
padding: 3px 5px 5px;
font-weight: bold;
font-size: 14px;
text-align: center;
color: #000000;
}