Commit Graph
65 Commits
Author SHA1 Message Date
Gazook89 80ea598ec2 match brewRenderer.jsx output to printPage.jsx output 2021-09-16 19:59:54 -05:00
Gazook89 837cacc992 add .page container div to printPage.jsx 2021-09-16 09:51:16 -05:00
Gazook89 b4825e085e fix table snippet spacing in editor 2021-08-27 10:40:40 -05:00
Gazook89 dc65980dcb pull drawSlots out of individual functions 2021-08-26 12:51:36 -05:00
Gazook89 50a8468995 Update legacy and v3 styles
- removed wrap from legacy
- add :not([rowspan]) qualifier to wrap on v3.
2021-08-26 12:00:56 -05:00
Gazook89 043ade6e34 minor fix for ink-friendly legacy snippet 2021-08-20 10:36:28 -05:00
Gazook89 bc7911b0bc Add Watermark snippet 2021-08-17 16:04:59 -05:00
Gazook89 c33083814e Merge branch 'master' into Images-Snippet-Menu 2021-08-17 15:49:40 -05:00
Gazook89 ff3320c8dc reveal v3 2021-08-17 15:49:16 -05:00
Gazook89 bd368c4c64 add 'view' property
[minor fix] fix missing apostrophe
2021-08-17 12:46:22 -05:00
Gazook89 5c46ecbebd Merge branch 'master' into ClassTable-Revisions 2021-08-16 13:35:07 -05:00
Gazook89 f993a7022c Merge branch 'master' into Images-Snippet-Menu 2021-08-16 13:30:28 -05:00
Gazook89 0d2624bf3b Merge branch 'master' into metadata-panel-css-tweak 2021-08-16 13:30:07 -05:00
Gazook89 801703a7a5 Merge branch 'master' into Turn-Box-Shadows-to-Drop-Shadows 2021-08-16 13:29:47 -05:00
Gazook89 1b7729ca01 reverting change to .note:before
setting back to what it was.  apparently :before is necessary due to border-image spacing.
2021-08-15 20:17:15 -05:00
Gazook89 0773dd24ab change box-shadows to drop-shadows
monster blocks, descriptive notes, regular notes.
2021-08-15 19:57:20 -05:00
Gazook89 76a6c9c2d3 Remove :before on .note
Move all properties from :before to the base .note....don't see a need to add a superfluous pseudo element.
2021-08-15 19:52:12 -05:00
Gazook89 a7e6d0a513 Update metadataEditor.less "small" text 2021-08-14 23:34:12 -05:00
Gazook89 2874bcc5f7 Merge branch 'master' into Images-Snippet-Menu 2021-08-14 22:51:40 -05:00
Gazook89 88c485ffe5 circleCI fix
hopefully last one..

circleCI fixes

circleCI fixes
2021-08-12 21:23:21 -05:00
Gazook89 562bf6d4ac Fix to snippets.js both legacy and v3 for CircleCI 2021-08-12 07:45:00 -05:00
Gazook89 807f865d8b Match Legacy snippets to v3, remove <style> from style snippets
- Matched the Legacy snippets to v3, with appropriate syntax.
- Small adjustments to Ink Friendly snippet (retains images, reduces drop shadows, sets more backgrounds to White)
- Adds commented snippet 'titles' for Page snippets
2021-08-12 07:42:08 -05:00
Gazook89 50c07a5c8e Change 'print' to 'page' on Legacy snippet.js
Tiny fix to change "Print" menu to "Page" menu on Legacy.
2021-08-12 07:00:51 -05:00
Gazook89 3545bdc586 Update snippetbar.jsx with filter for editor/view specific menus
Add logic to filter available snippet menus based on the view/editor that is open ("text" vs "style") for both Legacy and v3.
2021-08-12 06:59:55 -05:00
Gazook89 3d9f8ea142 Update snippet.js 'editor' to 'view'
Change new property 'editor' to 'view'  on  @calculuschild 's recommendation.
2021-08-12 06:01:48 -05:00
Gazook89 69a69bbb82 Add 'editor' property to snippets.js
Add another property to the snippet groups, "editor", with values either "text" or "style".
2021-08-11 21:44:39 -05:00
Gazook89 a63949636e Update Ink Friendly snippet for v3
updated the ink friendly snippet so that it points to elements like .monster rather than hr+blockquote.

Goes further than original snippet by setting white background for monster, note, descriptive blocks.

Did not update Legacy.
2021-08-10 22:02:46 -05:00
Gazook89 9a44cc04b1 Add Square Page snippet
Add a snippet to Print menu (renamed to "Page") for a square page.  Reduces padding and removes columns as well.
2021-08-10 21:46:47 -05:00
Gazook89 cefa3147fc Fixes for CircleCI 2021-08-10 21:16:12 -05:00
Gazook89 51116efba7 Add Blended Watercolor Background Image
Add a snippet to create a nice watercolor background for use behind other images.  Includes injection syntax which includes absolute position, hue-rotate, mix-blend-mode, and opacity.

Chooses an image randomly from an Imgur album.  All images created by me (and open to creating more/making adjustments).

v3 only.

Could be improved by cycling through images rather than choosing randomly.
2021-08-10 20:56:28 -05:00
Gazook89 21058331cf Add Class Table Circle Decoration Snippet
Adding a background image snippet that includes the fancy circular decoration found behind class tables in the source material.

