Files
roll20-character-sheets/Dresden Files Role-Playing Game/DFRPG.css
T
David Lambert 4d23fe8ce9 Upgraded Powers
- Bugfix : Add "talk" hover button to allow tablet to select the power and open/close the settings
 - Improvement : Moved the icons to the right (Follow the sheet flow)
 - Improvement : Roll template for power is improved, using the available space better.
2025-05-14 23:46:31 +02:00

1749 lines
37 KiB
CSS

.ui-dialog .tab-content .charsheet {
/* Row & Column*/
.flex-row,
.flex-column{
display: flex;
flex-wrap: nowrap;
gap : 0.5rem;
}
.flex-row {
flex-direction: row;
}
.flex-column {
flex-direction: column;
}
.w-1 {
width: calc(1 * 100% / 12);
}
.w-2 {
width: calc(2 * 100% / 12);
}
.w-3 {
width: calc(3 * 100% / 12);
}
.w-4 {
width: calc(4 * 100% / 12);
}
.w-5 {
width: calc(5 * 100% / 12);
}
.w-6 {
width: calc(6 * 100% / 12);
}
.w-7 {
width: calc(7 * 100% / 12);
}
.w-8 {
width: calc(8 * 100% / 12);
}
.w-9 {
width: calc(9 * 100% / 12);
}
.w-10 {
width: calc(10 * 100% / 12);
}
.w-11 {
width: calc(11 * 100% / 12);
}
.w-12 {
width: calc(12 * 100% / 12);
}
/* Text Alignement */
.text-center{
text-align: center;
}
.text-left{
text-align: left;
}
.text-right{
text-align: right;
}
/* padding */
.pad-1{
padding: 0.2rem
}
.pad-2{
padding: 0.5rem
}
.pad-3{
padding: 1rem
}
.pad-4{
padding: 1.5rem
}
/* gap */
.gap-1{
gap: 0.2rem;
}
.gap-2{
gap: 0.5rem;
}
.gap-3{
gap: 1rem;
}
.gap-4{
gap: 1.5rem;
}
/* Axis Alignement */
.justify-start{
justify-content: flex-start;
}
.justify-end{
justify-content: flex-end;
}
.justify-center{
justify-content: center;
}
.justify-sb{
justify-content: space-between;
}
.justify-sa{
justify-content: space-around;
}
.justify-se{
justify-content: space-evenly;
}
/* Text-weight */
.bold{
font-weight:bold;
}
/* Cross Axis Alignment*/
.align-start{
align-items: flex-start;
}
.align-end{
align-items: flex-end;
}
.align-center{
align-items: center;
}
.align-stretch{
align-items: stretch;
}
@import url('https://fonts.googleapis.com/css?family=Mali|Averia+Serif+Libre:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700|Overlock:ital,wght@0,400;0,700;0,900;1,400;1,700;1,900&display=swap');
/* SHEET-WIDE */
/* Variables */
{
/* Sizes */
--size-smallest: 1em;
--size-small: 1.1em;
--size-normal: 1.2em;
--size-large: 1.4em;
}
div, span, h1, h2,
.consequence-pms input, .consequence-stress input,
.stress-type input, .stress-skill input,
.rolltemplate-descriptiveroll .rolltemplate-container,
.rolltemplate-simpleroll .rolltemplate-container {
font-family: 'Averia Serif Libre';
font-variant: small-caps;
color: black;
}
input,
textarea,
.refresh select {
font-family: 'Mali', cursive;
color: navy;
font-variant: normal;
}
.col {
width: calc(50% - 10px)
}
button[type=roll].inline-roll{
border:none;
background:none;
color: black;
}
button[type=roll]::before {
font-variant: normal;
}
button[type=roll].link-roll::before {
font-family: "Pictos";
content: "w";
}
div.section {
border: solid 1px black;
border-radius: 8px;
margin-bottom: 8px;
position:relative;
}
.section-header,
.section-subheader {
text-align: center;
display: block;
}
.section-header {
text-align: center;
font-size: var(--size-large);
font-weight: bold;
display: block;
}
.section-subheader {
font-size: var(--size-small);
}
.row-header {
font-weight: bold;
font-size: 1.4em;
}
.column-header {
font-weight: bold;
display: inline-block;
vertical-align: top;
margin: auto;
text-align: center;
}
h1 {
font-size: 1.8em;
font-weight: normal;
text-align: center;
}
h2 {
font-size: 2.5em;
font-weight: bold;
text-align: center;
}
input {
font-size: 1.5em;
}
input[type="text"]:not(:focus) {
border: none;
margin: 1px;
}
textarea:not(:focus) {
border: none;
margin: 2px;
}
textarea:focus {
margin: 1px;
}
input[type="number"].round {
border-radius: 50%;
height: 40px;
width: 40px;
text-align: center;
-moz-appearance: textfield;
}
input.round::-webkit-outer-spin-button,
input.round::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"].small {
height: 20px;
width: 20px;
font-size: 1.1em;
text-align: center;
-moz-appearance: textfield;
}
input.small::-webkit-outer-spin-button,
input.small::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
div.page {
position: relative;
min-width: 775px;
}
.big-header {
font-size: var(--size-large);
font-weight: bold;
text-align: center;
display: block;
}
/* TAB BUTTONS */
.tabstoggle button {
border-bottom: none;
font-size: 1.3em;
padding: 4px 12px;
color: gray;
}
.tabstoggle button:active {
border-width: 2px 2px 0px 2px;
}
.tabstoggle[value="worksheet"] ~ #workbutton,
.tabstoggle[value="charsheet"] ~ #charbutton,
.tabstoggle[value="spellsheet"] ~ span #spellbutton,
.tabstoggle[value="city-high"] ~ #city-high-button,
.tabstoggle[value="city-locs"] ~ #city-locs-button,
.tabstoggle[value="city-face"] ~ #city-face-button,
.tabstoggle[value="config"] ~ #config-button {
background: white;
color: black;
}
/* WORKSHEET */
/* CORE */
div.worksheet_aspect {
border: solid black 1px;
margin-bottom: 8px;
border-radius: 8px;
}
div.worksheet_aspect {
position: relative;
}
div.worksheet_aspect {
height: 54px;
}
div.worksheet_aspect span.aspect_desc {
position: absolute;
bottom: 0;
font-size: var(--size-small);
padding: 4px 4px 0px 4px;
}
.right_col div.worksheet_aspect span.aspect_desc,
.phase span.aspect_desc {
right: 0;
}
div.worksheet_aspect input {
position: absolute;
width: 95%;
height: 80%;
background: none;
}
/* PHASES */
.phase-title {
text-align: center;
font-size: var(--size-normal);
display: block;
}
.phase-number {
display: block;
font-size: var(--size-normal);
position: relative;
top: 35%;
left: -10px;
transform: translateX(-50%) translateY(-50%) rotate(-90deg);
width: 100px;
}
.phase {
height: 200px;
border-top: solid 1px black;
border-left: solid 1px black;
border-right: solid 1px black;
}
.phase:first-of-type {
border-radius: 8px 8px 0px 0px;
}
.phase:last-of-type {
border-bottom: solid 1px black;
border-radius: 0px 0px 8px 8px;
}
.phase textarea {
height: 100px;
}
.phase span.events,
.phase div.events p,
.phase div.events .story-title {
font-size: 0.8em;
color: gray;
font-family: Arial;
font-variant: none;
font-style: italic;
position: relative;
text-align:right;
}
.phase span.events {
top: -20px;
left: 20px;
}
.phase div.events input {
width: 100%;
font-size: 1em;
text-align: right;
}
/* CHARACTER SHEET */
.aspects input {
width: 99%;
text-align: center;
font-size: var(--size-small);
}
/* STRESS */
.stress-track {
display: block;
clear: both;
}
.stress-box,
.stress-num,
.stress-name {
display: inline-block;
vertical-align: top;
}
.stress-name {
width: 30%;
min-width: 90px;
margin-left: 8px;
}
.stress-name .stress-type,
.stress-name .stress-type input {
font-weight: bold;
font-size: 1.4em;
}
.stress-name .stress-skill,
.stress-name .stress-skill input {
font-size: var(--size-small);
}
.stress-name .stress-type input,
.stress-name .stress-skill input {
color: #404040;
width: 80%;
font-size: inherit;
height: 100%;
margin: 0px;
padding: 0px;
border-bottom: solid 1px #404040;
}
.stress-box,
.stress-num {
width: 5%;
text-align: center;
font-weight: bold;
}
.stress-box input,
.stress-box label {
margin:auto;
display:block;
}
.armor {
margin-left: 8px;
}
.armor textarea {
width: 95%;
height: 3em;
}
/* "FAKE" STRESS CHECKBOXES */
.stress-fake-box {
position: relative;
cursor: pointer;
font-size: 22px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Hide the browser's default checkbox */
.stress-fake-box input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
/* Hide our fake one too */
.stress-fake-box span,
.stress-fake-box label,
.stress-fake-box input {
display: none;
}
/* Create a custom checkbox */
input:checked ~ .stress-fake-box span {
display: block;
position: absolute;
top: 0;
left: calc(50% - 16px);
height: 21px;
width: 21px;
border: solid 1px black;
}
/* On mouse-over, add a blue border color */
.stress-fake-box:hover input ~ span{
border-color: #2196F3;
/*background-color: #ccc;*/
}
/* On click, add a blue background color */
.stress-fake-box:active input ~ span {
background-color: #9ec6e6;
}
/* Create the checkmark/indicator (hidden when not checked) */
.stress-fake-box span:after {
font-family: 'Pictos';
content: "*";
position: absolute;
display:none;
font-size:var(--size-small);
}
/* Show the checkmark when checked */
.stress-fake-box input:checked ~ span:after {
display: block;
}
/* Style the checkmark/indicator */
.stress-fake-box span:after {
top: 1px;
}
/* CONSEQUENCES */
.consequences {
display: block;
clear: both;
}
.consequence-type,
.consequence-pms,
.consequence-stress,
.consequence-used,
.consequence-aspect {
display: inline-block;
vertical-align: top;
}
.consequence-pms,
.consequence-stress {
text-align: center;
}
.consequence-pms,
.consequence-stress,
.consequence-used,
.consequence-used input {
margin: auto;
text-align: center;
}
.consequence-type {
width: 16%;
margin-left: 8px;
}
.consequence-pms {
width: 15%;
margin-left: 8px;
}
.consequence-stress {
width: 13%;
margin-left: 8px;
}
.consequence-used {
width: 11%;
margin-left: 8px;
}
.consequence-aspect {
width: 30%;
margin-left: 8px;
}
.consequence-aspect input,
.consequence-pms input,
.consequence-stress input {
font-size: 1em;
width: 100%;
}
.consequence-pms input,
.consequence-stress input {
color: #404040;
}
.consequence-aspect input[type="text"] {
border-bottom: 1px solid black;
margin-bottom: -1px;
}
.consequence-type select {
width: 100%;
-webkit-appearance: none;
-moz-appearance: none;
text-indent: -1px;
padding: 0px;
font-size: .9em;
color: black;
}
.consequence-pms input:not(:focus) {
border-bottom: solid 1px #404040;
}
.consequence-stress input.small {
border-style: none none solid none;
border-color: black;
height: auto;
padding: 4px 2px;
}
/* REFRESH */
.refresh .section-subheader {
margin-left: 8px;
display: inline-block;
vertical-align: middle;
}
.refresh .row-one div,
.refresh .row-two div {
display: inline-block;
vertical-align: top;
width: 48%;
}
.refresh input[type="text"] {
font-size: var(--size-small);
width: 80%;
border-bottom: solid 1px black;
}
.refresh input[type="number"] {
font-size: 1.4em;
}
.refresh select {
width: 70%;
color: navy;
font-size: var(--size-small);
}
.refresh-button {
position: relative;
}
button.refresh-fate {
position: absolute;
margin: 20px;
height: 120px;
width: 110px;
border-radius: 50%;
font-size: 2em;
border-width: 1px;
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Dresden%20Files%20Role-Playing%20Game/pentagram.png);
background-position: center;
background-size: cover;
}
.refresh-display {
margin-top: 8px;
}
.current_fp {
margin-bottom: 8px;
}
.base_refresh,
.current_fp {
margin-left: -8px;
}
/* SKILLS */
.compact_skills_toggle {
text-align: right;
}
.skill-roll-button.btn[type="roll"] {
background: white;
font-size: 1.2em;
}
button.skill-roll-button:hover {
background: #DDDDDD;
}
/* EXPANDED */
#skills_expanded_view {
overflow: hidden;
}
.skill-expanded-button {
width: 125px;
}
button.skill-expanded-button ~ input[type="number"] {
margin-left: 8px;
}
.skills_expanded_view .skill {
margin: 2px 8px;
float: left;
}
/* COMPACT */
button.skill-roll-button.skill-compact-button {
margin-top: 4px;
}
.skill_tier {
margin: 8px;
}
.skill_tier:not(:nth-last-of-type(2)):not(:last-of-type) {
border-bottom: solid 1px black;
}
.skill_tier:last-of-type {
border-top: solid 1px black;
}
.skill_tier > div {
display: inline-block;
}
.skill_tier_box {
width: 30%;
vertical-align: top;
}
.skill-tier-skills {
width: 60%;
min-height: 50px;
vertical-align: top;
}
.skill_tier_name {
font-size: var(--size-normal);
}
.skill_tier_slots {
font-size: 1.1em;
}
.skills label {
font-weight: bold;
margin: 4px;
width: auto;
}
.notes {
display: inline-block;
width: calc(100% - 135px);
height: 300px;
}
.notes textarea {
width: 95%;
height: 90%;
}
.notes .column-header {
width: 100%;
}
.ladder {
display: inline-block;
width: 120px;
border: solid 1px black;
border-radius: 8px;
vertical-align: top;
margin-right: 8px;
}
.ladder-header {
width: 100%;
text-align: center;
display: inline-block;
font-weight: bold;
}
.ladder table {
width: 100%;
}
.ladder td {
padding: 4px;
}
.refresh_adj {
margin: 4px;
}
.refresh_adj input {
display: inline-block;
}
.refresh_adj .section-subheader {
display: inline-block;
}
/* SPELLCASTING SHEET */
.core-skill {
width: 32%;
display: inline-block;
vertical-align: top;
text-align: center;
}
.core-plus {
font-family: Tahoma;
font-size: var(--size-large);
position: relative;
margin-right: -18px;
vertical-align: middle;
}
input.round.big {
height: 50px;
width: 50px;
font-size: 2em;
}
.core-skill-name {
font-weight: bold;
}
.core-skill-desc span {
display: block;
text-align: center;
}
.evocation-spec-element,
.evocation-spec-control,
.evocation-spec-power,
.thaumaturgy-spec-application,
.thaumaturgy-spec-control,
.thaumaturgy-spec-complexity,
.focus-item-desc,
.focus-item-bonus,
.focus-item-slots,
.enchanted-item-desc,
.enchanted-item-effect,
.enchanted-item-slots,
.rote-button,
.rote-shifts,
.rote-stress,
.rote-spell {
display: inline-block;
}
.evocation-spec-element,
.thaumaturgy-spec-application,
.focus-item-desc,
.enchanted-item-desc {
text-align: left;
margin-left: 8px;
}
.evocation-spec-element,
.thaumaturgy-spec-application {
width: 45%;
}
.evocation-spec-element input,
.thaumaturgy-spec-application input {
width: 90%;
}
.evocation-spec-control,
.evocation-spec-power,
.thaumaturgy-spec-control,
.thaumaturgy-spec-complexity {
width: 25%;
text-align: center;
}
.evocation-spec-control input[type="number"],
.evocation-spec-power input[type="number"],
.thaumaturgy-spec-control input[type="number"],
.thaumaturgy-spec-complexity input[type="number"] {
width: 70%;
margin: 0px 5%;
text-align: center;
border-style: none none solid none;
border-color: black;
-moz-appearance: textfield;
}
.evocation-spec-control input::-webkit-outer-spin-button,
.evocation-spec-power input::-webkit-outer-spin-button,
.thaumaturgy-spec-control input::-webkit-outer-spin-button,
.thaumaturgy-spec-complexity input::-webkit-outer-spin-button,
.evocation-spec-control input::-webkit-inner-spin-button,
.evocation-spec-power input::-webkit-inner-spin-button,
.thaumaturgy-spec-control input::-webkit-inner-spin-button,
.thaumaturgy-spec-complexity input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.evocation-spec span.plus,
.thau-spec span.plus {
position: relative;
display: inline-block;
font-size: 2em;
right: -16px;
width: 0px;
vertical-align: middle;
}
.crafting-spec span.plus {
position: relative;
display: inline-block;
font-size: 1em;
right: -12px;
width: 0px;
vertical-align: middle;
}
.crafting-freq,
.crafting-strength {
display: inline-block;
width: 45%;
margin-left: 8px;
margin-bottom: 4px;
white-space: nowrap;
}
.crafting-freq input.small,
.crafting-strength input.small,
.focus-item-slots input.small,
.enchanted-item-slots input.small,
.rote-shifts input.small,
.rote-stress input.small,
.evocation-element input[type="number"].small,
.focus_items-expanded input[type="number"].small,
.rote-spell-expanded input[type="number"].small {
width: 40px;
border-style: none none solid none;
border-color: black;
}
.crafting-freq .column-header,
.crafting-strength .column-header {
display: inline-block;
vertical-align: middle;
}
.spell-total-workspace .column-header {
width: 100%;
}
.spell-total-workspace .column-header .weak {
font-weight: normal;
}
.spell-total-workspace textarea {
width: 90%;
height: 2em;
margin: 1px 5%;
border: 1px;
}
.spell-total-workspace textarea:not(:focus) {
border: 1px;
}
.sponsor-debt {
margin-bottom: 8px;
}
.spellsheet .section input[type="text"] {
border-bottom: solid 1px black;
}
.sponsor-debt-sponsor {
width: 85%;
margin-left: 8px;
display: inline-block;
}
.sponsor-debt-sponsor input {
width: 90%;
}
.sponsor-debt-sponsor.column-header {
text-align: left;
}
.sponsor-debt-debt {
width: 10%;
display: inline-block;
text-align: center;
}
.enchanted-item-effect,
.focus-item-bonus,
.rote-spell {
text-align: left;
}
.focus_items input[type="text"],
.enchanted_items input[type="text"],
.rote_spells input[type="text"] {
font-size: 1.2em;
width: 90%;
}
.focus_items-expanded input.round,
.focus_items input.round,
.enchanted_items input.round,
.rote_spells input.round,
.rote_spells-expanded input.round {
margin: 4px;
}
.focus-item-desc,
.enchanted-item-desc {
width: 40%;
margin-left: 8px;
}
.focus-item-bonus,
.enchanted-item-effect {
width: 40%;
}
.focus-item-bonus textarea,
.enchanted-item-effect textarea {
height: 3em;
vertical-align: middle;
}
.focus-item-slots,
.enchanted-item-slots {
width: 10%;
}
.rote-button {
width: 10%;
margin-left: 8px;
}
.rote-button button[type="roll"] {
width: 1em;
margin-left: 8px;
}
.rote-shifts input.small[type="number"]
.rote-stress input.small[type="number"] {
height: inherit;
}
.rote-shifts {
width: 15%;
}
.rote-stress {
width: 15%;
}
.rote-shifts input.small,
.rote-stress input.small {
margin-left: 8px;
}
.rote-spell {
width: 50%;
}
/* Expanded sections */
.evocation-element,
.focus-item,
.enchanted-item,
.rote-spell-expanded {
margin-left: 8px;
margin-bottom: 8px;
}
.evocation-element .column-header
.focus_items-expanded .column-header {
vertical-align: middle;
}
.evocation-element span.plus,
.focus_items-expanded span.plus {
position: relative;
display: inline-block;
right: -8px;
width: 0px;
}
.focus-item-name-and-type select {
width: 120px;
}
.focus-item-elements textarea,
.focus-item-types textarea {
width: 70%;
font-size: 1.2em;
height: 1.2em;
}
.focus-item-power,
.focus-item-control {
display: inline-block;
width: 35%
}
.focus-item-name-and-type,
.enchanted-item-name,
.rote-name {
display: inline-block;
width: 80%;
}
.focus-item-slots,
.enchanted-item-slots,
.rote-spell-button {
float: right;
margin-right: 16px;
}
.enchanted-item-expanded-effect textarea,
.rote-expanded-effect textarea {
width:90%;
height: 3em;
}
.use-enchanted-item select,
.rote-shifts-stress select {
width: 130px;
height: 1.6em;
padding: 0px;
}
.use-enchanted-item input[type="number"].small {
height: 1.1em;
padding: 0px;
border-width: 0px 0px 1px 0px;
border-color: black;
}
.rote-spell-expanded button {
display: block;
}
.rote-spell-expanded input[type="number"] {
margin-right: 4px;
}
/* CITY - HIGH/LOCATIONS */
.theme-or-threat {
width: 100%;
text-align: center;
}
.theme-or-threat {
font-size: var(--size-large);
}
.city-theme textarea,
.location textarea {
width: 95%;
height: 4em;
}
.city-theme input,
.location input {
font-size: var(--size-normal);
}
.location textarea{
height: 4em;
width: 95%;
}
/* CITY - HIGH */
.col.city-theme.section {
margin-right: 16px;
}
.status-quo > div {
display: inline-block;
width: calc(50% - 5px);
}
.status-quo .section-header {
font-size: var(--size-normal);
}
.status-quo .section-header .weak {
font-weight: normal;
}
.status-quo textarea {
width: 97%;
font-size: .8em;
border: 1px solid black;
border-radius: 8px;
height: 120px;
margin: 4px;
}
.movers-and-shakers {
position: relative;
}
.axis, .axis-category {
text-align: center;
}
.axis {
display: block;
font-size: var(--size-normal);
font-weight: bold;
}
.axis-category {
display: inline-block;
width: 49%;
}
.top-of-table {
padding-left: 72px;
padding-right: 16px;
margin-bottom: -64px;
}
.side-of-table {
display: inline-block;
position: relative;
left: -110px;
transform: rotate(-90deg) translateX(-180px);
width: 300px;
}
.movers-table {
display: inline-block;
position: relative;
left: 64px;
border: 1px solid black;
border-radius: 8px;
width: 90%;
margin: 8px;
}
.movers-and-shakers table {
width: 100%;
}
.movers-and-shakers tr {
height: 100px;
}
.movers-and-shakers td {
height: 100%
}
.movers-and-shakers textarea {
height: 100%;
width: 100%;
font-size: .8em;
border-radius: 8px;
margin: 0px;
padding: 0px;
}
.movers-and-shakers textarea:focus {
margin: -1px;
}
/* CITY - LOCATIONS/FACES */
.repcontainer[data-groupname=repeating_faces] .repitem,
.repcontainer[data-groupname=repeating_locations] .repitem {
width: calc(33% - 16px);
display: inline-block;
margin-right: 16px;
}
/* CITY - LOCATIONS */
.location span ~ input[type="text"],
.city-theme span ~ input[type="text"] {
width: 95%;
text-align: center;
}
/* CITY - FACES */
.face-header {
font-size: var(--size-large);
display: block;
text-align: center;
}
.face input {
font-size: var(--size-normal);
text-align: center;
width: 99%;
}
.face textarea {
width: 95%;
margin-left: auto;
margin-right: auto;
height: 3em;
}
/* SETTINGS */
.option {
font-size: var(--size-normal);
margin: 16px;
}
.option span {
font-variant: normal;
}
.sub-option {
margin-left: 16px;
}
/*Hide toggleable pages and sections*/
.category,
.page,
.skill-compact-button,
.toggleable {
display: none;
}
/* show the selected tab */
.tabstoggle[value="worksheet"] ~ #worksheet,
.tabstoggle[value="charsheet"] ~ #charsheet,
.tabstoggle[value="spellsheet"] ~ #spellsheet,
.tabstoggle[value="city-high"] ~ #city-high,
.tabstoggle[value="city-locs"] ~ #city-locs,
.tabstoggle[value="city-face"] ~ #city-face,
.tabstoggle[value="config"] ~ #config,
.aspecttoggle[value="1"] ~ #temp-aspects,
.skilltoggle[value="1"] ~ #skills_compact_view,
.skilltoggle[value="0"] ~ #skills_expanded_view,
.skill_tier_toggle[value="1"] + .skill_tier,
.evotoggle[value="0"] ~ #evocation_specializations,
.evotoggle[value="1"] ~ #evocation_elements,
.evotoggle[value="0"] ~ .evo-spec,
.evotoggle[value="1"] ~ .evo-name,
.spelltotaltoggle[value="0"] ~ #spell_totals,
.focus-evothau[value="evocation"] ~ #focus-item-evocation,
.focus-evothau[value="thaumaturgy"] ~ #focus-item-thaumaturgy,
.focus-item-expanded[value="0"] ~ #focus_items,
.focus-item-expanded[value="1"] ~ #focus_items-expanded,
.enchanted-expanded[value="0"] ~ #enchanted_items,
.enchanted-expanded[value="1"] ~ #enchanted_items-expanded,
.rote-expanded[value="0"] ~ #rote_spells,
.rote-expanded[value="1"] ~ #rote_spells-expanded,
.spellcaster-view[value="1"] ~ #spellcaster-sub-options,
.typetoggle[value="character"] ~ .character-config,
.typetoggle[value="city"] ~ .city-config,
.face-revealer[value="theme-one"] ~ .theme-one {
display: block;
}
/* show buttons of the proper type */
.typetoggle[value="character"] ~ .char-button,
.typetoggle[value="city"] ~ .city-button,
.spelltoggle[value="1"] ~ .spell-button,
.skilltoggle[value="1"] + .skill-compact-button {
display: inline;
}
/* FACES */
div.theme-threat-face{
display : flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
}
div.theme-threat-face input[type=text]{
width:40%;
}
div.theme-threat-face textarea{
width:60%;
}
.powers{
.itemcontrol{
z-index : 1;
}
padding: .5rem;
.power{
/* Conditional Visibility */
position : relative;
margin-bottom: 0.5rem;
.options{
display : none;
padding: 0.25rem;
margin-left : 0.5rem;
border-left: darkgray 1px solid;
border-bottom: darkgray 1px solid;
border-bottom-left-radius: 0.25rem;
label{
padding-bottom: 0;
margin-bottom: 0;
}
textarea{
width: 97%;
resize: vertical;
height: 3rem;
}
input[type=number]{
border:none;
text-align: center;
}
}
.chat-hover{
position: absolute;
top:-0.5rem;
right: 1.5rem;
width:18px;
height:18px;
z-index: 1;
display: none;
span{
font-variant: normal;
font-family: Pictos;
color: darkgray;
}
}
&:hover .chat-hover{
display: block;
}
.options-flag{
position: absolute;
top:-0.5rem;
right: .25rem;
width:18px;
height:18px;
z-index: 1;
opacity: 0;
display: none;
}
.options-flag + span{
width: 18px;
height: 18px;
font-size:18px;
text-align: center;
position: absolute;
font-variant: normal;
font-family: Pictos;
top:-0.5rem;
right: .25rem;
padding: 0;
display: none;
}
&:hover .options-flag{
display: block;
}
&:hover .options-flag + span{
display: block;
color: darkgray;
}
.options-flag:checked + span{
display: block;
color: black;
}
.options-flag:checked ~ .options{
display: flex;
}
/* Title */
.power-summary{
border: none;
box-shadow: none;
background-color: transparent;
background-image: none;
padding: 0;
width: 100%;
margin: 0;
display: flex;
flex-direction: row;
align-items: center;
gap: .5rem;
.round,.title{
span{
color: navy;
font-family: 'Mali', cursive;
font-variant: normal;
font-size: 1.5em;
}
}
.title{
flex: 1;
text-align: center;
span {
font-size: 1.25em;
}
padding: .25rem;
background: #f5f5f5;
border: 1px solid #ddd;
border-radius: .5rem;
}
.round{
width:40px;
height:40px;
background: #f5f5f5;
border-radius: 50%;
border: 1px solid #ddd;
display: flex;
justify-content: center;
align-items: center;
}
}
}
}
/*Hover Link Button */
div.power .hover-button,
div.theme-threat-face .hover-button,
div.section .hover-button{
display:none;
position: absolute;
top: 2px;
right: 2px;
}
div .hover-button.hover-button-bl{
top: auto;
right: auto;
left: 2px;
bottom : 0.75em;
}
div.power:hover > .hover-button,
div.theme-threat-face:hover > .hover-button,
div.section:hover > .hover-button{
display: block;
}
.text-button{
background: none;
border: none;
}
.text-button:before{
content: '';
}
}
/* ROLL TEMPLATES */
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-container,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-container,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-container {
border: 1px solid black;
border-radius: 8px;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-header,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-header,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-header {
padding: 4px;
background: gray;
border-radius: 8px 8px 0px 0px;
color: white;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-header .sheet-rolltemplate-name,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-header .sheet-rolltemplate-name,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-header .sheet-rolltemplate-name,
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-header .sheet-rolltemplate-check,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-header .sheet-rolltemplate-name,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-header .sheet-rolltemplate-check,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-header .sheet-rolltemplate-check {
display: block;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-header .sheet-rolltemplate-name,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-header .sheet-rolltemplate-name,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-header .sheet-rolltemplate-name {
text-align: left;
font-size: 1em;
padding-bottom: 8px;
padding-left: 4px;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-header .sheet-rolltemplate-check,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-header .sheet-rolltemplate-check,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-header .sheet-rolltemplate-check {
text-align: center;
font-size: 2em;
padding-bottom: 8px;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-container div:last-of-type,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-container div:last-of-type,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-container div:last-of-type {
border-radius: 0px 0px 8px 8px;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-roll,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-roll,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-roll {
text-align: center;
background: white;
padding: 16px;
font-size: 1.5em;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-roll .inlinerollresult,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-roll .inlinerollresult {
background: inherit;
border: inherit;
padding: 0px;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-note .inlinerollresult,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-note .inlinerollresult,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-note .inlinerollresult {
font-size: 1.2em;
border: none;
background: none;
display: inline-block;
padding: 8px 0px 0px;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-note,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-note,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-note {
background:white;
border-top: 1px gray solid;
padding: 4px;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-note .sheet-rolltemplate-key,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-note .sheet-rolltemplate-key,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-note .sheet-rolltemplate-key {
display: inline-block;
width: 30%;
padding: 8px;
height: 100%;
vertical-align: top;
font-weight: bold;
}
.sheet-rolltemplate-linkroll .sheet-rolltemplate-note .sheet-rolltemplate-desc{
width: 95%;
display : block;
padding: 0 8px 8px;
text-align: left;
}
.sheet-rolltemplate-linkroll .sheet-rolltemplate-note .sheet-rolltemplate-desc-title{
width: 95%;
display : block;
padding: 8px;
text-align: left;
font-weight: bold;
}
.sheet-rolltemplate-descriptiveroll .sheet-rolltemplate-note .sheet-rolltemplate-value,
.sheet-rolltemplate-linkroll .sheet-rolltemplate-note .sheet-rolltemplate-value,
.sheet-rolltemplate-simpleroll .sheet-rolltemplate-note .sheet-rolltemplate-value {
display: inline-block;
width: 60%;
font-size: .9em;
}
.sheet-rolltemplate-linkroll .sheet-rolltemplate-note .sheet-rolltemplate-value{
width: 60%;
font-size: 1em;
}