viewer: add control dark overlay (fix #227)

pull/231/head
Varun Patil 2022-11-22 01:44:43 -08:00
parent 386a3d5f90
commit 8b0d3dea46
1 changed files with 4 additions and 0 deletions

View File

@ -896,6 +896,10 @@ export default class Viewer extends Mixins(GlobalMixin) {
.inner, .inner,
.inner :deep .pswp { .inner :deep .pswp {
width: inherit; width: inherit;
.pswp__top-bar {
background: linear-gradient(0deg, transparent, rgba(0, 0, 0, 0.3));
}
} }
:deep .video-js .vjs-big-play-button { :deep .video-js .vjs-big-play-button {