Files
roll20-character-sheets/Fate_Core/fate.css
player-03 e87a1ae052 Update Fate_Core sheet based on user feedback. (#4825)
* Update Fate Core sheet based on user feedback.

https://app.roll20.net/forum/post/7284174/fix-the-fate-core-sheets/

* Add an options menu.

* Explain how to delete certain items.

* Improve options menu.

You can now set the number of stress boxes in every single track you create,
and the option descriptions are less prescriptive.

* Add negative skills and fix legacy data bug.

Poor and terrible skills are available again (via the options menu),
and if a legacy stress track is copied over, there will now be options
for it.

* Bug fix: editing a governing skill doesn't update stress.

* Allow setting one or zero stress boxes per track.
2019-03-18 17:28:17 -05:00

301 lines
4.5 KiB
CSS

/* === GENERAL === */
.sheet-header {
margin-bottom: 4px;
padding: 2px 4px;
background: black;
color: white;
font-weight: bold;
font-size: 14pt;
}
.sheet-descriptions {
width: 300px;
}
.sheet-header a {
color: white;
}
.sheet-section {
float: left;
width: 100%;
margin: 4px 0;
padding: 1px;
box-sizing: border-box;
}
.sheet-popup {
float: left;
width: 100%;
padding: 10px;
box-sizing: border-box;
border: solid #999 2px;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
background: #EEE;
}
.sheet-break {
clear: both;
}
label,
select {
margin: 0;
}
select {
width: auto;
}
textarea {
margin: 0;
width: 100%;
height: auto;
resize: vertical;
box-sizing: border-box;
}
.sheet-repitem,
.repitem {
margin-bottom: 2px;
}
.sheet-large-text {
font-size: 1.2em;
}
.sheet-small-text {
font-size: 0.7em;
}
.sheet-small-text input[type="checkbox"] {
-ms-transform: scale(0.7); /* IE */
-moz-transform: scale(0.7); /* FF */
-webkit-transform: scale(0.7); /* Safari and Chrome */
-o-transform: scale(0.7); /* Opera */
}
/* Override Roll20 Button styling for something less conspicious */
button {
height: 22px;
line-height: 16px;
margin: 0 !important;
border-radius: 0 !important;
background-image: none !important;
border: none !important;
box-shadow: none !important;
}
.repcontrol button {
padding: 4px 8px;
height: unset;
line-height: unset;
font-size: 12px;
}
/* === VISIBILITY === */
.sheet-hidden {
display: none;
}
.sheet-active-toggle {
display: none;
}
.sheet-active-toggle:not(:checked) + div,
.sheet-active-toggle:not(:checked) + table {
display: none;
}
.sheet-repeating-checkbox:not(:checked) + input:not(:checked) {
display: none;
}
.sheet-no-repeating-buttons ~ .repcontrol {
display: none;
}
/* === TABLES === */
.sheet-table,
.sheet-left-label,
.sheet-left-fill {
display: table-row;
}
.sheet-table div {
display: table-cell;
}
.sheet-left-label div,
.sheet-left-fill div {
display: table-cell;
}
.sheet-table div:first-child,
.sheet-left-label div:first-child {
text-align: right;
font-weight: bold;
padding-right: 2px;
}
.sheet-left-label div:not(:first-child),
.sheet-left-fill div:first-child {
width: 100%;
}
.sheet-left-label input,
.sheet-left-fill input {
width: 100%;
margin-left: 2px;
}
/* === FLEX === */
.sheet-flex-row {
display: flex;
flex-direction: row;
}
.sheet-flex-column {
display: flex;
flex-direction: column;
}
.sheet-flex-1 {
flex: 1;
}
/* === BASIC === */
.sheet-logo {
width: 200px;
margin: 0 5px;
float: left;
}
.sheet-section-basic tr {
margin-left: 5px;
}
.sheet-section-basic td {
padding: 2px;
}
.sheet-section-basic input[type="number"] {
width: 100px;
}
.sheet-section-basic .sheet-column {
width: calc(50% - 200px);
}
input[type="checkbox"] {
width: auto;
}
/* === SKILLS === */
.sheet-section-skills input {
width: 83px;
}
.sheet-section-skills td:first-child {
text-align: right;
font-weight: bold;
padding: 0 4px;
}
.sheet-skill-on {
border: 1px solid black;
}
.sheet-skill-off:placeholder-shown {
background-color: #E3E3E3;
border: 1px solid gray;
}
.sheet-skill-invisible:placeholder-shown {
background-color: transparent;
border: none;
}
/* === SKILL ROLLS === */
.sheet-section-skills div {
position: relative;
}
.sheet-hidden-roll {
position: absolute;
left: 82px;
top: 1px;
z-index: 1;
}
input:placeholder-shown+.sheet-hidden-roll {
display:none;
}
input:not(:hover)+.sheet-hidden-roll:not(:hover) {
display:none;
}
/* === STRESS === */
.sheet-stress-left-column {
width: 100px;
}
.sheet-section-stress label {
padding-bottom: 10px;
}
input.sheet-dynamic-name {
text-align: right;
font-size: 1.2em;
font-weight: bold;
border: none;
color: unset;
margin-top: -4px;
background: none;
padding: 2px;
}
/* === STUNTS === */
.sheet-large-textbox {
display: none;
}
.sheet-large-textbox:checked + textarea {
height: 200px;
}
.sheet-large-textbox:checked ~ .repcontrol {
display: none;
}
/* === NOTES === */
.sheet-section-notes input {
width: 100%;
}
/* === OPTIONS === */
.sheet-dropdown-arrow {
opacity: 0;
position: relative;
left: 6px;
margin: -10px;
cursor: pointer;
z-index: 1;
}
.sheet-dropdown-arrow + span::before {
content: "►";
font-size: 10px;
}
.sheet-dropdown-arrow:checked + span::before {
content: "▼";
}
.sheet-section-options label {
padding-top: 5px;
}