Files
roll20-character-sheets/GammaWorld7e/gammaWorld7.css
T
2016-04-17 15:26:50 -04:00

222 lines
4.3 KiB
CSS

.charsheet {
background-color: #fff;
color: #6C4DA3;
min-height: 8in;
position: relative;
}
.charsheet label {
color: #6C4DA3;
}
.charsheet input[type=checkbox]+label {
display: inline;
font-size: small;
padding: 0.5em;
vertical-align: middle;
}
.charsheet .sheet-everything {
position: absolute;
width: 100%;
}
.charsheet .sheet-logo {
background: url('https://raw.githubusercontent.com/Cazra/roll20-character-sheets/master/GammaWorld7e/GammaWorld7_logo.png');
background-position: right top;
background-repeat: no-repeat;
background-size: contain;
height: 2in;
position: absolute;
right: 0;
width: 100%;
}
/* box header color: #93C934 radioactive green */
/* disabled header color: #408769 sludge teal */
/* box color: #ADDEA6 glow green */
/* text color: #6C4DA3 mutant purple */
.charsheet .sheet-statBox {
background-color: #ADDEA6;
border: solid 2px #93C934;
margin-bottom: 0.5em;
}
.charsheet .sheet-statLabel {
background-color: #93C934;
font-weight: bold;
padding: 0.2em 0.5em;
}
.charsheet .sheet-statBody {
background-color: #fff;
padding: 0.2em 0.5em;
}
.charsheet button {
background-color: #6C4DA3;
background-image: none;
border: none;
border-radius: 10px;
color: #93C934;
}
.charsheet .sheet-statField input[type=number] {
background: none;
border: none;
color: #6C4DA3;
height: 100%;
padding: 0;
text-align: center;
width: 100%;
}
.charsheet input[type=number]::-webkit-inner-spin-button,
.charsheet input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.charsheet .sheet-statField input[type=text] {
background: none;
border: none;
color: #6C4DA3;
height: 100%;
padding: 0;
width: 100%;
}
.charsheet .sheet-statField select {
border: none;
color: #6C4DA3;
height: 100%;
margin: 0;
max-width: 100%;
padding: 0;
width: 100%;
}
.charsheet .sheet-statField textarea {
border: none;
height: auto;
margin: 0;
padding: 0;
resize: none;
}
.charsheet .sheet-inline {
display: inline-block;
}
.charsheet .sheet-readonly {
color: #B09BD1;
}
.charsheet .sheet-border-bottom-thick {
border-bottom: solid 2px #93C934;
}
.charsheet .sheet-hidden-flag {
display: none;
}
.charsheet .sheet-hidden-flag:checked + .sheet-flag-fade {
opacity: 0.5;
}
.charsheet .sheet-hidden-flag:checked + .sheet-flag-hide {
display: none;
}
.charsheet .sheet-readonly-field {
display: inline-block;
text-align: center;
width: 100%;
}
.charsheet .sheet-character-advancement-table {
text-align: center;
vertical-align: middle;
width: 100%;
}
.charsheet .sheet-character-advancement-table td:nth-child(1) {
width: 10%;
}
.charsheet .sheet-character-advancement-table td:nth-child(2) {
width: 10%;
}
.charsheet .sheet-character-advancement-table td:nth-child(4) {
width: 15%;
}
.charsheet .sheet-character-advancement-table td:nth-child(5) {
width: 15%;
}
.charsheet .sheet-card {
display: inline-block;
width: 2.35in;
margin: 0.5em;
}
.charsheet .sheet-card label {
display: inline-block;
font-size: inherit;
font-weight: normal;
margin: 0;
padding: 1px;
}
.charsheet .sheet-cardContainer .repcontainer .repitem {
display: inline-block;
}
/* tabs */
.charsheet .sheet-tabsContainer {
position: relative;
width: 90%;
}
.charsheet .sheet-tab {
display: inline-block;
}
.charsheet .sheet-tab .sheet-tabInput {
position: absolute;
top: -9999px;
}
.charsheet .sheet-tab .sheet-tabLabel {
background: #408769;
clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
color: #000;
font-style: italic;
font-weight: bold;
height: 1.4em;
padding: 0.2em 1em;
-webkit-clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}
.charsheet .sheet-tab:not(:first-of-type) .sheet-tabLabel {
margin-left: -1em;
}
.charsheet .sheet-tab .sheet-tabInput:checked + .sheet-tabLabel {
background: #93C934;
color: #6C4DA3;
}
.charsheet .sheet-tab .sheet-tabPanel {
background-color: #DCF2E7;
display: none;
left: 0;
padding: 1em;
position: absolute;
top: 2em;
}
.charsheet .sheet-tab .sheet-tabInput:checked ~ .sheet-tabPanel {
border: solid 2px #93C934;
display: block;
width: 100%;
}