Víctor Losada Hernández
ed05d8c754
move all to homebrew.jsx
2025-05-27 11:25:01 +02:00
G.Ambatte
8f4c74d0ce
Add print-specific styling for facing and flow page layouts
2025-04-15 19:36:35 +12:00
Víctor Losada Hernández
163e3927b5
style lint
2025-03-18 19:38:58 +01:00
G.Ambatte
6b0c3b65b4
Merge branch 'master' into experimentalHeaderNavigation
2025-01-03 11:20:16 +13:00
Gazook89
5b14e0e9b5
tweak alignment of spreads
...
the `safe` keyword for `justify-content`, in combo with `center`, means that the content will be centered in the viewport unless there is not enough space for it. If there is not enough space, it aligns it to the *start*/left edge, rather than keeping it centered and clipping the left edge of the page.
2024-11-06 21:55:16 -06:00
Gazook89
89a16956b9
Merge branch 'master' into View-Modes
2024-11-04 14:22:54 -06:00
Víctor Losada Hernández
189625c79b
adding margin to scroll action to prevent toolbar overlapping
2024-10-17 23:38:27 +02:00
Gazook89
73504a3386
Setting a padding-top to avoid pages hugging toolbar
2024-10-11 13:51:06 -05:00
Gazook89
c4074d67f5
Merge branch 'master' into View-Modes
2024-10-10 23:34:26 -05:00
G.Ambatte
a9a8b4b9bb
Shift static height style to LESS file
2024-10-11 11:55:51 +13:00
G.Ambatte
4291284252
Merge branch 'master' into experimentalDeploymentIdentification
2024-10-11 11:10:28 +13:00
Gazook89
41f390b305
Add a classname to recto configuration
...
Adding class name so that it can be toggled between 'recto' and 'verso'. Verso being the normal left/right configuration, no styling is needed. With recto, the first page is shifted to the second slot, or right side.
2024-10-06 21:24:50 -05:00
Gazook89
8115b1504e
Add flex property to pages
2024-10-05 23:01:08 -05:00
Gazook89
34fa724fdd
Change .pages margin to .brewRenderer padding
...
More consistent visuals since the zooming of the .pages element affects the spacing around the edges, and the brewRenderer padding isn't affected.
2024-10-05 22:43:13 -05:00
Gazook89
24544e713e
Basically revert previous change
...
Adding the margin resets back in because otherwise each .page margin is set to "auto" on the sides, and that makes them zoom awkwardly when in facing and flow modes.
2024-10-05 22:35:42 -05:00
Gazook89
06a806e260
preserve margin around .pages
...
Keep margin around .pages element such that the pages are never bumped right against the divider.
2024-10-05 21:55:42 -05:00
Gazook89
4259931b67
Merge branch 'master' into View-Modes
2024-10-05 21:39:06 -05:00
G.Ambatte
17dfacd5c9
Add zoom property to BrewRenderer print styling
2024-09-28 09:03:00 +12:00
G.Ambatte
cc7fe99760
Initial functionality pass
2024-08-29 21:26:24 +12:00
Gazook89
a7ddeafd06
revert change
2024-08-27 11:59:29 -05:00
Gazook89
a7c4b78ec8
set position relative, remove padding
2024-08-27 09:03:24 -05:00
G.Ambatte
a1c275479f
Change toolbar to relative positioning
2024-08-26 21:27:09 +12:00
G.Ambatte
bdf2c97942
Merge branch 'master' into experimentalHeaderNavigation
2024-08-26 15:28:46 +12:00
Trevor Buckner
5069eadd0a
Manual tidying of .less files
2024-08-24 23:53:07 -04:00
Gazook89
07c574fa42
Merge branch 'Fill-Pane-Buttons' into View-Modes
2024-08-23 23:26:24 -05:00
Gazook89
627a6a732b
remove .ppr_msg styling
...
This message doesn't exist anymore (i'm pretty sure), so this is just unused styling. Unrleated to the PR, but just minor.
2024-08-23 19:26:41 -05:00
Gazook89
77421c2950
remove .pageInfo widget in bottom of preview
...
page counter function is in toolbar now, so this isn't necessary.
2024-08-23 19:25:49 -05:00
Gazook89
f3ed174b0e
eslint and stylelint
...
stylelint has a problem with the `:horizontal` pseudo selector in brewRenderer.jsx, which is being used to apply some styling to the custom scrollbars. As far as i can tell, the selector is not standards-track, so that is probably why. Not sure if we want to adjsut our stylelint config to allow it?
2024-08-23 19:16:59 -05:00
Gazook89
e3c90a8295
unset padding on brewRenderer in @print
...
Fixes an issue with the padding being reflected in pdfs as a white stripe at the top.
2024-08-23 18:45:08 -05:00
Gazook89
960ecae861
setup styles for different view modes
...
added styles for different modes-- basically a grid for 'facing' and flex for 'flow'.
2024-08-23 14:29:52 -05:00
Gazook89
375c54016c
Get basic function worked out
...
Adds `setBookMode()` which toggles a className on `.pages`. The `.book-mode` class sets display to grid, and the first child/page to start at the second slot of the book arrangement.
2024-08-23 00:32:30 -05:00
G.Ambatte
c269d32247
Move headerNav to separate component
2024-07-22 18:45:36 +12:00
G.Ambatte
7fc0cadb81
Initial functionality pass
2024-07-21 23:11:21 +12:00
Víctor Losada Hernández
e2a3959feb
"Update brewRenderer.less: changed padding-bottom to padding-block, removed empty lines, and reformatted some styles."
2024-06-02 16:03:54 +02:00
Víctor Losada Hernández
202ea1d905
"Removed margin-bottom from brewRenderer style, added padding-bottom and updated styles in brewRenderer.less"
2024-06-02 15:59:09 +02:00
Víctor Losada Hernández
2d051fcdc0
misstype
2024-06-01 00:42:07 +02:00
Víctor Losada Hernández
95d7ce2876
move toolbar hiding to brewrenderer.less
2024-06-01 00:41:44 +02:00
Trevor Buckner
24769d69d4
Force browser repaint after closing Print dialog
2024-05-23 17:08:24 -04:00
Trevor Buckner
a227a792c0
Replace print redirect with print contentWindow on all pages
2024-05-22 15:54:01 -04:00
Víctor Losada Hernández
45106b47d4
Custom scrollbar fixes
2024-04-02 13:47:16 +02:00
Víctor Losada Hernández
d0000cee11
linting
2024-03-08 10:13:04 +01:00
Víctor Losada Hernández
54d881642d
listpage, editor
2024-03-08 10:09:29 +01:00
Víctor Losada Hernández
beaf67c975
initial commit
2024-03-06 19:30:23 +01:00
Víctor Losada Hernández
9db55c4dff
fix piage size override
2023-12-23 20:43:39 +01:00
Trevor Buckner
bf30cadb68
Add default page size to brewRenderer.less
...
Add default brew page size to brewRenderer.less, so all pages have a fallback size when switching between themes and renderers. Avoids losing the scroll position on a page caused by out-of-view pages losing their size, especially on long brews where recalculating page layout can take a half second.
2023-12-04 21:13:26 -05:00
Gazook89
90a65d0a57
Add renderer to pageInfo
2022-09-21 11:37:14 -05:00
Trevor Buckner
a7005d779a
Fix /print, make .page outer element for consistency with legacy
2021-08-26 22:43:57 -04:00
Trevor Buckner
9c6d875524
Add wrapper to .page to improve wide behavior with columns
2021-08-22 23:00:43 -04:00
Trevor Buckner
4f2ddfa020
Themes are now compiled into separate css files and can be hot-swapped in the renderer as needed
2021-07-12 19:37:10 -04:00
Trevor Buckner
c642a35fb3
Fix brew styles overwriting each other. ( #1230 )
2021-02-05 14:58:41 -05:00