Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight future substeps in slideView #841

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions css/impress-common.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,42 @@ It is focused on plugin functionality, not the visual style of your presentation
display: none;
}

/*
Highlight substeps that are not yet visible in the sliveView window of the
impressConsole.
*/
.impress-console.slideView #impress .step:not(.future) .substep:not(.substep-visible) {
position: relative;
opacity: 1.0;
}
.impress-console.slideView #impress .step:not(.future) .substep:not(.substep-visible):before {
position: absolute;
top: 0;
left: 0;
width: calc(100% - 10px);
height: calc(100% - 10px);
content: "";
border: 5px solid red;
}
.impress-console.slideView #impress .step:not(.future):has(.substep[data-substep-order]) .substep:not(.substep-visible):after {
position: absolute;
height: 60px;
width: 60px;
left: -30px;
top: -30px;
font-size: 40px;
text-align: center;
background-color: red;
color: #fff;
font-weight: bold;
content: "1";
border-radius: 30px;
padding: 0;
}
.impress-console.slideView #impress .step:not(.future):has(.substep[data-substep-order]) .substep[data-substep-order]:not(.substep-visible):after {
content: attr(data-substep-order);
}

/*
With help from the mouse-timeout plugin, we can hide the toolbar and
have it show only when you move/click/touch the mouse.
Expand Down