356 lines
8.9 KiB
CSS
356 lines
8.9 KiB
CSS
.charsheet {
|
|
background: white;
|
|
min-height: 100%;
|
|
}
|
|
|
|
.sheet-wrapper {
|
|
min-width: 490px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
/* ===== 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;
|
|
}
|
|
|
|
/* ===== 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;
|
|
}
|
|
|
|
.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%;
|
|
}
|
|
|
|
/* ===== TABLES ===== */
|
|
/*
|
|
.sheet-box table.sheet-table {
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-box tr *:not(.sheet-tooltip) {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
min-height: 22px;
|
|
max-height: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.sheet-box tbody tr:nth-child(odd) {
|
|
background: #EFEFF5;
|
|
}
|
|
|
|
.sheet-box th {
|
|
font-weight: bold;
|
|
text-transform: lowercase;
|
|
font-variant: small-caps;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.sheet-box table th:first-child {
|
|
font-size: 110%;
|
|
letter-spacing: normal;
|
|
}
|
|
|
|
.sheet-box th,
|
|
.sheet-box td {
|
|
padding: 0;
|
|
}
|
|
|
|
.sheet-box td {
|
|
padding-right: 2px;
|
|
text-align: center;
|
|
}
|
|
*/
|
|
|
|
/* ===== INPUTS ===== */
|
|
input[type=number]::-webkit-inner-spin-button,
|
|
input[type=number]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
button {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.btn[type="roll"] {
|
|
width: 22px;
|
|
background: none;
|
|
}
|
|
|
|
.btn {
|
|
height: 22px;
|
|
border-radius: 0;
|
|
line-height: 16px;
|
|
background-image: none;
|
|
border: none;
|
|
}
|
|
|
|
.sheet-box select {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.sheet-box input {
|
|
background: transparent;
|
|
border: none;
|
|
width: 100% !important;
|
|
box-shadow: none;
|
|
padding: 0 4px;
|
|
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);
|
|
}
|
|
|
|
.sheet-box tbody tr:nth-child(odd) input:not(:disabled) {
|
|
background: #E0E0FA;
|
|
}
|
|
|
|
/* ===== 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;
|
|
}
|
|
|
|
/* ===== LAYOUT ===== */
|
|
.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-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: 170px; }
|
|
.sheet-lift .sheet-col1 { width: calc(100% - 170px); }
|
|
|
|
.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: 45px; }
|
|
.sheet-damage-reduction .sheet-col1 { width: 35px; }
|
|
.sheet-damage-reduction .sheet-col2 { width: calc(100% - 80px); }
|
|
.sheet-damage-reduction .sheet-row-title .sheet-col0 { width: 100%; }
|
|
|
|
.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-traits .sheet-row-desc .sheet-col0 { width: 100%; }
|
|
|
|
.sheet-skills { width: calc(100% - 0.4em); }
|
|
.sheet-skills .sheet-col0 { width: calc(100% - 280px); }
|
|
.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-melee-attacks { width: calc(100% - 0.4em); }
|
|
.sheet-melee-attacks .sheet-col0 { width: 100px; }
|
|
.sheet-melee-attacks .sheet-col1 { width: 60px; }
|
|
.sheet-melee-attacks .sheet-col2 { width: 40px; }
|
|
.sheet-melee-attacks .sheet-col3 { width: 40px; }
|
|
.sheet-melee-attacks .sheet-col4 { width: 40px; }
|
|
.sheet-melee-attacks .sheet-col5 { width: calc(100% - 280px); }
|
|
|
|
.sheet-ranged-attacks { width: calc(100% - 0.4em); }
|
|
.sheet-ranged-attacks .sheet-col0 { width: 100px; }
|
|
.sheet-ranged-attacks .sheet-col1 { width: 60px; }
|
|
.sheet-ranged-attacks .sheet-col2 { width: 40px; }
|
|
.sheet-ranged-attacks .sheet-col3 { width: 30px; }
|
|
.sheet-ranged-attacks .sheet-col4 { width: 30px; }
|
|
.sheet-ranged-attacks .sheet-col5 { width: 40px; }
|
|
.sheet-ranged-attacks .sheet-col6 { width: 30px; }
|
|
.sheet-ranged-attacks .sheet-col7 { width: 40px; }
|
|
.sheet-ranged-attacks .sheet-col8 { width: calc(100% - 370px); }
|
|
|
|
.sheet-items { width: calc(100% - 0.4em); }
|
|
.sheet-items .sheet-col0 { width: 100px; }
|
|
.sheet-items .sheet-col1 { width: 20px; }
|
|
.sheet-items .sheet-col2 { width: 20px; }
|
|
.sheet-items .sheet-col3 { width: 20px; }
|
|
.sheet-items .sheet-col4 { width: 30px; }
|
|
.sheet-items .sheet-col5 { width: calc(100% - 250px); }
|
|
.sheet-items .sheet-col6 { width: 30px; }
|
|
.sheet-items .sheet-col7 { width: 30px; }
|
|
.sheet-items .sheet-row-totals .sheet-col0 { width: calc(100% - 200px); }
|
|
.sheet-items .sheet-row-totals .sheet-col1 { width: 50px; }
|
|
.sheet-items .sheet-row-totals .sheet-col2 { width: 100px; }
|
|
.sheet-items .sheet-row-totals .sheet-col3 { width: 50px; }
|