Ghost/ghost/admin/app/styles
Kevin Ansfield cf8b372fed Added fullscreen preview with toggle to publish flow
refs https://github.com/TryGhost/Team/issues/1621

- copied existing preview modal over to `editor-labs/modals` directory
  - old modal will be deleted in cleanup
- moved "Preview" button from editor template to the `<PublishManagement>` component
  - allows for preview modal to be controlled alongside the publish flow modal
- added `togglePreviewPublish()` action to `<PublishManagement>`
  - opens whichever of preview/publish is not currently open, this opens the new modal on top of the old modal
  - waits for the modal animation duration to pass then closes the modal that's now underneath, this prevents the flashing that occurs when modals are both opening and closing at the same time because that results in a 50% opacity of both modals during the middle of the animation
- updated preview modal and publish-flow modals to have "Publish" and "Preview" buttons respectively that call the `togglePreviewPublish` action
- updated preview modal to be fullscreen to better match the publish modal
2022-05-11 23:46:01 +01:00
..
components Added fullscreen preview with toggle to publish flow 2022-05-11 23:46:01 +01:00
layouts Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
patterns Updated new publish settings page 2022-04-21 15:51:06 +01:00
spirit Email design screen cleanup 2022-04-26 13:10:16 +01:00
app-dark.css Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
app.css Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30