SR6_Roll20_Sheet/output/main.css
2022-09-14 12:16:36 +02:00

261 lines
5.1 KiB
CSS

input.sheet-tabstoggle[value="main"] ~ .main-tab {
display: block;
}
.healthWrapper {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
display: grid;
}
.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: 6rem;
height: 6rem;
background-color: red;
border: 2px solid #500;
border-radius: 3px;
order: 1;
position: relative;
}
.healthWrapper > .healthContainer > label.healthTrackerBox.reset {
background-color: brown;
order: 2;
}
.healthWrapper > .healthContainer > label.healthTrackerBox:after {
content: "-1";
position: absolute;
top: 2px;
right: 4px;
}
.healthWrapper > .healthContainer > label.healthTrackerBox:checked {
opacity: 0;
z-index: 0;
position: absolute;
}
.healthWrapper > .healthContainer > label.healthTrackerBox:checked ~ .healthTrackerBox {
background-color: #444;
order: 3;
}
.healthWrapper > .healthContainer > label.healthTrackerBox:focus {
outline: none;
}
.abilityBox {
height: -webkit-fit-content;
height: -moz-fit-content;
height: fit-content;
width: 100%;
grid-template-columns: repeat(6, 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;
}
.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 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%;
grid-template-columns: repeat(2, 1fr);
grid-auto-rows: auto;
justify-content: space-around;
padding: 2em;
display: grid;
}
.tab {
outline-offset: 4px;
width: 100%;
height: 40em;
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;
}