Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix(video): current time not showing on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed May 19, 2024
1 parent 5c48214 commit 94fd358
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions src/styles/video.manchester.ac.uk.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ video,
background: rgba($on-header, 0.1);
color: $on-header;
border: 1px solid rgba($on-header, 0.1);
overflow: hidden;
cursor: ew-resize;

* {
border-radius: inherit;
}

.vjs-load-progress {
background: rgba($on-header, 0.2);
border-bottom-right-radius: $progress-bar-border-radius;
border-top-right-radius: $progress-bar-border-radius;
transition: width 1s ease-in;
* {
opacity: 0;
Expand All @@ -76,15 +77,7 @@ video,
height: 100%;

&::before { // handle of the progress bar
content: "";
display: block;
width: $progress-bar-height;
height: $progress-bar-height;
background: $on-header;
border-radius: $progress-bar-border-radius;
top: 0;
right: -$progress-bar-border-radius;
font-size: inherit;
content: none;
}
}
}
Expand Down

0 comments on commit 94fd358

Please sign in to comment.