Files
roll20-character-sheets-tester/TailsOfEquestria/less/vehicleSheet.less
T

156 lines
2.5 KiB
Plaintext

@import "colors.less";
.tabSheet.vehicleSheet {
.bio {
input[type='text'] {
color: @fontColor;
font-size: x-large;
width: 6in;
}
.checkbox {
display: inline-block;
}
}
.systems {
background: @twilightColor;
border-radius: 0.1in;
padding: 1em;
& > label {
display: inline-block;
margin: 0;
width: auto;
}
.repcontainer {
display: inline-block;
}
.repitem {
display: inline-block;
}
.system {
height: auto;
padding: 0;
position: relative;
width: auto;
input {
background: transparent;
color: @fontColor
}
.editCheckbox {
height: 16px;
left: 0;
opacity: 0;
position: absolute;
top: 0;
width: 16px;
z-index: 1;
&:hover + .editIcon {
color: @fontColor;
}
&:checked + .editIcon::after {
content: "_";
}
&:checked ~ .editMode {
display: block;
}
&:checked ~ .viewMode {
display: none;
}
}
.editIcon {
color: lighten(@fontColor, 25%);
display: inline-block;
font-family: Pictos;
height: 16px;
position: absolute;
transition: color 0.5s;
width: 16px;
&::after {
content: "y"
}
}
.editMode {
display: none;
margin-left: 16px;
.labelledUnderlined:nth-of-type(2) {
width: 5in;
}
}
.viewMode {
margin-left: 16px;
margin-right: 1em;
display: inline-block;
}
}
}
.vehicleStats {
border: solid 3px @treeHuggerColor;
border-collapse: separate;
border-radius: 10px;
overflow: hidden;
width: 100%;
input {
color: @fontColor;
text-align: center;
}
select {
border: none;
color: @fontColor;
text-align: center;
text-align-last: center;
width: 100%;
}
td {
border-right: solid 1px @treeHuggerColor;
text-align: center;
&:last-of-type {
border-right: none;
}
}
th {
background: @treeHuggerColor;
color: #fff;
padding: 5px;
text-align: center;
}
.fraction {
display: inline-block;
input {
background: transparent;
color: @fontColor;
padding: 0;
text-align: center;
width: 3em;
}
span {
vertical-align: middle;
}
}
}
}