Files
roll20-character-sheets/Brigandyne/brigandyne.css
T
NathaTerrien a9113ff552 Brigandyne CSS fix
Brigandyne CSS fix
2018-04-29 19:07:56 +02:00

572 lines
13 KiB
CSS

/* Couleurs
Beige base : #BCA87D rgba(188,168,125,1.0)
Beige clair fond saisie : #E0D3BA rgba(224,211,186,1.0)
Beige gris (bordure sec claire) : #B5A790 rgba(181,167,144,1.0)
Marron clair (bordure sec foncé) : #86704D rgba(134,112,77,1.0)
Marron foncé (bordure ) : #64553E rgba(100,85,62,1.0)
Texte ou fond "noir" : #231F20 rgba(35,31,32,1.0)
*/
div,
button,
textarea,
span,
input,
select{
box-sizing: border-box;
}
div{
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
background-color: transparent;
/* border: 1px solid red; */
}
.sheet-hidden{
display: none !important;
}
div.sheet-bgmain{
width: 840px;
max-width: 840px;
text-align: left;
background-color : #BCA87D;
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Brigandyne/brigandyne_bg.jpg');
background-repeat:repeat;
background-position: top left;
background-size: auto;
position: relative;
padding: 6px 0px 6px 0px;
}
div.sheet-abs{
position: absolute;
vertical-align: bottom;
display: inline-block;
}
div.sheet-rel{
position: relative;
display: inline-block;
}
div.sheet-ligne{
display: block;
text-align: center;
vertical-align: top;
width: 100%;
margin: 1px;
white-space: nowrap;
}
div.sheet-ligne.sheet-titre{
color: white;
font-family: 'Contrail One';
font-size: 14px;
text-shadow: 0px 0px 10px #231F20;
text-align: left;
}
div.sheet-ligne.sheet-titre span{
font-family: 'Pictos';
margin-right: 6px;
}
div.sheet-mycol{
display: inline-block;
text-align: left;
vertical-align: top;
background-color: rgba(224,211,186,0.8); /* #E0D3BA; */
border-style: solid;
border-color: #64553E;
}
div.sheet-colune{
border-width: 2px;
border-radius: 0px 20px 20px 20px;
}
div.sheet-coldeb{
border-width: 2px 1px 2px 2px;
border-radius: 0px 0px 0px 20px;
}
div.sheet-colmid{
border-width: 2px 1px 2px 1px;
margin-left: -2px;
}
div.sheet-colfin{
border-width: 2px 2px 2px 1px;
border-radius: 0px 20px 20px 0px;
margin-left: -2px;
}
div.sheet-coltitre{
width: inherit;
background: #231F20;
color: white;
font-family: 'Contrail One';
font-size: 14px;
font-weight: normal;
padding: 2px 10px 2px 10px;
}
div.sheet-coltitre.sheet-fin{
border-radius: 0px 17px 0px 0px;
background: linear-gradient(to right, #231F20 60%, #64553E);
}
div.sheet-inps{
width: inherit;
padding: 2px 10px 2px 10px;
}
div.sheet-bgblock{
}
div.sheet-bgsombre{
background-color: rgba(100,85,62,0.5);
}
/* ===== DIV AS TABLE ===== */
.sheet-ttable {
display: table;
width: 100%;
border-collapse: collapse;
border: 1px dotted #231F20;
}
.sheet-trow {
display: table-row;
border: 1px dotted #231F20;
background-color: rgba(224,211,186,0.8); /* #E0D3BA; */
}
.sheet-trow.sheet-sombre{
background-color: rgba(181,167,144,0.8); /* #B5A790; */
}
.sheet-theading {
display: table-header-group;
}
.sheet-tcell{
display: table-cell;
text-align: center;
vertical-align: middle;
background-color: transparent;
border: 1px dotted #231F20;
}
.sheet-thead{
display: table-cell;
vertical-align: middle;
background: #231F20;
text-align: center;
color: white;
font-family: 'Contrail One';
font-size: 14px;
font-weight: normal;
border: 1px dotted #64553E;
padding: 4px 0px 4px 0px;
margin: 0px 0px 0px 0px;
}
.sheet-tfoot{
display: table-footer-group;
font-weight: bold;
background-color: #ddd;
}
.sheet-tbody {
display: table-row-group;
}
/* ===== DIVERS ==== */
label{
display: inline;
font-family: 'Contrail One';
font-size: 14px;
font-weight: normal;
color: #231F20;
margin-left: 4px;
}
/* ===== INPUTS ==== */
input, textarea{
background-color: transparent;
display: inline-block;
padding: none;
margin: none;
font-family: "Patrick Hand";
font-size: 16px;
border: none;
box-shadow: none;
color: #231F20;
border-radius: 0;
}
input:focus, input:hover, textarea:focus, textarea:hover{
box-shadow: inset 0px 1px 1px rgba(134,112,77,0.01),0 0 6px rgba(134,112,77,0.5);
background-color: #E0D3BA;
}
textarea{
padding: 1px 2px 0px 2px;
resize: vertical;
margin-bottom: 0px;
}
input[type="text"]{
padding: 0px 0px 0px 2px;
}
input[type="text"].sheet-inptxt1{
font-weight: bold;
font-size: 20px;
}
input[type="number"]{
text-align: right;
font-size: 20px;
font-weight: bold;
max-width: 50px;
padding: 0px 0px 0px 0px;
}
input[type="number"].sheet-min{
font-size: 16px;
font-weight: normal;
}
input[type="number"].sheet-min.sheet-arme{
width: 44px;
max-width: 44px;
}
input[type="number"].sheet-carac{
text-align: center;
font-weight: normal;
font-size: 18px;
max-width: 35px;
}
input[type="number"].sheet-carac:read-only,
input[type="number"].sheet-carac:disabled {
font-size: 20px;
font-weight: bold;
color: #64553E;
margin: 0px 0px 0px 0px !important;
}
input[type="number"].sheet-numtxt{
-moz-appearance: textfield;
}
input[type="number"].sheet-numtxt::-webkit-inner-spin-button,
input[type="number"].sheet-numtxt::-webkit-outer-spin-button {
-webkit-appearance: none;
appearance: none;
}
select{
width: auto;
margin: 0px 0px 0px 0px;
padding: 0px 2px 0px 2px;
font-family: "Patrick Hand";
font-size: 14px;
font-weight: bold;
border: none;
background-color: transparent;
box-shadow: none;
-webkit-appearance: none;
-moz-appearance: none;
cursor: n-resize;
}
select.sheet-selprog{
padding: 0px 0px 0px 0px;
font-size: 16px;
font-weight: normal;
color: black;
}
input[type="checkbox"].sheet-dispchk,
input[type="radio"].sheet-dispchk{
opacity: 0;
width: 16px;
z-index: 2;
}
input[type="checkbox"].sheet-dispchk + span,
input[type="radio"].sheet-dispchk + span{
display: inline-block;
margin-right: 4px;
margin-left: -18px;
min-width: 18px;
z-index: 1;
font-family: 'Contrail One';
font-size: 14px;
font-weight: normal;
color: #231F20;
}
input[type="checkbox"].sheet-dispchk + span::before,
input[type="radio"].sheet-dispchk + span::before{
font-size: 18px;
color: #231F20;
content: '☐';
margin-right: 2px;
}
input[type="checkbox"].sheet-dispchk:checked + span::before,
input[type="radio"].sheet-dispchk:checked + span::before{
content: '✔';
}
/* ====== cyclecheck ====== */
div.sheet-cyclecheck {
display: inline-block;
}
div.sheet-cyclecheck input[type="radio"].sheet-cyclecheck,
div.sheet-cyclecheck input[type="checkbox"].sheet-cyclecheck{
width: 170px;
height: 20px;
display: none;
opacity: 0;
z-index: 1;
margin: 0;
padding: 0;
position: absolute;
}
div.sheet-cyclecheck .sheet-cyclecheck:checked + .sheet-cyclecheck {
display: inline-block;
}
div.sheet-cyclecheck span.sheet-cyclecheck {
text-align: center;
display: inline-block;
color: #231F20;
width: 18px;
height: 18px;
font-size: 18px;
cursor: pointer;
}
div.sheet-cyclecheck input.sheet-cyclecheck[value="-1"]:checked ~ span.sheet-cyclecheck::before {
content: '◼';
}
div.sheet-cyclecheck input.sheet-cyclecheck[value="0"]:checked ~ span.sheet-cyclecheck::before {
content: '☐';
}
div.sheet-cyclecheck input.sheet-cyclecheck[value="5"]:checked ~ span.sheet-cyclecheck::before {
content: '☑';
}
div.sheet-cyclecheck input.sheet-cyclecheck[value="10"]:checked ~ span.sheet-cyclecheck::before {
content: '☒';
}
/* ===== AFFICHAGE/MASQUE ===== */
div.sheet-affichage{
display: none;
}
input[type="checkbox"].sheet-aff:checked ~ div.sheet-affichage{
display: block;
padding: 3px 6px 3px 6px;
border-bottom: 1px dotted #64553E;
}
input[type="checkbox"].sheet-aff{
display: none;
}
input[type="checkbox"].sheet-affichage{
margin-left: -6px;
width: 40px;
height: 20px;
max-width: 40px;
opacity: 0;
z-index: 10;
margin: 0;
}
input[type="checkbox"].sheet-affichage + span{
margin-left: -40px;
display: inline-block;
text-align: center;
padding: 0;
width: 40px;
max-width: 40px;
height: 20px;
z-index: 10;
font-family: 'pictos';
color: #86704D;
font-size: 25px;
line-height: 20px;
}
input[type="checkbox"].sheet-affichage:hover + span,
input[type="checkbox"].sheet-affichage:checked:hover + span{
color: #64553E;
}
input[type="checkbox"].sheet-affichage:checked + span{
color: #231F20;
}
/* ===== BOUTONS ===== */
button[type="roll"]{
text-align: center;
text-decoration: none;
background:none;
background-image:none;
border: none;
box-shadow: none;
text-shadow: none;
padding: 0px 0px 0px 0px;
margin: 0px 0px 0px 0px;
text-align: center;
}
button[type="roll"].sheet-bcar{
color: white;
font-family: 'Contrail One';
font-size: 14px;
font-weight: normal;
}
button[type="roll"].sheet-bcar:before{
content: none;
}
button[type="roll"].sheet-bcar:after{
font-family: "dicefontd10";
color: white;
font-size: 18px;
content: '0';
padding-left: 3px;
}
button[type="roll"].sheet-bcar:hover:after{
font-weight: bold;
}
button[type="roll"].sheet-atk{
font-family: 'Contrail One';
font-size: 14px;
font-weight: normal;
}
button[type="roll"].sheet-atk:before{
font-family: "dicefontd10";
color: #231F20;
font-size: 20px;
font-weight: bold;
content: '0';
padding-left: 3px;
line-height: 14px;
}
button[type="roll"].sheet-atk:hover:before{
content: 'T';
}
/* === fieldset BOUTONS === */
div.repcontrol{
display: inline-block;
width: 100%;
}
.repcontrol_move{
height: 11px;
line-height: 11px;
margin-top: 4px;
}
.repcontrol_del {
height: 22px;
line-height: 12px;
margin-top: 4px;
width: 30px;
}
.repcontrol_add, .repcontrol_edit {
color: transparent;
box-shadow: none;
background: transparent;
border-color: transparent;
text-shadow:none;
width: 100px;
}
.repcontrol_add:focus, .repcontrol_edit:focus {
outline: none;
}
.repcontrol .repcontrol_edit:after {
content: 'y';
visibility: visible;
font-family: pictos;
border: 1px solid transparent;
border-radius: 2px;
font-size: 20px;
height: 20px;
width: 20px;
padding: 2px 4px 2px 4px;
color: rgba(35,31,32,0.7);
}
.editmode ~ .repcontrol .repcontrol_edit:after {
content: '2';
}
.repcontrol .repcontrol_add:before {
content: '+';
visibility: visible;
font-family: pictos;
border: 1px solid transparent;
border-radius: 2px;
font-size: 20px;
height: 20px;
width: 20px;
padding: 2px 4px 2px 4px;
color: rgba(35,31,32,0.7);
}
.repcontrol .repcontrol_edit:hover:after,
.repcontrol .repcontrol_add:hover:before
{
box-shadow: 1px 1px 4px 2px rgba(35,31,32,0.8);
border-color: #231F20;
color: #231F20;
}
.repcontrol_add:focus:before, .repcontrol_edit:focus:after {
color: #231F20;
}
/* ===== TEMPLATE ===== */
.sheet-rolltemplate-tmpl div{
vertical-align: middle;
border: none;
box-sizing: border-box;
display: block;
}
.sheet-rolltemplate-tmpl div.sheet-tplmain{
background-color: transparent;
border-width: 1px 2px 1px 2px;
border-radius: 0px 12px 12px 12px;
border-style: solid;
border-color: #64553E;
width: auto;
}
.sheet-rolltemplate-tmpl div.sheet-pc{
background-color: #231F20;
color : white;
padding: 4px 0px 4px 4px;
border-radius: 0px 10px 0px 0px;
font-size: 15px;
font-family: 'Contrail One';
display: inline-block;
border-bottom: 1px dotted #64553E;
width: 100%;
}
.sheet-rolltemplate-tmpl div.sheet-jetnom{
background-color: #86704D;
color: #E0D3BA;
padding: 4px 0px 4px 4px;
border-radius: 0px 0px 10px 10px;
font-size: 15px;
font-family: 'Contrail One';
display: inline-block;
border-top: 1px dotted #64553E;
width: 100%;
}
.sheet-rolltemplate-tmpl div.sheet-jet{
background-color: #E0D3BA;
padding: 6px;
display: table-cell;
font-family: 'Shadows Into Light';
font-size: large;
font-weight: bold;
text-align: center;
vertical-align: middle;
white-space: nowrap;
width: 100%;
}
.sheet-rolltemplate-tmpl div.sheet-bordleft{
border-left: 1px dotted #64553E;
}
.sheet-rolltemplate-tmpl div.sheet-bordtop{
border-top: 1px dotted #64553E;
}
.sheet-rolltemplate-tmpl div.sheet-borderd{
border-right: 2px solid #64553E;
}
.sheet-rolltemplate-tmpl div.sheet-desc{
width: 100%;
text-align: left;
font-family: 'Arial';
font-size: inherit;
max-height: 180px;
overflow-y: auto;
background-color: #B5A790;
color: #231F20;
}
.sheet-rolltemplate-tmpl .inlinerollresult {
background-color: transparent;
color: #231F20;;
border: none;
padding: 0px 0px;
font-weight: bold;
cursor: help;
font-size: 18px;
font-family: 'Candal';
}
.sheet-rolltemplate-tmpl .sheet-success{
color: #3FB315;;
}
.sheet-rolltemplate-tmpl .sheet-failure{
color: #B31515;
}
.sheet-rolltemplate-tmpl .inlinerollresult.fullcrit{
border: none;
color: #3FB315;
}
.sheet-rolltemplate-tmpl .inlinerollresult.importantroll{
border: none;
color: #4A57ED;
}
.sheet-rolltemplate-tmpl .inlinerollresult.fullfail{
border: none;
color: #B31515;
}