mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 08:25:05 +01:00
finishing touches on reader mode progress bar
This commit is contained in:
parent
234799114a
commit
a6abd0423e
8 changed files with 130 additions and 58 deletions
|
|
@ -2011,6 +2011,13 @@ $notesWidthPercent: 25%;
|
|||
position: sticky;
|
||||
top: 50%;
|
||||
z-index: 20;
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&.visible,
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.reader-progress-inner {
|
||||
position: absolute;
|
||||
|
|
@ -2021,6 +2028,18 @@ $notesWidthPercent: 25%;
|
|||
transform: translateY(-50%);
|
||||
border-radius: 8px;
|
||||
z-index: 10;
|
||||
|
||||
// Hit area
|
||||
&:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 200%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: -50%;
|
||||
background: rgba( 0, 0, 0, 0 );
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
|
||||
.reader-progress-playhead {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue