mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-31 04:02:29 +00:00
302 lines
5.2 KiB
CSS
302 lines
5.2 KiB
CSS
.sheet-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.sheet-main, .sheet-main label, .sheet-main input {
|
|
color: #382006;
|
|
|
|
}
|
|
|
|
button[type=roll] {
|
|
background: gold;
|
|
border-radius: 6px;
|
|
width: 1em;
|
|
height: 1em;
|
|
box-shadow: 2px 2px 4px grey;
|
|
margin: 0;
|
|
}
|
|
|
|
button[type=roll]:hover {
|
|
box-shadow: 3px 3px 6px grey;
|
|
outline: none;
|
|
}
|
|
|
|
button[type=roll]:focus, button[type=roll]:active {
|
|
box-shadow: 1px 1px 2px grey;
|
|
outline: none;
|
|
}
|
|
|
|
.sheet-logo {
|
|
height: 140px;
|
|
background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQ2MlcBiGJ0jeYankrnkOPlX-dI7Afxxue5JQ&usqp=CAU");
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
/*Configure the tab buttons*/
|
|
.sheet-tab-switcher, .sheet-tab-2, .sheet-tab-3 {
|
|
width: 681px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
.sheet-tab-switch, .sheet-section {
|
|
flex-grow: 1;
|
|
margin: 5px;
|
|
padding: 10px;
|
|
border: 4px solid #382006;
|
|
background: whitesmoke;
|
|
box-shadow: 2px 2px 4px gray;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.sheet-tab-switch {
|
|
font-weight: bold;
|
|
font-size: larger;
|
|
width: 33%;
|
|
}
|
|
|
|
.sheet-tab-switch:focus {
|
|
outline: none; /*silver auto 1px;*/
|
|
}
|
|
|
|
.sheet-tab-1,
|
|
.sheet-tab-2,
|
|
.sheet-tab-3 {
|
|
display: none;
|
|
}
|
|
|
|
/* show the selected tab */
|
|
.sheet-tabstoggle[value="tab-1"] ~ div.sheet-tab-1,
|
|
.sheet-tabstoggle[value="tab-2"] ~ div.sheet-tab-2,
|
|
.sheet-tabstoggle[value="tab-3"] ~ div.sheet-tab-3 {
|
|
display: block;
|
|
}
|
|
|
|
.sheet-tabstoggle[value="tab-1"] ~ .sheet-tab-switcher button[name=act_tab-1],
|
|
.sheet-tabstoggle[value="tab-2"] ~ .sheet-tab-switcher button[name=act_tab-2],
|
|
.sheet-tabstoggle[value="tab-3"] ~ .sheet-tab-switcher button[name=act_tab-3] {
|
|
box-shadow: 1px 1px 2px #000000;
|
|
background: #382006;
|
|
color: white;
|
|
}
|
|
|
|
.sheet-container {
|
|
display: flex;
|
|
width: 681px;
|
|
}
|
|
|
|
.sheet-container .sheet-col-1 {
|
|
width: calc(100% / 12 * 1);
|
|
}
|
|
|
|
.sheet-container .sheet-col-2 {
|
|
width: calc(100% / 12 * 2);
|
|
}
|
|
|
|
.sheet-container .sheet-col-3 {
|
|
width: calc(100% / 12 * 3);
|
|
}
|
|
|
|
.sheet-container .sheet-col-4 {
|
|
width: calc(100% / 12 * 4);
|
|
}
|
|
|
|
.sheet-container .sheet-col-5 {
|
|
width: calc(100% / 12 * 5);
|
|
}
|
|
|
|
.sheet-container .sheet-col-6 {
|
|
width: calc(100% / 12 * 6);
|
|
}
|
|
|
|
.sheet-container .sheet-col-7 {
|
|
width: calc(100% / 12 * 7);
|
|
}
|
|
|
|
.sheet-container .sheet-col-8 {
|
|
width: calc(100% / 12 * 8);
|
|
}
|
|
|
|
.sheet-container .sheet-col-9 {
|
|
width: calc(100% / 12 * 9);
|
|
}
|
|
|
|
.sheet-container .sheet-col-10 {
|
|
width: calc(100% / 12 * 10);
|
|
}
|
|
|
|
.sheet-container .sheet-col-11 {
|
|
width: calc(100% / 12 * 11);
|
|
}
|
|
|
|
.sheet-container .sheet-col-12 {
|
|
width: calc(100% / 12 * 12);
|
|
}
|
|
|
|
.sheet-span-12 {
|
|
width: calc(100% - 10px);
|
|
}
|
|
|
|
.sheet-flex-table {
|
|
display: table;
|
|
}
|
|
|
|
.sheet-flex-table > div {
|
|
display: table-row;
|
|
}
|
|
|
|
.sheet-flex-table > div > div {
|
|
display: table-cell;
|
|
padding: 3px 0;
|
|
}
|
|
|
|
.sheet-flex-table > div > div:first-of-type {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.sheet-flex-table > div > div label {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.sheet-karakter input[type=text] {
|
|
width: 100%;
|
|
text-align: center;
|
|
margin: 2px 0;
|
|
}
|
|
|
|
.sheet-karakter input[type=text]:first-of-type {
|
|
font-size: large;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-values label {
|
|
font-size: 10px;
|
|
font-weight: normal;
|
|
line-height: 1em;
|
|
padding-left: 1em;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.sheet-tapasztalat div {
|
|
float: left;
|
|
width: calc(33% - 4px);
|
|
margin: 2px;
|
|
}
|
|
|
|
.sheet-tapasztalat div input[type=number],
|
|
.sheet-health div input[type=number] {
|
|
width: 100%;
|
|
text-align: right;
|
|
}
|
|
|
|
.sheet-tapasztalat input[type=number]:not(.sheet-emphasized) {
|
|
margin-top: 2px;
|
|
}
|
|
|
|
input[type=number].sheet-emphasized {
|
|
font-size: large;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-health {
|
|
float: left;
|
|
}
|
|
|
|
.sheet-health > div > div {
|
|
width: calc(50% - 2px);
|
|
display: inline-block;
|
|
}
|
|
|
|
.sheet-hm-value {
|
|
border: 2px solid black;
|
|
font-weight: bold;
|
|
font-size: large;
|
|
text-align: right;
|
|
}
|
|
|
|
.sheet-mind input[type=text], .karakterFegyverek input[type=text] {
|
|
margin: 2px;
|
|
}
|
|
|
|
.sheet-mind input[type=number], .sheet-hm input[type=number], .karakterFegyverek input[type=number] {
|
|
margin: 2px;
|
|
text-align: right;
|
|
}
|
|
|
|
.sheet-float-left {
|
|
float: left
|
|
}
|
|
|
|
.sheet-mind input[type=number] {
|
|
width: calc(100% / 12 * 11);
|
|
}
|
|
|
|
.sheet-row {
|
|
display: table-row;
|
|
}
|
|
|
|
.sheet-cell, .sheet-row > div {
|
|
display: table-cell;
|
|
}
|
|
|
|
.sheet-flex {
|
|
display: flex;
|
|
}
|
|
|
|
/* Képzettségek TAB */
|
|
|
|
textarea {
|
|
width: calc(100% - 10px);
|
|
}
|
|
|
|
input[type=text], input[type=number] {
|
|
width: calc(100% - 4px);
|
|
margin: 2px;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
input[type=text]:disabled, input[type=number]:disabled {
|
|
background: gold;
|
|
}
|
|
|
|
input[type=text] {
|
|
text-align: center;
|
|
}
|
|
|
|
input[type=number] {
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
.sheet-main input[type=number],
|
|
.sheet-main input[type=number].sheet-digit-2,
|
|
.sheet-main input[type=text].sheet-digit-2 {
|
|
width: 54px;
|
|
}
|
|
|
|
.sheet-main .sheet-karakterKepzettseg input[type=checkbox] {
|
|
width: 2em;
|
|
height: 2em;
|
|
margin: 2px;
|
|
}
|
|
|
|
.sheet-main .sheet-karakter > input[type=text], .sheet-main .sheet-karakter > input[type=number] {
|
|
width: calc(100% - 4px);
|
|
margin: 2px;
|
|
line-height: 1.5em;
|
|
text-align: center;
|
|
}
|
|
|
|
.sheet-main .sheet-karakter > input[type=number] {
|
|
padding-left: 18px;
|
|
}
|
|
|
|
.sheet-main .sheet-karakter > label {
|
|
position: absolute;
|
|
width: 70px;
|
|
margin: 7px 0;
|
|
font-weight: normal;
|
|
font-size: 0.8em;
|
|
} |