mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
* [Fix] rolltemplate css Whitespace * add howTo modal for Traits particuliers * Delete old input for Traits Particuliers * [Fix] allows space in regExp Trait Particulier * add buff / debuff temporary stats for Movement speed * [Fix] allows more digits and % in regExp Trait Particulier * add movement buff in Traits particuliers * CS
979 lines
22 KiB
CSS
979 lines
22 KiB
CSS
.sheet-wrapper input[type="number"], .sheet-wrapper input[type="text"] {
|
|
vertical-align: middle;
|
|
width:100%;
|
|
}
|
|
.sheet-wrapper input[type="number"] {
|
|
text-align:center;
|
|
}
|
|
input[type="text"].sheet-noBorder {
|
|
border: 0px none;
|
|
border-bottom: 1px solid black;
|
|
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;
|
|
text-align:center;
|
|
}
|
|
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;
|
|
}
|
|
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;
|
|
}
|
|
div.sheet-reglages h2 .sheet-modal,
|
|
div.sheet-traits h2 .sheet-modal {
|
|
margin:0 !important;
|
|
}
|
|
div.sheet-reglages h2 .sheet-cog {
|
|
font-weight:normal !important;
|
|
}
|
|
/* Compendium */
|
|
input.sheet-compendium {
|
|
float:right;
|
|
width:18px;
|
|
height:18px;
|
|
}
|
|
span.sheet-compendium {
|
|
float:right;
|
|
width:18px;
|
|
height:18px;
|
|
}
|
|
|
|
/* 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-guns:checked ~ div.sheet-display-guns,
|
|
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;
|
|
}
|
|
|
|
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;
|
|
height:25px;
|
|
}
|
|
.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;
|
|
height: 17px;
|
|
}
|
|
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: 2px solid black;
|
|
box-shadow: 0 0 50px #000;
|
|
border-radius: .5em;
|
|
background-color:white;
|
|
}
|
|
div.sheet-modal_header {
|
|
width:300px;
|
|
position:fixed;
|
|
}
|
|
div.sheet-modal_header h2 {
|
|
border-radius: 4px 4px 0 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;
|
|
overflow-y: scroll;
|
|
max-height: 350px;
|
|
}
|
|
input.sheet-modal {
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
margin:0;
|
|
padding:0;
|
|
margin-left: -16px;
|
|
}
|
|
span.sheet-pictos {
|
|
font-family: "Pictos";
|
|
}
|
|
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-tab_magie input.sheet-modal {
|
|
margin-left:0;
|
|
}
|
|
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: 86px;
|
|
}
|
|
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 td.sheet-spin {
|
|
position:relative;
|
|
}
|
|
.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;
|
|
}
|
|
/* health-bar */
|
|
.sheet-ev-bar {
|
|
background: #c54 !important;
|
|
}
|
|
.sheet-ea-bar {
|
|
background-color:#06C !important;
|
|
}
|
|
/* HEX */
|
|
.sheet-hex {
|
|
background-repeat: no-repeat;
|
|
background-position: 50% 50%;
|
|
background-size: auto 173px;
|
|
position: relative;
|
|
margin: 25px auto;
|
|
text-align: center;
|
|
background-color: #766344;
|
|
width: 100px;
|
|
height: 57px
|
|
}
|
|
|
|
.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;
|
|
padding: 5px;
|
|
}
|
|
.sheet-header {
|
|
font-weight:bold;
|
|
}
|
|
.sheet-tabs_inventaire {
|
|
min-height: 750px;
|
|
}
|
|
.sheet-hint {
|
|
font-size: 10px;
|
|
font-weight: normal;
|
|
}
|
|
.sheet-pointer {
|
|
border-bottom:1px dotted black;
|
|
cursor:pointer;
|
|
}
|
|
.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;
|
|
}
|
|
.sheet-tableth div {
|
|
padding: 2px 0;
|
|
font-size: 12px;
|
|
text-align:center;
|
|
font-weight:bold;
|
|
}
|
|
.sheet-hidden {
|
|
display:none;
|
|
}
|
|
.sheet-bold {
|
|
font-weight: bold;
|
|
}
|
|
.sheet-center {
|
|
text-align:center;
|
|
}
|
|
.sheet-right {
|
|
text-align:right;
|
|
}
|
|
.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;
|
|
}
|
|
.repcontainer.editmode .repitem .itemcontrol {
|
|
z-index: 99;
|
|
text-align:left !important;
|
|
}
|
|
/* 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-gun_atk .sheet-rolltemplate-default,
|
|
.sheet-rolltemplate-gun_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%;
|
|
width: 1%;
|
|
background: linear-gradient(to right,#c3996b7a,#fff);
|
|
color: #766344;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
}
|
|
.sheet-rolltemplate-default td.sheet-td-noFirst {
|
|
text-align:left!important;
|
|
font-weight:normal!important;
|
|
background: white!important;
|
|
white-space:normal!important;
|
|
}
|
|
|
|
/* night mode */
|
|
input.sheet-nightMode:checked + .sheet-wrapper {
|
|
background-color:#36393f;
|
|
color:white;
|
|
}
|
|
input.sheet-nightMode:checked + .sheet-wrapper h2,
|
|
input.sheet-nightMode:checked + .sheet-wrapper span.sheet-tab,
|
|
input.sheet-nightMode:checked + .sheet-wrapper input.sheet-display-pnj:checked + span,
|
|
input.sheet-nightMode:checked + .sheet-wrapper .sheet-stats tbody th,
|
|
input.sheet-nightMode:checked + .sheet-wrapper .sheet-hex,
|
|
input.sheet-nightMode:checked + .sheet-wrapper .sheet-hex input,
|
|
input.sheet-nightMode:checked + .sheet-wrapper span.sheet-rounded-tab,
|
|
input.sheet-nightMode:checked + .sheet-wrapper .sheet-group,
|
|
input.sheet-nightMode:checked + .sheet-wrapper .sheet-recette-filtre {
|
|
background: #42464d;
|
|
}
|
|
input.sheet-nightMode:checked + .sheet-wrapper input.sheet-display-reglages:checked + span {
|
|
color: black;
|
|
}
|
|
input.sheet-nightMode:checked + .sheet-wrapper span.sheet-rounded-tab {
|
|
color:white;
|
|
}
|
|
input.sheet-nightMode:checked + .sheet-wrapper input.sheet-autoCalc {
|
|
background-color: lightslategray;
|
|
}
|
|
|
|
input.sheet-nightMode:checked + .sheet-wrapper span.sheet-display-pnj,
|
|
input.sheet-nightMode:checked + .sheet-wrapper input.sheet-tab:checked + span,
|
|
input.sheet-nightMode:checked + .sheet-wrapper input.sheet-rounded-tab:checked + span,
|
|
input.sheet-nightMode:checked + .sheet-wrapper div.sheet-modal {
|
|
background: #6a6a6a;
|
|
}
|
|
input.sheet-nightMode:checked + .sheet-wrapper input[type="number"],
|
|
input.sheet-nightMode:checked + .sheet-wrapper input[type="text"],
|
|
input.sheet-nightMode:checked + .sheet-wrapper select {
|
|
background-color: #36393f;
|
|
color: white;
|
|
border: 1px solid black;
|
|
}
|
|
input.sheet-nightMode:checked + .sheet-wrapper input[type="text"].sheet-noBorder {
|
|
background-color: #36393f;
|
|
color: white;
|
|
border: 0px none;
|
|
border-bottom: 1px solid black;
|
|
}
|
|
input.sheet-nightMode:checked + .sheet-wrapper .sheet-competences div.sheet-noRoll {
|
|
color: black;
|
|
}
|
|
|
|
/* grid */
|
|
.sheet-row {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
.sheet-row [class^="sheet-col"] {
|
|
float: left;
|
|
margin: 0 0 0 1%;
|
|
min-height: 0.125rem;
|
|
}
|
|
.sheet-row::after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
.sheet-col-1 {
|
|
width: 7.33%;
|
|
}
|
|
.sheet-col-2 {
|
|
width: 15.66%;
|
|
}
|
|
.sheet-col-3 {
|
|
width: 24%;
|
|
}
|
|
.sheet-col-4 {
|
|
width: 32.33%;
|
|
}
|
|
.sheet-col-5 {
|
|
width: 40.66%;
|
|
}
|
|
.sheet-col-6 {
|
|
width: 49%;
|
|
}
|
|
.sheet-col-7 {
|
|
width: 57.33%;
|
|
}
|
|
.sheet-col-8 {
|
|
width: 65.66%;
|
|
}
|
|
.sheet-col-9 {
|
|
width: 74%;
|
|
}
|
|
.sheet-col-10 {
|
|
width: 81.33%;
|
|
}
|
|
.sheet-col-11 {
|
|
width: 89.66%;
|
|
}
|
|
.sheet-col-12 {
|
|
width: 98%;
|
|
}
|