*Could arguably replace the normal "Background Image" snippet and hit two bases with one stone*
2021-08-10 20:24:43 -05:00
Gazook89 4b001d9890 Move Image Snippets to New Menu
Separating image related snippets to a new drop down snippet menu.
2021-08-10 20:22:36 -05:00
Gazook89 c9e1d7ba5c Fixed closing curly brackets on half class table 2021-08-10 16:35:21 -05:00
Gazook89 c8997cee68 Fix two css values throwing errors 2021-08-10 14:35:28 -05:00
Gazook89 ee343ad06f Merge branch 'master' into ClassTable-Revisions 2021-08-10 13:47:55 -05:00
Gazook89 79fa0dbe77 Fix font-family values for legacy/v3 2021-08-10 13:45:30 -05:00
Gazook89 9120c1d0eb Merge branch 'master' into v3-Artist-Snippet 2021-08-10 13:34:26 -05:00
Gazook89 a46370b81e Merge branch 'master' into v3-Artist-Snippet 2021-08-10 13:32:35 -05:00
Gazook89 2a428100c5 fix some indentation issues for circleCI 2021-08-10 09:11:14 -05:00
Gazook89 9f519b469d Change classTable Icons 2021-08-10 08:44:25 -05:00
Gazook89 927cc2e9b5 Fix "Spell Slots per Spell Level"
Update current "--- Spells Slots per Level ---"  to more accurate "--- Spells Slots per Spell Level ---" to match source material.
2021-08-10 08:33:05 -05:00
Gazook89 8bda68d684 Add 1/3 ClassTable, Unframed classes
- Adds a snippet for 1/3 Spellcasting/ClassTables for Issue #191 and builds on PR #1079 to work with v3 (but leaves out Legacy).
- Refactored classTable gen to more closely match monster block gen in terms of element classes (passed to gen function via attributes rather than baked into `return` function)
- Added an "unframed" snippet for each Full, Half, and Third class tables, which is consistent with monster stat blocks, and also is needed to satisfy #191 / #1079.
2021-08-10 08:31:08 -05:00
Gazook89 5d4bc23c84 Remove text wrapping from spanned header
This removes text wrapping from col-spanned headers inside a classtable...needed for half-tables that contain `--- Spells Slots per Spell Level ---` so they don't wrap to next line.

Both v3 and Legacy
2021-08-09 21:14:40 -05:00
Gazook89 e3285b5ca4 Create .frame class for Class Tables
Add a `.frame` class for Class Tables so that the frame and background can be toggled on or off in a similar fashion to the new monster stat block.

This will allow a class table to be used as a "third caster archetype" table such as referenced in PR #1079.  Adds consistency with Monster blocks, too.
2021-08-09 21:06:29 -05:00
Gazook89 e2280dca39 Make Minor Tweaks to v3 Style
Resubmission of  #1497  due to deletion of old repo.
2021-08-07 23:01:29 -05:00
Gazook89 37d11ec303 Add spaces to satisfy circleCI 2021-08-07 22:49:51 -05:00
Gazook89 ca9a8173bd Add HTML Comment Hotkey
Resubmission of #1492  from new clone (old clone was deleted).
2021-08-07 22:43:15 -05:00
Gazook89 2ab0c9cbeb update font name in 5e styles 2021-08-04 15:53:21 -05:00
Gazook89 d763f2de2f Update fonts.less 2021-08-04 15:50:31 -05:00
Gazook89 152f387939 Merge branch 'naturalcrit:master' into v3-Artist-Snippet 2021-08-04 09:39:02 -05:00
Gazook89 9e5451b940 Add Artist Snippet
Add Artist Snippet
2021-08-04 09:37:27 -05:00
Gazook89 7254fbcd74 Merge branch 'naturalcrit:master' into Legacy-SpellList-Update 2021-08-01 11:07:16 -05:00
Gazook89 4d61670f38 add 1st Level spell to spell list - legacy 2021-07-31 07:19:42 -05:00
Gazook89 f469a7e360 Update page number snippet in snippet.js 2021-07-30 20:28:48 -04:00
Gazook89 3c2feeb2aa Update css for classTables v3
- add "- spell slots per spell level -" header to full class tables
- add rules for `.classTables.full` which is similar to `wide` but adds the previously mentioned header as well.
- add css variable `--row-color` so the odd row colors can be set in the inline moustache syntax easily.
2021-07-30 20:28:48 -04:00
Gazook89 fdb294bad9 Update to v3 moustache syntax
- Added moustache syntax
- replaced class `wide` with `full` so that new styling is applied, including adding a "spell slots per spell level" header for only full class tables.
- included a quick-change css variable to the snippet to control row color.  **can be updated to use hex code or whichever is preferred for the snippet**
2021-07-30 20:28:48 -04:00
Gazook89 56975f9375 Delete userPage3D.css 2021-07-30 20:28:48 -04:00
Gazook89 cb74c0d389 Update userPage3D.css 2021-07-30 20:28:48 -04:00
Gazook89 33abe05737 Create userPage3D.css 2021-07-30 20:28:48 -04:00
Gazook89 4c389a4077 Delete userPage3D.css 2021-07-29 19:15:09 -05:00
Gazook89 e6ebdd5be3 Update userPage3D.css 2021-07-29 17:59:55 -05:00
Gazook89 22eb7de7ea Create userPage3D.css 2021-07-29 17:47:29 -05:00
Gazook89 c4c5e21ce0 Vertically center button labels
Set labels as inline-flex containers and vertically align children to center.
2021-07-29 12:28:02 -05:00
Gazook89 0c0ba0b6ca Update metadataEditor.less
- Fix Publish button and following small text so there is no overlap
- set `nowrap` on checkbox inputs/labels so that the labels do not wrap to the next line from their input.
- set min-width on values so that text boxes shrink to the same width; and can flex to any larger size.
2021-07-29 11:26:41 -05:00
Gazook89 295a4cd1cd Update magic.gen.js
Add "1st Level" to levels in spell list.  convert spell list to moustache syntax.
2021-07-29 10:13:31 -05:00