* typo in initiative roll query (+2 Def => -2 Def) * Fixed error on Critical Success rerolls or Critical Failure confirms of custom Lore and Creative skills * reviewed sheet:opened logic * CSS cleanup * ## 1.2.0 - Renamed sheet to `Fading Suns 2nd Edition Revised` from `Fading Suns v2.75` - Added ability to select the characteristic for the roll of a skill on the fly (as opposed to having to select a characteristic beforehand) - Cosmetic fixes * Fixed minor CSS issued * up-to-date preview images * fixed Firefox layout issue * - removal of vscode snippet file requested by Roll20 team member - css cleanup - removal of now unnecessary image * - translations files updates (except zu which is super cryptic) * auto-expand table notes vertically * skill layout fix * fixed issue in Firefox * added compatibility for Firefox. * better fix for Firefox
1177 lines
32 KiB
CSS
1177 lines
32 KiB
CSS
html,
|
|
.sheet-fadingsuns {
|
|
box-sizing: border-box;
|
|
min-width: 800px;
|
|
}
|
|
*,*::after,*::before {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.textchatcontainer .inlinerollresult {
|
|
padding: 0;
|
|
}
|
|
|
|
input {
|
|
width: auto;
|
|
height: initial;
|
|
padding: 3px;
|
|
margin: 0;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
input [type=text] {
|
|
width: 50px;
|
|
}
|
|
|
|
input[type=number] {
|
|
text-align: center;
|
|
}
|
|
input[type=number]::-webkit-inner-spin-button,
|
|
input[type=number]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
b {
|
|
font-weight:bold;
|
|
}
|
|
label {
|
|
display: inline-block;
|
|
font-size: inherit;
|
|
margin-bottom: initial;
|
|
padding-right: initial;
|
|
width: initial;
|
|
height: initial;
|
|
color: initial;
|
|
position: relative;
|
|
font-weight: bold;
|
|
}
|
|
select {
|
|
width: initial;
|
|
height: initial;
|
|
margin: initial;
|
|
padding:initial;
|
|
padding:0;
|
|
margin: 0;
|
|
}
|
|
textarea {
|
|
width: 50px;
|
|
height: initial;
|
|
resize: initial;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
button,
|
|
button:hover,
|
|
button:active {
|
|
background-image: initial;
|
|
}
|
|
|
|
button[type="roll"] {
|
|
margin-left: initial;
|
|
margin-right: initial;
|
|
text-shadow: none;
|
|
}
|
|
button[type=roll]:before {
|
|
vertical-align: middle;
|
|
font-size: 1.2em;
|
|
}
|
|
h1 {
|
|
font-size: 1.5rem;
|
|
line-height: 1em;
|
|
clear: both;
|
|
text-align: center;
|
|
display: block;
|
|
width: 100%;
|
|
min-height: 1.1em;
|
|
background-color: Black;
|
|
color: White;
|
|
padding: .25em 0 .125em 0;
|
|
margin-bottom: .15em;
|
|
}
|
|
h2 {
|
|
line-height: 1.4em;
|
|
height: 1.4em;
|
|
margin-top: .33em;
|
|
font-size: 1.3rem;
|
|
color: initial;
|
|
}
|
|
h3,h4,h5,h6 {
|
|
line-height: 1em;
|
|
font-size: 1.3rem;
|
|
color: initial;
|
|
}
|
|
.sheet-fadingsuns {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
margin-top: -1em;
|
|
}
|
|
|
|
/* standalone generic toggles */
|
|
.sheet-repeating-sect-show {
|
|
display: none ;
|
|
}
|
|
|
|
.sheet-fs-clickheader {
|
|
display:inline;
|
|
}
|
|
/* turn off spinners for all number field in firefox */
|
|
input[type="number"] {
|
|
-moz-appearance: textfield !important;
|
|
}
|
|
input[type="text"],
|
|
input[type="number"] {
|
|
border: 0 solid #666;
|
|
border-bottom-width: 0.1rem;
|
|
margin-top: 0.1rem;
|
|
}
|
|
input[type="text"] {
|
|
min-width: 1em;
|
|
}
|
|
input[type="text"],
|
|
input[type="number"],
|
|
textarea {
|
|
color:#222;
|
|
background-color: white;
|
|
}
|
|
|
|
.sheet-fs-inline-textarea {
|
|
min-height: 2.15em;
|
|
margin: 0;
|
|
resize: vertical;
|
|
overflow:auto;
|
|
}
|
|
|
|
.sheet-fadingsuns .repcontrol_del,
|
|
.sheet-fadingsuns .repcontrol_move,
|
|
.sheet-fadingsuns .repcontrol_add,
|
|
.sheet-fadingsuns .repcontrol_edit {
|
|
font-family: pictos;
|
|
}
|
|
|
|
/* button sizing based on arial*/
|
|
.sheet-fadingsuns span::before,
|
|
.sheet-fadingsuns span::after {
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
/* set width for number input and surrounding labels */
|
|
|
|
input[type="number"] {
|
|
min-width: 2.5em;
|
|
width: auto;
|
|
}
|
|
|
|
.sheet-fs-h2-section {
|
|
position: relative;
|
|
clear: both;
|
|
height: auto;
|
|
width: 100%;
|
|
vertical-align: top;
|
|
}
|
|
|
|
/* make error row more visible (colorblind users could not see slightly darker border )
|
|
also need 1 more level in selector or base css will override border */
|
|
|
|
.sheet-fadingsuns .repitem.repitembroken {
|
|
border: 0.3rem dashed #FF0044 !important;
|
|
margin: 0.2rem 0 0.4rem 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.sheet-fs-secondary-table-name {
|
|
display: table-caption;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
color: White;
|
|
background-color: #4a6486;
|
|
width: 100%;
|
|
}
|
|
.sheet-fs-nontable-name.sheet-fs-secondary-table-name,
|
|
.sheet-table-name.sheet-fs-secondary-table-name {
|
|
background-color: #4a6486;
|
|
}
|
|
|
|
.sheet-fs-small-label2 > select.sheet-select-small {
|
|
height: 2em;
|
|
}
|
|
|
|
/* CHROME: hide spinner area at right when not hovering over a number */
|
|
|
|
input[type="number"]:not(:hover)::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/* the label underneath button*/
|
|
.sheet-fs-small-label2 > .sheet-csstextbutton + span + span,
|
|
.sheet-fs-small-label2 > .sheet-cssbutton + span + span {
|
|
display:block;
|
|
}
|
|
.sheet-fs-showarrow {
|
|
opacity: 0;
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
cursor: pointer;
|
|
z-index: 5;
|
|
}
|
|
input.sheet-fs-showarrow {
|
|
height: 1.6em;
|
|
}
|
|
h2 label {
|
|
color: inherit !important;
|
|
}
|
|
|
|
.sheet-ack-button + .sheet-fs-showsect::before,
|
|
.sheet-fs-showarrow + .sheet-fs-showsect::before {
|
|
margin-right: .25em;
|
|
}
|
|
.sheet-ack-button + .sheet-fs-showsect::before,
|
|
.sheet-fs-showarrow + .sheet-fs-showsect::before {
|
|
display: inline-block;
|
|
content: '►';
|
|
width: 1em;
|
|
height: 1em;
|
|
font-size: 1em;
|
|
color: DarkGray;
|
|
}
|
|
|
|
.sheet-fs-showarrow.sheet-npc-details-show + .sheet-fs-showsect::before {
|
|
color:White;
|
|
padding-top:.5em;
|
|
padding-left:.5em;
|
|
}
|
|
|
|
.sheet-fs-showarrow:checked + .sheet-fs-showsect::before {
|
|
content: '▼';
|
|
}
|
|
|
|
.sheet-fs-showsect,
|
|
.sheet-fs-clickheader {
|
|
position: relative;
|
|
}
|
|
.sheet-fs-showsect,
|
|
h2.sheet-fs-clickheader {
|
|
display: inline-block;
|
|
margin-left: -.25em;
|
|
}
|
|
|
|
.sheet-fs-showarrow.sheet-fs-h2arrow {
|
|
width: 1.5em;
|
|
margin-right: -1.5em;
|
|
}
|
|
|
|
.sheet-split-column-show:not(:checked) ~ .sheet-repeating-fields .sheet-sect.sheet-expand .sheet-fs-showarrow:first-child {
|
|
margin-left: .125em;
|
|
}
|
|
.sheet-sect.sheet-expand .sheet-fs-showsect {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.sheet-fs-showarrow:hover + .sheet-fs-showsect:not(.sheet-fs-showsect-nocolor),
|
|
.sheet-fs-showarrow:hover + .sheet-fs-showsect::before {
|
|
color: Red;
|
|
}
|
|
|
|
.repcontrol_edit {
|
|
order: 2;
|
|
}
|
|
.repcontainer.editmode .repitem .itemcontrol {
|
|
z-index: 3;
|
|
background-color: gray;
|
|
background-color: rgba(220, 220, 220, 0.40);
|
|
}
|
|
.sheet-repeating-sect {
|
|
position: relative;
|
|
}
|
|
.sheet-table-rollbuttoncell, .sheet-table.cell .sheet-table-rollbuttoncell, .sheet-fs-small-label2.sheet-table-rollbuttoncell {
|
|
vertical-align:top;
|
|
}
|
|
/*Expand to cross both columns */
|
|
|
|
div.repcontrol {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
}
|
|
|
|
.repcontrol_add::before {
|
|
content: '&';
|
|
visibility: visible;
|
|
font-family: pictos ;
|
|
background-color: #fff;
|
|
border: 0.1rem solid #000;
|
|
border-radius: 0.2rem;
|
|
font-size: 1.6rem;
|
|
padding: 0.3rem 0.5rem 0.3rem 0.5rem;
|
|
color: #4a6486;
|
|
}
|
|
.repcontrol .repcontrol_edit:after {
|
|
font-family: Arial ;
|
|
font-weight: bold;
|
|
content: '☰';
|
|
visibility: visible;
|
|
font-family: pictos;
|
|
background-color: #fff;
|
|
border: 0.1rem solid #000;
|
|
border-radius: 0.2rem;
|
|
font-size: 1.6rem;
|
|
padding: 0.3rem 0.3rem 0.2rem 0.3rem;
|
|
color: #4a6486;
|
|
}
|
|
.editmode ~ .repcontrol .repcontrol_edit:after {
|
|
font-family: Pictos;
|
|
content: '3';
|
|
width:1.6rem;
|
|
}
|
|
.repcontrol_edit:hover:before,
|
|
.repcontrol_edit:hover:after,
|
|
.repcontrol_add:hover:before {
|
|
color: red !important;
|
|
box-shadow: 0.1rem 0.1rem 0.2rem #333;
|
|
}
|
|
.repcontrol .btn{
|
|
border: none;
|
|
color: white;
|
|
font-size: 0;
|
|
padding: 0.3rem 0 0 0;
|
|
margin-left: 3px;
|
|
margin-right: 3px;
|
|
background: none;
|
|
box-shadow: none;
|
|
}
|
|
.repcontrol .btn:focus {
|
|
outline: 0;
|
|
}
|
|
.repcontrol_add,
|
|
.repcontrol_edit {
|
|
display: block;
|
|
background: none;
|
|
color: transparent !important;
|
|
border: none;
|
|
box-shadow: none;
|
|
}
|
|
.repcontrol_del,
|
|
.repcontrol_move {
|
|
display: block;
|
|
background: white;
|
|
color: black;
|
|
border: none;
|
|
box-shadow: none;
|
|
width: 2em;
|
|
}
|
|
|
|
.sheet-fs-small-label2 {
|
|
display: inline-block;
|
|
height: 3em;
|
|
min-height: 3em;
|
|
vertical-align: top;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
.sheet-fs-small-label2 span:not(.sheet-fs-autoexpand) {
|
|
padding: 0 .07em 0 .07em;
|
|
text-align: center;
|
|
font-size: 1.2rem;
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
color: Black;
|
|
position: relative;
|
|
bottom: 0;
|
|
overflow-x: visible;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sheet-fs-small-label2.sheet-fs-autoexpand span:not(.sheet-fs-autoexpand) {
|
|
white-space:nowrap;
|
|
}
|
|
|
|
.sheet-fs-small-label2 > input:not(.sheet-cssbutton),
|
|
.sheet-fs-small-label2 > select {
|
|
display: block;
|
|
padding: .25em 0rem .25em 0rem; /* 0rem on left and right to fix truncated inputs */
|
|
height: 1.825em;
|
|
/* otherwise defaults from base.css hardcode it too tall */
|
|
position: relative;
|
|
}
|
|
.sheet-fs-small-label2 > select {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.sheet-fs-small-label2 input::-moz-focus-inner {
|
|
padding: 0;
|
|
}
|
|
|
|
/* webkit (chrome) needs different css firefox centers perfectly, not chrome.must make it equal to 1.825 */
|
|
.sheet-fs-small-label2 > input[type="checkbox"]:not(.sheet-cssbutton),
|
|
.sheet-fs-small-label2 > input[type="radio"]:not(.sheet-cssbutton) {
|
|
-webkit-logical-height: 1em;
|
|
-webkit-margin-before: .5em;
|
|
-webkit-margin-after: .325em;
|
|
width: 100%;
|
|
border: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.sheet-fs-nontable {
|
|
width: 100%;
|
|
text-align: justify;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.sheet-section-header .sheet-fs-small-label2 {
|
|
display: table-cell;
|
|
padding: 0 .25em 0 .25em;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.sheet-table-name,
|
|
.sheet-fs-nontable-name {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
color: White;
|
|
background-color: Black;
|
|
padding-top:.25em;
|
|
}
|
|
.sheet-fs-nontable-name {
|
|
width: 100%;
|
|
}
|
|
.sheet-fs-nontable-name {
|
|
display: block;
|
|
}
|
|
|
|
.sheet-fs-h2arrow:not(:checked) + .sheet-fs-showsect + .sheet-fs-h2-section,
|
|
.sheet-fs-h2arrow:not(:checked) + .sheet-fs-showsect + .sheet-fs-h2-section + .sheet-fs-h2-section,
|
|
.sheet-fs-h2arrow:not(:checked) + .sheet-fs-showsect + .sheet-fs-h2-section + .sheet-fs-h2-section + .sheet-fs-h2-section,
|
|
.sheet-fs-h2arrow:not(:checked) + .sheet-fs-showsect + .sheet-fs-nontable-name,
|
|
.sheet-fs-h2arrow:not(:checked) + .sheet-fs-showsect + .sheet-fs-nontable-name + .sheet-fs-h2-section,
|
|
.sheet-fs-h2arrow:not(:checked) + .sheet-fs-showsect + .sheet-fs-nontable-name + .sheet-fs-h2-section + .sheet-fs-h2-section,
|
|
.sheet-fs-h2arrow:not(:checked) + .sheet-fs-showsect + .sheet-fs-nontable-name + .sheet-fs-h2-section + .sheet-fs-h2-section + .sheet-fs-h2-section,
|
|
.sheet-fs-h2arrow:not(:checked) + .sheet-fs-showsect + .sheet-fs-nontable-name + .sheet-fs-h2-section + .sheet-fs-h2-section + .sheet-fs-h2-section + .sheet-fs-h2-section {
|
|
display: none;
|
|
}
|
|
|
|
.sheet-fs-h2-section.sheet-fs-core-details {
|
|
width: calc(100% - 4px);
|
|
height:auto;
|
|
display:block;
|
|
clear:both;
|
|
margin: 0.4rem 0.2rem 0.2rem 0.2rem;
|
|
}
|
|
|
|
.sheet-fs-small-label2.sheet-fs-autoexpand {
|
|
padding-top: 2em;
|
|
width: auto;
|
|
min-width: 3.5em;
|
|
max-width: 99%;
|
|
max-height: 1em;
|
|
margin-bottom: 10px;
|
|
}
|
|
.sheet-fs-small-label2.sheet-fs-autoexpand input {
|
|
position:absolute;
|
|
overflow:visible;
|
|
top:.3em;
|
|
}
|
|
.sheet-fs-small-label2.sheet-fs-autoexpand span.sheet-fs-autoexpand {
|
|
visibility:hidden;
|
|
width:100%;
|
|
white-space:pre-wrap;
|
|
word-wrap:break-word;
|
|
overflow-wrap:break-word;
|
|
display:block;
|
|
min-height:1.3rem;
|
|
height:auto;
|
|
}
|
|
.sheet-fs-small-label2.sheet-fs-wide-textareaparent {
|
|
display:block;
|
|
clear:both;
|
|
height:auto;
|
|
margin-bottom:20px;
|
|
}
|
|
|
|
.sheet-fs-noshow {
|
|
display:none;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-button {
|
|
text-align: center;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-GoalRoll .sheet-fs-container,
|
|
.sheet-rolltemplate-fs-InitRoll .sheet-fs-container,
|
|
.sheet-rolltemplate-fs-d6Roll .sheet-fs-container {
|
|
border: 1px solid;
|
|
padding: 2px;
|
|
width: 90%;
|
|
background: #fff;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-GoalRoll .sheet-fs-container .sheet-fs-charactername,
|
|
.sheet-rolltemplate-fs-InitRoll .sheet-fs-container .sheet-fs-charactername,
|
|
.sheet-rolltemplate-fs-d6Roll .sheet-fs-container .sheet-fs-charactername {
|
|
font-weight: bold;
|
|
font-size: 0.9em;
|
|
line-height: 1em;
|
|
border-bottom: 1px solid black;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-GoalRoll .sheet-fs-container h1,
|
|
.sheet-rolltemplate-fs-InitRoll .sheet-fs-container h1,
|
|
.sheet-rolltemplate-fs-d6Roll .sheet-fs-container h1 {
|
|
color: #4a6486;
|
|
font-size: 1.1em;
|
|
font-variant: small-caps;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-GoalRoll .sheet-fs-arrow-right,
|
|
.sheet-rolltemplate-fs-InitRoll .sheet-fs-arrow-right,
|
|
.sheet-rolltemplate-fs-d6Roll .sheet-fs-arrow-right {
|
|
border-bottom: 2px solid transparent;
|
|
border-left: 200px solid #4a6486;
|
|
border-top: 2px solid transparent;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-GoalRoll .inlinerollresult,
|
|
.sheet-rolltemplate-fs-InitRoll .inlinerollresult,
|
|
.sheet-rolltemplate-fs-d6Roll .inlinerollresult {
|
|
background-color: transparent;
|
|
border: none;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-GoalRoll .inlinerollresult.fullcrit,
|
|
.sheet-rolltemplate-fs-InitRoll .inlinerollresult.fullcrit,
|
|
.sheet-rolltemplate-fs-d6Roll .inlinerollresult.fullcrit,
|
|
.sheet-rolltemplate-fs-GoalRoll .inlinerollresult.importantroll,
|
|
.sheet-rolltemplate-fs-InitRoll .inlinerollresult.importantroll,
|
|
.sheet-rolltemplate-fs-d6Roll .inlinerollresult.importantroll,
|
|
.sheet-rolltemplate-fs-GoalRoll .inlinerollresult.fullfail,
|
|
.sheet-rolltemplate-fs-InitRoll .inlinerollresult.fullfail,
|
|
.sheet-rolltemplate-fs-GoalRoll .inlinerollresult.fullfail {
|
|
border: none;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-InitRoll .inlinerollresult.fullcrit,
|
|
.sheet-rolltemplate-fs-GoalRoll .sheet-fs-critsuccess {
|
|
color: #3FB315;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-GoalRoll .sheet-fs-success {
|
|
color: #205b0b;
|
|
}
|
|
|
|
|
|
.sheet-rolltemplate-fs-GoalRoll .sheet-fs-failure {
|
|
color: #5b0b0b;
|
|
}
|
|
|
|
.sheet-rolltemplate-fs-InitRoll .inlinerollresult.fullfail,
|
|
.sheet-rolltemplate-fs-GoalRoll .sheet-fs-critfailure {
|
|
color: #B31515;
|
|
}
|
|
|
|
.sheet-fs-w100 {
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-fs-h100 {
|
|
height: 100%;
|
|
}
|
|
|
|
.sheet-fs-autoexpand > input,
|
|
.sheet-fs-autoexpand > textarea {
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-fs-row,
|
|
.sheet-fs-col,
|
|
.sheet-fs-skill-col {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-content: flex-start;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
}
|
|
.sheet-fs-row {
|
|
flex-direction: row;
|
|
align-self: stretch;
|
|
}
|
|
.sheet-fs-col {
|
|
flex-direction: column;
|
|
}
|
|
.sheet-fs-skill-col {
|
|
flex-direction: column;
|
|
flex: 1 1 0;
|
|
}
|
|
.sheet-fs-grid-skills .sheet-fs-skill-col:not(:last-child) {
|
|
margin-right: 5px;
|
|
}
|
|
.sheet-fs-skill-col .sheet-fs-skill-family:not(:first-child) {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.sheet-fs-tall-textarea {
|
|
min-height: 100px;
|
|
height:100%;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.sheet-fs-supertall-textarea {
|
|
min-height: 300px;
|
|
height:100%;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.sheet-fs-description {
|
|
align-self: stretch;
|
|
}
|
|
|
|
.sheet-fs-space-evenly {
|
|
width: 100%;
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.sheet-fs-small-label2 > input {
|
|
text-align: center;
|
|
overflow: visible;
|
|
}
|
|
|
|
.sheet-fs-grid-1x2-equal {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: max-content;
|
|
align-items: start;
|
|
align-content: center;
|
|
grid-gap: 5px;
|
|
}
|
|
.sheet-fs-grid-1x3 {
|
|
display: grid;
|
|
grid-template-rows: max-content;
|
|
grid-template-columns: max-content max-content max-content;
|
|
align-items: center;
|
|
align-content: center;
|
|
}
|
|
.sheet-fs-grid-1x6 {
|
|
display: grid;
|
|
grid-template-rows: max-content;
|
|
grid-template-columns: max-content max-content max-content max-content max-content max-content;
|
|
align-items: center;
|
|
align-content: center;
|
|
}
|
|
.sheet-fs-grid-3x3 {
|
|
display: grid;
|
|
grid-template-rows: max-content max-content max-content;
|
|
grid-template-columns: max-content max-content max-content;
|
|
align-items: center;
|
|
align-content: center;
|
|
}
|
|
.sheet-fs-grid-3x4 {
|
|
display: grid;
|
|
grid-template-rows: max-content max-content max-content;
|
|
grid-template-columns: max-content max-content max-content max-content;
|
|
align-items: center;
|
|
align-content: center;
|
|
}
|
|
|
|
.sheet-fs-grid-characteristics {
|
|
display: grid;
|
|
grid-template:
|
|
"body mind spirit spirit blessingscurses" max-content
|
|
"wyrdvita wyrdvita wyrdvita init blessingscurses" 1fr
|
|
"wyrdvita wyrdvita wyrdvita xp blessingscurses" 1fr
|
|
/ max-content max-content max-content max-content 1fr;
|
|
grid-gap: 5px;
|
|
align-items: start;
|
|
align-content: start;
|
|
justify-content: start;
|
|
}
|
|
.sheet-fs-grid-characteristics-body { grid-area: body; }
|
|
.sheet-fs-grid-characteristics-mind { grid-area: mind; }
|
|
.sheet-fs-grid-characteristics-spirit { grid-area: spirit; }
|
|
.sheet-fs-grid-characteristics-init { grid-area: init; }
|
|
.sheet-fs-grid-characteristics-xp { grid-area: xp; }
|
|
.sheet-fs-grid-characteristics-blessingscurses { grid-area: blessingscurses; }
|
|
.sheet-fs-grid-characteristics-wyrdvita { grid-area: wyrdvita; }
|
|
|
|
.sheet-fs-grid-skills {
|
|
display: grid;
|
|
grid-auto-columns: 25%;
|
|
grid-auto-flow: column;
|
|
}
|
|
|
|
input[type="number"] {
|
|
min-width: 10px;
|
|
}
|
|
|
|
.sheet-fs-after-wyrd-vita {
|
|
min-width: 13px;
|
|
}
|
|
|
|
.sheet-fs-characteristic input[type=number],
|
|
.sheet-fs-skill input[type=number],
|
|
.sheet-fs-grid-characteristics-wyrdvita input[type=number],
|
|
.sheet-fs-energy-shield-max-hp input[type=number] {
|
|
width: 25px;
|
|
min-width: 25px;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.sheet-fs-grid-characteristics-init label {
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.sheet-fs-table input[type=number] {
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-fs-characteristic {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-content: flex-start;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.sheet-fs-skill {
|
|
width:100%;
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-content: flex-start;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.sheet-fs-characteristic .sheet-fs-characteristic-label,
|
|
.sheet-fs-characteristic .sheet-fs-characteristic-label span,
|
|
.sheet-fs-skill .sheet-fs-skill-label,
|
|
.sheet-fs-skill .sheet-fs-skill-label span,
|
|
.sheet-fs-skill .sheet-fs-skill-label input,
|
|
.sheet-fs-skill .sheet-fs-skill-label button,
|
|
input.sheet-fs-blessingcurse,
|
|
input.sheet-fs-beneficeaffliction {
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.sheet-fs-skill + .sheet-fs-col {
|
|
width: 100%;
|
|
}
|
|
.sheet-fadingsuns button[type=roll] {
|
|
margin: 0 0 0 0;
|
|
}
|
|
|
|
.sheet-fs-characteristic-label,
|
|
.sheet-fs-characteristic-label *,
|
|
.sheet-fs-skill-label,
|
|
.sheet-fs-skill-label * {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-fs-characteristic-label,
|
|
.sheet-fs-skill-label {
|
|
margin-left: 3px;
|
|
}
|
|
|
|
h2.sheet-fs-clickheader {
|
|
font-size: 120%;
|
|
}
|
|
|
|
.sheet-fs-vitality-malus * {
|
|
font-size: 80%;
|
|
}
|
|
|
|
.sheet-fs-table {
|
|
display: grid;
|
|
grid-auto-rows: auto;
|
|
min-width:100%;
|
|
}
|
|
|
|
.sheet-fs-table fieldset,
|
|
.sheet-fs-table .repcontainer,
|
|
.sheet-fs-table .repitem {
|
|
display: contents;
|
|
}
|
|
|
|
.repcontainer {
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-fs-table input {
|
|
min-width: 10px;
|
|
width: auto;
|
|
}
|
|
.sheet-fs-table .repcontrol { grid-column: 1 / -1 }
|
|
|
|
.sheet-fs-weapons .sheet-fs-table { grid-template-columns: 30px 1.5fr 80px 120px 50px 28px 40px 60px 60px 40px 50px 40px 30px; }
|
|
.sheet-fs-weapons .sheet-fs-table .sheet-fs-table-head:nth-child(6) {
|
|
grid-column: span 2;
|
|
}
|
|
.sheet-fs-weapons .sheet-fs-table .sheet-fs-table-head:nth-child(5),
|
|
.sheet-fs-weapons .sheet-fs-table .sheet-fs-table-head:nth-child(6),
|
|
.sheet-fs-weapons .sheet-fs-table .sheet-fs-table-head:nth-child(7),
|
|
.sheet-fs-weapons .sheet-fs-table .sheet-fs-table-head:nth-child(8),
|
|
.sheet-fs-weapons .sheet-fs-table .sheet-fs-table-head:nth-child(9),
|
|
.sheet-fs-weapons .sheet-fs-table .sheet-fs-table-head:nth-child(10),
|
|
.sheet-fs-weapons .sheet-fs-table .sheet-fs-table-head:nth-child(11),
|
|
.sheet-fs-weapons .sheet-fs-table .sheet-fs-table-head:nth-child(12) {
|
|
text-align: center;
|
|
}
|
|
.sheet-fs-weapons .sheet-fs-table input:nth-child(8) {
|
|
font-weight: bold;
|
|
}
|
|
.sheet-fs-weapons .sheet-fs-table input:nth-child(11),
|
|
.sheet-fs-weapons .sheet-fs-table input:nth-child(13),
|
|
.sheet-fs-weapons .sheet-fs-table input:nth-child(14),
|
|
.sheet-fs-weapons .sheet-fs-table input:nth-child(15),
|
|
.sheet-fs-weapons .sheet-fs-table input:nth-child(16),
|
|
.sheet-fs-weapons .sheet-fs-table input:nth-child(17),
|
|
.sheet-fs-weapons .sheet-fs-table input:nth-child(18),
|
|
.sheet-fs-weapons .sheet-fs-table input:nth-child(19) {
|
|
text-align: center;
|
|
}
|
|
.sheet-fs-weapons fieldset, /* make preview similar */
|
|
.sheet-fs-weapons .repcontrol {
|
|
margin-bottom:5px;
|
|
}
|
|
|
|
.sheet-fs-armors .sheet-fs-table { grid-template-columns: 1.5fr 28px 32px 60px 60px 60px 60px 25px; }
|
|
.sheet-fs-armors .sheet-fs-table .sheet-fs-table-head:nth-child(2) {
|
|
grid-column: span 2;
|
|
}
|
|
.sheet-fs-armors .sheet-fs-table .sheet-fs-table-head:nth-child(2),
|
|
.sheet-fs-armors .sheet-fs-table .sheet-fs-table-head:nth-child(3),
|
|
.sheet-fs-armors .sheet-fs-table .sheet-fs-table-head:nth-child(4),
|
|
.sheet-fs-armors .sheet-fs-table .sheet-fs-table-head:nth-child(5),
|
|
.sheet-fs-armors .sheet-fs-table .sheet-fs-table-head:nth-child(6),
|
|
.sheet-fs-armors .sheet-fs-table .sheet-fs-table-head:nth-child(7),
|
|
.sheet-fs-armors .sheet-fs-table input:nth-child(3),
|
|
.sheet-fs-armors .sheet-fs-table input:nth-child(4),
|
|
.sheet-fs-armors .sheet-fs-table input:nth-child(5),
|
|
.sheet-fs-armors .sheet-fs-table input:nth-child(6),
|
|
.sheet-fs-armors .sheet-fs-table input:nth-child(7),
|
|
.sheet-fs-armors .sheet-fs-table input:nth-child(8) {
|
|
text-align: center;
|
|
}
|
|
.sheet-fs-armors .sheet-fs-table input:nth-child(1) {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-fs-armors fieldset, /* make preview similar */
|
|
.sheet-fs-armors .repcontrol {
|
|
margin-bottom:5px;
|
|
}
|
|
|
|
.sheet-fs-combatstyles .sheet-fs-table { grid-template-columns: 1fr 25px 1fr 2.5fr; }
|
|
.sheet-fs-combatstyles .sheet-fs-table .sheet-fs-table-head:nth-child(2),
|
|
.sheet-fs-combatstyles .sheet-fs-table input:nth-child(2) {
|
|
text-align: center;
|
|
}
|
|
.sheet-fs-combatstyles .sheet-fs-table input:nth-child(3) {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-fs-psipowers .sheet-fs-table { grid-template-columns: 30px 0.5fr 25px 1fr 80px 120px 80px 80px 50px; }
|
|
.sheet-fs-psipowers .sheet-fs-table .sheet-fs-table-head:nth-child(3),
|
|
.sheet-fs-psipowers .sheet-fs-table .sheet-fs-table-head:nth-child(7),
|
|
.sheet-fs-psipowers .sheet-fs-table .sheet-fs-table-head:nth-child(8),
|
|
.sheet-fs-psipowers .sheet-fs-table .sheet-fs-table-head:nth-child(9),
|
|
.sheet-fs-psipowers .sheet-fs-table input:nth-child(9),
|
|
.sheet-fs-psipowers .sheet-fs-table input:nth-child(13),
|
|
.sheet-fs-psipowers .sheet-fs-table input:nth-child(14),
|
|
.sheet-fs-psipowers .sheet-fs-table input:nth-child(15) {
|
|
text-align: center;
|
|
}
|
|
.sheet-fs-psipowers .sheet-fs-table input:nth-child(10) {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-fs-theurgyrites .sheet-fs-table { grid-template-columns: 30px 0.5fr 25px 1fr 80px 120px 60px 80px 80px 50px; }
|
|
.sheet-fs-theurgyrites .sheet-fs-table .sheet-fs-table-head:nth-child(3),
|
|
.sheet-fs-theurgyrites .sheet-fs-table .sheet-fs-table-head:nth-child(7),
|
|
.sheet-fs-theurgyrites .sheet-fs-table .sheet-fs-table-head:nth-child(8),
|
|
.sheet-fs-theurgyrites .sheet-fs-table .sheet-fs-table-head:nth-child(9),
|
|
.sheet-fs-theurgyrites .sheet-fs-table .sheet-fs-table-head:nth-child(10),
|
|
.sheet-fs-theurgyrites .sheet-fs-table input:nth-child(9),
|
|
.sheet-fs-theurgyrites .sheet-fs-table input:nth-child(13),
|
|
.sheet-fs-theurgyrites .sheet-fs-table input:nth-child(14),
|
|
.sheet-fs-theurgyrites .sheet-fs-table input:nth-child(15),
|
|
.sheet-fs-theurgyrites .sheet-fs-table input:nth-child(16) {
|
|
text-align: center;
|
|
}
|
|
.sheet-fs-theurgyrites .sheet-fs-table input:nth-child(10) {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-fs-bodymodifications .sheet-fs-table { grid-template-columns: 1fr 30px 100px; }
|
|
.sheet-fs-bodymodifications .sheet-fs-table .sheet-fs-table-head:nth-child(2),
|
|
.sheet-fs-bodymodifications .sheet-fs-table .sheet-fs-table-head:nth-child(3),
|
|
.sheet-fs-bodymodifications .sheet-fs-table input:nth-child(2),
|
|
.sheet-fs-bodymodifications .sheet-fs-table input:nth-child(3) {
|
|
text-align: center;
|
|
}
|
|
.sheet-fs-bodymodifications .sheet-fs-table input:nth-child(1) {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-fs-carried .sheet-fs-table { grid-template-columns: 100%; }
|
|
|
|
.sheet-fs-owned .sheet-fs-table { grid-template-columns: 2fr 1fr ; }
|
|
|
|
.sheet-fs-spentxp .sheet-fs-table { grid-template-columns: 2fr 60px 60px 60px 3fr; }
|
|
.sheet-fs-spentxp .sheet-fs-table input:nth-child(n+2):nth-child(-n+4) {
|
|
text-align: center;
|
|
}
|
|
|
|
.sheet-fs-table-head {
|
|
background-color: #4a6486;
|
|
color: white;
|
|
font-weight: bold;
|
|
white-space: nowrap;
|
|
padding-left: 1px;
|
|
padding-right: 1px;
|
|
}
|
|
.sheet-fs-table-cell {
|
|
grid-column: auto / span 1;
|
|
}
|
|
|
|
.sheet-fs-table .itemcontrol {
|
|
height: auto !important; /* TODO try without this to see if something bad happens */
|
|
}
|
|
|
|
.sheet-fs-shield-props {
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.sheet-fs-shield-impact {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.sheet-fs-shield-force {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.sheet-fs-autoexpand input[type="number"] {
|
|
width: 100%;
|
|
}
|
|
|
|
button[type="roll"].sheet-fs-hidden {
|
|
display: none;
|
|
}
|
|
|
|
div.sheet-fs-dots {
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin-left: 3px;
|
|
}
|
|
|
|
div.sheet-fs-dots .sheet-fs-dot:nth-child(5n+2) {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
button.sheet-fs-dot {
|
|
padding: 0;
|
|
border: solid 1px #a8a8a8;
|
|
cursor: pointer;
|
|
width: 12px;
|
|
height: 12px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-right: 2px;
|
|
}
|
|
|
|
button.sheet-fs-dot:hover,
|
|
button.sheet-fs-dot > span:hover {
|
|
filter: sepia(100%) saturate(100%);
|
|
}
|
|
button[type=roll] {
|
|
background: #fff;
|
|
}
|
|
button[type=roll]:hover:before {
|
|
color: #888800;
|
|
}
|
|
|
|
button.sheet-fs-dot > span {
|
|
width: 8px;
|
|
height: 8px;
|
|
background: buttontext;
|
|
background-color: #4a6486;
|
|
}
|
|
|
|
/* Hide the "checked" section of the radio if the hidden attribute value is greater than the button value */
|
|
input.sheet-fs-dot[value="0"] ~ button.sheet-fs-gt-0 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="1"] ~ button.sheet-fs-gt-1 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="2"] ~ button.sheet-fs-gt-2 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="3"] ~ button.sheet-fs-gt-3 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="4"] ~ button.sheet-fs-gt-4 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="5"] ~ button.sheet-fs-gt-5 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="6"] ~ button.sheet-fs-gt-6 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="7"] ~ button.sheet-fs-gt-7 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="8"] ~ button.sheet-fs-gt-8 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="9"] ~ button.sheet-fs-gt-9 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="10"] ~ button.sheet-fs-gt-10 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="11"] ~ button.sheet-fs-gt-11 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="12"] ~ button.sheet-fs-gt-12 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="13"] ~ button.sheet-fs-gt-13 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="14"] ~ button.sheet-fs-gt-14 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="15"] ~ button.sheet-fs-gt-15 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="16"] ~ button.sheet-fs-gt-16 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="17"] ~ button.sheet-fs-gt-17 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="18"] ~ button.sheet-fs-gt-18 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="19"] ~ button.sheet-fs-gt-19 > span.sheet-fs-checked,
|
|
input.sheet-fs-dot[value="20"] ~ button.sheet-fs-gt-20 > span.sheet-fs-checked {
|
|
display: none;
|
|
}
|
|
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal {
|
|
width: calc(100% - 30px);
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-content: flex-start;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
align-self: stretch;
|
|
|
|
position: relative;
|
|
overflow: visible;
|
|
}
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20 + div.sheet-fs-skill-roll-characteristic-choice {
|
|
display: none;
|
|
}
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20:hover + div.sheet-fs-skill-roll-characteristic-choice,
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20 + div.sheet-fs-skill-roll-characteristic-choice:hover {
|
|
position: absolute;
|
|
z-index: 5;
|
|
top: 1px;
|
|
left: 26px;
|
|
|
|
background-color: #ffffff;
|
|
border-radius: 5px;
|
|
border: 1px solid rgb(15, 9, 9);
|
|
padding: 2px;
|
|
width: max-content;
|
|
|
|
display: grid;
|
|
grid-auto-flow: row;
|
|
grid-template-rows: max-content;
|
|
}
|
|
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20:hover + div.sheet-fs-skill-roll-characteristic-choice > input,
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20 + div.sheet-fs-skill-roll-characteristic-choice:hover > input {
|
|
height: 25px;
|
|
}
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20:hover + div.sheet-fs-skill-roll-characteristic-choice > div,
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20 + div.sheet-fs-skill-roll-characteristic-choice:hover > div {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-template-rows: repeat(9, max-content);
|
|
}
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20:hover + div.sheet-fs-skill-roll-characteristic-choice > div > div:nth-child(3),
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20 + div.sheet-fs-skill-roll-characteristic-choice:hover > div > div:nth-child(3),
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20:hover + div.sheet-fs-skill-roll-characteristic-choice > div > div:nth-child(12),
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20 + div.sheet-fs-skill-roll-characteristic-choice:hover > div > div:nth-child(12),
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20:hover + div.sheet-fs-skill-roll-characteristic-choice > div > div:nth-child(21),
|
|
.sheet-fs-skill > div.sheet-fs-skill-normal > button.sheet-fs-d20 + div.sheet-fs-skill-roll-characteristic-choice:hover > div > div:nth-child(21) {
|
|
padding-top: 2px;
|
|
border-top: 1px solid black;
|
|
margin-top: 2px;
|
|
}
|
|
div.sheet-fs-skill-roll-characteristic-choice > div > div > label {
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.sheet-fs-notes {
|
|
grid-column: 1 / -1;
|
|
margin-left: 15px;
|
|
width:calc(100%-15px);
|
|
max-height: 0px;
|
|
position: relative;
|
|
}
|
|
|
|
.sheet-fs-notes:focus,
|
|
.sheet-fs-notes:focus-within,
|
|
.sheet-fs-notes:active,
|
|
.sheet-fs-table input:active ~ .sheet-fs-notes,
|
|
.sheet-fs-table input:focus ~ .sheet-fs-notes,
|
|
.sheet-fs-table input:focus-within ~ .sheet-fs-notes {
|
|
min-height: 4em;
|
|
max-height: initial;
|
|
resize: vertical;
|
|
overflow:auto;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.sheet-fs-auto-expand-textarea {
|
|
cursor: text;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.sheet-fs-notes > .sheet-fs-auto-expand-textarea {
|
|
visibility: collapse;
|
|
}
|
|
|
|
/* hack for Firefox due to focus events on invisible elements not been registered it seems. */
|
|
/* We need to keep it visible for >0ms for the click to be registered. */
|
|
.sheet-fs-notes > .sheet-fs-auto-expand-textarea {
|
|
|
|
transition: visibility 0s linear 1ms;
|
|
}
|
|
|
|
.sheet-fs-notes:focus > .sheet-fs-auto-expand-textarea,
|
|
.sheet-fs-notes:focus-within > .sheet-fs-auto-expand-textarea,
|
|
.sheet-fs-notes:active > .sheet-fs-auto-expand-textarea,
|
|
.sheet-fs-table input:active ~ .sheet-fs-notes > .sheet-fs-auto-expand-textarea,
|
|
.sheet-fs-table input:focus ~ .sheet-fs-notes > .sheet-fs-auto-expand-textarea,
|
|
.sheet-fs-table input:focus-within ~ .sheet-fs-notes > .sheet-fs-auto-expand-textarea,
|
|
.sheet-fs-table select:active ~ .sheet-fs-notes > .sheet-fs-auto-expand-textarea,
|
|
.sheet-fs-table select:focus ~ .sheet-fs-notes > .sheet-fs-auto-expand-textarea,
|
|
.sheet-fs-table select:focus-within ~ .sheet-fs-notes > .sheet-fs-auto-expand-textarea {
|
|
visibility: visible;
|
|
}
|
|
|
|
.sheet-fs-auto-expand-textarea span {
|
|
visibility: hidden;
|
|
white-space: pre-wrap;
|
|
display: block;
|
|
}
|
|
|
|
.sheet-fs-auto-expand-textarea textarea {
|
|
position: absolute;
|
|
z-index: 1;
|
|
top: 0;
|
|
left: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
height: 100%;
|
|
width: 100%;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
box-shadow: none;
|
|
color: inherit;
|
|
font: inherit;
|
|
letter-spacing: inherit;
|
|
padding: inherit;
|
|
text-align: inherit;
|
|
text-transform: inherit;
|
|
}
|