Files
roll20-character-sheets/Shadowrun6th-German/views/CSS/sheet.scss
T
Valanor d27dc0de92 Minor Bugfixes
Initativerolle add to Tracker
Calculation of Total Attributevalues
2021-04-12 11:19:50 +02:00

2050 lines
44 KiB
SCSS

@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
/* Roll20-Standards überschreiben funktioniert nicht, daher müssen Klassen sein*/
* {
background-color: transparent;
box-sizing: border-box; /*https://www.w3schools.com/css/css3_box-sizing.asp*/
}
.charsheet{
padding: 0px;
font-family: "Roboto Condensed",sans-serif;
font-weight: 400;
--base-color: #906;
--text-color: #000;
--text-gray: #404040;
--base-backcolor2: #FFFFFF;
--base-backcolor3: #edeaef;
--select-backcolor: #460141;
--base-backcolor:#e0f2f8;//#D9EBF4;
--base-border-color:#E5E5E5;
--section-backcolor:#cacaca;
--section-backcolor-select: #d8d8d8;
--base-backcolor-alternate-color:#c1bebe;
--base-warning-color:#B31515;
--base-crit-color:#3FB315;
--box-shadow: #906;
--boxsize:20px;
--base-padding: 0.4rem;
--base-padding-neg: -0.4rem;
--fontsize-button: 1.1rem;
--fontsize-medium:12px;
--fontsize-base: 1.2rem;
--fontsize-seltab: 1.4rem;
--fontsize-hover: 1.8rem;
.logo{
background-image: url(https://www.shadowrun6.de/templates/shadowrun6/img/sr-logo-schriftzug.png);
background-repeat: no-repeat;
background-size: 250px;
background-position: right top;
width: 350px;
height: 150px;
position: absolute;
right: 50px;
top: 75px;
}
input[value="1"].largefont~*{
--fontsize-button: 1.3rem;
--fontsize-medium:14px;
--fontsize-base: 1.6rem;
--fontsize-seltab: 1.6rem;
}
input[value="1"].darkstyle~*{
--base-color: rgb(188, 194, 188);
--text-color: rgb(105, 105, 105);
--text-gray: #afafaf;
--base-backcolor2: #414141;
--base-backcolor3: #555744;
--select-backcolor: #460141;
--base-backcolor:#262b2b;
--base-border-color:#E5E5E5;
--box-shadow: #000;
--section-backcolor:rgb(88, 2, 60);
--section-backcolor-select: rgb(80 80 80);
--base-backcolor-alternate-color: rgb(88, 2, 60);
--base-warning-color:#B31515;
--base-crit-color:#3FB315;
}
/* Clear default button styling */
button.direction {
margin: 0;
overflow: visible;
text-transform: none;
border-style: none;
padding: 0;
background: transparent;
cursor: pointer;
}
/* condition monitor */
span.unchecked{
display: none;
}
input.direction:not([value="checked"]) + button.healthbutton > span.checked,
input.direction:not([value="checked"]) + button.healthbutton-startofblock > span.checked{
color:transparent;
transition: color 0.5s;
}
input.direction[value="checked"] + button.healthbutton > span.checked,
input.direction[value="checked"] + button.healthbutton-startofblock > span.checked{
color:var(--base-color);
transition: color 0.5s;
}
button[type=action].healthbutton:hover span.checked,button[type=action].healthbutton-startofblock:hover span.checked{
color: var(--base-backcolor2) !important;
}
/* action monitor*/
input.direction:not([value="struck"]) + button.actionbutton > span.struck,
input.direction:not([value="unstruck"]) + button.actionbutton > span.unstruck,
input.direction:not([value="struck"]) + button.minoractionbutton > span.struck,
input.direction:not([value="unstruck"]) + button.minoractionbutton > span.unstruck{
display: none;
}
input[type=checkbox]{
margin-left: 5px;
}
input[type=checkbox].toggle-hide:checked + h4::before,
input[type=checkbox].toggle-hide:checked + div h4.collapsearrow::before{
content: "►";
// color: var(--base-color);
font-size: 0.95rem;
transform: rotate(90deg);
display: inline-block;
transition: transform 0.5s;
margin-right: 10px;
}
input[type=checkbox].toggle-hide:not(:checked) + h4::before,
input[type=checkbox].toggle-hide:not(:checked) + div h4.collapsearrow::before{
content: "►";
// color: var(--base-color);
font-size: 0.95rem;
transform: rotate(0deg);
transition: transform 0.5s;
display: inline-block;
margin-right: 10px;
}
input[type=checkbox].toggle-hide:checked + h4.invert::before{
content: "►";
// color: var(--base-color);
font-size: 0.95rem;
transform: rotate(0deg);
display: inline-block;
transition: transform 0.5s;
margin-right: 10px;
}
input[type=checkbox].toggle-hide:not(:checked) + h4.invert::before{
content: "►";
// color: var(--base-color);
font-size: 0.95rem;
transform: rotate(90deg);
transition: transform 0.5s;
display: inline-block;
margin-right: 10px;
}
input[type=checkbox].toggle-hide + h4.invert:hover::before{
font-size: var(--fontsize-hover);
}
label.collapse h4.invert:hover::before{
color: var(--text-color);
}
div.togglesection{
width: 100%;
}
div.rangeWeapon{
max-height: 300px;
transition: max-height 0.5s ease-in-out;
}
label.collapse{
max-width: 25px;
margin-bottom: 0px;
}
div.rangeWeapon label{
display: inline;
width: 20px;
}
input[type=checkbox].toggle-hide-not:checked + div.rangeWeapon,
input[type=checkbox].toggle-hide:checked + div.rangeWeapon{
max-height: 24px;
overflow: hidden;
}
input[type=checkbox].toggle-hide-not:checked + div.collapseble,
input[type=checkbox].toggle-hide:checked + div.collapseble{
max-height: 29px;
overflow: hidden;
}
div.collapseble{
max-height: 300px;
transition: max-height 1s;
}
div.conditionmonitorbutton{
padding: 0px;
}
input[type=checkbox].toggle-hide:checked + div.conditionmonitorbutton,
input[type=checkbox].toggle-hide:not(:checked) + div.togglesection,
input[type=checkbox].toggle-hide-not:not(:checked) + div.togglesection,
input[type=checkbox].toggle-hide-invert:checked + div.togglesection,
input[type=checkbox].toggle-hide-invert-not:checked + div.togglesection,
input[type=checkbox].toggle-hide:not(:checked) + div.table-row-flat,
input[type=checkbox].toggle-hide:not(:checked) + div.table-row,
input[type=checkbox].toggle-hide:checked + button.iconbutton,
input[type=checkbox].toggle-hide-invert:not(:checked) + button.iconbutton{
display: none;
}
input[type=checkbox]{
-webkit-appearance: none;
appearance: none;
outline-style: none;
font-size: 1.8rem;
background-color: var(--base-backcolor2);
border:solid;
border-radius: 1px;
border-width: 1px;
border-color: var(--base-backcolor2);
transition: font-size 0.25s, color 0.25s, border-color 0.25s;
color:var(--text-color);
width: 13px;
height: 13px;
line-height: 7px;
}
input[type=checkbox]::after
{
/* font-family: "pictos"; */
content: " ";
}
input[type=checkbox]:hover{
border-color:var(--base-color);
}
input[type=checkbox]:hover:not(:checked)::after{
font-family: "pictos";
content: "3";
opacity: 0.5;
color:var(--base-crit-color);
}
input[type=checkbox]:checked::after
{
color:var(--base-crit-color);
font-family: "pictos";
content: "3";
}
input[type=checkbox]:hover:checked:not(:focus):after{
font-family: "pictos";
content: "3";
opacity: 0.5;
color:var(--base-warning-color);
}
input[type=checkbox].eye{
-webkit-appearance: none;
appearance: none;
font-size: var(--fontsize-base);
background-color: transparent;
border:none;
transition: font-size 0.25s, color 0.25s;
color:var(--text-color);
vertical-align: baseline;
}
input[type=checkbox].eye:hover{
font-size: var(--fontsize-seltab);
color:var(--base-color);
}
input[type=checkbox].eye::after
{
font-family: "pictos";
content: "E";
color:var(--text-color);
}
input[type=checkbox].eye:checked::after
{
font-family: "pictos";
content: "d";
color:var(--text-color);
}
input[type=checkbox].eye:hover:checked:not(:focus):after{
font-family: "pictos";
content: "d";
opacity: 1;
color:var(--base-color);
}
input[type=checkbox].eye:hover:not(:checked)::after{
font-family: "pictos";
content: "E";
opacity:1;
color:var(--base-color);
}
div.edgetoken{
filter:grayscale(0) ;
transition: filter 0.5s;
}
div.edgetoken label{
padding: 0px;
margin-bottom: 1px;
}
div.edgetoken:hover,div.edgetoken:hover ~ div.edgetoken{
filter:blur(1px);
transition: filter 0.5s;
}
div.edgetoken label img{
width: 24px;
height: 24px;
}
input[type=checkbox].toggle-hide-edge:checked + div.edgetoken{
filter:grayscale(1) brightness(2) opacity(0.25);
}
input[type=checkbox].toggle-hide-edge:checked + div.edgetoken:hover{
filter:grayscale(0.7)
}
.toggle-hide:not(:checked) + input,
.toggle-hide:not(:checked) + select {display:none;}
input[type=checkbox].toggle-hide-not:not(:checked) + div.togglesection,
input[type=checkbox].toggle-hide-invert:checked + div.togglesection,
button[type=action] {
background-image: none;
border-color: var(--base-backcolor2);
border-style: solid;
border-width: 1px;
color: var(--base-color);
text-shadow: none;
outline-style:none;
transition: border-color 0.5s;
vertical-align: middle;
}
button[type=action]:hover {
border-color: var(--base-color);
}
div.rightalign{
position: relative;
float: right;
}
button[type=action].rightalign {
position: relative;
float: right;
}
button[type=action].slim{
height: 20px;
}
button[type=action].togglebutton {
background-color:var(--select-backcolor);
font-size: var(--fontsize-button);
margin-bottom: 2px;
/*margin-left: 50px;*/
margin-right: 1px;
text-align: left;
width: 100px;
}
button[type=action].spelltogglebutton,label input span.spelltogglebutton {
background-color: var(--base-backcolor2);
border: 0px;
font-size: var(--fontsize-button);
height: 18px;
margin-left: 5px;
margin-top: 2px;
text-align: left;
width: 133px;
}
button[type=action].mini-togglebutton {
background-color: var(--base-backcolor2);
border: 0px;
font-size: var(--fontsize-button);
height: 18px;
margin-bottom: 2px;
/*margin-left: 50px;*/
margin-right: 1px;
padding: 2px 1px;
text-align: left;
width: 50px;
}
button[type=action].bluebutton {
background-image: none;
border: 1px solid var(--base-backcolor);
color: var(--base-color);
font-size: var(--fontsize-button);
padding: 0px;
padding-left: 3px;
padding-right: 3px;
text-shadow: none;
}
button[type=action].headlinebutton {
background-color: var(--base-backcolor2);
background-image: none;
border: 2px solid var(--base-backcolor2);
border-top-left-radius: 10px;
color: var(--base-color);
height: 22px;
line-height: 18px;
/* padding: 2px;*/
transition: border-color 1s, border-top-left-radius 1s,background-color 1s,color 1s;
}
button[type=action].headlinebutton:hover {
border-color: var(--base-color);
}
button[type=action].headlinebutton:focus {
border-color: var(--base-color);
outline-style: none;
}
/* show the selected tab */
.tabstoggle[value="copyright"] ~ button.tabcopyright,
.tabstoggle[value="chardata"] ~ button.tabchardata,
.tabstoggle[value="attributes"] ~ button.tabattributes,
.tabstoggle[value="skills"] ~ button.tabskills,
.tabstoggle[value="attacks"] ~ button.tabattacks,
.tabstoggle[value="magic"] ~ button.tabmagic,
.tabstoggle[value="matrix"] ~ button.tabmatrix,
.tabstoggle[value="rigging"] ~ button.tabrigging,
.tabstoggle[value="contacts"] ~ button.tabcontacts,
.tabstoggle[value="gear"] ~ button.tabgear,
.tabstoggle[value="notes"] ~ button.tabnotes,
.tabstoggle[value="configuration"] ~ button.tabconfig {
background-color: var(--base-color);
color: var(--base-backcolor2);
border-color: var(--base-color);
font-size: var(--fontsize-seltab);
}
button[type=action].edgebutton {
background-image: none;
border: 2px solid var(--base-backcolor2);
color: var(--base-color);
text-align: center;
line-height: 18px;
padding: 2px;
min-width: 80px;
max-width: 80px;
}
button[type=action].edgebuttonshort {
background-image: none;
border: 1px solid var(--base-backcolor2);
color: var(--base-color);
text-align: center;
line-height: 18px;
padding: 2px;
min-width: 22px;
max-width: 22px;
transition: border 0.5s;
}
button[type=action].edgebuttonshort:hover {
border: 1px solid var(--base-color);
}
button[type=action].actionbutton {
background-image: none;
border: 2px solid var(--base-backcolor2);
color: var(--base-color);
line-height: 18px;
margin-top: 5px;
max-width: 121px;
min-width: 121px;
padding: 2px;
text-align: center;
transition: border 0.5s;
}
button[type=action].minoractionbutton {
background-image: none;
border: 2px solid var(--base-backcolor2);
color: var(--base-color);
font-size: var(--fontsize-button);
line-height: 14px;
margin-top: 5px;
max-width: 46px;
min-width: 46px;
padding: 2px;
text-align: center;
transition: border 0.5s;
}
button[type=action].resetbutton {
background-image: none;
border: 2px solid var(--base-backcolor2);
color: var(--base-color);
text-align: center;
line-height: 18px;
padding: 2px;
min-width: 90px;
max-width: 90px;
vertical-align: sub;
transition: border 0.5s;
}
button[type=action].minoractionbutton:hover,button[type=action].actionbutton:hover,button[type=action].resetbutton:hover {
border: 2px solid var(--base-color);
transition: border 0.5s;
}
button[type=action].longer {
max-width: 50px;
min-width: 50px;
}
button[type=action].healthbutton,button[type=action].healthbutton-startofblock {
background-image: none;
border: 1px solid var(--base-backcolor2);
color: var(--base-color);
font-size: var(--fontsize-medium);
height: var(--boxsize);
margin-left: 0px;
max-width: var(--boxsize);
min-width: var(--boxsize);
padding: 2px;
padding-top: 0px;
vertical-align: middle;
transition: border 0.2s,color 0.2s;
}
button[type=action].healthbutton:hover,button[type=action].healthbutton-startofblock:hover {
border: 2px solid var(--base-color);
color: var(--base-backcolor2);
}
button[type=roll] {
background-color: var(--base-backcolor2);
background-image: none;
color: var(--base-color);
font-size: 1.3em;
text-shadow: none;
box-shadow: none;
}
button[type=roll] span {
vertical-align: middle;
}
button[type=roll].magicrollbutton {
width: 138px;
}
button[type=roll].shortcutbutton {
background-color: var(--base-backcolor2);
font-size: var(--fontsize-base);
margin-bottom: 7px;
/*margin-left: 50px;*/
margin-right: 1px;
text-align: left;
width: 245px;
}
button[type=roll].postbutton {
background-color: var(--base-backcolor2);
font-size: 0.8em;
margin-left: 1px;
margin-right: 1px;
text-align: left;
width: 200px;
}
button[type=roll].smallbutton {
background-color: var(--base-backcolor2);
font-size: 0.8em;
margin-left: 1px;
margin-right: 1px;
text-align: left;
width: 42px;
}
button[type=roll].iconbutton {
FONT-WEIGHT: 100;
background-color: transparent;
border-radius: 0%;
border: none;
color: var(--text-color);
/* font-size: 0.8em; */
margin-left: 1px;
margin-right: 1px;
text-align: left;
outline-style: none;
width:25px;
height: 25px;
transition: color 0.5s, background-color 0.5s;
box-shadow: none;
}
button[type=roll].iconbutton::before,
button[type=roll].iconbutton50::before,
button[type=roll].iconbutton70::before,
button[type=roll].longbutton::before,
button[type=roll].mediumlongbutton::before,
button[type=roll].mediumbutton::before,
button[type=roll].widesmallbutton::before,
button[type=roll].magicrollbutton::before,
button[type=roll].shortcutbutton::before,
button[type=roll].smallbutton::before {
content: "E";
font-family: "dicefontd6";
}
button[type=roll].postbutton::before{
content: "w";
font-size: 1.3rem;
font-family: "pictos";
}
button[type=roll].inibutton::before{
content: "t";
font-size: 1.3rem;
font-family: "pictos";
}
button[type=roll].iconbutton50 {
FONT-WEIGHT: 100;
background-color: transparent;
border-radius: 0%;
border: none;
color: var(--text-color);
/* font-size: 0.8em; */
margin-left: 1px;
margin-right: 1px;
text-align: left;
outline-style: none;
width:50px;
height: 25px;
transition: color 0.2s, background-color 0.2s;
box-shadow: none;
overflow: hidden;
}
button[type=roll].iconbutton50 span.red{
line-height: inherit;
vertical-align: bottom;
}
button[type=roll].iconbutton70 {
FONT-WEIGHT: 100;
background-color: transparent;
border-radius: 0%;
border: none;
color: var(--text-color);
/* font-size: 0.8em; */
margin-left: 1px;
margin-right: 1px;
text-align: left;
outline-style: none;
width:70px;
height: 25px;
transition: color 0.2s, background-color 0.2s,font-size 0.2s;
overflow: hidden;
}
button[type=roll].iconbutton:hover,button[type=roll].iconbutton50:hover,button[type=roll].iconbutton70:hover {
color: var(--base-color);
font-size: 1.5em;
}
button[type=roll].widesmallbutton {
background-color: var(--base-backcolor2);
font-size: 0.8em;
margin-left: 1px;
margin-right: 1px;
text-align: left;
width: 52px;
}
button[type=roll].mediumbutton {
background-color: var(--base-backcolor2);
font-size: 0.8em;
margin-left: 1px;
margin-right: 1px;
text-align: left;
width: 72px;
}
button[type=roll].mediumlongbutton {
background-color: var(--base-backcolor2);
font-size: 0.8em;
margin-left: 1px;
margin-right: 1px;
text-align: center;
width: 130px;
}
button[type=roll].longbutton {
background-color: var(--base-backcolor2);
font-size: 0.8em;
margin-left: 1px;
margin-right: 1px;
text-align: center;
width: 195px;
}
button[type=roll].illigalbutton,button[type=roll].illigalbutton span {
color:var(--base-warning-color);
font-weight: 700;
}
button[type=roll].hiddensmallbutton {
font-size: 0.8em;
margin-left: 1px;
margin-right: 1px;
text-align: left;
width: 72px;
visibility: hidden;
}
button[type=roll].invisbutton {
display: none;
font-size: 0.8em;
margin-left: 1px;
margin-right: 1px;
text-align: left;
width: 72px;
}
div {
background-color: transparent;
}
div.repcontainer[data-groupname="repeating_meleeweapons"] > .repitem,
div.repcontainer[data-groupname="repeating_rangeweapons"] > .repitem,
div.repcontainer[data-groupname="repeating_vehicle"] > .repitem,
div.repcontainer[data-groupname="repeating_sprites"] > .repitem,
div.repcontainer[data-groupname="repeating_contacts"] > .repitem,
div.repcontainer[data-groupname="repeating_armor"] > .repitem,
div.repcontainer[data-groupname="repeating_cyberware"] > .repitem,
div.repcontainer[data-groupname="repeating_gear"] > .repitem,
div.repcontainer[data-groupname="repeating_perks"] > .repitem,
div.repcontainer[data-groupname="repeating_adeptpowers"] > .repitem,
div.repcontainer[data-groupname="repeating_metamagic"] > .repitem,
div.repcontainer[data-groupname="repeating_focus"] > .repitem,
div.repcontainer[data-groupname="repeating_granates"] > .repitem,
div.repcontainer[data-groupname="repeating_spirits"] > .repitem
{
background-color: var(--base-backcolor3);
border: none;
display: inline-block;
margin: 5px;
padding: 2px;
box-shadow: 2px 2px 2px var(--box-shadow);
transition: max-height 1s;
width: 90%;
}
div.repcontainer[data-groupname="repeating_meleeweapons"] > .repitem {
width: 200px;
}
div.repcontainer[data-groupname="repeating_rangeweapons"] > .repitem {
width: 700px;
max-height: 500px;
}
div.repcontainer[data-groupname="repeating_contacts"] > .repitem,
div.repcontainer[data-groupname="repeating_armor"] > .repitem,
div.repcontainer[data-groupname="repeating_gear"] > .repitem,
div.repcontainer[data-groupname="repeating_cyberware"] > .repitem {
margin: 0px;
margin-left: 5px;
margin-bottom: 3px;
min-width: 700px;
width: 720px;
}
div.repcontainer[data-groupname="repeating_vehicle"] > .repitem
{
margin-left: 5px;
margin-bottom: 3px;
min-width: 700px;
max-height: 500px;
}
div.repcontainer[data-groupname="repeating_spirits"] > .repitem{
margin-left: 5px;
margin-bottom: 3px;
min-height: 25px;
min-width: 700px;
max-height: 500px;
}div.repcontainer[data-groupname="repeating_sprites"] > .repitem{
margin-left: 5px;
margin-bottom: 3px;
min-width: 700px;
max-height: 500px;
}
div.repcontainer[data-groupname="repeating_spells"] > .repitem{
height: auto;
min-width: 700px;
max-height: 500px;
}
div.spellbox{
background-color: var(--base-backcolor3);
border: none;
display: inline-block;
margin: 5px;
padding: 2px;
box-shadow: 2px 2px 2px var(--box-shadow);
transition: max-height 1s;
width: 90%;
max-height: 300px;
transition: max-height 1s;
}
div.wholedocument{
background-color: var(--base-backcolor);
border: none;
/*padding: 5px;*/
// padding-bottom: 50px;
box-shadow: 8px 9px 10px 0px #949494;
border-bottom: 30px solid var(--base-backcolor);
border-top: 30px solid var(--base-backcolor);
/* border-left: transparent solid 30px; */
border-radius: 0px 30px 15px 0px;
}
/*allgemeine Dinge*/
div.inline {
display: inline-block;
}
div.center {
text-align: center;
}
div.margin-fifty {
margin-left: 50px;
}
div.slider-label,span.slider-label {
display:inline-block;
color: var(--text-gray) ;
font-size: var(--fontsize-medium);
line-height: 14px;
}
div.whiteborder {
border: 1px solid var(--base-backcolor2);
margin-bottom: 5px;
margin-top: 5px;
width: 100%;
line-height: 22px;
}
div.edgetokengraphic{
background: radial-gradient( 5px -9px, circle, #906 8%, black 26px );
background: -moz-radial-gradient( 5px -9px, circle, #906 8%, black 26px );
background: -ms-radial-gradient( 5px -9px, circle, #906 8%, black 26px );
background: -o-radial-gradient( 5px -9px, circle, #906 8%, black 26px );
background: -webkit-radial-gradient( 5px -9px, circle, #906 8%, black 26px );
background-color: red;
border: 2px solid #906;
border-radius: 12px; /* one half of ( (border * 2) + height + padding ) */
box-shadow: 1px 1px 1px black;
color: white;
font-size: 1.0rem;
line-height: 12px;
height: 23px;
padding: 4px 3px 0 3px;
text-align: center;
min-width: 23px;
}
div.header,
div.range-table {
display: table;
padding: var(--base-padding);
width: inherit;
}
div.tabpanel{
display: flex;
flex-wrap: wrap;
width: inherit;
background-color: var(--base-backcolor-alternate-color);
border-bottom: solid var(--base-color);
}
div.sectionheader{
padding:var(--base-padding);
background-color: var(--section-backcolor);
border-bottom-color: var(--base-color);
border-bottom-width: thin;
border-bottom-style: solid;
border-radius: 10px 0px 0px 10px;
margin-left: 3px;
}
div.sectionheaderstatic{
padding:var(--base-padding);
background-color: var(--section-backcolor);
border-bottom-color: var(--base-color);
border-bottom-width: thin;
border-bottom-style: solid;
border-radius: 10px 0px 0px 10px;
}
div.sectionheader + input + div.togglesection{
padding-top: 10px;
padding-left: 10px;
box-shadow: inset 9px 7px 9px -6px var(--text-gray);
border-left: solid 5px;
/* margin-left: 3px; */
border-radius: 10px 0px 0px 10px;
}
div.sectionheader:hover {
background-color: var(--section-backcolor-select);
margin-left: 0px;
}
div.sectionheader label{
margin: 0px;
}
div.repeating-header{
width: 720px;
}
div.repeating-header90{
width: 90%;
margin-left: var(--base-padding);
}
div.flexcontainer{
display: flex;
align-items: center;
}
div.flexcontainer>*{
flex: 1;
align-items: center;
}
div.flex-center{
display: flex;
align-items: center;
justify-content: center;
}
div.flex-table{
flex-direction: row;
flex-wrap: wrap;
padding: var(--base-padding);
align-self: flex-start;
}
div.flex-table >div{
padding-bottom: var(--base-padding);
}
div.flex--al-center{
text-align: center;
}
div.flex--warp{
flex-wrap: wrap;
}
span.flex--half,div.flex--half,
input.flex--half,button.flex--half{
flex: 0.5;
}
@for $flexwidth from 2 to 20 {
span.flex--#{$flexwidth},div.flex--#{$flexwidth},
input.flex--#{$flexwidth},button.flex--#{$flexwidth}{
flex: #{$flexwidth};
}
}
span.flex--60,div.flex--60,
input.flex--60,button.flex--60{
flex:auto;
flex-basis: 60px;
}
span.flex--r,div.flex--r{
text-align: right;
padding-right: var(--base-padding);
}
span.flex--center,div.flex--center{
align-items: center;
}
div.innertable {
display: table;
width: 100%;
}
div.innertable-stagger {
display: table;
margin-bottom: 5px;
width: auto;
}
div.innertable-stagger-flat {
display: table;
font-size: 2px;
margin-bottom: 0px;
width: auto;
}
div.header-centered {
display: table;
margin: 0 auto;
width: auto;
}
div.header-row,
div.range-ranges-row {
display: table-row;
width: 100%;
}
div.table-row-group{
display: table-row-group;
}
div.header-hugecell {
display: table-cell;
width: 300px;
}
div.header-monitorcell {
display: table-cell;
width: 480px;
}
div.header-monitortitlecell {
display: table-cell;
width: 70px;
}
div.header-fullcell {
display: table-cell;
width: 250px;
}
div.table-cell-one-third{
display: table-cell;
width: 33%;
}
div.header-shortcell {
display: table-cell;
width: 180px;
}
div.table-cell-one-forth{
display: table-cell;
height: 20px;
vertical-align: center;
width: 25%;
}
div.table-cell-one-fifth{
display: table-cell;
height: 20px;
vertical-align: center;
width: 20%;
}
div.table-cell-one-sixth{
display: table-cell;
height: 20px;
vertical-align: center;
width: 16.6%;
}
div.table-cell-adept-description {
display: table-cell;
padding-left: 10px;
width: 140px;
}
div.header-longcell {
display: table-cell;
padding: 2px;
width: 450px;
}
div.header-cell,
div.table-cell-adept-name{
display: table-cell;
padding: 2px;
width: 250px;
}
div.header-cell-huge {
display: table-cell;
padding: 2px;
width: 100px;
}
div.table-row{
display: table-row;
height: 25px;
line-height: 14px;
div{
vertical-align: middle;
}
}
div.table-row-flat{
display: table-row;
height: 18px;
}
div.table-row-superflat{
display: table-row;
height: 4px;
}
div.innertable .repcontainer {
display: table-row-group;
}
div.innertable .itemcontrol {
height: auto !important;
}
div.innertable .repitem{
display: table-row;
height: 25px;
line-height: 14px;
}
div.innertable .repcontrol{
display: inline-block;
}
div.innertable .itemcontrol{
width: 80px!important;
}
div.table-fullrow {
display: table-cell;
padding: 2px;
width: inherit;
}
div.table-cell {
display: table-cell;
/* padding: 2px;*/
width: 3.3rem;
}
div.table-cell-middleinput{
display: table-cell;
/* padding: 2px;*/
width: 6rem;
height: 25px;
}
div.table-cell-long{
display: table-cell;
/* padding: 2px;*/
width: 12rem;
}
div.table-cell-center {
display: table-cell;
padding: 2px;
text-align: center;
}
div.table-cell-full {
display: table-cell;
padding: 2px;
width: 750px;
}
div.table-cell-threequarter {
display: table-cell;
padding: 2px;
width: 700px;
}
div.table-cell-half {
display: table-cell;
width: 50%;
}
div.table-cell-half {
display: table-cell;
width: 50%;
}
div.table-cell-threequater {
display: table-cell;
width: 75%;
}
div.table-cell-full {
display: table-cell;
width: 100%;
}
.cell-adeptpowername{
width: 240px;
}
/*https://wiki.roll20.net/CSS_Wizardry#Icon_Fonts*/
.pictos{
font-family: "pictos";
}
.pictos--c{
font-family: "Pictos Custom";
}
.pictos--3{
font-family: "pictos three";
}
.pictos--fontello{
font-family: "fontello";
}
.dicefontd4{
font-family: "dicefontd4";
}
.dicefontd6{
font-family: "dicefontd6";
}
.dicefontd8{
font-family: "dicefontd8";
}
.dicefontd10{
font-family: "dicefontd10";
}
.dicefontd20{
font-family: "dicefontd20";
}
.dicefontd30{
font-family: "dicefontd30";
}
.dicefontd8{
font-family: "dicefontd8";
}
div.table-cell-huge-center,
div.table-cell-adept-showchat,
div.table-cell-adept-longdesc{
display:table-cell;
padding: 2px;
text-align: center;
width: 120px;
}
div.table-cell-quarter {
display: table-cell;
padding: 2px;
width: 25%;
}
div.table-cell-skill-rolls{
display: table-cell;
padding: 2px;
text-align: center;
width: 50%;
min-width: 100px;
}
div.table-cell-speedup-rolls{
display: table-cell;
padding: 2px;
text-align: center;
}
div.table-cell-adept-pp {
display: table-cell;
margin: 0 auto;
padding: 2px;
text-align: center;
width: 40px;
}
div.table-cell-skill-name,
div.table-cell-skill-hide {
display: table-cell;
padding: 2px;
width: 150px;
}
div.table-cell-skill-spec,
div.table-cell-skill-exp{
display: table-cell;
width: 100px;
min-width: 75px;
}
div.table-cell-skill-attribute {
display: table-cell;
width: 90px;
}
div.table-cell-skill-total{
display: table-cell;
font-weight: 400;
padding: 2px;
text-align: center;
width: 45px;
}
div.table-cell-skill-total input {
font-weight: 400;
}
div.skill-electronics-toggle-on {
height: 10px;
line-height: 10px;
}
div.table-cell-skill-level,
div.table-cell-skill-mod,
div.table-cell-adept-level{
display: table-cell;
padding: 2px;
width: 40px;
}
div.table-cell-tiny {
height: 4px;
padding: 0px;
}
div.range-textbox-colossal {
display: inline-block;
font-size: var(--fontsize-button);
width: 150px;
}
div.range-textbox-huge {
display: inline-block;
font-size: var(--fontsize-button);
width: 110px;
}
div.range-textbox-huge-center,
div.box-wilddie-ranged {
display: inline-block;
font-size: var(--fontsize-button);
text-align: center;
width: 100px;
}
div.melee-textbox-large,
div.range-textbox-large{
display: inline-block;
font-size: var(--fontsize-button);
width: 110px;
}
div.melee-textbox-medium,
div.range-textbox-medium,
div.radio-em-visible,
div.radio-hm-visible,
div.radio-sm-visible,
div.radio-am-visible {
display: inline-block;
font-size: var(--fontsize-button);
width: 50px;
}
div.melee-textbox-small,
div.range-textbox-small {
display: inline-block;
font-size: var(--fontsize-button);
width: 30px;
}
div.range-textbox-tiny{
display: inline-block;
font-size: var(--fontsize-button);
width: 5px;
}
div.smallspacer {
display: inline-block;
width: 30px;
}
div.smallspacertwenty {
display: inline-block;
width: 15px;
}
div.smallerspacer {
display: inline-block;
width: 7px;
}
div.tinyspacer {
display: inline-block;
width: 4px;
}
fieldset {
background: transparent; }
h4 {
color: var(--base-color);
display: inline;
}
h6 {
color: var(--base-color);
display: inline;
padding-left: 7px;
padding-right: 7px;
}
/*NEVER TRY TO CSS INPUT TYPE=CHECKBOX!*/
/*Config input*/
input {
background-color: var(--base-backcolor2);
border-color: var(--base-backcolor2);
border-radius: 0px;
color: var(--base-color);
font-size: var(--fontsize-button);
font-weight: 400;
padding: 1px;
text-align: center;
height: 25px;
transition: border-color 1s;
}
input[type=text]{
text-align: left;
height: 20px;
}
input[type=number]{
height: 20px;
}
input:disabled, input:read-only{
cursor:text;
}
input:focus,input:hover,input:disabled:focus, input:disabled:hover {
/*background-color: var(--bg-input);*/
border-color: var(--base-color);
outline-style: none;
}
input[type=number].right {
float: right;
margin-right: 5px;
}
input[type=number].smallinput {
width: 3.0em;
/* margin-right: -3px; */
}
input[type=number].middleinput {
/* height: 20px; */
width: 6.0em;
margin-right: -3px;
}
input[type=number].tinyinput {
border: 0px;
font-size: var(--fontsize-button);
height: 18px;
padding: 0px;
width: 1.0em;
}
input[type=number].hiddeninput {
display:none;
}
input[type=text].adeptpowername{
font-size: var(--fontsize-button);
line-height: 0.8em;
margin: 0px;
padding: 0px;
padding-left: 5px;
text-align: left;
width: 240px;
}
input[type=text].komplexformname{
font-size: var(--fontsize-button);
line-height: 0.8em;
height: 18px;
margin: 0px;
padding: 0px;
padding-left: 5px;
text-align: left;
width: 100px;
}
input[type=text].weaponname{
font-size: var(--fontsize-button);
line-height: 0.8em;
height: 18px;
margin: 0px;
padding: 0px;
padding-left: 5px;
text-align: left;
width: 140px;
}
input[type=text].spellname{
font-size: var(--fontsize-medium);
line-height: 0.8em;
height: 18px;
margin: 0px;
padding: 0px;
text-align: left;
width: 143px;
}
input[type=text].mediumtext{
font-size: var(--fontsize-medium);
line-height: 0.8em;
height: 18px;
margin: 0px;
padding: 0px;
text-align: left;
width: 143px;
}
input[type=text].spellrules{
border: 0px;
font-size: var(--fontsize-button);
line-height: 0.8em;
height: 18px;
margin: 0px;
padding: 0px;
padding-left: 5px;
text-align: left;
width: 60px;
}
input[type=text].shorttext {
font-size: var(--fontsize-button);
line-height: 0.8em;
height: 18px;
margin: 0px;
padding: 0px;
padding-left: 5px;
text-align: center;
width: 30px;
}
input[type=text].fullrow{
height: 23px;
width: 720px;
}
textarea.fulltextbox{
width: 720px;
}
input[type=text].smallinput{
width: 3.0em;
}
input[type=text].input-mediumshort,select.input-mediumshort{
padding: 0px;
padding-left: 5px;
text-align: left;
/* height: 23px; */
width: 96px;
}
input.smallinput:read-only, input.smallinput:disabled,
input.middleinput:read-only,input.middleinput:disabled{
background-color:var(--base-backcolor-alternate-color);
}
select {
border: 1px;
width: auto;
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
background-color: var(--base-backcolor2);
border: 1px solid;
border-color:var(--base-backcolor2);
border-radius: 0;
color: var(--base-color);
font-size: 0.8em;
height: 20px;
padding: 0px;
margin-bottom: 0px;
padding-left: 5px;
outline-style: none;
transition: border-color 1s;
vertical-align: middle;
}
select.whitebackground {
background-color: var(--base-backcolor2);
}
select.right {
float: right;
margin-right: 5px;
}
select.spellresistdropdown {
background-color: var(--base-backcolor2);
border: 1px solid var(--base-border-color);
border-radius: 3px 3px 3px 3px;
color: var(--base-color);
font-size: 0.8em;
height: 20px;
margin-bottom: 0px;
padding: 0px;
padding-left: 5px;
padding-right: 5px;
width: 140px;
}
select.attributedropdown {
width: 86px;
}
select.attributedropdown:hover {
border-color:var(--base-color);
}
select.last{
border-bottom-right-radius: 10px;
}
select.spirittypedropdown {
border: 1px solid var(--base-border-color);
border-radius: 3px 3px 3px 3px;
color: var(--base-color);
font-size: 0.8em;
height: 20px;
padding: 0px;
padding-left: 5px;
width: 105px;
}
select.spellcategorydropdown {
border: 1px solid var(--base-border-color);
border-radius: 3px 3px 3px 3px;
color: var(--base-color);
font-size: 0.8em;
height: 20px;
padding: 0px;
padding-left: 5px;
width: 86px;
}
select.spellrangedropdown {
background-color: var(--base-backcolor2);
border: 1px solid var(--base-border-color);
border-radius: 3px 3px 3px 3px;
color: var(--base-color);
direction: rtl;
font-size: 0.8em;
height: 20px;
padding: 0px;
padding-left: 5px;
padding-right: 5px;
width: 45px;
}
select.adeptpowercostdropdown {
background-color: var(--base-backcolor2);
border: 1px solid var(--base-border-color);
border-radius: 3px 3px 3px 3px;
color: var(--base-color);
font-size: 0.8em;
height: 20px;
padding: 0px;
padding-left: 5px;
width: 35px;
}
select.spelltypedropdown {
background-color: var(--base-backcolor2);
border: 1px solid var(--base-border-color);
border-radius: 3px 3px 3px 3px;
color: var(--base-color);
font-size: 0.8em;
height: 20px;
padding: 0px;
padding-left: 5px;
width: 20px;
}
select.meleetypedropdown,
select.rangetypedropdown{
font-size: var(--fontsize-button);
height: 18px;
margin: 0px;
padding: 0px;
color:var(--base-color);
}
select.damagetypedropdown,
select.firemodedropdown,
select.reloadtypdropdown,
select.ammotypedropdown{
color: var(--base-color);
font-size: var(--fontsize-button);
font-weight: 400;
height: 18px;
margin: 0px;
min-width: 30px;
padding: 0px;
padding-left: 5px;
text-align: center;
}
select.center{
text-align-last: center;
min-width: 32px;
}
span.wb {
word-break: break-word;
}
span.center {
text-align: center;
}
span.struck {
color: var(--base-color);
text-decoration: line-through;
}
span.unstruck {
color: var(--base-color);
}
span.red {
color: var(--base-color);
font-size: var(--fontsize-button);
/* height: 18px; */
line-height: 0.8em;
margin: 0px;
padding: 0px;
text-align: left;
}
span.cyberberry-nopadding {
color: var(--base-color);
font-size: var(--fontsize-button);
/* padding-left: 3px;*/
padding-right: 3px;
}
span.cyberberry-normal {
color: var(--base-color);
font-size: var(--fontsize-button);
padding-left: 7px;
padding-right: 7px;
}
span.cyberberry {
color: var(--base-color);
/* font-size: var(--fontsize-base); */
padding-left: 7px;
padding-right: 7px;
vertical-align: baseline;
}
textarea {
background-color: var(--base-backcolor2);
color:var(--base-color);
border: 1px;
overflow-wrap: break-word;
resize: vertical;
vertical-align: top;
}
input[type=text].fullrow{
height: 20px;
width: 720px;
}
/*Farbschema:*/
.toggle-hide:not(:checked) + .actionbutton {display:none;}
.toggle-hide:checked + .actionbutton {display:inline-block;}
.toggle-hide:not(:checked) ~ .headlinebutton {display:none;}
.toggle-hide:checked ~ .headlinebutton {display:inline-block;}
.hidebyboth, .toggle-hide-both:checked ~ .unhidebyboth {display: inline;}
.unhidebyboth, .toggle-hide-both:checked ~ .hidebyboth{display: none;}
.hidebycomplexammo,
.hidebycomplexdamage {display: inline;visibility: visible;}
.toggle-hide-complex-ammo:checked ~ .range-ranges-row-ammo,
.toggle-hide-complex-damage:checked ~ .range-ranges-row-damage {display: table-row;width: 100%;}
.range-ranges-row-ammo,
.range-ranges-row-damage,
.toggle-hide-complex-ammo:checked ~ .hidebycomplexammo,
.toggle-hide-complex-damage:checked ~ .hidebycomplexdamage{display: none;}
.magictoggle-off,.toggle-hide:checked ~ .magictoggle-on {display:none;}
.magictoggle-on,.toggle-hide:checked ~ .magictoggle-off {display: inline-block;}
/*making the specialisation and expertise roll buttons appear/disappear*/
.visible-spec,.toggle-hide:checked ~ .invisible-spec,
.visible-exp,.toggle-hide:checked ~ .invisible-exp
{display: inline;visibility: visible;}
.invisible-spec,.toggle-hide:checked ~ .visible-spec,
.invisible-exp,.toggle-hide:checked ~ .visible-exp
{display: none;visibility: hidden;}
button.toggle-hide,
input[type=text].toggle-hide,
input[type=number].hide,
input[type=checkbox].toggle-hide,
input[type=checkbox].toggle-hide-spec,
input[type=checkbox].toggle-hide-exp,
input[type=checkbox].toggle-hide-em,
input[type=checkbox].toggle-hide-hm,
input[type=checkbox].toggle-hide-sm,
input[type=checkbox].toggle-hide-am {
display: none;
}
input.toggle-hide-skill{
display: none;
}
input.filteredit:not(:checked ) ~ div > div > input.skillfilter{
display: none;
}
input.filteredit:not(:checked ) ~ input.toggle-hide-skill:checked + div.skill,
input.toggle-hide-em:not(:checked) ~ div.radio-em-visible,
input.toggle-hide-hm:not(:checked) ~ div.radio-hm-visible,
input.toggle-hide-sm:not(:checked) ~ div.radio-sm-visible,
input.toggle-hide-am:not(:checked) ~ div.radio-am-visible,
.em-visible,.toggle-hide:checked ~ .em-invisible,
.hm-visible,.toggle-hide:checked ~ .hm-invisible,
.sm-visible,.toggle-hide:checked ~ .sm-invisible,
.am-visible,.toggle-hide:checked ~ .am-invisible,
input.toggle-hide-invert
{
display: none;
}
div.skill{
/*margin-top: -10px;*/
}
div.skill:hover >div:first-child{
/*margin-top: -10px;*/
font-weight: 700;
}
div.table-row-skill{
margin-top: -10px;
display: table-row;
line-height: 14px;
}
/*Tabset */
.copyright,.chardata,.attributes,.skills,.attacks,
.magic,.matrix,.rigging,.contacts,.gear,.notes,.config,.customrolls{
padding: 0px;
opacity: 0%;
margin: 0px;
max-height: 0px;
transition: opacity 0s;
visibility: hidden;
overflow: hidden;
padding-left: var(--base-padding);
padding-right: var(--base-padding);
background-color: var(--base-backcolor);
}
/* show the selected tab */
.tabstoggle[value="copyright"] ~ div.copyright,
.tabstoggle[value="chardata"] ~ div.chardata,
.tabstoggle[value="attributes"] ~ div.attributes,
.tabstoggle[value="skills"] ~ div.skills,
.tabstoggle[value="attacks"] ~ div.attacks,
.tabstoggle[value="magic"] ~ div.magic,
.tabstoggle[value="matrix"] ~ div.matrix,
.tabstoggle[value="rigging"] ~ div.rigging,
.tabstoggle[value="contacts"] ~ div.contacts,
.tabstoggle[value="gear"] ~ div.gear,
.tabstoggle[value="notes"] ~ div.notes,
.tabstoggle[value="customrolls"] ~ div.customrolls,
.tabstoggle[value="configuration"] ~ div.config {
color: var(--base-color);
padding: 0px;
opacity: 100%;
width: inherit;
max-height: 99999px;
visibility: visible;
transition: opacity 1s, max-height 2s;
}
/* SWITCHES
============================= */
/* The switch - the box around the slider 50x24*/
label.switch {
display: inline-block;
height: 13px;
margin-bottom: 0px;
position: relative;
width: 30px;
vertical-align: sub;
}
/* Hide default HTML checkbox */
label.switch input {
opacity: 0;
width: 0;
height: 0; }
.hidden{display: none;}
/* The slider 34 .4s*/
.slider {
-webkit-transition: .2s;
background-color: var(--base-backcolor-alternate-color);
border-radius: 22px;
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
transition: .2s; }
.slider:before{
-webkit-transition: .2s;
background-color: white;
border-radius: 50%;
bottom: 3px;
content: "";
height: 8px;
left: 4px;
position: absolute;
transition: .2s;
width: 8px; }
input:checked + .slider {
background-color: var(--select-backcolor); }
input:focus + .slider {
box-shadow: 0 0 1px var(--base-backcolor-alternate-color); }
input:checked + .slider:before {
-webkit-transform: translateX(13px);
-ms-transform: translateX(13px);
transform: translateX(13px); }
/*remove up/down arrows https://app.roll20.net/forum/post/901339/turning-off-the-arrows-in-a-number-field-when-input-is-disabled*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
}
.pd--left,div.pd--left,select.pd--left{
padding-left: 5px;
}
.pd--right,div.pd--right,select.pd--right{
padding-right: 5px;
}
.pd15--right,div.pd15--right,select.pd15--right{
padding-right: 15px;
}
.pd--top,div.pd--top,div.select-pd--top{
padding-right: 5px;
}
.pd--bottom,div.pd--bottom,select.pd--bottom{
padding-bottom: 5px;
}
.bd--r,input.bd--r{
border-right: solid 1px var(--base-border-color);
}
.bd--l,input.bd--l{
border-left: solid 1px var(--base-border-color);
}
.mr--right{
margin-right:10px;
}
.mr--left{
margin-left:10px;
}
div.mr--bottom{
margin-bottom:-1.4rem;
}
div.mr--topgeg10,button.mr--topgeg10{
margin-top: -10px;
}
.first,select.first,input.first{
border-top-left-radius: 10px;
}
input.last, .last, select.last{
border-bottom-right-radius: 10px;
}
.half,div.half{width:50%}
}