Files
roll20-character-sheets/ChroniquesGalactiques/cog.css
T
2021-04-13 13:56:12 +02:00

667 lines
11 KiB
CSS

@import url('https://fonts.googleapis.com/css?family=Titillium+Web&display=swap');
/* this will be ignored by the Roll20 engine so that the next CSS selector won't be */
.workaround-for-roll20-bug {
content: 'sacrificed';
}
/* 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: 850px;
height: 5px;
padding: 0px;
/* box-shadow: 1px 1px 8px #555; */
}
.sheet-imghr-up {
width: 850px;
height: 5px;
padding: 0px;
text-align: center;
margin-top: -24px;
/* box-shadow: 1px 1px 8px #555; */
}
.sheet-boxtitre {
font-family: 'Titillium Web';
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: 'Titillium Web';
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-boxtext {
width: 266px;
padding: 2px;
}
span.sheet-label {
padding: 0;
}
input[type='text'].sheet-boxability {
width: 92%;
border-style: none;
}
textarea.sheet-boxability {
overflow-x: hidden;
}
span.sheet-boxability,
div.sheet-boxability {
white-space: pre-wrap;
font-size: x-small;
user-select: text;
}
div.sheet-boxability {
padding: 5px;
}
.sheet-textfat {
font-family: 'Titillium Web';
/* var(--main-font); */
font-size: 15px;
font-weight: bold;
color: #2f5860;
border: none;
text-align: center;
}
.sheet-textfatleft {
font-family: 'Titillium Web';
/* var(--main-font); */
font-size: 15px;
font-weight: bold;
color: #2f5860;
border: none;
text-align: left;
padding-left: 4px;
padding-right: 4px;
}
.sheet-textbase {
font-family: 'Titillium Web';
/* var(--main-font); */
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: 'Titillium Web';
/* var(--main-font); */
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 solid 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: '';
}
button[type='action'].sheet-boxtitre:hover {
border-radius: 2px;
background-color: #7f989d;
}
button.sheet-flatbtn {
border: 0px;
background-color: transparent;
background-image: none;
font-size: 12px !important;
}
button[type='roll'].sheet-iconbtn::before {
content: '';
}
button.sheet-iconbtn {
font-family: pictos;
font-size: large !important;
}
img.sheet-iconimg {
width: 16px;
}
img.sheet-iconimg:hover {
width: 32px;
}
input,
select {
border: none;
box-shadow: none;
max-height: 22px;
padding: 0px;
margin: 0px;
}
select.sheet-carac {
width: 62px;
}
select.sheet-pjstatus {
width: 75px;
}
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-fp1:checked ~ div.sheet-fp1,
input.sheet-fp2:checked ~ div.sheet-fp2,
input.sheet-fp3:checked ~ div.sheet-fp3,
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 {
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;
}
input.sheet-hidden-tab {
display: none;
height: 0px;
position: relative;
top: -10px;
}
.sheet-block-hidden,
.sheet-block-switch:checked ~ .sheet-block-show {
display: block;
}
.sheet-block-show,
.sheet-block-switch:checked ~ .sheet-block-hidden {
display: none;
}
/*Optional block switch, no margin */
.sheet-optional-block-switch {
display: none;
position: relative;
}
.sheet-optional-block {
position: relative;
}
.sheet-optional-block-switch:checked ~ .sheet-optional-block {
display: block;
}
.sheet-optional-block,
.sheet-optional-block-switch:checked {
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: -8px;
right: 0px;
position: absolute;
width: 16px;
min-height: 16px;
z-index: 2;
}
.sheet-options-flag + span {
top: -8px;
right: 0px;
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;
}
.sheet-setup-abilities {
float: right;
}
.sheet-ship-epbox {
margin: 0;
padding: 0;
float: left;
}
/* TEMPLATES */
.sheet-rolltemplate-co1 .sheet-imghr {
width: 100%;
height: 4px;
padding: 0px;
margin: 0px;
}
.sheet-rolltemplate-co1 table {
width: 100%;
padding: 2px;
/* border: 1px solid #2F5860; */
/* border-radius: 6px; */
background-color: #ffffff;
border-collapse: collapse;
}
.sheet-rolltemplate-co1 .sheet-roundtable {
border: 1px solid #2f5860;
border-radius: 6px;
overflow: auto;
}
.sheet-rolltemplate-co1 th {
color: #2f5860;
margin: 0px;
padding: 0px 5px 0px 5px;
font-size: 16px;
text-align: left;
font-family: 'Titillium Web';
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: 250px;
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: 'Titillium Web';
font-size: 16px;
}
.sheet-rolltemplate-co1 .inlinerollresult.fullcrit {
color: #3fb315;
border-width: 2px;
border-color: #3fb315;
border-style: solid;
border-radius: 25%;
font-family: 'Titillium Web';
font-size: 16px;
}
.sheet-rolltemplate-co1 .inlinerollresult.fullfail {
color: #b31515;
border-width: 2px;
border-color: #b31515;
border-style: solid;
border-radius: 25%;
font-family: 'Titillium Web';
font-size: 16px;
}
.sheet-rolltemplate-co1 .inlinerollresult.importantroll {
color: #2f5860;
border-width: 2px;
border-color: #2f5860;
border-style: solid;
border-radius: 25%;
font-family: 'Titillium Web';
font-size: 16px;
}