Skip to content

Instantly share code, notes, and snippets.

'use strict';
import _ from 'underscore';
import {PFLog, PFConsole} from './PFLog';
import TAS from 'exports-loader?TAS!TheAaronSheet';
import * as SWUtils from './SWUtils';
import PFConst from './PFConst';
import * as PFUtils from './PFUtils';
import * as PFUtilsAsync from './PFUtilsAsync';
import * as PFMacros from './PFMacros';
import * as PFMenus from './PFMenus';
<div class="sheet-h2-section sheet-abilities sheet-repeating-sect sheet-wide-readonly">
<input type="checkbox" class="sheet-mythic-show" name="attr_mythic-adventures-show" value="1" role="presentation" />
<div role="menubar" class="sheet-abilitiesnav sheet-tabs sheet-custbordernav" aria-label="Abilities" data-i18n-aria-label="abilities"></div>
<input type="checkbox" class="sheet-mythic-show" name="attr_mythic-adventures-show" value="1" role="presentation" />
<input type="radio" class="sheet-tabinput sheet-tab0 sheet-wider-tab" name="attr_abilities_tab" value="class-features" data-i18n-title="class-features" data-i18n-aria-label="class-features" />
<label role="menuitem" class="sheet-tab sheet-tab0 sheet-wider-tab" data-i18n="class-features">Features</label>
<input type="radio" class="sheet-tabinput sheet-tab1 sheet-med-tab" name="attr_abilities_tab" value="feats" data-i18n-title="feats" data-i18n-aria-label="feats" />
<label role="menuitem" class="sheet-tab sheet-tab1 sh
@vince-roll20
vince-roll20 / pf.css
Created March 14, 2019 00:32
Lance Color option css
.sheet-section-show:not(:checked)~.sheet-section,
.sheet-macro-show:not(:checked)~.sheet-macro,
.sheet-spd-show:not(:checked)~.sheet-spd,
.sheet-pc-details-show:not(:checked)~.sheet-pc-details,
.sheet-pc-abilities-show:not(:checked)~.sheet-pc-abilities,
.sheet-pc-health-show:not(:checked)~.sheet-pc-health,
.sheet-pc-ac-show:not(:checked)~.sheet-pc-ac,
.sheet-pc-skills-show:not(:checked)~.sheet-pc-skills,
.sheet-pc-weapons-show:not(:checked)~.sheet-pc-weapons,
.sheet-pc-feats-show:not(:checked)~.sheet-pc-feats,
@vince-roll20
vince-roll20 / pf.html
Created March 14, 2019 00:30
Lance color option html
<div class="sheet-color">
<select name="attr_color">
<option value="white">White</option>
<option value="black">Black</option>
</select>
</div>
<div class="sheet-pc">
<b>Character Details</b>
<input type="checkbox" class="sheet-pc-details-show" title="character-details-show" name="attr_character-details-show" value="1" style="opacity:0;width: 16px;height: 16px;position: relative;top: 5px;left: 6px;margin: -10px;cursor: pointer;z-index: 1;" checked/><span></span>
<div class="sheet-pc-details">
{
"use-header-images": "Use header images",
"conditions-list": "bleed,blinded,cowering,dazed,dazzled,dead,deafened,disabled,drowning,dying,energy-drained,entangled,exhausted,fascinated,fatigued,flat-footed,grappled,helpless,incorporeal,invisible,nauseated,paralyzed,petrified,pinned,prone,fear-any,sickened,stable,staggered,stunned,suffocating,unconscious",
"skills-list": "acrobatics,appraise,artistry,artistry-00,artistry-01,artistry-02,artistry-03,artistry-04,artistry-05,artistry-06,artistry-07,artistry-08,artistry-09,artistry-10,artistry-11,artistry-12,artistry-13,bluff,climb,craft,craft-00,craft-01,craft-02,craft-03,craft-04,craft-05,craft-06,craft-07,craft-08,craft-09,craft-10,craft-11,craft-12,craft-13,diplomacy,disable-device,disguise,escape-artist,fly,handle-animal,heal,intimidate,knowledge,knowledge-00,knowledge-01,knowledge-02,knowledge-03,knowledge-arcana,knowledge-dungeoneering,knowledge-engineering,knowledge-geography,knowledge-history,knowledge-local,knowledge-nature,knowledge-nobility,knowle
@import url('https://fonts.googleapis.com/css?family=Ubuntu|Roboto+Mono|Open+Sans|Lato&display=swap');
.charsheet summary {
display: list-item;
opacity: .35;
font-size: 1.5rem;
}
.charsheet summary > * {
display: inline;
This file has been truncated, but you can view the full file.
<!--
-
-
-DEVELOPMENT NOT FOR PROD SUPPORT YET
-
-
-->
<input type="checkbox" name="attr_use_specfont" value="1" class="accessible noshow" role="presentation" />
<input type="checkbox" name="attr_use_specfont" value="2" class="comic noshow" role="presentation" />
<input type="checkbox" name="attr_use_specfont" value="3" class="segoe noshow" role="presentation" />
{
"tahoma":"Tahoma",
"lucida":"Lucida Sans",
"segoe": "Segoe UI",
"fantasy": "Fantasy",
"font-background": "Font / Background",
"1-ordinal": "1st",
"10-ordinal": "10th",
"100-at-level-1": " Use max hp for first level/HD",
"100-at-level-1-title": "Use max hit points for first level. Racial hit dice are considered 'first' if character has both racial and class hit dice.",
html,
.sheet-pf-wrapper,
.sheet-rolltemplate-pf_generic,
.sheet-rolltemplate-pf_ability,
.sheet-rolltemplate-pf_defense,
.sheet-rolltemplate-pf_attack,
.sheet-rolltemplate-pf_spell,
.sheet-rolltemplate-pf_block {
box-sizing: border-box;
}
This file has been truncated, but you can view the full file.
<input type="checkbox" name="attr_use_specfont" value="1" class="sheet-accessible sheet-noshow" role="presentation" />
<input type="checkbox" name="attr_use_specfont" value="2" class="sheet-comic sheet-noshow" role="presentation" />
<input type="checkbox" name="attr_use_specfont" value="3" class="sheet-segoe sheet-noshow" role="presentation" />
<input type="checkbox" name="attr_use_specfont" value="4" class="sheet-lucida sheet-noshow" role="presentation" />
<input type="checkbox" name="attr_use_specfont" value="5" class="sheet-fantasy sheet-noshow" role="presentation" />
<input type="checkbox" name="attr_use_background" value="1" class="sheet-graph-paper sheet-noshow" role="presentation" />
<input type="checkbox" name="attr_use_background" value="2" class="sheet-parchment-1 sheet-noshow" role="presentation" />
<input type="checkbox" name="attr_use_background" value="3" class="sheet-parchment-2 sheet-noshow" role="presentation" />
<div style="width:100%;min-width:100%;margin-top:-1em;" class="sheet-pf-wrapper