312 lines
6.1 KiB
CSS
312 lines
6.1 KiB
CSS
input.sheet-tabstoggle[value="main"] ~ .main-tab {
|
|
display: block;
|
|
}
|
|
|
|
.healthWrapper {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1rem;
|
|
display: grid;
|
|
}
|
|
|
|
.healthWrapper > h3 {
|
|
color: #aae;
|
|
}
|
|
|
|
.healthWrapper > .healthContainer {
|
|
grid-template-columns: repeat(3, auto);
|
|
justify-content: start;
|
|
justify-items: center;
|
|
gap: 0;
|
|
display: grid;
|
|
}
|
|
|
|
.healthWrapper > .healthContainer > * {
|
|
margin: -1px;
|
|
}
|
|
|
|
.healthWrapper > .healthContainer > label.healthTrackerBox {
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 3.5rem;
|
|
height: 3.5rem;
|
|
background-color: #444;
|
|
background-image: url("https://upload.wikimedia.org/wikipedia/commons/5/5f/Red_X.svg");
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: 90%;
|
|
border: 2px solid #500;
|
|
border-radius: 3px;
|
|
order: 1;
|
|
padding: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.healthWrapper > .healthContainer > label.healthTrackerBox.reset {
|
|
order: 2;
|
|
}
|
|
|
|
.healthWrapper > .healthContainer > label.healthTrackerBox > span {
|
|
content: "-1";
|
|
display: none;
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 4px;
|
|
}
|
|
|
|
.healthWrapper > .healthContainer > input:checked + .healthTrackerBox {
|
|
opacity: 0;
|
|
z-index: 0;
|
|
position: absolute;
|
|
}
|
|
|
|
.healthWrapper > .healthContainer > input:checked + .healthTrackerBox > span {
|
|
display: block;
|
|
}
|
|
|
|
.healthWrapper > .healthContainer > input:checked ~ .healthTrackerBox {
|
|
background-color: #444;
|
|
background-image: none;
|
|
order: 3;
|
|
}
|
|
|
|
.healthWrapper > .healthContainer > input:checked ~ .healthTrackerBox > span {
|
|
display: block;
|
|
}
|
|
|
|
.attr-rolls {
|
|
width: 100%;
|
|
}
|
|
|
|
.attr-rolls > .attr-rolls-grid {
|
|
grid-gap: 4px;
|
|
grid-template-columns: repeat(2, auto);
|
|
display: grid;
|
|
}
|
|
|
|
.attr-rolls > .attr-rolls-grid > p {
|
|
color: #aae;
|
|
margin-right: 30px;
|
|
font-size: 10pt;
|
|
}
|
|
|
|
.abilityBox {
|
|
height: -webkit-fit-content;
|
|
height: -moz-fit-content;
|
|
height: fit-content;
|
|
width: 100%;
|
|
grid-template-columns: repeat(7, auto);
|
|
grid-auto-flow: row;
|
|
justify-content: start;
|
|
align-items: center;
|
|
gap: .7em 4px;
|
|
display: grid;
|
|
}
|
|
|
|
.abilityBox > * {
|
|
grid-column: span 1;
|
|
}
|
|
|
|
.abilityBox > span {
|
|
color: #aae;
|
|
margin-right: 20px;
|
|
font-size: 13pt;
|
|
}
|
|
|
|
.abilityBox > p {
|
|
color: #aae;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
margin-bottom: 0;
|
|
font-size: 10pt;
|
|
}
|
|
|
|
.abilityBox > p.abilityLabel {
|
|
margin-bottom: -.5em;
|
|
}
|
|
|
|
.abilityBox > h2 {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.sheetform {
|
|
height: 100%;
|
|
padding: 0;
|
|
background-color: #0b0b0b !important;
|
|
}
|
|
|
|
.sheetform .charactersheet {
|
|
border: 4px double #500 !important;
|
|
padding: 4px !important;
|
|
}
|
|
|
|
.sheetform .charactersheet .img-wrapper {
|
|
width: -webkit-fit-content;
|
|
width: -moz-fit-content;
|
|
width: fit-content;
|
|
height: -webkit-fit-content;
|
|
height: -moz-fit-content;
|
|
height: fit-content;
|
|
margin: auto;
|
|
}
|
|
|
|
.sheetform .charactersheet .img-wrapper img {
|
|
width: 400px;
|
|
}
|
|
|
|
.sheetform .charactersheet button {
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
background-color: #500;
|
|
border: 0;
|
|
border-radius: 1em;
|
|
margin: 0 2px;
|
|
padding: 0;
|
|
}
|
|
|
|
.sheetform .charactersheet button[type="roll"] {
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
color: #fff;
|
|
box-shadow: none;
|
|
background-color: #500;
|
|
background-image: none;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.sheetform .charactersheet input {
|
|
color: #aae;
|
|
background-color: #444;
|
|
border: none;
|
|
}
|
|
|
|
.sheetform .charactersheet input[type="text"], .sheetform .charactersheet input[type="number"] {
|
|
text-align: center;
|
|
padding: 4px;
|
|
}
|
|
|
|
.sheetform .charactersheet input[disabled] {
|
|
background-color: #111;
|
|
border: 3px solid #444;
|
|
padding: 1px;
|
|
}
|
|
|
|
.sheetform .charactersheet input[type="number"]::-webkit-inner-spin-button, .sheetform .charactersheet input[type="number"]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.tabflex {
|
|
width: 100%;
|
|
height: -webkit-fit-content;
|
|
height: -moz-fit-content;
|
|
height: fit-content;
|
|
flex-direction: row;
|
|
flex: 1;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
display: flex;
|
|
}
|
|
|
|
.tabflex > button {
|
|
width: 100%;
|
|
color: #fff;
|
|
}
|
|
|
|
.sheet-tabstoggle[value="main"] ~ button.tabbtn[name="act_main"], .sheet-tabstoggle[value="skills"] ~ button.tabbtn[name="act_skills"], .sheet-tabstoggle[value="magic"] ~ button.tabbtn[name="act_magic"], .sheet-tabstoggle[value="enhancements"] ~ button.tabbtn[name="act_enhancements"], .sheet-tabstoggle[value="matrix"] ~ button.tabbtn[name="act_matrix"], .sheet-tabstoggle[value="vehicles"] ~ button.tabbtn[name="act_vehicles"], .sheet-tabstoggle[value="equipment"] ~ button.tabbtn[name="act_equipment"], .sheet-tabstoggle[value="character"] ~ button.tabbtn[name="act_character"] {
|
|
color: #aae;
|
|
}
|
|
|
|
.newSrCheckbox {
|
|
visibility: hidden;
|
|
border-radius: 100%;
|
|
margin: auto;
|
|
position: relative;
|
|
width: 1.3em !important;
|
|
}
|
|
|
|
.newSrCheckbox:after {
|
|
visibility: visible;
|
|
content: "";
|
|
width: 1.3em;
|
|
height: 1.3em;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
background-color: #500;
|
|
border-radius: 6px;
|
|
margin: auto;
|
|
display: inline-block;
|
|
position: absolute;
|
|
top: 50%;
|
|
overflow: hidden;
|
|
-webkit-transform: translateY(-50%);
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.newSrCheckbox:checked:after {
|
|
content: "X";
|
|
}
|
|
|
|
.gmroll {
|
|
width: 12em;
|
|
display: flex;
|
|
position: absolute;
|
|
top: 16em;
|
|
left: calc(100% - 16em);
|
|
}
|
|
|
|
.gmroll button {
|
|
color: #0b0b0b;
|
|
width: 100%;
|
|
}
|
|
|
|
.gmroll .toggmroll[value="/w gm "] ~ button.togbtn[name="act_toggmroll"], .gmroll .togedge[value="!/"] ~ button.togbtn[name="act_togedge"] {
|
|
color: #aae;
|
|
}
|
|
|
|
.generic-grid {
|
|
width: auto;
|
|
min-height: 100%;
|
|
height: -webkit-fit-content;
|
|
height: -moz-fit-content;
|
|
height: fit-content;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-auto-rows: auto;
|
|
justify-content: space-around;
|
|
padding: 2em;
|
|
display: grid;
|
|
}
|
|
|
|
.tab {
|
|
outline-offset: 4px;
|
|
width: 100%;
|
|
min-height: 40em;
|
|
height: -webkit-fit-content;
|
|
height: -moz-fit-content;
|
|
height: fit-content;
|
|
outline: 4px double #500;
|
|
margin-top: 10px;
|
|
display: none;
|
|
}
|
|
|
|
h2 {
|
|
color: #aae;
|
|
margin-bottom: .7em;
|
|
font-size: 22pt;
|
|
}
|
|
|
|
.hidden.op {
|
|
opacity: 0;
|
|
}
|
|
|
|
.hidden.vis {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.hidden.disp {
|
|
display: none;
|
|
}
|
|
|