414 lines
11 KiB
CSS
414 lines
11 KiB
CSS
.charsheet {
|
|
background: white;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.sheet-wrapper {
|
|
min-width: 500px;
|
|
}
|
|
|
|
.sheet-box {
|
|
box-sizing: border-box;
|
|
font-size: 12px;
|
|
float: left;
|
|
margin: 0.2em;
|
|
overflow: auto;
|
|
outline: 1px solid gray;
|
|
}
|
|
|
|
.sheet-label {
|
|
font-weight: bold;
|
|
text-align: right;
|
|
}
|
|
|
|
.sheet-hr {
|
|
box-shadow: 0 -1px 0 #000;
|
|
}
|
|
|
|
|
|
/* ===== ENCUMBERANCE HIGHLIGHTING ===== */
|
|
/*
|
|
.sheet-enc0[value="0"] ~ .sheet-box .sheet-row-encumberance-0,
|
|
.sheet-enc1[value="0"] ~ .sheet-box .sheet-row-encumberance-1,
|
|
.sheet-enc2[value="0"] ~ .sheet-box .sheet-row-encumberance-2,
|
|
.sheet-enc3[value="0"] ~ .sheet-box .sheet-row-encumberance-3,
|
|
.sheet-enc4[value="0"] ~ .sheet-box .sheet-row-encumberance-4 {
|
|
background: white;
|
|
}
|
|
|
|
.sheet-box.sheet-encumberance .sheet-row-encumberance-0,
|
|
.sheet-box.sheet-encumberance .sheet-row-encumberance-1,
|
|
.sheet-box.sheet-encumberance .sheet-row-encumberance-2,
|
|
.sheet-box.sheet-encumberance .sheet-row-encumberance-3,
|
|
.sheet-box.sheet-encumberance .sheet-row-encumberance-4 {
|
|
background: beige;
|
|
}
|
|
*/
|
|
|
|
|
|
/* ===== CUSTOM TABLES ===== */
|
|
.sheet-table {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sheet-row:nth-child(even) {
|
|
background: #EFEFF5;
|
|
}
|
|
|
|
.sheet-row:nth-child(odd) {
|
|
background: #F5FFFF;
|
|
}
|
|
|
|
.sheet-header {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
text-transform: lowercase;
|
|
font-variant: small-caps;
|
|
letter-spacing: 1px;
|
|
white-space: nowrap;
|
|
height: 22px;
|
|
}
|
|
|
|
.sheet-row {
|
|
height: 22px;
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-cell {
|
|
box-sizing: border-box;
|
|
float: left;
|
|
height: 22px;
|
|
line-height: 22px;
|
|
padding: 0px 1px;
|
|
}
|
|
|
|
.sheet-cell > * {
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
/* ===== BUTTONS ===== */
|
|
.sheet-box button {
|
|
margin: 0 !important;
|
|
height: 22px;
|
|
border-radius: 0;
|
|
line-height: 16px;
|
|
background-image: none;
|
|
border: none;
|
|
}
|
|
|
|
.sheet-box button[type="roll"] {
|
|
width: 22px;
|
|
background: none;
|
|
}
|
|
|
|
.sheet-box button.sheet-roll-tracker:before {
|
|
font-family: "Pictos" !important;
|
|
content: "t" !important;
|
|
}
|
|
|
|
|
|
/* ===== INPUTS ===== */
|
|
.sheet-box input[type=number]::-webkit-inner-spin-button,
|
|
.sheet-box input[type=number]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.sheet-box select {
|
|
width: 100%;
|
|
height: 20px;
|
|
padding: 0;
|
|
margin: 0;
|
|
margin-top: -1px;
|
|
}
|
|
|
|
.sheet-box input {
|
|
width: 100% !important;
|
|
height: 20px;
|
|
margin-top: -1px;
|
|
padding: 0 2px;
|
|
line-height: 22px;
|
|
|
|
background: transparent;
|
|
border: none;
|
|
box-shadow: none;
|
|
cursor: initial;
|
|
}
|
|
|
|
.sheet-box input:not(:disabled) {
|
|
background: #FAFAF0;
|
|
border-radius: 2px;
|
|
|
|
-webkit-box-shadow: inset 0px 0px 1px 0px rgba(98, 98, 94, 0.75);
|
|
-moz-box-shadow: inset 0px 0px 1px 0px rgba(98, 98, 94, 0.75);
|
|
box-shadow: inset 0px 0px 1px 0px rgba(98, 98, 94, 0.75);
|
|
}
|
|
|
|
|
|
/* ===== CUSTOM CHECKBOXES ===== */
|
|
.sheet-box input[type="checkbox"] {
|
|
opacity: 0;
|
|
width: 22px;
|
|
height: 22px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
|
|
.sheet-box input[type="checkbox"] ~ .sheet-checkbox:before {
|
|
width: 18px;
|
|
height: 18px;
|
|
line-height: 22px;
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
top: -23px;
|
|
left: -1px;
|
|
|
|
border: solid 1px #a8a8a8;
|
|
text-align: center;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
|
|
font-size: 18px;
|
|
font-family: "Pictos";
|
|
content: "";
|
|
|
|
-moz-box-shadow: 0 0 2px #ccc;
|
|
-webkit-box-shadow: 0 0 2px #ccc;
|
|
box-shadow: 0 0 2px #ccc;
|
|
|
|
-moz-border-radius: 3px;
|
|
-webkit-border-radius: 3px;
|
|
border-radius: 3px;
|
|
|
|
background: #f6f6f6;
|
|
background: -moz-radial-gradient(#f6f6f6, #dfdfdf);
|
|
background: -webkit-radial-gradient(#f6f6f6, #dfdfdf);
|
|
background: -ms-radial-gradient(#f6f6f6, #dfdfdf);
|
|
background: -o-radial-gradient(#f6f6f6, #dfdfdf);
|
|
background: radial-gradient(#f6f6f6, #dfdfdf);
|
|
}
|
|
|
|
.sheet-box input[type="checkbox"]:checked ~ .sheet-checkbox:before {
|
|
content: "3";
|
|
}
|
|
|
|
|
|
/* ===== UTILITY ===== */
|
|
.sheet-right {
|
|
float: right;
|
|
}
|
|
|
|
.sheet-left {
|
|
float: left;
|
|
}
|
|
|
|
.sheet-clearfix:before,
|
|
.sheet-clearfix:after {
|
|
content: "";
|
|
display: table;
|
|
}
|
|
|
|
.sheet-clearfix:after {
|
|
clear: both;
|
|
}
|
|
|
|
.sheet-hover {
|
|
position: relative;
|
|
z-index: 0;
|
|
}
|
|
|
|
|
|
/* ===== CSS TOOLTIP ===== */
|
|
.sheet-popup {
|
|
color: darkred;
|
|
}
|
|
|
|
.sheet-popup + .sheet-tooltip {
|
|
z-index: 10;
|
|
display: none;
|
|
padding: 4px;
|
|
text-align: left;
|
|
margin-left: -40px;
|
|
font-weight: normal;
|
|
text-transform: initial;
|
|
font-variant: initial;
|
|
}
|
|
|
|
.sheet-popup:hover + .sheet-tooltip {
|
|
width: auto;
|
|
display: inline;
|
|
position: absolute;
|
|
color: #111;
|
|
border: 1px solid #DCA;
|
|
background: #fffAF0;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.sheet-popup + .sheet-tooltip {
|
|
border-radius: 2px;
|
|
-moz-border-radius: 2px;
|
|
-webkit-border-radius: 2px;
|
|
-moz-box-shadow: 5px #CCC;
|
|
-webkit-box-shadow: 5px #CCC;
|
|
box-shadow: 5px #CCC;
|
|
}
|
|
|
|
.sheet-tooltip table {
|
|
float: left;
|
|
line-height: 2em;
|
|
font-size: 11px;
|
|
border-collapse: collapse;
|
|
text-align: center;
|
|
}
|
|
|
|
.sheet-tooltip td {
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.sheet-tooltip tbody tr:nth-child(odd) {
|
|
background: #FFF;
|
|
}
|
|
|
|
|
|
/* ===== MODULE SUPPORT ===== */
|
|
input.sheet-module-roll:checked ~ .sheet-wrapper .sheet-module-on-roll,
|
|
.sheet-wrapper .sheet-module-off-roll {
|
|
display: inline-block;
|
|
}
|
|
|
|
input.sheet-module-roll:checked ~ .sheet-wrapper .sheet-module-off-roll,
|
|
.sheet-wrapper .sheet-module-on-roll {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/* ===== LAYOUT ===== */
|
|
.sheet-box .sheet-row-desc .sheet-col0 { width: 40px; text-align: center; }
|
|
.sheet-box .sheet-row-desc .sheet-col1 { width: calc(100% - 40px); }
|
|
|
|
.sheet-attribute { width: 130px; }
|
|
.sheet-attribute .sheet-header .sheet-col0 { width: 78px; }
|
|
.sheet-attribute .sheet-header .sheet-col1 { width: 52px; }
|
|
.sheet-attribute .sheet-row .sheet-col0 { width: 48px; }
|
|
.sheet-attribute .sheet-row .sheet-col1 { width: 30px; }
|
|
.sheet-attribute .sheet-row .sheet-col2 { width: 30px; }
|
|
.sheet-attribute .sheet-row .sheet-col3 { width: 22px; }
|
|
.sheet-attribute .sheet-row-hit-points .sheet-col2 { width: 52px; }
|
|
.sheet-attribute .sheet-row-fatigue-points .sheet-col2 { width: 52px; }
|
|
.sheet-attribute .sheet-row-basic-move .sheet-col2 { width: 52px; }
|
|
.sheet-attribute .sheet-row-basic-lift .sheet-col1 { width: 82px; }
|
|
.sheet-attribute .sheet-row-dodge .sheet-col1 { width: 82px; }
|
|
.sheet-attribute .sheet-row-thrust-damage .sheet-col1 { width: 60px; }
|
|
.sheet-attribute .sheet-row-swing-damage .sheet-col1 { width: 60px; }
|
|
|
|
.sheet-miscelleneous { width: calc(100% - 130px - 100px - 1.2em); }
|
|
.sheet-miscelleneous .sheet-header .sheet-col0 { width: calc(100% - 30px); }
|
|
.sheet-miscelleneous .sheet-header .sheet-col1 { width: 30px; }
|
|
.sheet-miscelleneous .sheet-row .sheet-col0 { width: 80px; }
|
|
.sheet-miscelleneous .sheet-row .sheet-col1 { width: calc(100% - 110px); }
|
|
.sheet-miscelleneous .sheet-row .sheet-col2 { width: 30px; }
|
|
.sheet-miscelleneous .sheet-row-race .sheet-col1,
|
|
.sheet-miscelleneous .sheet-row-gender .sheet-col1,
|
|
.sheet-miscelleneous .sheet-row-size .sheet-col1,
|
|
.sheet-miscelleneous .sheet-row-hand .sheet-col1 { width: calc(100% - 80px); }
|
|
|
|
.sheet-points { width: 100px; }
|
|
.sheet-points .sheet-header .sheet-col0 { width: 100%; }
|
|
.sheet-points .sheet-row .sheet-col0 { width: 60px; }
|
|
.sheet-points .sheet-row .sheet-col1 { width: 40px; }
|
|
|
|
.sheet-lift { width: calc(100% - 130px - 140px - 1.2em); }
|
|
.sheet-lift .sheet-col0 { width: 175px; }
|
|
.sheet-lift .sheet-col1 { width: calc(100% - 175px); }
|
|
|
|
.sheet-encumberance { width: calc(100% - 140px - 0.8em); }
|
|
.sheet-encumberance .sheet-col0 { width: 100px; }
|
|
.sheet-encumberance .sheet-col1 { width: calc((100% - 100px) * 0.4); }
|
|
.sheet-encumberance .sheet-col2 { width: calc((100% - 100px) * 0.3); }
|
|
.sheet-encumberance .sheet-col3 { width: calc((100% - 100px) * 0.3); }
|
|
.sheet-encumberance .sheet-row-load .sheet-col0 { width: 100px; }
|
|
.sheet-encumberance .sheet-row-load .sheet-col1 { width: calc(100% - 100px); }
|
|
|
|
.sheet-damage-reduction { float: right; width: 140px; }
|
|
.sheet-damage-reduction .sheet-col0 { width: 50px; }
|
|
.sheet-damage-reduction .sheet-col1 { width: 40px; text-align: center; }
|
|
.sheet-damage-reduction .sheet-col2 { width: 25px; }
|
|
.sheet-damage-reduction .sheet-col3 { width: 25px; }
|
|
.sheet-damage-reduction .sheet-row-title .sheet-col0 { width: 100%; }
|
|
.sheet-damage-reduction .sheet-header .sheet-col2 { width: 50px; }
|
|
|
|
.sheet-language { width: calc(60% - 0.4em); }
|
|
.sheet-language .sheet-col0 { width: calc(100% - 210px); }
|
|
.sheet-language .sheet-col1 { width: 90px; }
|
|
.sheet-language .sheet-col2 { width: 90px; }
|
|
.sheet-language .sheet-col3 { width: 30px; }
|
|
|
|
.sheet-culture { width: calc(40% - 0.4em); }
|
|
.sheet-culture .sheet-col0 { width: calc(100% - 30px); }
|
|
.sheet-culture .sheet-col1 { width: 30px; }
|
|
|
|
.sheet-traits { width: calc(100% - 0.4em); }
|
|
.sheet-traits .sheet-col0 { width: calc(100% - 100px); }
|
|
.sheet-traits .sheet-col1 { width: 30px; }
|
|
.sheet-traits .sheet-col2 { width: 30px; }
|
|
.sheet-traits .sheet-col3 { width: 40px; }
|
|
|
|
.sheet-skills { width: calc(100% - 0.4em); }
|
|
.sheet-skills .sheet-col0 { width: calc(100% - 302px); }
|
|
.sheet-skills .sheet-col1 { width: 30px; }
|
|
.sheet-skills .sheet-col2 { width: 40px; }
|
|
.sheet-skills .sheet-col3 { width: 50px; }
|
|
.sheet-skills .sheet-col4 { width: 50px; }
|
|
.sheet-skills .sheet-col5 { width: 40px; }
|
|
.sheet-skills .sheet-col6 { width: 30px; }
|
|
.sheet-skills .sheet-col7 { width: 40px; }
|
|
.sheet-skills .sheet-col8 { width: 22px; }
|
|
|
|
.sheet-techniques { width: calc(100% - 0.4em); }
|
|
.sheet-techniques .sheet-col0 { width: calc((100% - 240px) * 0.5); }
|
|
.sheet-techniques .sheet-col1 { width: calc((100% - 240px) * 0.5); }
|
|
.sheet-techniques .sheet-col2 { width: 30px; }
|
|
.sheet-techniques .sheet-col3 { width: 30px; }
|
|
.sheet-techniques .sheet-col4 { width: 40px; }
|
|
.sheet-techniques .sheet-col5 { width: 30px; }
|
|
.sheet-techniques .sheet-col6 { width: 40px; }
|
|
.sheet-techniques .sheet-col7 { width: 30px; }
|
|
.sheet-techniques .sheet-col8 { width: 40px; }
|
|
|
|
.sheet-melee-attacks { width: calc(100% - 0.4em); }
|
|
.sheet-melee-attacks .sheet-col0 { width: calc(100% - 202px); }
|
|
.sheet-melee-attacks .sheet-col1 { width: 40px; }
|
|
.sheet-melee-attacks .sheet-col2 { width: 40px; }
|
|
.sheet-melee-attacks .sheet-col3 { width: 40px; }
|
|
.sheet-melee-attacks .sheet-col4 { width: 60px; }
|
|
.sheet-melee-attacks .sheet-col5 { width: 22px; }
|
|
|
|
.sheet-ranged-attacks { width: calc(100% - 0.4em); }
|
|
.sheet-ranged-attacks .sheet-col0 { width: calc(100% - 292px); }
|
|
.sheet-ranged-attacks .sheet-col1 { width: 40px; }
|
|
.sheet-ranged-attacks .sheet-col2 { width: 30px; }
|
|
.sheet-ranged-attacks .sheet-col3 { width: 30px; }
|
|
.sheet-ranged-attacks .sheet-col4 { width: 40px; }
|
|
.sheet-ranged-attacks .sheet-col5 { width: 30px; }
|
|
.sheet-ranged-attacks .sheet-col6 { width: 40px; }
|
|
.sheet-ranged-attacks .sheet-col7 { width: 60px; }
|
|
.sheet-ranged-attacks .sheet-col8 { width: 22px; }
|
|
|
|
.sheet-items { width: calc(100% - 0.4em); }
|
|
.sheet-items .sheet-col0 { width: calc(100% - 270px); }
|
|
.sheet-items .sheet-col1 { width: 20px; }
|
|
.sheet-items .sheet-col2 { width: 50px; }
|
|
.sheet-items .sheet-col3 { width: 50px; }
|
|
.sheet-items .sheet-col4 { width: 50px; }
|
|
.sheet-items .sheet-col5 { width: 50px; }
|
|
.sheet-items .sheet-col6 { width: 50px; }
|
|
.sheet-items .sheet-row-totals .sheet-col0 { width: calc(100% - 300px); }
|
|
.sheet-items .sheet-row-totals .sheet-col1 { width: 100px; }
|
|
.sheet-items .sheet-row-totals .sheet-col2 { width: 100px; }
|
|
.sheet-items .sheet-row-totals .sheet-col3 { width: 100px; }
|