Commit graph

19 commits

Author SHA1 Message Date
d7b8834481
fix: select option visibility in dark mode with proper background colors 2025-07-30 18:37:42 +02:00
f643999573
Fix tab jumping on form input changes by preventing sheet re-rendering 2025-07-29 20:20:50 +02:00
d020822012
style: improve tab navigation height and spacing for icons
- Increase tab navigation height from 2x to 2.5x line-height
- Add proper flexbox centering for tab items with icons
- Add gap between icon and text (0.25rem)
- Add padding (0.5rem vertical, 0.75rem horizontal) for better touch targets
- Reduce icon size to 0.875rem for better visual balance
- Remove fixed line-height to allow proper vertical centering
- Maintain text shadow effect for active tabs

The tab navigation now properly accommodates FontAwesome icons while
maintaining good visual hierarchy and touch accessibility.
2025-07-29 19:08:06 +02:00
40e14d1196
feat: implement clean Foundry V13 compliant tab system
- Remove custom tab implementation in favor of official ApplicationV2 tabs
- Implement ApplicationTab typedef structure for Actor and Item sheets
- Add memory-safe event listener management with proper cleanup
- Update all sheet templates to use standard Foundry tab structure
- Add template safety checks to prevent undefined access errors
- Optimize performance with DOM updates instead of full re-renders
- Maintain backward CSS compatibility during transition
- Add dynamic tab configuration based on item types

Key improvements:
- ~200 lines of custom tab code removed
- Memory leak prevention with proper event cleanup
- Performance optimization (no re-render on tab switch)
- Standards-compliant with Foundry V13 ApplicationV2 API
- Consistent implementation across Actor and Item sheets
- Template safety with Handlebars guards
- Dynamic icon and localization support

All 31 modified files now use the official Foundry VTT v13 tab system.
2025-07-29 19:03:58 +02:00
e021fedcdf
style: fix code formatting inconsistencies
- Remove excessive blank lines (triple+ newlines reduced to double)
- Fix EditorConfig indent_size from 4 to 2 spaces to match Prettier
- Ensure consistent whitespace formatting across JavaScript/TypeScript files
- Clean up formatting in templates (HBS files)

Files affected:
- src/apps/actor/base-sheet.js: Remove 6 instances of triple+ blank lines
- src/apps/item-sheet.js: Remove 4 instances of triple+ blank lines
- src/apps/ruler/token-ruler.js: Remove 1 instance of triple+ blank lines
- src/hooks/hooks.ts: Remove 1 instance of triple+ blank lines
- templates/sheets/actor/*.hbs: Remove excessive blank lines
- .editorconfig: Fix indent_size to match Prettier tabWidth (2 spaces)
2025-07-28 22:18:44 +02:00
590045405b
refactor(styles): extract shared ProseMirror styles to reduce
duplication
2025-07-17 18:23:07 +02:00
970f69be53
fix(editor): prevent double scrollbars in biography tab 2025-07-17 18:19:06 +02:00
07fa1487f1
fix(ui): use consistent height variable for select and input elements 2025-07-17 17:50:20 +02:00
e30ce8947e
style: add dark mode inversion filter for embedded document list images
Apply the same brightness/invert filter used for combat values to
ds4-embedded-document-list__image class to ensure proper visibility of
combat value icons in dark theme.
2025-07-14 20:04:43 +02:00
4479cdc4de
feat: enhance movement waypoint styling with semantic colors and
animations
2025-07-13 16:49:21 +02:00
7faadf6583
feat: add color-coded movement ruler for tactical gameplay 2025-07-13 16:12:04 +02:00
Johannes Loher
7670d7f808
chore: reformat with 2 spaces 2023-07-10 22:33:01 +02:00
Johannes Loher
1e7492073e fix: simplify talent rank display in character sheet 2022-11-10 03:32:52 +01:00
Johannes Loher
9d7c570553 feat: replace spell category by spell groups
This also allows to assign a spell to multiple spell groups, which is the case for many spells in
the SRD.

Additionally, this makes many small improvements and fixes to the provided spell compendium.
2022-11-04 21:14:32 +01:00
Johannes Loher
1d5cbad154 fix: prevent overflow of some columns in the spell tab i nactor sheets 2022-08-15 16:11:59 +02:00
Johannes Loher
63c30ca18b fix: hide overflow of columns in effects tab in actor sheets 2022-08-15 15:02:31 +02:00
Johannes Loher
e12c6033dd fix: fix problem with additional scroll bars in inventory on vivaldi and chromium
Closes #96
2022-05-13 17:10:17 +02:00
Johannes Loher
76a0e9f6e5 fix: avoid hover effect of add (item / effect) button being cut off 2022-02-13 00:36:35 +01:00
Johannes Loher
1aa284311f refactor: resturcture files so that lincensing info can be bundled properly 2022-01-31 15:31:45 +01:00