Files
roll20-character-sheets/WFRP-2nd-Ed/WFRP-2nd-Ed.css
T

362 lines
9.1 KiB
CSS

/* 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 textarea {
resize: none;
}
/* Main Styles */
.charsheet {
background-color: white;
}
.charsheet .sheet-wrapper h2 {
margin: 1px 0;
font-weight:bold;
font-size: 15px;
}
.charsheet .sheet-wrapper input, .charsheet .sheet-wrapper textarea, .charsheet .sheet-wrapper select, .charsheet .sheet-wrapper input[type="number"] {
display: inline-block;
border: 1px solid #ccc;
padding: 2px;
height: 28px;
width: 100%;
font-size: 12px;
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:not([type='checkbox']) {
/* -webkit-appearance: textfield; */
}
.charsheet .sheet-wrapper input[type="checkbox"] {
margin-top: 7px;
height: 13px;
width: 13px;
color: #555;
border: 1px solid #ccc;
-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: #f5f5f5;
border-color: #ddd;
cursor: not-allowed;
}
.charsheet .sheet-wrapper textarea {
width: 98%;
height: 50px;
font-size: 13px;
line-height: 18px;
}
.charsheet .sheet-wrapper label {
display: inline-block;
width: 100%;
font-size: 12px;
text-align: left;
height: 28px;
line-height: 28px;
vertical-align: middle;
}
.charsheet .sheet-wrapper .sheet-3colrow .sheet-col {
width: calc(33% - 3px) !important;
margin-right: 2px !important;
}
.charsheet .sheet-wrapper .sheet-3colrow .sheet-col:last-child {
margin-right: 0 !important;
}
.charsheet .sheet-wrapper .sheet-2colrow .sheet-col {
width: calc(50% - 3px) !important;
margin-right: 2px !important;
}
.charsheet .sheet-wrapper .sheet-2colrow .sheet-col:last-child {
margin-right: 0 !important;
}
/* Row And Items */
.charsheet .sheet-wrapper .sheet-row {
height: 34px;
margin: 0 0 2px;
}
.charsheet .sheet-wrapper .sheet-alternative:nth-child(2n) {
background-color: #E3E3E3;
}
.charsheet .sheet-wrapper .sheet-header {
height: 20px;
margin: 0;
}
.charsheet .sheet-wrapper .sheet-header label {
padding: 0;
font-size: 9px;
height: 20px;
line-height: 20px;
font-weight: normal;
word-wrap:break-word;
}
.charsheet .sheet-wrapper .sheet-item {
display: inline-block;
width: 100%;
height: 34px;
vertical-align: middle;
margin: 0 -2px;
text-align: left;
padding: 3px 2px;
}
.charsheet .sheet-wrapper .sheet-item.sheet-multiline label {
line-height: 9px;
padding-top: 1px;
}
.charsheet .sheet-wrapper .sheet-item.sheet-nano {
width: calc(7.5% - 3%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-micro {
width: calc(10% - 3%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-tiny {
width: calc(15% - 3%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-smaller {
width: calc(19% - 3%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-small {
width: calc(20% - 0.5%);
}
.charsheet .sheet-wrapper textarea.sheet-small {
height: 32px;
}
.charsheet .sheet-wrapper .sheet-item.sheet-med {
width: calc(30% - 0.5%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-large {
width: calc(40% - 5%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-hulking {
width: calc(60% - 0.5%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-huge {
width: calc(80% - 3%);
}
/* Base Info */
.sheet-baseinfo {
display: inline-block;
width: 145px;
margin-right: 3px;
}
.sheet-baseinfo.sheet-number {
width: 39px;
margin-right: 10px;
}
.sheet-baseinfo.sheet-short {
width: 60px;
}
.sheet-baseinfo.sheet-medium {
width: 100px;
}
/* Stat Blocks */
.charsheet .sheet-wrapper .sheet-statblock {
margin-bottom: 5px;
display: block;
visibility: visible;
-webkit-transition: .125s linear;
-moz-transition: .125s linear;
-ms-transition: .125s linear;
-o-transition: .125s linear;
transition: .125s linear;
}
.charsheet .sheet-wrapper .sheet-statblock:last-child {
margin-bottom: 0!important;
}
.charsheet .sheet-wrapper .sheet-statblock .sheet-black label {
color: white;
}
.charsheet .sheet-wrapper .sheet-statblock h2, .charsheet .sheet-wrapper .sheet-headtwo {
width: 100%;
background-color: black;
color: white;
text-align: center;
margin: 1px 0;
font-weight:bold;
font-size: 15px;
}
.charsheet .sheet-wrapper input[type=checkbox]:checked ~ label.sheet-headtwo {
background-color: #333;
}
.charsheet .sheet-wrapper input[type=checkbox]:checked ~ .sheet-statblock {
display: none;
visibility: hidden;
}
.charsheet .sheet-wrapper .sheet-hidden {
display: none;
visibility: hidden;
}
.charsheet .sheet-wrapper .sheet-statblock .sheet-halfblack {
background: linear-gradient(to right, white 50%, black 50%);
}
.charsheet .sheet-wrapper .sheet-statblock .sheet-black {
background: black;
color: white;
}
/* Pure CSS Hide/Show - For settings */
.charsheet .sheet-wrapper .sheet-hider .sheet-article input[type=checkbox] ~ label {
display: inline-block;
font-size: 16px;
line-height: 16px;
font-weight: bold;
color: #555;
width: 100%;
border: 1px solid #CCC;
padding: 5px;
text-align: center;
-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;
}
.charsheet .sheet-wrapper .sheet-hider input[type=checkbox]:checked ~ label {
color: white;
background-color: #555;
border: 1px solid black;
}
.charsheet .sheet-wrapper .sheet-hider .sheet-article .sheet-section:last-of-type {
display: none;
visibility: hidden;
}
.charsheet .sheet-wrapper .sheet-hider .sheet-section {
-webkit-transition: .125s linear;
-moz-transition: .125s linear;
-ms-transition: .125s linear;
-o-transition: .125s linear;
transition: .125s linear;
}
.charsheet .sheet-wrapper .sheet-hider input[type=checkbox] {
display: none;
visibility: hidden;
}
.charsheet .sheet-wrapper .sheet-hider input[type=checkbox]:checked ~ .sheet-section {
display: block;
visibility: visible;
width: 100%;
}