/* PlayList */ .video-js { position: relative } .video-js .vjs-big-play-button { top: 50%; left: 55%; margin-left: -53px; margin-top: -20px } .video-js.vjs-playlist { display: block } .video-js .vjs-button-prev, .video-js .vjs-button-next { cursor: pointer; font-size: 15px; margin-bottom: 2px; font-weight: bold; margin-left: 10px; margin-right: 10px } .video-js .vjs-button-prev:before { content: "<<" } .video-js .vjs-button-next:before { content: ">>" } .video-js .vjs-playlist-items { border: 1px solid #000; height: 100%; position: absolute; right: 0; overflow: scroll; margin: 0; padding: 0 } .video-js .vjs-playlist-items li { background-size: cover; height: 120px; position: relative } .video-js .vjs-playlist-items li .vjs-playlist-video-title { position: absolute; bottom: 10px; text-shadow: 1px 2px 3px #000; left: 10px; text-transform: uppercase } .video-js .vjs-playlist-items li .vjs-playlist-video-title div { margin-top: 8px } .video-js .vjs-playlist-items li div.vjs-playlist-video-upnext { font-size: 12px; color: red } .video-js .vjs-playlist-items li:hover { cursor: pointer } /* Vertical Playlist UI */ .vjs-playlist { list-style-type: none; overflow: scroll; } .vjs-playlist .vjs-playlist-item-list { position: relative; margin: 0; padding: 0; list-style: none; } .vjs-playlist .vjs-playlist-item { cursor: pointer; overflow: hidden; position: relative; margin-bottom: 5px; } .vjs-playlist .vjs-playlist-thumbnail { display: block; } .vjs-playlist .vjs-playlist-thumbnail-placeholder { height: 100px; background: #303030; } .vjs-playlist img { display: block; width: 100%; height: auto; } .vjs-playlist .vjs-playlist-duration { background-color: rgba(26, 26, 26, 0.8); top: .5rem; left: .5rem; padding: 2px 5px 3px; margin-left: 2px; position: absolute; } .vjs-playlist .vjs-selected .vjs-playlist-duration { display: none; } .vjs-playlist .vjs-playlist-name { display: block; font-style: normal; max-height: 2.5em; overflow: hidden; line-height: 20px; padding: 0 0 4px 2px; } .vjs-playlist .vjs-playlist-description { text-overflow: ellipsis; overflow: hidden; margin: 0; } /* Prevent interaction with the playlist menu while ads are playing */ /* on browsers that don't support pointer-events (IE<11), prevent scrolling past the ad overlay */ .vjs-playlist.vjs-ad-playing { overflow: hidden; } /* prevent clicks and scrolling from affecting the playlist during ads */ .vjs-playlist.vjs-ad-playing.vjs-csspointerevents { pointer-events: none; overflow: auto; } .vjs-playlist.vjs-ad-playing.vjs-csspointerevents .vjs-playlist-ad-overlay { pointer-events: auto; } /* darken the playlist menu display to indicate it's not interactive during ads and capture click events on IE<11 */ .vjs-playlist.vjs-ad-playing .vjs-playlist-ad-overlay { display: none; } .vjs-playlist.vjs-ad-playing .vjs-playlist-ad-overlay { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; /* IE8 fallback */ background-color: #1a1a1a; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; /* modern browsers */ background-color: rgba(0, 0, 0, 0.5); } /* Parametric rules. These are specialized for touch and mouse-based devices */ /* Touch-device playlist dimensions */ .vjs-playlist { font-size: 14px; background-color: #1a1a1a; color: #fff; padding: 0; } .vjs-playlist .vjs-playlist-thumbnail { width: 100%; } .vjs-playlist .vjs-selected .vjs-playlist-thumbnail img { opacity: .2; } .vjs-playlist .vjs-playlist-thumbnail .vjs-playlist-now-playing { display: none; position: absolute; top: 0; left: 0; margin: .5rem .8rem; padding-left: 2px; } .vjs-playlist .vjs-selected .vjs-playlist-thumbnail .vjs-playlist-now-playing { display: block; } .vjs-playlist .vjs-selected { background-color: #141a21; } .vjs-playlist .vjs-up-next-text { display: none; } .vjs-playlist .vjs-up-next .vjs-up-next-text { text-transform: uppercase; display: block; padding: .1rem 2px; font-size: .8em; } .vjs-playlist time { font-size: 1em; } .vjs-playlist .vjs-playlist-title-container { position: absolute; bottom: 0; padding: .5rem .8rem; text-shadow: 1px 1px 2px black, -1px 1px 2px black, 1px -1px 2px black, -1px -1px 2px black; } .vjs-playlist .vjs-selected .vjs-playlist-title-container { text-shadow: none; } .vjs-playlist .vjs-playlist-description { height: 42px; line-height: 21px; } /* Mouse-only playlist dimensions */ .vjs-mouse.vjs-playlist { font-size: 15px; background-color: #1a1a1a; color: #fff; padding: 0; } .vjs-mouse.vjs-playlist .vjs-playlist-thumbnail { width: 100%; } .vjs-mouse.vjs-playlist .vjs-selected .vjs-playlist-thumbnail img { opacity: .2; } .vjs-mouse.vjs-playlist .vjs-playlist-thumbnail .vjs-playlist-now-playing { display: none; position: absolute; top: 0; left: 0; margin: .5rem .8rem; padding-left: 2px; } .vjs-mouse.vjs-playlist .vjs-selected .vjs-playlist-thumbnail .vjs-playlist-now-playing { display: block; } .vjs-mouse.vjs-playlist .vjs-selected { background-color: #141a21; } .vjs-mouse.vjs-playlist .vjs-up-next-text { display: none; } .vjs-mouse.vjs-playlist .vjs-up-next .vjs-up-next-text { text-transform: uppercase; display: block; padding: .1rem 2px; font-size: .8em; } .vjs-mouse.vjs-playlist time { font-size: 1em; } .vjs-mouse.vjs-playlist .vjs-playlist-title-container { position: absolute; bottom: 0; padding: .5rem .8rem; text-shadow: 1px 1px 2px black, -1px 1px 2px black, 1px -1px 2px black, -1px -1px 2px black; } .vjs-mouse.vjs-playlist .vjs-selected .vjs-playlist-title-container { text-shadow: none; } .vjs-mouse.vjs-playlist .vjs-playlist-description { height: 45px; line-height: 23px; } /* Custom */ .vjs-texttrack-settings { display: none; } .blockUI.blockMsg.blockPage.video-modal-wrapper { width: 100% !important; height: 100% !important; margin: 0 auto !important; left: 0 !important; top: 0 !important; right: 0; bottom: 0; background: transparent !important; border: 0 !important; box-shadow: none !important; } div.videoshelf_content { width: 980px; margin: auto; height: 420px; position: absolute; padding:10px; top: 0; bottom: 0; right: 0; left: 0; background:#000; border-radius:7px; box-shadow:0px 0px 10px 3px rgba(0,0,0,0.2); border:1px solid rgba(0,0,0,0.2); } .video-player-wraper{ float: left; position: relative; } .video-js { float: left; float: left; width: 650px; height: 400px; background: #000; margin: 0 10px 0 0; border-right:1px solid rgba(255,255,255,0.1); } .vjs-playlist { width: 295px; height: 380px; overflow-y:auto; overflow-x:hidden; background:#000 !important; } .vjs-playlist-item{ border-bottom:1px solid rgba(255,255,255,0.1); } .vjs-playlist-item:last-child{ border-bottom:0px solid rgba(255,255,255,0.1); } .vjs-playlist-thumbnail{ height:80px; padding:5px; margin:0 0 0 5px; font-size:13px; } span.vjs-playlist-now-playing{ font-size: 10px !important; background: rgba(240,89,5,0.7); padding: 3px 4px 4px 4px !important; right: -5px; line-height: 11px; left: auto !important; border-radius: 2px; color: #fefefe; position:absolute; } .vjs-playlist-thumbnail img{ height:80px; width:80px; float:left; margin:0 5px 0 0; } .vjs-playlist-item-list .vjs-playlist-thumbnail:last-child{ margin-bottom:0px; } .vjs-playlist-item:hover { background:#141a21 } .vjs-playlist-title-container{ right: 0; width: 200px; padding: 0 5px !important; top: 30px; text-align: left; font-size: 13px; } .vjs-playlist .vjs-playlist-name { line-height: 15px !important; max-height:42px !important; } .vjs-playlist-duration{ font-size: 12px !important; bottom: 5px !important; top: auto !important; padding: 2px 4px 1px !important; } .vjs-up-next-text { font-size: 10px !important; background: rgba(255,255,255,0.1); padding: 3px 4px 4px 4px !important; right: 8px; line-height: 11px; left: auto !important; border-radius: 2px; color: #fefefe; position:absolute; top:-20px; } .info { background-color: #eee; border: thin solid #333; border-radius: 3px; padding: 0 5px; text-align: center; } .video-js .vjs-big-play-button { border-radius:50%; border:0; width: 44px; height: 44px; } .prev-video, .nxt-video { position: absolute; top:45%; border-radius:50%; border:0; width: 44px; height: 44px; font-family: VideoJS; font-weight: normal; font-style: normal; background-color: rgba(43, 51, 63, 0.7); cursor:pointer; display:none; } .prev-video:hover, .nxt-video:hover, .vjs-big-play-button:hover{ background-color: rgba(43, 51, 63, 0.9); } .prev-video { left:5%; right:auto; background-image:url('../images/previous-video.png'); background-repeat: no-repeat; background-position: 8px; } .nxt-video { left:auto; right:8%; background-image:url('../images/next-video.png'); background-repeat: no-repeat; background-position: 12px; } .video-player-wraper:hover .prev-video, .video-player-wraper:hover .nxt-video { display:block; } .video-player-wraper:hover .vjs-big-play-button { background-color: rgba(43, 51, 63, 0.7) !important; } .video-player-wraper:hover .vjs-big-play-button:hover { background-color: rgba(43, 51, 63, 0.9) !important; } .vjs-paused .vjs-big-play-button, .vjs-paused.vjs-has-started .vjs-big-play-button { display: block; background-image:url('../images/play-video.png'); background-repeat: no-repeat; background-position: 10px; } .vjs-playing .vjs-big-play-button, .vjs-vjs-playing.vjs-has-started .vjs-big-play-button { display: none; background-image:url('../images/pause-video.png'); background-repeat: no-repeat; background-position: 10px; } .vjs-playing:hover .vjs-big-play-button, .vjs-vjs-playing.vjs-has-started:hover .vjs-big-play-button { display: block; } .vjs-playing.vjs-fullscreen:hover .vjs-big-play-button, .vjs-vjs-playing.vjs-has-started.vjs-fullscreen:hover .vjs-big-play-button { display: none; } .video-js .vjs-big-play-button:before { content:none; } .blockUI.blockOverlay{ opacity:0.9 !important; background-color:#fff !important; } .video-close{ display: block; background-image: url(../images/close-video.png); background-repeat: no-repeat; background-position: 3px; float: right; width: 30px; height: 30px; margin: -26px -30px; cursor: pointer; background-size: 24px 24px; background-color: #000; border-radius: 50%; padding: 3px; } .video-close:hover{ box-shadow:0px 0px 10px 3px rgba(0,0,0,0.1); } .vjs-playlist::-webkit-scrollbar { width: 6px; background-color: #F5F5F5; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.4); border-radius:10px; } .vjs-playlist::-webkit-scrollbar-thumb { background-color: #000; border-radius:10px; } /********************------------ Dark Theme ------------------------------**********************/ div.videoshelf_content.dark-theme { background:#fff; border-radius:7px; box-shadow:0px 0px 10px 3px rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); } .dark-theme .video-js { background: #fff; border-right:1px solid rgba(0,0,0,0.2); } .dark-theme .vjs-playlist { background:#fff !important; } .dark-theme .vjs-poster { background-color:#fff !important; } .dark-theme .vjs-playlist-item{ border-bottom:1px solid rgba(0,0,0,0.2); text-shadow:none; color:#999; } .dark-theme .vjs-playlist-item:hover { background:#141a21 } .dark-theme .vjs-playlist .vjs-playlist-name { line-height: 15px !important; max-height:42px !important; text-shadow:none; color:#000; } .dark-theme .vjs-playlist-item.vjs-selected .vjs-playlist-name{ color:#fefefe; } .dark-theme .vjs-mouse.vjs-playlist .vjs-selected { background-color: #333; } .dark-theme .vjs-playlist-item:hover { background-color: #333; color:#fefefe; } .dark-theme .vjs-playlist-item:hover .vjs-playlist-name{ color:#fefefe; } .dark-theme .vjs-up-next-text { background: rgba(0,0,0,0.2); color: #000; text-shadow:none; } .dark-theme.blockUI.blockOverlay{ opacity:0.9 !important; background-color:#000 !important; } .dark-theme .video-close{ display: block; background-image:url('../images/close-video.png'); background-repeat: no-repeat; background-position: -3px; float: right; width: 24px; height: 24px; margin: -12px -42px; cursor: pointer; opacity: 0.5; background-size: 30px 30px; background-color:transparent; } .dark-theme .video-close:hover{ opacity:0.9; } .dark-theme .vjs-playlist::-webkit-scrollbar { width: 6px; background-color: #999; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.4); border-radius:10px; } .dark-theme .vjs-playlist::-webkit-scrollbar-thumb { background-color: #333; border-radius:10px; } .switch-theme { padding: 5px; display: inline-block; position: relative; margin: -9px 0 0 -229px; font-size: 10px; color:#e26009; cursor:pointer; } .switch-theme:hover { text-decoration:underline; font-weight:bold; } #videoshelf2 + #videoshelf2 { display:none; } @media (max-width:768px){ div.videoshelf_content{ width:85%; height:500px; margin:30px auto; } .video-js, .video-player-wraper, .vjs-playlist { width:100%; } .video-js { height:300px; border:0; margin:0; } .video-js .vjs-big-play-button { margin-left:-25px; } .switch-theme{ margin: -30px 0 0 0px; } .vjs-playlist { height:200px; } button.ui-btn { width:42px; } .nxt-video, .prev-video { display:none; } }