diff --git a/assets/dither.png b/assets/dither.png
new file mode 100644
index 0000000..80cb8cc
Binary files /dev/null and b/assets/dither.png differ
diff --git a/assets/halftone.gif b/assets/halftone.gif
new file mode 100644
index 0000000..42cbaf8
Binary files /dev/null and b/assets/halftone.gif differ
diff --git a/assets/main.css b/assets/main.css
index 60e4a56..836b9f5 100644
--- a/assets/main.css
+++ b/assets/main.css
@@ -52,21 +52,42 @@ body {
main {
flex-grow: 1;
+ display: flex;
+ flex-direction: column;
overflow: hidden;
}
-main > * {
- height: 100%;
+section > header {
+ height: 20px;
+ padding: 0 5px 5px 5px;
+
+ font-weight: bold;
+
+ display: flex;
+ flex-direction: row;
}
+section > header h4 {
+ display: block;
+ /* color: var(--v); */
+ margin: 0;
+ line-height: 100%;
+}
+/* section > header {
+ position: sticky;
+ top: 0;
+ height: 30px;
+ line-height: 26px;
+ background: linear-gradient(180deg, var(--iiv), 80% transparent);
+} */
menu li:first-child {
margin-top: 0;
}
menu {
- overflow-y: scroll;
- overflow-x: hidden;
margin: 0;
padding: 0 5px;
+ overflow-y: scroll;
+ overflow-x: hidden;
line-height: 1.4;
}
@@ -207,29 +228,6 @@ nav {
.right {
text-align: right;
padding-left: 5px;
-}
-
-
-.content {
- flex-grow: 1;
- overflow-y: auto;
-}
-
-
-
-.controls {
- position: relative;
-}
-.controls header, .controls nav {
- margin: 10px 0;
-}
-
-.controls header {
- text-align: center;
-}
-.controls header h3, .controls header p {
- margin-block: 0;
- line-height: 1.3;
}
/* nav button {
@@ -251,35 +249,40 @@ nav svg {
height: 22px;
} */
-section.player {
+section {
position: relative;
height: 100%;
display: flex;
flex-direction: column;
+}
+
+section.player {
padding: 0 5px;
text-align: center;
}
section.player img {
- margin-top: 5px;
width: 230px;
height: 230px;
}
-section.player header {
+#track-title {
font-size: 20px;
margin-top: 2px;
+ font-style: normal;
}
-section.player cite {
+#track-artist {
font-size: 14px;
margin: 0 50px 5px 50px;
+ font-style: italic;
}
-section.player cite, section.player header {
+#track-title, #track-artist {
text-wrap: nowrap;
+ text-overflow: clip;
}
.marquee {
@@ -358,7 +361,7 @@ body > svg {
#tab-indicator {
display: block;
width: 100%;
- padding: 0 5px;
+ padding: 0 5px 3px 5px;
box-sizing: border-box;
}
@@ -367,10 +370,6 @@ body > svg {
transition: stroke-dasharray 0.1s ease-in;
}
-main header {
- text-align: center;
-}
-
/* body > header {
height: 24px;
flex-shrink: 0;
@@ -396,8 +395,10 @@ main header {
min-width: 60%;
} */
-.top {
- position: sticky;
- top: 0;
- z-index: 2;
+.progress {
+ background: var(--iv);
+}
+
+#playback-progress {
+ transition: stroke-dasharray 0.1s;
}
\ No newline at end of file
diff --git a/assets/top-dither.png b/assets/top-dither.png
new file mode 100644
index 0000000..56f3e23
Binary files /dev/null and b/assets/top-dither.png differ
diff --git a/build/assets/main.css b/build/assets/main.css
index 8978cf6..b6bef6f 100644
--- a/build/assets/main.css
+++ b/build/assets/main.css
@@ -1,10 +1,17 @@
:root {
- --vii: #000;
- --vi: #444;
+ /* --iiv: #000;
+ --iv: #444;
--v: #0bb;
--iv: #aaa;
--iiv: #fff;
- --a: #f33;
+ --a: #f33; */
+
+ --iiv: #ddd;
+ --iv: #aaa;
+ --v: #375;
+ --vi: #555;
+ --vii: #222;
+ --a: #f40;
--chevron-right: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v2h2V5H8zm4 4V7h-2v2h2zm2 2V9h-2v2h2zm0 2h2v-2h-2v2zm-2 2v-2h2v2h-2zm0 0h-2v2h2v-2zm-4 4v-2h2v2H8z' fill='currentColor'/%3E%3C/svg%3E")
}
@@ -27,11 +34,10 @@ button:active, a:active {
color: var(--v)
}
-
body {
margin: 0;
- background: var(--vii);
- color: var(--iiv);
+ background: var(--iiv);
+ color: var(--vii);
font-family: sans-serif;
font-size: 16px;
@@ -41,27 +47,46 @@ body {
height: 100vh;
max-height: 100vh;
- padding-top: 5px;
box-sizing: border-box;
}
main {
flex-grow: 1;
+ display: flex;
+ flex-direction: column;
overflow: hidden;
}
-main > * {
- height: 100%;
+section > header {
+ height: 30px;
+ padding: 0 5px 3px 5px;
+
+ font-weight: bold;
+
+ display: flex;
+ flex-direction: row;
}
+section > header h4 {
+ display: block;
+ /* color: var(--v); */
+ margin: 0;
+}
+/* section > header {
+ position: sticky;
+ top: 0;
+ height: 30px;
+ line-height: 26px;
+ background: linear-gradient(180deg, var(--iiv), 80% transparent);
+} */
menu li:first-child {
margin-top: 0;
}
menu {
- overflow-y: scroll;
- overflow-x: hidden;
margin: 0;
padding: 0 5px;
+ overflow-y: scroll;
+ overflow-x: hidden;
line-height: 1.4;
}
@@ -80,6 +105,8 @@ menu a::after {
mask: var(--chevron-right);
mask-mode: alpha;
margin-left: auto;
+ position: sticky;
+ right: 0;
}
menu header {
@@ -140,7 +167,7 @@ menu:empty::after {
}
menu:empty::after, #loading {
- color: var(--iv);
+ color: var(--vi);
font-style: italic;
text-align: center;
}
@@ -152,19 +179,13 @@ menu:empty::after, #loading {
align-items: center;
}
-
-aside {
+nav {
height: 30px;
- max-height: 30px;
width: 100%;
- max-width: 100%;
-
flex-shrink: 0;
-}
-aside footer {
- background: var(--vii);
- color: var(--iiv);
+ background: var(--iiv);
+ color: var(--vii);
display: flex;
padding: 0 5px;
@@ -206,29 +227,6 @@ aside footer {
.right {
text-align: right;
padding-left: 5px;
-}
-
-
-.content {
- flex-grow: 1;
- overflow-y: auto;
-}
-
-
-
-.controls {
- position: relative;
-}
-.controls header, .controls nav {
- margin: 10px 0;
-}
-
-.controls header {
- text-align: center;
-}
-.controls header h3, .controls header p {
- margin-block: 0;
- line-height: 1.3;
}
/* nav button {
@@ -250,16 +248,18 @@ nav svg {
height: 22px;
} */
-section.player {
+section {
position: relative;
height: 100%;
display: flex;
flex-direction: column;
+}
+
+section.player {
padding: 0 5px;
text-align: center;
-
}
section.player img {
@@ -267,24 +267,26 @@ section.player img {
height: 230px;
}
-section.player header {
+#track-title {
font-size: 20px;
- margin-top: 5px;
+ margin-top: 2px;
+ font-style: normal;
}
-section.player cite {
+#track-artist {
font-size: 14px;
- margin: 2px 50px 5px 50px;
+ margin: 0 50px 5px 50px;
+ font-style: italic;
}
-section.player cite, section.player header {
+#track-title, #track-artist {
text-wrap: nowrap;
+ text-overflow: clip;
}
.marquee {
overflow: hidden;
text-overflow: clip;
- position: relative;
}
.marquee span {
@@ -293,17 +295,6 @@ section.player cite, section.player header {
padding-right: 4ch;
}
-.marquee:after {
- content: " ";
-
- position: absolute;
- height: 100%;
- width: 15px;
- background: linear-gradient(90deg, #0000, 10px var(--vii), var(--vii));
-
- right: -5px;
-}
-
@keyframes marquee {
0% { transform: translate(0, 0) }
25% { transform: translate(-100%, 0) }
@@ -321,18 +312,18 @@ section.player cite, section.player header {
bottom: 0;
}
#timestamp {
- color: var(--iiv);
+ color: var(--a);
left: 0;
}
#track-length {
- color: var(--iv);
+ color: var(--vi);
right: 0;
}
.progress {
width: 100%;
height: 3px;
- color: var(--iiv)
+ color: var(--vii)
}
.progress path {
@@ -347,10 +338,10 @@ progress {
appearance: none;
}
progress::-webkit-progress-bar {
- background-color: var(--vi);
+ background-color: var(--iv);
}
progress::-webkit-progress-value {
- background-color: var(--iiv);
+ background-color: var(--vii);
}
::-webkit-scrollbar {
@@ -359,5 +350,54 @@ progress::-webkit-progress-value {
}
::-webkit-scrollbar-thumb {
- background-color: var(--iv);
+ background-color: var(--vi);
}
+
+body > svg {
+ flex-shrink: 0;
+}
+
+#tab-indicator {
+ display: block;
+ width: 100%;
+ padding: 0 5px 3px 5px;
+ box-sizing: border-box;
+}
+
+#tab-indicator line {
+ stroke: var(--v);
+ transition: stroke-dasharray 0.1s ease-in;
+}
+
+/* body > header {
+ height: 24px;
+ flex-shrink: 0;
+}
+
+#tabs {
+ margin: 0 5px;
+ scrollbar-width: none;
+
+ display: flex;
+ flex-direction: row;
+ flex-wrap: nowrap;
+ gap: 25px;
+ overflow-x: scroll;
+
+ color: var(--vi);
+
+ text-align: center;
+}
+
+#tabs .selected {
+ color: var(--vii);
+ min-width: 60%;
+} */
+
+.progress {
+ background: var(--iv);
+}
+
+#playback-progress {
+ transition: stroke-dasharray 0.1s;
+}
\ No newline at end of file
diff --git a/build/index.html b/build/index.html
index 875e990..fb4f18f 100644
--- a/build/index.html
+++ b/build/index.html
@@ -2,8 +2,16 @@
-
-
+
+
+
@@ -48,16 +56,41 @@
-->
-
+
+
+
+
-
-
-Patricia Taxxon
+
+No Track Selected
+Unknown Artist
-00:00
-00:00
+--:--
+--:--
+
+
+
+
-
+