Archived
1
Fork 0
This repository has been archived on 2024-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
zorn-js/test/index.html

137 lines
6.1 KiB
HTML
Raw Normal View History

2024-02-26 05:21:51 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
2024-05-17 02:57:38 -05:00
<meta charset="UTF-8">
2024-02-26 05:21:51 -05:00
<title>Zorn</title>
<link rel="stylesheet" href="./css/index.css"/>
2024-05-27 15:00:04 -05:00
<link rel="stylesheet" media="(prefers-color-scheme:light)" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.15.1/cdn/themes/light.css"/>
<link rel="stylesheet" media="(prefers-color-scheme:dark)" href="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.15.1/cdn/themes/dark.css" onload="document.documentElement.classList.add('sl-theme-dark');"/>
<script type="module" src="https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.15.1/cdn/shoelace-autoloader.js"></script>
2024-02-26 05:21:51 -05:00
</head>
<body>
2024-05-27 15:00:04 -05:00
<div>
<div class="video-container">
<video class="zorn-player" layout="default">
<!-- Quality changer support has not been worked on yet -->
<source label="720p" src="./media/Ennie-and-Yoyki-Ungirly-Games.mp4" type="video/mp4">
<!-- Subtitles -->
<track src="./media/subtitles/English.vtt" kind="subtitles" srclang="en" label="English">
<track src="./media/subtitles/Russian.vtt" kind="subtitles" srclang="ru" label="Russian">
</video>
</div>
<br/>
<div class="skeleton-overview">
<header>
<sl-skeleton effect="sheen"></sl-skeleton>
<sl-skeleton effect="sheen"></sl-skeleton>
</header>
<sl-skeleton effect="sheen"></sl-skeleton>
<sl-skeleton effect="sheen"></sl-skeleton>
<sl-skeleton effect="sheen"></sl-skeleton>
</div>
<style>
.skeleton-overview header {
display: flex;
align-items: center;
margin-bottom: 1rem;
}
.skeleton-overview header sl-skeleton:last-child {
flex: 0 0 auto;
width: 30%;
}
.skeleton-overview sl-skeleton {
margin-bottom: 1rem;
}
.skeleton-overview sl-skeleton:nth-child(1) {
float: left;
width: 3rem;
height: 3rem;
margin-right: 1rem;
vertical-align: middle;
}
.skeleton-overview sl-skeleton:nth-child(3) {
width: 95%;
}
.skeleton-overview sl-skeleton:nth-child(4) {
width: 80%;
}
.skeleton__indicator:nth-child(1) {
--border-radius: 0;
}
</style>
<style>
.skeleton-shapes sl-skeleton {
display: inline-flex;
width: 50px;
height: 50px;
}
.skeleton-shapes .square::part(indicator) {
--border-radius: var(--sl-border-radius-medium);
}
</style>
</div>
<div>
<div class="skeleton-overview">
<header class="skeleton-shapes">
<sl-skeleton class="square" style="width: 100%; height: 100px; border-radius: 6px;" effect="sheen"></sl-skeleton>
<div style="display: flex; flex-direction: column; width: 100%;">
<sl-skeleton style="width: 75%; height: 10px;" effect="sheen"></sl-skeleton>
<sl-skeleton style="width: 75%; height: 10px" effect="sheen"></sl-skeleton>
</div>
</header>
</div>
<div class="skeleton-overview">
<header class="skeleton-shapes">
<sl-skeleton class="square" style="width: 100%; height: 100px; border-radius: 6px;" effect="sheen"></sl-skeleton>
<div style="display: flex; flex-direction: column; width: 100%;">
<sl-skeleton style="width: 75%; height: 10px;" effect="sheen"></sl-skeleton>
<sl-skeleton style="width: 75%; height: 10px" effect="sheen"></sl-skeleton>
</div>
</header>
</div>
<div class="skeleton-overview">
<header class="skeleton-shapes">
<sl-skeleton class="square" style="width: 100%; height: 100px; border-radius: 6px;" effect="sheen"></sl-skeleton>
<div style="display: flex; flex-direction: column; width: 100%;">
<sl-skeleton style="width: 75%; height: 10px;" effect="sheen"></sl-skeleton>
<sl-skeleton style="width: 75%; height: 10px" effect="sheen"></sl-skeleton>
</div>
</header>
</div>
<div class="skeleton-overview">
<header class="skeleton-shapes">
<sl-skeleton class="square" style="width: 100%; height: 100px; border-radius: 6px;" effect="sheen"></sl-skeleton>
<div style="display: flex; flex-direction: column; width: 100%;">
<sl-skeleton style="width: 75%; height: 10px;" effect="sheen"></sl-skeleton>
<sl-skeleton style="width: 75%; height: 10px" effect="sheen"></sl-skeleton>
</div>
</header>
</div>
<div class="skeleton-overview">
<header class="skeleton-shapes">
<sl-skeleton class="square" style="width: 100%; height: 100px; border-radius: 6px;" effect="sheen"></sl-skeleton>
<div style="display: flex; flex-direction: column; width: 100%;">
<sl-skeleton style="width: 75%; height: 10px;" effect="sheen"></sl-skeleton>
<sl-skeleton style="width: 75%; height: 10px" effect="sheen"></sl-skeleton>
</div>
</header>
</div>
2024-02-26 05:21:51 -05:00
</div>
</body>
2024-02-26 20:59:47 -05:00
<script src="./js/zorn.js" type="module"></script>
2024-05-27 15:00:04 -05:00
</html>
<script></script>