Files
roll20-character-sheets-tester/Naheulbeuk/Naheulbeuk.css
T

830 lines
18 KiB
CSS

input {
vertical-align: middle;
}
input[type="number"] {
width: 65px !important;
}
input[type="text"].sheet-shortInput {
width: 65px !important;
}
input[type="text"].sheet-noBorder {
border: 0px none;
border-bottom: 1px solid black;
width:100%;
padding: 2px 2px 2px 5px;
}
input.sheet-square {
width:50px !important;
height:50px;
font-size:20px;
font-weight:bold;
text-align:center;
}
input.sheet-autoCalc {
background-color:lightblue;
}
select {
line-height:inherit;
width:auto;
margin:0;
}
button[type="roll"] {
font-size:12px !important;
}
button[type=roll].sheet-rollDegats:before { content: 'T'; }
button[type=roll].sheet-rollGrimoire:before {font-family: 'Pictos Three'; content: 'g'; }
h2 {
background-color: #766344;
color: #ffffff;
font-size: 12px;
border-radius: 4px;
padding: 3px 4px;
margin: 0 0 5px 0;
text-align: center;
line-height: inherit;
}
h4 {
color: #ffffff;
}
textarea {
width: 98%;
height: 50px;
}
textarea.sheet-code {
height:20px;
background-color:#CCC;
}
span.sheet-hint {
font-size: 10px;
font-weight: normal;
}
table {
table-layout:fixed;
border-spacing : 0;
border-collapse : collapse;
}
th {
text-align: left;
padding:2px;
}
td {
text-align: left;
vertical-align: top;
}
thead th {
background-color:grey;
color:white;
text-align:center;
font-size: 12px;
}
hr {
margin-top: 10px;
margin-bottom: 10px;
}
/*PJ OR PNJ*/
input.sheet-display-pnj {
float:left;
width: 40px;
height: 40px;
opacity: 0;
margin: 0;
padding: 0;
}
span.sheet-display-pnj {
float: left;
width: 40px;
height: 15px;
margin-left: -40px;
text-align: center;
display: inline-block;
background: #ab8b57;
color: white;
font-weight: bold;
border-radius: 4px;
cursor: pointer;
padding: 10px 0 15px;
}
div.sheet-pnj, div.sheet-pj {
display:none;
}
input.sheet-display-pnj:checked + span {
background: #766344;
color: white;
}
input.sheet-display-pnj:checked + span:before {
content:"PNJ";
}
input.sheet-display-pnj:not(:checked) + span:before {
content:"PJ";
}
input.sheet-display-pnj:checked ~ div.sheet-pnj {
display:block;
}
input.sheet-display-pnj:not(:checked) ~ div.sheet-pj {
display:block;
}
/*Réglages*/
input.sheet-display-reglages {
float: right;
width: 18px;
height: 18px;
opacity: 0;
margin: 0;
padding: 0;
}
span.sheet-display-reglages {
float:right;
width: 18px;
height: 18px;
margin-right:-18px;
display: inline-block;
cursor: pointer;
}
div.sheet-reglages {
display:none;
}
input.sheet-display-reglages:checked + span {
color: #766344;
}
input.sheet-display-reglages:checked ~ div.sheet-reglages {
display:block;
}
input.sheet-display-reglages:checked ~ div.sheet-pnj,
input.sheet-display-reglages:checked ~ div.sheet-pj {
display:none;
}
/* NAV */
div[class^="sheet-tab_"] {
display: none;
}
input.sheet-tab_caracteristiques:checked ~ div.sheet-tab_caracteristiques,
input.sheet-tab_competences:checked ~ div.sheet-tab_competences,
input.sheet-tab_equipement:checked ~ div.sheet-tab_equipement,
input.sheet-tab_magie:checked ~ div.sheet-tab_magie,
input.sheet-tab_inventaire:checked ~ div.sheet-tab_inventaire,
input.sheet-tab_materiel:checked ~ div.sheet-tab_materiel,
input.sheet-tab_butin:checked ~ div.sheet-tab_butin,
input.sheet-tab_divers:checked ~ div.sheet-tab_divers,
input.sheet-tab_conso:checked ~ div.sheet-tab_conso,
input.sheet-tab_ingre:checked ~ div.sheet-tab_ingre,
input.sheet-tab_reliques:checked ~ div.sheet-tab_reliques,
input.sheet-tab_compagnons:checked ~ div.sheet-tab_compagnons,
input.sheet-tab_craft:checked ~ div.sheet-tab_craft {
display: block;
}
input.sheet-tab_tout:checked ~ div.sheet-tab_materiel,
input.sheet-tab_tout:checked ~ div.sheet-tab_butin,
input.sheet-tab_tout:checked ~ div.sheet-tab_divers,
input.sheet-tab_tout:checked ~ div.sheet-tab_conso,
input.sheet-tab_tout:checked ~ div.sheet-tab_ingre,
input.sheet-tab_tout:checked ~ div.sheet-tab_reliques {
display: block;
}
input.sheet-tab {
width: 110px;
height: 26px;
opacity: 0;
margin: 0;
padding: 0;
cursor: pointer;
}
span.sheet-tab {
text-align: center;
display: inline-block;
font-size: 13px;
background: #766344;
color: white;
font-weight: bold;
border-radius: 4px;
width: 102px;
height: 20px;
cursor: pointer;
padding: 3px 4px;
margin-left: -110px;
margin-top: -5px;
}
input.sheet-tab:checked + span {
background: #ab8b57;
color: white;
}
/* Displays */
div[class^="sheet-display"] {
display: none;
}
input.sheet-display:checked + h2.sheet-display:after {
content: " ▼";
}
input.sheet-display:not(:checked) + h2.sheet-display:after {
content: " ►";
}
input.sheet-display-arme_munition:checked ~ div.sheet-display-arme_munition,
input.sheet-display-munitions:checked ~ div.sheet-display-munitions,
input.sheet-display-bagues:checked ~ div.sheet-display-bagues,
input.sheet-display-reparation:checked ~ div.sheet-display-reparation,
input.sheet-display-confection:checked ~ div.sheet-display-confection,
input.sheet-display-recettes:checked ~ div.sheet-display-recettes,
input.sheet-display-competenceEpreuve:checked + div.sheet-display-competenceEpreuve {
display: block;
}
.sheet-display-competenceEpreuve {
float:left;
}
input.sheet-display {
width: 100%;
height: 20px;
opacity: 0;
margin: 0;
padding: 0;
cursor: pointer;
}
h2.sheet-display {
margin-top:-20px;
}
/* displays compétences */
.sheet-competences div.sheet-btnRoll,
.sheet-competences div.sheet-noRoll {
float:left;
margin-bottom: 10px;
display:none;
}
.sheet-competences div.sheet-noRoll {
padding: 3px 5px;
background-color: #f5f5f5;
cursor:not-allowed;
border-radius: 4px;
text-align: center;
border: 1px solid #ccc;
margin: 0 3px 10px 3px;
}
input.sheet-display-competences:checked ~ div.repcontainer > div.repitem > input.sheet-display-competenceEpreuve:checked ~ div.sheet-btnRoll {
display:block;
}
input.sheet-display-competences:checked ~ div.repcontainer > div.repitem > input.sheet-display-competenceEpreuve:not(:checked) ~ div.sheet-noRoll {
display:block;
}
input.sheet-display-competences:checked ~ div.repcontainer > div.repitem > div.sheet-group,
input.sheet-display-competences:checked ~ div.repcontrol,
input.sheet-display-competences:checked ~ div.sheet-tableth {
display:none;
}
/* Displays Montures */
input.sheet-display-monture {
height:20px;
opacity:0;
padding:0;
cursor: pointer;
width: 88px;
}
span.sheet-display-monture {
text-align: center;
display: inline-block;
background: lightgrey;
color: black;
font-weight: bold;
border-radius: 4px;
width: 80px;
height: 20px;
cursor: pointer;
padding: 3px 4px;
margin-left: -88px;
font-size:11px;
}
input.sheet-display-monture:checked + span {
background-color:green;
color:white;
}
input.sheet-display-monture:checked + span:after {
content: " ▼";
}
input.sheet-display-monture:not(:checked) + span:after {
content: " ►";
}
input.sheet-display-monture:checked ~ div.sheet-display-monture {
display:block;
}
/* Rounded tabs */
input.sheet-rounded-tab {
width: 30px;
height: 30px;
opacity: 0;
margin: 0;
padding: 0;
cursor: pointer;
}
span.sheet-rounded-tab {
border-radius: 50%;
width: 15px;
height: 15px;
padding: 5px;
background: rgb(186, 186, 156);
border: 2px solid #666;
color: #666;
text-align: center;
font-size: 12px;
cursor: pointer;
margin-left: -30px;
display: inline-block;
}
input.sheet-rounded-tab:checked + span {
background: rgb(223, 202, 161);
}
/* modals */
div.sheet-modal-wrapper {
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background-color: rgba(0,0,0,0.5);
z-index: 99998;
transition:opacity 0.3s ease-in;
}
div.sheet-modal {
position: absolute;
top: calc(50% - 100px);
left: calc(50% - 150px);
z-index: 99999;
width: 300px;
border: 1px solid black;
background-color:white;
overflow:scroll;
}
div.sheet-modal_header {
width:300px;
position:fixed;
}
div.sheet-modal_header h2 {
border-radius: 0;
text-align:center;
}
div.sheet-modal_header input, div.sheet-modal_header span {
float:right;
}
div.sheet-modal_body {
text-align:left;
padding: 5px;
margin-top: 20px;
}
input.sheet-modal {
width: 16px;
height: 16px;
cursor: pointer;
opacity: 0;
margin:0;
padding:0;
margin-left: -16px;
}
span.sheet-cog {
display: inline-block;
font-size: 15px;
font-weight: bold;
border-radius: 4px;
font-family: "Pictos";
cursor: pointer;
margin-left: -16px;
}
span.sheet-close {
display: inline-block;
font-size: 21px;
font-weight: bold;
font-family: "Pictos";
cursor: pointer;
margin-left: -16px;
margin-top: -7px;
}
input.sheet-modal:checked~div.sheet-modal-wrapper {
display:flex;
}
/* group */
.sheet-group {
position: relative;
background-color: #eee;
padding: 5px;
margin: 5px 0;
text-align: left;
}
.sheet-group .sheet-row {
margin-bottom: 5px;
}
.editmode .sheet-group {
position: static;
}
/* Config */
.sheet-group .sheet-config-flag {
opacity: 0;
position: absolute;
top: 0px;
right: 0px;
width: 18px;
height: 18px;
z-index: 2;
margin: 0;
padding: 0;
}
.sheet-group .sheet-config-flag + span {
position: absolute;
top: 0px;
right: 0px;
white-space: nowrap;
width: 18px;
height: 18px;
font-size: 20px;
font-family: pictos;
color: #A0A0A0;
cursor: pointer;
margin-top: 0px;
display: none;
}
.sheet-group:hover .sheet-config-flag + span {
display: block;
}
.editmode .sheet-group .sheet-config-flag + span, .editmode .sheet-group .sheet-config-flag {
display: none;
}
input.sheet-config-flag:checked + span {
display: block;
color: #000;
}
div.sheet-config {
display: none;
}
input.sheet-config-flag:checked ~ div.sheet-config {
display: block;
}
/* Magie */
div.sheet-magie-filtre, div.sheet-recette-filtre {
border: 1px solid black;
border-radius: 10px;
background-color: #eee;
padding: 5px;
margin: 5px 0;
text-align: left;
}
div.sheet-magie-filtre {
display: none;
}
div.sheet-magie-filtre thead th, div.sheet-recette-filtre thead th {
background-color: lightgrey;
color:black;
}
input.sheet-magie-filtre:checked~div.sheet-magie-filtre, input.sheet-recette-filtre:checked~div.sheet-recette-filtre {
display: block;
}
input.sheet-display-magie, input.sheet-display-recette {
height:20px;
opacity:0;
padding:0;
cursor: pointer;
width: 88px;
}
span.sheet-display-magie, span.sheet-display-recette {
text-align: center;
display: inline-block;
background: lightgrey;
color: black;
font-weight: bold;
border-radius: 4px;
width: 80px;
height: 20px;
cursor: pointer;
padding: 3px 4px;
margin-left: -88px;
font-size:11px;
}
input.sheet-display-magie:checked + span, input.sheet-display-recette:checked + span {
background-color:green;
color:white;
}
input.sheet-display-magie:checked + span:after, input.sheet-display-recette:checked + span:after {
content: " ▼";
}
input.sheet-display-magie:not(:checked) + span:after, input.sheet-display-recette:not(:checked) + span:after {
content: " ►";
}
input.sheet-display-magie-incantation:checked ~ div.sheet-display-magie-incantation,
input.sheet-display-magie-epreuve:checked ~ div.sheet-display-magie-epreuve,
input.sheet-display-magie-soins:checked ~ div.sheet-display-magie-soins,
input.sheet-display-magie-degats:checked ~ div.sheet-display-magie-degats,
input.sheet-display-magie-effet:checked ~ div.sheet-display-magie-effet,
input.sheet-display-magie-ingre:checked ~ div.sheet-display-magie-ingre,
input.sheet-display-magie-creature:checked ~ div.sheet-display-magie-creature,
input.sheet-display-recette-preparation:checked ~ div.sheet-display-recette-preparation,
input.sheet-display-recette-epreuve:checked ~ div.sheet-display-recette-epreuve,
input.sheet-display-recette-results:checked ~ div.sheet-display-recette-results {
display: block;
}
/* craft */
div.sheet-reparation-epreuve {
display: block;
}
input.sheet-reparation-impossible:checked + div.sheet-reparation-epreuve {
display: none;
}
div.sheet-reparation-impossible {
display: none;
}
input.sheet-reparation-impossible:checked ~ div.sheet-reparation-impossible {
display: block;
}
/* stats sheet */
.sheet-stats tbody th {
background-color:#766344;
border-bottom: 1px solid white;
}
.sheet-stats tbody th button {
border: 0 none;
background: 0 0;
color: white;
border-radius: 0;
text-shadow: none;
text-decoration: none;
box-shadow: none;
font-weight: bold;
}
.sheet-stats .sheet-spin input[type='text'] {
display: inline-block;
}
.sheet-stats .sheet-spin input[type='number'] {
position:absolute;
opacity:0;
}
.sheet-stats .sheet-spin:hover input[type='text'], .sheet-stats .sheet-spin input[type='number']:focus ~ input[type='text'] {
display:none;
}
.sheet-stats .sheet-spin:hover input[type='number'], .sheet-stats .sheet-spin input[type='number']:focus {
position:static;
opacity:1;
}
/* HEX */
.sheet-hex {
width: 100px;
height: 57px;
background-color: #ccc;
background-repeat: no-repeat;
background-position: 50% 50%;
background-size: auto 173px;
position: relative;
margin: 25px auto;
text-align: center;
}
.sheet-hex .sheet-corner-1,
.sheet-hex .sheet-corner-2 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: inherit;
z-index: -2;
overflow: hidden;
backface-visibility: hidden;
}
.sheet-hex .sheet-corner-1 {
z-index:-1;
transform: rotate(60deg);
}
.sheet-hex .sheet-corner-2 {
transform: rotate(-60deg);
}
.sheet-hex .sheet-corner-1::before,
.sheet-hex .sheet-corner-2::before {
width: 173px;
height: 173px;
content: '';
position: absolute;
background: inherit;
top: 0;
left: 0;
z-index: 1;
background: inherit;
background-repeat: no-repeat;
backface-visibility: hidden;
}
.sheet-hex .sheet-corner-1::before {
transform: rotate(-60deg) translate(-87px, 0px);
transform-origin: 0 0;
}
.sheet-hex .sheet-corner-2::before {
transform: rotate(60deg) translate(-48px, -11px);
bottom: 0;
}
/* overweight */
.sheet-overweight {
width: 90%;
height: 20px;
border: 1px solid black;
color: black;
text-align: center;
}
.sheet-overweight-checkbox.sheet-overweight-0:checked ~ .sheet-overweight {
background: white;
}
.sheet-overweight-checkbox.sheet-overweight-1:checked ~ .sheet-overweight {
background: linear-gradient(to left, white 60%, green 75%);
}
.sheet-overweight-checkbox.sheet-overweight-2:checked ~ .sheet-overweight {
background: linear-gradient(to left, white 40%, yellow 75%);
}
.sheet-overweight-checkbox.sheet-overweight-2:checked ~ .sheet-overweight:before {
content:"Sacs 50% plein";
}
.sheet-overweight-checkbox.sheet-overweight-3:checked ~ .sheet-overweight {
background: linear-gradient(to left, white 20%, orange 75%);
}
.sheet-overweight-checkbox.sheet-overweight-3:checked ~ .sheet-overweight:before {
content: "Sacs presque plein";
}
.sheet-overweight-checkbox.sheet-overweight-4:checked ~ .sheet-overweight {
background: linear-gradient(to left, white, red 100%);
}
.sheet-overweight-checkbox.sheet-overweight-4:checked ~ .sheet-overweight:before {
content: "Sacs plein";
}
.sheet-overweight-checkbox.sheet-overweight-5:checked ~ .sheet-overweight {
background: black;
color: white;
}
.sheet-overweight-checkbox.sheet-overweight-5:checked ~ .sheet-overweight:before {
content: "Equipement trop encombrant !";
}
/* Custom styles*/
.sheet-hex .sheet-inner { color: #eee; }
.sheet-hex h4 {
margin: 0;
}
.sheet-hex input {
background-color: #766344;
border: 0px none;
color: white;
font-size: 30px;
width:65px !important;
}
.repcontrol {
text-align: left !important;
}
/* classes */
.sheet-wrapper {
max-width: 832px;
}
.sheet-header {
float:left;
width:770px;
margin: 0 10px 10px 0;
font-weight:bold;
}
.sheet-tabs_inventaire {
min-height: 750px;
}
.sheet-col-float {
float: left;
margin: 0 4px;
}
.sheet-armure-pieces {
background:url(https://i49.servimg.com/u/f49/19/87/23/15/armure10.png) no-repeat top center;
}
.sheet-armure-pieces table th {
color:white;
background-color:grey;
}
.sheet-tableth {
background-color:grey;
color:white;
margin-bottom:10px;
}
.sheet-tableth div {
padding:2px;
font-size: 12px;
text-align:center;
font-weight:bold;
}
.sheet-hidden {
display:none;
}
.sheet-tab_butin .repitem,
.sheet-tab_materiel .repitem,
.sheet-tab_ingre .repitem {
display: inline-block;
width: 50%;
}
.repcontrol {
margin-top:5px;
}
.sheet-float-left {
float:left;
}
span.sheet-float-left {
margin:0 5px;
}
.sheet-float-right {
float:right;
}
span.sheet-float-right {
margin:0 5px;
}
/* rolltemplate */
.sheet-rolltemplate-magie, .sheet-rolltemplate-recette, .sheet-rolltemplate-coupSpecial {
width: 100%;
padding: 2px;
background:url(http://i.imgur.com/BLb0XMU.jpg) top left repeat;
}
.sheet-rolltemplate-table {
width:100%;
}
.sheet-rolltemplate-table th {
color: rgb(233, 223, 151);
background-color: rgb(63, 32, 33);
padding-left: 5px;
line-height: 1.1em;
font-size: 1em;
text-align: left;
font-family: "Arial", Helvetica, sans-serif;
text-transform: uppercase;
}
.sheet-rolltemplate-table td {
padding-left: 5px;
font-size: 0.9em;
padding-bottom: 5px;
}
.sheet-rolltemplate-table hr {
margin-top: 10px;
margin-bottom: 10px;
}
.sheet-rolltemplate-table .sheet-arrow-right {
border-top: 3px solid transparent;
border-bottom: 3px solid transparent;
border-left: 180px solid rgb(126, 45, 64);
}
.sheet-rolltemplate-table .sheet-tcat {
font-weight: bold;
}
/* rollTemplate default */
.sheet-rolltemplate-atk .sheet-rolltemplate-default,
.sheet-rolltemplate-prd .sheet-rolltemplate-default,
.sheet-rolltemplate-dmg .sheet-rolltemplate-default,
.sheet-rolltemplate-crit_tranchant .sheet-rolltemplate-default,
.sheet-rolltemplate-crit_contondant .sheet-rolltemplate-default,
.sheet-rolltemplate-crit_projectile .sheet-rolltemplate-default,
.sheet-rolltemplate-crit_pugilat .sheet-rolltemplate-default,
.sheet-rolltemplate-crit_prd .sheet-rolltemplate-default,
.sheet-rolltemplate-fumble_atk .sheet-rolltemplate-default {
width: 100%;
background-color: white;
border: 1px solid rgba(112,32,130,1);
}
.sheet-rolltemplate-default caption {
background-color: white;
color: #766344;
border: 1px solid black;
font-weight: bold;
text-align: center;
}
.sheet-rolltemplate-default tr:nth-child(2n) {
background-color: transparent;
}
.sheet-rolltemplate-default td:first-child {
min-width: 1%;
background: linear-gradient(to right,#c3996b7a,#fff);
color: #766344;
text-align: left;
}
.sheet-rolltemplate-default td.sheet-td-noFirst {
text-align:left!important;
font-weight:normal!important;
background: white!important;
}