diff --git a/ui/assets/css/style.css b/ui/assets/css/style.css index e655e006..634eff5d 100644 --- a/ui/assets/css/style.css +++ b/ui/assets/css/style.css @@ -213,3 +213,32 @@ hr { cursor: pointer; padding-top: 0.5em; } + +.play-overlay { + cursor: pointer; +} + +.play-icon { + position: absolute; + z-index: 2; + + width: 100px; + height: 100px; + + background-image: url(/images/play-icon.png); + background-repeat: no-repeat; + background-size: 100% 100%; + + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + + cursor: pointer; + opacity: 0.4; +} + +.play-icon:hover, +.play-icon:focus, +.play-active { + opacity: 1; +} diff --git a/ui/components/History.vue b/ui/components/History.vue index 1bc77fc7..b62d415a 100644 --- a/ui/components/History.vue +++ b/ui/components/History.vue @@ -96,40 +96,20 @@ :class="{ 'fa-arrow-down': hideThumbnail, 'fa-arrow-up': !hideThumbnail, }" /> -
-
- - -
-
- - +
+ +
+ + +
+ + + +
diff --git a/ui/public/images/play-icon.png b/ui/public/images/play-icon.png new file mode 100644 index 00000000..0850e492 Binary files /dev/null and b/ui/public/images/play-icon.png differ