diff --git a/common/lib/xmodule/xmodule/css/video/display.scss b/common/lib/xmodule/xmodule/css/video/display.scss index ec0352401e..8f0c205160 100644 --- a/common/lib/xmodule/xmodule/css/video/display.scss +++ b/common/lib/xmodule/xmodule/css/video/display.scss @@ -149,6 +149,16 @@ $cool-dark: rgb(79, 89, 93); // UXPL cool dark background-color: black; position: relative; + &:hover { + .btn-play { + color: $uxpl-blue-base; + } + + .btn-play:after { + background: $white; + } + } + .video-player-pre, .video-player-post { height: 50px; @@ -182,21 +192,23 @@ $cool-dark: rgb(79, 89, 93); // UXPL cool dark @include transform(translate(-50%, -50%)); position: absolute; z-index: 1; - background: rgba(0, 0, 0, 0.7); - top: 50%; + top: 46%; left: 50%; - padding: 30px; - border-radius: 25%; + font-size: 4em; + cursor: pointer; - &:after{ + &:after { + background: $white; + position: absolute; + width: 50%; + height: 50%; content: ''; - display: block; - width: 0px; - height: 0px; - border-style: solid; - border-width: 30px 0 30px 50px; - border-color: transparent transparent transparent $white; - position: relative; + left: 0; + top: 0; + bottom: 0; + right: 0; + margin: auto; + z-index: -1; } } diff --git a/common/lib/xmodule/xmodule/js/fixtures/video.html b/common/lib/xmodule/xmodule/js/fixtures/video.html index fa9de67d6a..562aa82a3e 100644 --- a/common/lib/xmodule/xmodule/js/fixtures/video.html +++ b/common/lib/xmodule/xmodule/js/fixtures/video.html @@ -11,7 +11,7 @@
- +
diff --git a/common/lib/xmodule/xmodule/js/fixtures/video_all.html b/common/lib/xmodule/xmodule/js/fixtures/video_all.html index d5d50b5709..eec92febe9 100644 --- a/common/lib/xmodule/xmodule/js/fixtures/video_all.html +++ b/common/lib/xmodule/xmodule/js/fixtures/video_all.html @@ -11,7 +11,7 @@
- +
@@ -29,7 +29,7 @@
- +

Downloads and transcripts

diff --git a/common/lib/xmodule/xmodule/js/fixtures/video_hls.html b/common/lib/xmodule/xmodule/js/fixtures/video_hls.html index e50a49a608..f0742ca8ee 100644 --- a/common/lib/xmodule/xmodule/js/fixtures/video_hls.html +++ b/common/lib/xmodule/xmodule/js/fixtures/video_hls.html @@ -11,7 +11,7 @@
- +