Skip to content

Commit

Permalink
Merge pull request #697 from samvera-labs/align-progressbar
Browse files Browse the repository at this point in the history
Center align progressbar in audio, and add padding
  • Loading branch information
Dananji authored Nov 1, 2024
2 parents 033f9c8 + bfabdc4 commit 3b5bc14
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/MediaPlayer/VideoJS/videojs-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@

.vjs-theme-ramp .vjs-control-bar {
height: 5em;
padding-top: 2em;
background: none;
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .75), rgba(0, 0, 0, .75));
display: flex;
padding: 2em 1em 0 1em;
}

.vjs-theme-ramp .vjs-custom-progress-bar {
position: absolute;
width: 100% !important;
top: 0.5em;
width: 98.75% !important;
top: 1.25em;
margin: 0;
left: 1em;
}

.vjs-theme-ramp .vjs-progress-control .vjs-progress-holder {
Expand Down Expand Up @@ -77,7 +77,7 @@

/* Volume controls */
.vjs-theme-ramp .vjs-volume-panel .vjs-volume-control.vjs-volume-vertical {
margin-top: -1.5em;
margin-top: -0.75em;
}

// Make the horizontal volume panel always visible for audio
Expand Down Expand Up @@ -108,7 +108,7 @@

// Place popup menu above and on top of progress control
.vjs-theme-ramp .vjs-menu-button-popup .vjs-menu {
bottom: 1.5em;
bottom: 0.75em;
z-index: 1;
}

Expand Down

0 comments on commit 3b5bc14

Please sign in to comment.