pinafore/routes/_components/PlayVideoIcon.html

33 lines
630 B
HTML
Raw Normal View History

2018-03-10 20:28:30 +01:00
<div class="play-video-icon {{className || ''}}">
<svg class="play-video-icon-svg">
2018-03-10 20:28:30 +01:00
<use xlink:href="#fa-play-circle" />
</svg>
</div>
<style>
.play-video-icon {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: 40;
pointer-events: none;
}
.play-video-icon-svg {
2018-03-10 20:28:30 +01:00
width: 72px;
height: 72px;
fill: var(--mask-svg-fill);
border-radius: 100%;
background: var(--mask-opaque-bg);
}
2018-04-30 18:57:49 +02:00
</style>
<script>
export default {
data: () => ({
className: void 0
})
}
</script>