All versions since 0.4.2
0.4.2
Patch Changes
d65839eThanks @benhonda! - The previous page peeking in over the spine of a single-page book now drops a shadow on the page under it, so it reads as paper and not a flat bar. The fold’s own shadows hug its crease, which for a peek is half a page away in the hidden half, so none of them reached the strip. It followsshadowsandshadowOpacity, and a turn in hand is drawn as before.
0.5.0
Minor Changes
f29f7dfThanks @benhonda! - A book looks right out of the box on white paper.shadowOpacitynow defaults to0.35instead of1, which was a black bar across light pages, and the page in the air has a hairline edge, so a white page turning over a white page keeps its outline where no shadow falls. The edge is the new.opf-page--turningclass instyles.css: recolour it with the--opf-page-edgeCSS variable, or set that totransparentto remove it. For the look of earlier versions, passshadowOpacity: 1and set--opf-page-edge: transparent.
Patch Changes
f29f7dfThanks @benhonda! -.opf-page--hardand.opf-page--softnow say what a page is and stay put through a turn. A soft page on the back of a hard one (the page behind a cover) swings as a board while that sheet turns, and its class used to switch to--hardfor the length of the turn, so anything you styled on--soft(a gutter shadow, a margin) blinked off as the cover moved, even on hover. How the page is drawn hasn’t changed, only the class. For the state of a page right now there are--flatand--turning.
0.6.0
Minor Changes
-
46f321fThanks @benhonda! - A hovered edge’s furl now leans toward the pointer: the fold runs deeper at the end of the edge the pointer is near and follows it up and down the edge, instead of sitting still. -
a5b6d5bThanks @benhonda! - Turning back in a single-page book now looks like turning forward. The previous page uncurls across the page you’re on, with the same curl and shadows at the same point in the turn, instead of sliding in flat from beside the book. The pointer holds the fold, and letting go past the middle of the page lands the turn. Hovering by the spine curls the first strip of it over, leaning toward the pointer like the edge furl. Nothing of a turn is drawn beside a single-page book any more, and a hard page there swings up to upright at the spine rather than over into the hidden half, so you can see it move for the whole turn. Its shadow there fades out from the cover’s edge instead of sweeping across the page as a slab with a hard edge. Two-page books look exactly as before.FlipFrame.peekis gone: that cue is now the start of an ordinary turn. In a single-page book a turn back’s frames run forward (the previous page turning off itself), with that page on show asrightand the current page asbottom;flipProgressstill reports it as a turn back.
0.7.0 Latest
Minor Changes
-
fd496d2Thanks @benhonda! -flipTonow looks like you’re turning a clump of pages when it jumps more than one spread. The page on show still turns straight onto your target, but a few blank sheets (one per spread you skip, up to five) fan out from under it, curling at the corner, and close back up before it lands. They take their colour from your inner pages, not the cover, and you can set it with--opf-sheet-color. A cover closing over them brings blank pages along behind it. Nothing between the two spreads is drawn, and it’s still one turn to you: oneflipevent and oneflipProgressfrom 0 to 1.For custom renderers, each
FlipFramehas a newsheetslist describing those blank sheets (empty for an ordinary turn).Also fixed: resizing the book or giving it new pages in the middle of a turn used to drop the turn but leave the book reporting
flipping, so it ignored hover and clicks until the next one. It’s back at rest now.