Files
roll20-character-sheets/SIG/sig.css
T
2017-06-04 20:53:04 +02:00

491 lines
11 KiB
CSS

/* COLORS
#006F5B / 0,111,91 : green
#D54134 / 213,65,52 : red
#AAABAE / : grey
#231F20 / 35,31,32 : black
#BEBDBD / 190, 189, 189 : text grey
#E8E9E9 / 232,233,233 : border grey
#E6E7E8 / 230,231,232 : circle grey
#25408F / 37,64,143 : blue
*/
div,
button,
textarea,
span,
input,
select{
box-sizing: border-box;
}
div{
margin: none;
padding: none;
background-color: transparent;
}
div.sheet-sigpcsheet{
display: block;
position: relative;
width: 1024px;
min-height: 791px;
text-align:center;
font-family: 'Candal';
background-image: url('https://raw.githubusercontent.com/NathaTerrien/roll20-wip/master/Sig/sig_bg_pc.jpg');
background-repeat:no-repeat;
background-position:top left;
background-size: 1024px 791px;
background-color: white;
}
div.sheet-absinp{
position: absolute;
}
.sheet-grbttmbrd{
border-bottom: 2px solid #E8E9E9;
}
p.sheet-atrtitle{
font-family: "Times New Roman";
font-size: 13px;
}
p.sheet-atrtitle::first-letter{
font-size: 150%;
}
div.sheet-atrcircle{
background: #E6E7E8;
width: 62px;
height: 62px;
border-radius:50%;
}
div.sheet-atrcirclein{
padding-top: 13px;
height: 61px;
display: block;
text-align: center;
vertical-align: middle;
font-family: 'Pictos';
font-size: 50px;
color: white;
}
input, textarea{
display: inline-block;
padding: none;
margin: none;
border: none;
box-shadow: none;
resize:none;
color: #006F5B;
z-index: 2;
border-radius: 0;
font-family: 'Shadows Into Light';
font-size: 17px;
letter-spacing: 0.03em;
transition: 0.2s;
}
input{
background-color: transparent;
}
input + span{
transition: 0.2s;
}
textarea{
background-color: transparent;
padding: 1px 2px 0px 2px;
overflow-y: auto;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
input:focus, input:hover, textarea:focus, textarea:hover{
box-shadow: inset 0px 1px 1px rgba(0,111,91,0.01),0 0 6px rgba(0,111,91,0.5);
background-color: rgba(0,111,91,0.05);
}
input[type="text"]{
padding: 0px 0px 0px 2px;
}
input[type="number"]{
text-align: right;
padding: 0px 2px 0px 0px;
}
input.sheet-iptbig1{
font-size:23px;
width:275px;
text-align:center;
font-weight:bold;
min-height:30px;
text-transform: capitalize;
}
input.sheet-ipttalent{
width: 274px;
text-align: center;
font-weight:bold;
}
input.sheet-ipthrtage{
width: 112px;
text-align:center;
}
input[disabled],
input[readonly] {
-moz-appearance: textfield;
background-color: transparent;
}
input.sheet-inptdice{
width: 44px;
height: 44px;
opacity: 0;
margin-top: -40px;
}
input.sheet-inptdice + span{
display: inline-block;
min-width: 50px;
min-height: 50px;
margin-left: -50px;
margin-top: -5px;
border-width: 0px 0px 2px 4px;
border-style: solid;
border-color: transparent;
border-radius: 50%;
color: transparent;
}
input.sheet-inptdice:checked + span{
border-color: #006F5B;
background: rgba(0,111,91,0.2);
}
input.sheet-inptdice:hover + span{
border-color: #D54134;
background: rgba(213,65,52,0.2);
}
input.sheet-inptsel{
width: 28px;
height: 22px;
opacity: 0;
}
input.sheet-inptsel + span{
display: block;
line-height: 22px;
width:22px;
height:22px;
text-align:center;
margin-top: -24px;
}
input.sheet-inptsel + span::before{
display: inline-block;
line-height: 22px;
width:22px;
height:22px;
text-align:center;
border-width: 3px;
border-style: solid;
border-radius:50%;
border-color: transparent;
}
input.sheet-inptsel[value="0"] + span::before{
width:24px;
font-family: "Times New Roman";
font-size: 15px;
font-weight: normal;
color: #AAABAE;
content: "0";
border-width: 1px;
border-color: black;
margin-top: 2px;
}
input.sheet-inptsel[value="0"]:checked + span::before{
font-family: "Pictos";
font-size: 20px;
font-weight: bold;
color: #006F5B;
border-color: #006F5B;
border-width: 2px;
content: "3";
}
input.sheet-inptsel:not([value="0"]) + span::before{
font-family: "Pictos";
font-size: 20px;
font-weight: bold;
color: #D54134;
content: "*";
border-color: #D54134;
}
input.sheet-inptsel:not([value="0"]):hover + span::before{
color: rgba(213,65,52,0.6);
border-color: transparent;
}
input.sheet-inptsel:checked ~ input.sheet-inptsel:not([value="0"]) + span::before{
color: transparent;
border-color: transparent;
}
input.sheet-inptsel:checked ~ input.sheet-inptsel:not([value="0"]):hover + span::before{
color: rgba(213,65,52,0.6);
border-color: transparent;
}
input[type="checkbox"].sheet-inptreset {
width: 20px;
height: 20px;
opacity: 0;
}
input.sheet-inptreset + span {
font-family: "Pictos";
font-size: 20px;
font-weight: bold;
color: #BEBDBD;
min-width: 20px;
min-height: 20px;
margin-left: -20px;
border-bottom: 1px solid transparent;
}
input.sheet-inptreset:checked + span,
input.sheet-inptreset:hover + span {
color: #D54134;
}
input.sheet-inptrlbns{
width: 20px;
height: 20px;
opacity: 0;
}
input.sheet-inptrlbns + span {
font-family: "Pictos";
font-size: 20px;
font-weight: bold;
color: #BEBDBD;
min-width: 20px;
min-height: 20px;
margin-left: -20px;
}
input.sheet-inptrlbns:checked + span {
color: #006F5B;
border-bottom: 1px solid #006F5B;
}
input.sheet-inptrlbns:hover + span {
color: rgba(0,111,91,0.6);
}
input[type=number]:disabled::-webkit-inner-spin-button,
input[type=number]:disabled::-webkit-outer-spin-button,
input[type=number]:read-only::-webkit-inner-spin-button,
input[type=number]:read-only::-webkit-outer-spin-button {
-webkit-appearance: none;
appearance: none;
margin: 0;
}
input.sheet-iptnumrond{
line-height: 36px;
font-size: 36px;
text-align: right;
padding: 0;
min-width: 50px;
min-height: 50px;
max-width: 50px;
max-height: 50px;
border-radius: 50%;
border:none;
font-weight: bold;
color: #D54134;
}
input.sheet-iptnumrond.sheet-iptblue{
color: #25408F;
}
input.sheet-iptnumrondright{
line-height: 36px;
font-size: 30px;
text-align: left;
padding: 0;
max-width: 35px;
min-width: 35px;
min-height: 50px;
max-height: 50px;
border-radius: 0px 25px 25px 0px;
border-width: 1px;
border-style: solid;
border-color: transparent;
font-weight: bold;
display: inline-block;
}
span.sheet-iptnumrondright{
display: inline-block;
color: #006F5B;
font-family: 'Shadows Into Light';
font-size: 30px;
min-height: 50px;
max-height: 50px;
height: 50px;
}
select{
background-color:rgba(255,255,255,0.5);
padding: 0px;
margin: 0px;
height: 1.4em;
line-height: 1.4em;
max-height 1.4em;
font-weight:normal;
border: none;
transition: 0.2s;
}
select.sheet-smallsel{
width: 20px;
background-color: rgba(0,111,91,0.4);
padding: 0px;
margin: 0px;
height: 1.6em;
line-height: 1.6em;
font-weight: normal;
border: none;
color: white;
}
select.sheet-smallsel:hover{
background-color: #006F5B;
}
/* ===== BUTTONS ===== */
button[type="roll"] {
box-sizing: border-box;
text-align: center !important;
vertical-align: middle !important;
padding: 0 0 !important;
color: black;
border-width: 4px;
border-style: solid;
border-color: transparent;
background:transparent;
box-shadow: none;
text-shadow: none;
-webkit-box-shadow: none;
transition: 0.3s;
}
button[type="roll"].sheet-butroll{
white-space: nowrap;
border-radius: 50%;
padding-top: 20px;
border-style: outset;
width: 64px;
height: 64px;
}
button[type="roll"].sheet-butroll:before{
content:"";
}
button[type="roll"].sheet-butroll:hover{
background: rgba(0,111,91,0.2);
border-color: #006F5B;
}
button[type="roll"].sheet-butshow{
color: #AAABAE;
}
button[type="roll"].sheet-butshow:hover{
color: white;
}
button[type="roll"].sheet-butshow:before{
font-family: "Pictos";
content: 'E';
font-size: 26px;
color: #AAABAE;
}
button[type="roll"].sheet-butshow:hover:before{
color: white;
}
button[type="roll"].sheet-butshowblack{
color: #AAABAE;
}
button[type="roll"].sheet-butshowblack:hover{
color: #231F20;
}
button[type="roll"].sheet-butshowblack:before{
font-family: "Pictos";
content: 'E';
font-size: 26px;
color: #AAABAE;
}
button[type="roll"].sheet-butshowblack:hover:before{
color: #231F20;
}
/* === TEMPLATES === */
.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 6px 6px 0px;
border-style: solid;
border-color: #231F20;
background: #231F20;
width: 220px;
}
.sheet-rolltemplate-tmpl div.sheet-tplmain div:first-child{
border-radius: 0px 6px 0px 0px;
}
.sheet-rolltemplate-tmpl div.sheet-tplmain div:last-child{
border-radius: 0px 0px 6px 0px;
}
.sheet-rolltemplate-tmpl div.sheet-sigpc{
background-color: #231F20;
color : #BEBDBD;
padding: 2px 10px 2px 10px;
font-size: 15px;
font-family: 'Contrail One';
display: inline-block;
border-bottom: 1px dotted #231F20;
width: 100%;
}
.sheet-rolltemplate-tmpl div.sheet-nme{
background-color: #231F20;
color : #BEBDBD;
padding: 2px 10px 4px 10px;
font-size: 15px;
font-family: 'Contrail One';
display: inline-block;
border-top: 1px dotted #231F20;
width: 100%;
}
.sheet-rolltemplate-tmpl div.sheet-lib{
background: linear-gradient(to left,white,#BEBDBD);
color: #231F20;
display: block;
padding: 6px;
font-family: 'Contrail One';
font-size: 13px;
text-align: left;
white-space: nowrap;
width: 100%;
}
.sheet-rolltemplate-tmpl div.sheet-desc{
background-color: white;
color: #006F5B;
display: block;
padding: 6px;
display: block;
font-family: 'Shadows Into Light';
font-size: 17px;
text-align: left;
width: 100%;
max-height: 150px;
overflow-y: auto;
}
.sheet-rolltemplate-tmpl div.sheet-droll{
background-color: white;
display:block;
padding: 6px;
font-family: 'Contrail One';
text-align: center;
white-space: nowrap;
width: 100%;
}
.sheet-rolltemplate-tmpl .inlinerollresult {
background-color: transparent;
color: #231F20;
border: none;
padding: 0px 0px;
font-weight: bold;
cursor: help;
font-size: 22px;
font-family: 'Candal';
}
.sheet-rolltemplate-tmpl .inlinerollresult.fullcrit{
border: none;
color: #006F5B;
}
.sheet-rolltemplate-tmpl .inlinerollresult.importantroll{
border: none;
color: #231F20;
}
.sheet-rolltemplate-tmpl .inlinerollresult.fullfail{
border: none;
color: #D54134;
}