Files
roll20-character-sheets-tester/ChroniquesGalactiques/cog.css
T

471 lines
9.7 KiB
CSS

/* Couleurs
Base bleu = #2F5860
Bleu light = #7F989D
Dégradé fond : 575D51 9B9E99 CECBC4 DDDAD2 ECEDE8 FDFEFD
*/
div,
button,
textarea,
span,
input,
select,
table,
tr,
td,
th{
box-sizing: border-box;
font-family: Verdana;
font-size: 12px;
}
div.sheet-mainBg{
width: 850px;
background: linear-gradient(#9B9E99, #CECBC4, #DDDAD2, #ECEDE8, #FDFEFD);
border: 2px solid #2F5860;
border-radius: 10px;
padding: 6px 0px 6px 0px;
}
table{
width:100%;
border-collapse: collapse;
}
tr,td,th {
vertical-align:top !important;
}
table.sheet-tabsep{
border-collapse: separate;
border-spacing: 4px 2px;
}
.sheet-imghr{
width: 820px;
height: 5px;
padding: 0px;
/* box-shadow: 1px 1px 8px #555; */
}
.sheet-imghr-up{
width: 820px;
height: 5px;
padding: 0px;
text-align: center;
margin-top: -24px;
/* box-shadow: 1px 1px 8px #555; */
}
.sheet-boxtitre{
font-family: 'Contrail One';
font-size: 15px;
background-color: #2F5860;
text-align: center;
font-style: normal;
/* font-weight: bold; */
text-transform: capitalize;
color: white;
border:none;
white-space: nowrap;
padding: 2px 4px 2px 4px;
}
.sheet-boxtitresmall{
font-family: 'Contrail One';
font-size: 13px;
background-color: #2F5860;
text-align: center;
font-style: normal;
font-weight: normal;
color: white;
border:none;
white-space: nowrap;
padding: 1px 2px 1px 2px;
vertical-align: top;
}
.sheet-boxinput{
background-color: white;
text-align: center;
font-style: normal;
font-weight: normal;
color: black;
border: 1px solid #2F5860;
white-space: nowrap;
}
.sheet-boxinputleft{
background-color: white;
text-align: left;
font-style: normal;
font-weight: normal;
color: black;
border: 1px solid #2F5860;
white-space: nowrap;
}
.sheet-boxinputlight{
background-color: white;
text-align: center;
font-style: normal;
font-weight: normal;
color: black;
border: 1px solid #7F989D;
white-space: nowrap;
}
.sheet-boxvoie{
background-color: white;
text-align: left;
font-style: normal;
font-weight: normal;
color: black;
border-top: none;
border-bottom: 1px dotted #2F5860;
border-left: 1px solid #2F5860;
border-right: 1px solid #2F5860;
white-space: nowrap;
}
.sheet-textfat{
font-family: 'Contrail One';
font-size: 15px;
font-weight: bold;
color: #2F5860;
border: none;
text-align: center;
}
.sheet-textfatleft{
font-family: 'Contrail One';
font-size: 15px;
font-weight: bold;
color: #2F5860;
border: none;
text-align: left;
padding-left: 4px;
padding-right: 4px;
}
.sheet-textbase{
font-family: 'Contrail One';
font-size: 14px;
color: #2F5860;
border: none;
text-align: center;
}
.sheet-textbasesmall{
color: #2F5860;
border: none;
font-size:11px;
}
.sheet-texttitresmall{
color: white;
font-size: 8px;
font-weight: normal;
}
button[type="roll"].sheet-boxtitre{
height:20px;
font-family: 'Contrail One';
font-size: 15px;
font-weight: normal;
text-decoration:none;
background:none;
background-image:none;
border: none;
box-shadow: none;
text-shadow: none;
}
button[type="roll"].sheet-boxtitre:hover{
font-weight: bold;
background-color:#7F989D;
border: 1px solide white;
}
button[type="roll"].sheet-neutre,
button[type="roll"].sheet-output{
color: #2F5860;
font-weight: normal;
font-size: 20px;
text-decoration:none;
background:none;
background-image:none;
border: none;
box-shadow: none;
text-shadow: none;
padding: 0px;
margin: 0px;
}
button[type="roll"].sheet-neutre:hover,
button[type="roll"].sheet-output:hover{
font-weight: bold;
}
button[type="roll"].sheet-output{
font-family: pictos;
}
button[type="roll"].sheet-output:before {
content: "";
}
input, select{
border: none;
box-shadow: none;
max-height: 22px;
padding: 0px;
margin: 0px;
}
select.sheet-carac{
width: 62px;
}
select.sheet-selectmin{
width: 18px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
input[type="number"]{
width: 60px;
text-align: right;
}
input[type="text"]{
width: 100%;
text-align: left;
padding-left: 4px;
}
input[disabled]{
background-color: white;
font-style: italic;
}
input:not([disabled]):hover{
background-color: #7F989D;
}
select:not([disabled]):hover{
background-color: #7F989D;
}
input.sheet-nobox{
border-bottom: 2px dotted #2F5860;
}
input.sheet-buff{
border-bottom: 1px dotted #000000;
}
textarea{
border: none;
box-shadow: none;
padding: 1px;
margin: 0px;
height: 1.5em;
resize: vertical;
vertical-align:top;
}
textarea.sheet-voixdesc{
resize: none;
height: 100%;
overflow-y: auto;
}
.sheet-container{
display:flex;
}
td.sheet-buff {
padding: 2px;
}
td.sheet-buff-text {
width: 12%;
}
/* TABS */
div.sheet-tab-content { display: none; }
input.sheet-tab1:checked ~ div.sheet-tab1,
input.sheet-tab2:checked ~ div.sheet-tab2,
input.sheet-tab3:checked ~ div.sheet-tab3,
input.sheet-tab4:checked ~ div.sheet-tab4,
input.sheet-tabv:checked ~ div.sheet-tabv { display: block; }
input.sheet-tab {
width: 110px;
height: 18px;
position: relative;
color: #5C2E05;
vertical-align: middle;
left: 50px;
margin: -52px;
cursor: pointer;
z-index: 2;
opacity: 0;
}
input.sheet-tab + span::before {
content: attr(title);
border: solid 1px #c8c8c8;
border-bottom-color: black;
border-bottom-width: thin;
text-align: center;
display: inline-block;
background: #fff;
width: 108px;
height: 18px;
z-index: 1;
}
input.sheet-tab:checked + span::before {
background: #dcdcdc;
border-bottom-color: #fff;
border-bottom-width: 5px
}
.sheet-block-hidden,
.sheet-block-switch:checked ~ .sheet-block-show {
display: block;
}
.sheet-block-show,
.sheet-block-switch:checked ~ .sheet-block-hidden {
display: none;
}
/* Switch -- styled checkboxes */
input[type="checkbox"].sheet-block-switch {
opacity: 0;
width: 16px;
height: 16px;
position: relative;
top: 5px;
left: 6px;
margin: -10px;
cursor: pointer;
z-index: 1;
}
input[type="checkbox"].sheet-block-switch + span::before {
margin-right: 4px;
line-height: 14px;
text-align: center;
display: inline-block;
vertical-align: middle;
content: "►";
width: 16px;
height: 16px;
font-size: 12px;
}
input[type="checkbox"].sheet-block-switch:checked + span::before {
content: "▼";
}
.sheet-block-hidden,
.sheet-block-switch:checked ~ .sheet-block-show {
display: block;
}
.sheet-block-show,
.sheet-block-switch:checked ~ .sheet-block-hidden {
display: none;
}
/* Option display : Gears */
.sheet-options-flag {
opacity: 0;
top: 0px;
right: 16px;
position: absolute;
width: 16px;
min-height: 16px;
z-index: 2;
}
.sheet-options-flag + span {
right: 16px;
position: absolute;
white-space: nowrap;
width: 16px;
height: 16px;
font-size: 16px;
font-family: pictos;
color: #BBBBBB;
cursor: pointer;
margin-top: 0px;
display: none;
}
.sheet-options-flag:hover + span,.sheet-options-flag:checked + span {
color: #C3996B;
display: block;
}
.sheet-attack:hover .sheet-options-flag + span {display: block;}
.sheet-options {display: none;}
.sheet-options-flag:checked ~ .sheet-options {display: block;}
/* TEMPLATES */
.sheet-rolltemplate-co1 .sheet-imghr{
width: 176px;
height: 4px;
padding: 0px;
margin: 0px;
}
.sheet-rolltemplate-co1 table {
width: 189px;
padding: 2px;
border: 1px solid #2F5860;
border-radius: 6px;
background-color: #ffffff;
}
.sheet-rolltemplate-co1 th {
color: #2F5860;
margin: 0px;
padding: 0px 5px 0px 5px;
font-size: 16px;
text-align: left;
font-family: 'Contrail One';
font-variant: small-caps;
font-weight: bold;
white-space: nowrap;
}
.sheet-rolltemplate-co1 .sheet-subheader {
color: #000;
font-size: 12px;
font-style: italic;
font-family: 'Verdana';
font-variant: small-caps;
text-align: right;
white-space: nowrap;
}
.sheet-rolltemplate-co1 .sheet-tcat {
font-family: 'Verdana';
font-size: 12px;
font-weight: normal;
text-align: right;
padding-right: 2px;
}
.sheet-rolltemplate-co1 td {
margin: 0px;
padding: 0px 5px 0px 5px;
font-family: 'Verdana';
font-size: 12px;
font-weight: normal;
white-space: nowrap;
}
.sheet-rolltemplate-co1 div.sheet-desc{
padding-top: 6px;
min-height: 25px;
max-height: 150px;
overflow-y: auto;
}
.sheet-rolltemplate-co1 div.sheet-text {
font-size: 90%;
font-style: italic;
text-align: justify;
text-justify: inter-word;
margin: 2px;
}
.sheet-rolltemplate-co1 .inlinerollresult {
background-color: rgba(255,255,255,0.9);
border-width: 1px;
border-color: #7F989D;
border-style: solid;
border-radius: 25%;
font-family: 'Contrail One';
font-size: 16px;
}
.sheet-rolltemplate-co1 .inlinerollresult.fullcrit {
color: #3FB315;
border-width: 2px;
border-color: #3FB315;
border-style: solid;
border-radius: 25%;
font-family: 'Contrail One';
font-size: 16px;
}
.sheet-rolltemplate-co1 .inlinerollresult.fullfail {
color: #B31515;
border-width: 2px;
border-color: #B31515;
border-style: solid;
border-radius: 25%;
font-family: 'Contrail One';
font-size: 16px;
}
.sheet-rolltemplate-co1 .inlinerollresult.importantroll {
color: #2F5860;
border-width: 2px;
border-color: #2F5860;
border-style: solid;
border-radius: 25%;
font-family: 'Contrail One';
font-size: 16px;
}