Coding standard
This commit is contained in:
+24
-24
@@ -148,7 +148,7 @@ div.sheet-reglages {
|
||||
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-pnj,
|
||||
input.sheet-display-reglages:checked ~ div.sheet-pj {
|
||||
display:none;
|
||||
}
|
||||
@@ -167,8 +167,8 @@ 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_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 {
|
||||
display: block;
|
||||
@@ -177,8 +177,8 @@ input.sheet-tab_compagnons:checked ~ div.sheet-tab_compagnons {
|
||||
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_conso,
|
||||
input.sheet-tab_tout:checked ~ div.sheet-tab_ingre,
|
||||
input.sheet-tab_tout:checked ~ div.sheet-tab_reliques {
|
||||
display: block;
|
||||
}
|
||||
@@ -326,7 +326,7 @@ div.sheet-modal {
|
||||
top: calc(50% - 100px);
|
||||
left: calc(50% - 150px);
|
||||
z-index: 99999;
|
||||
width: 300px;
|
||||
width: 300px;
|
||||
border: 1px solid black;
|
||||
background-color:white;
|
||||
overflow:scroll;
|
||||
@@ -383,7 +383,7 @@ div.sheet-magie-filtre {
|
||||
border-radius: 10px;
|
||||
background-color: #eee;
|
||||
padding: 5px;
|
||||
margin: 5px 0;
|
||||
margin: 5px 0;
|
||||
text-align: left;
|
||||
}
|
||||
div.sheet-magie-filtre thead th {
|
||||
@@ -397,7 +397,7 @@ div.sheet-magie-filtre {
|
||||
|
||||
input.sheet-magie-filtre:checked~div.sheet-magie-filtre {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
input.sheet-display-magie {
|
||||
height:20px;
|
||||
@@ -446,8 +446,8 @@ input.sheet-display-magie-creature:checked ~ div.sheet-display-magie-creature {
|
||||
height: 57px;
|
||||
background-color: #ccc;
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;
|
||||
background-size: auto 173px;
|
||||
background-position: 50% 50%;
|
||||
background-size: auto 173px;
|
||||
position: relative;
|
||||
margin: 25px auto;
|
||||
text-align: center;
|
||||
@@ -460,21 +460,21 @@ input.sheet-display-magie-creature:checked ~ div.sheet-display-magie-creature {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: inherit;
|
||||
z-index: -2;
|
||||
overflow: hidden;
|
||||
backface-visibility: hidden;
|
||||
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;
|
||||
@@ -487,16 +487,16 @@ input.sheet-display-magie-creature:checked ~ div.sheet-display-magie-creature {
|
||||
z-index: 1;
|
||||
background: inherit;
|
||||
background-repeat: no-repeat;
|
||||
backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.sheet-hex .sheet-corner-1::before {
|
||||
transform: rotate(-60deg) translate(-87px, 0px);
|
||||
transform: rotate(-60deg) translate(-87px, 0px);
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
|
||||
|
||||
.sheet-hex .sheet-corner-2::before {
|
||||
transform: rotate(60deg) translate(-48px, -11px);
|
||||
transform: rotate(60deg) translate(-48px, -11px);
|
||||
bottom: 0;
|
||||
}
|
||||
/* overweight */
|
||||
@@ -511,7 +511,7 @@ input.sheet-display-magie-creature:checked ~ div.sheet-display-magie-creature {
|
||||
background: white;
|
||||
}
|
||||
.sheet-overweight-checkbox.sheet-overweight-1:checked ~ .sheet-overweight {
|
||||
background: linear-gradient(to left, white 60%, green 75%);
|
||||
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%);
|
||||
@@ -538,12 +538,12 @@ input.sheet-display-magie-creature:checked ~ div.sheet-display-magie-creature {
|
||||
.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;
|
||||
margin: 0;
|
||||
}
|
||||
.sheet-hex input {
|
||||
background-color: #766344;
|
||||
@@ -571,7 +571,7 @@ input.sheet-display-magie-creature:checked ~ div.sheet-display-magie-creature {
|
||||
min-height: 750px;
|
||||
}
|
||||
.sheet-col-float {
|
||||
float: left;
|
||||
float: left;
|
||||
margin: 0 4px;
|
||||
}
|
||||
.sheet-armure-pieces {
|
||||
|
||||
Reference in New Issue
Block a user