Closed fnogatz closed 1 year ago
Thanks again Falco! In fact, this has bothered myself too I think.
Would you like to add your example CSS to css/impress-common.css
. That way users will see it - and let's face it, copy it - from there.
Thank you for the feedback, @henrikingo! I added the CSS as suggested in css/impress-common.css
, together with some little explanation.
The impress console is a really useful tool for presenters. As of now, it is however not possible to change the slide's style only for the slideView (current slide) or only for the preView (next slide). We can't use CSS here as it is not aware of the fact if the page is loaded in an iframe.
The
impressConsole.js
already dynamically adds the classimpress-console
to the body of both iframes. This PR additionally adds theslideView
andpreView
class, respectively. As a result, we can for instance hide the progress, progressbar and toolbar only in the preView using the following CSS snippet:A real-world example that uses the proposed change can be found in the slides' console of my PhD defense (source code).