diff --git a/app/app.css b/app/app.css
index 7256b06..b20cd3b 100644
--- a/app/app.css
+++ b/app/app.css
@@ -1,4 +1,11 @@
+html {
+ background-color: #fff;
+ font-family: lato, sans-serif;
+}
body {
+ background-color: #888;
+ color: #fff;
+ text-shadow: 0 1px 1px #000;
max-width: 800px;
margin: 0 auto;
overflow: hidden;
@@ -10,6 +17,18 @@ body > header,
body > footer {
box-shadow: 0 0 3px #000;
}
+@font-face {
+ font-family: 'Lato';
+ src: url('font/LatoLatin-Regular.woff2') format('woff2');
+ font-style: normal;
+ font-weight: normal;
+}
+@font-face {
+ font-family: 'Lato';
+ src: url('font/LatoLatin-bold.woff2') format('woff2');
+ font-style: bold;
+ font-weight: normal;
+}
main {
flex-grow: 1;
overflow: hidden;
@@ -23,7 +42,7 @@ nav ul {
}
nav ul li {
text-align: center;
- flex-grow: 1;
+ flex: 1 0 0;
line-height: 40px;
}
nav ul li:hover {
@@ -57,6 +76,27 @@ nav ul li.active {
display: flex;
flex-direction: column;
}
+.component ul {
+ flex-grow: 1;
+ overflow: auto;
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+.component .grid li {
+ display: flex;
+ flex-direction: row;
+}
+.component .grid li h2 {
+ flex-grow: 1;
+ margin: 0;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+.component .grid li:nth-child(odd) {
+ background-color: #666;
+}
#queue {
height: 100%;
display: flex;
@@ -69,6 +109,20 @@ nav ul li.active {
margin: 0;
padding: 0;
}
+#queue .grid li {
+ display: flex;
+ flex-direction: row;
+}
+#queue .grid li h2 {
+ flex-grow: 1;
+ margin: 0;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+#queue .grid li:nth-child(odd) {
+ background-color: #666;
+}
#queue li {
display: flex;
flex-direction: row;
@@ -76,9 +130,6 @@ nav ul li.active {
#queue li + li {
border-top: 1px solid #888;
}
-#queue .info {
- flex-grow: 1;
-}
#queue .current {
font-weight: bold;
}
@@ -94,3 +145,43 @@ nav ul li.active {
margin: 0;
padding: 0;
}
+#library .grid li {
+ display: flex;
+ flex-direction: row;
+}
+#library .grid li h2 {
+ flex-grow: 1;
+ margin: 0;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+#library .grid li:nth-child(odd) {
+ background-color: #666;
+}
+#fs {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+}
+#fs ul {
+ flex-grow: 1;
+ overflow: auto;
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+#fs .grid li {
+ display: flex;
+ flex-direction: row;
+}
+#fs .grid li h2 {
+ flex-grow: 1;
+ margin: 0;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+#fs .grid li:nth-child(odd) {
+ background-color: #666;
+}
diff --git a/app/css/app.less b/app/css/app.less
index e26d58d..ae00589 100644
--- a/app/css/app.less
+++ b/app/css/app.less
@@ -1,4 +1,12 @@
+html {
+ background-color: #fff;
+ font-family: lato, sans-serif;
+}
+
body {
+ background-color: #888;
+ color: #fff;
+ text-shadow: 0 1px 1px #000;
max-width: 800px;
margin: 0 auto;
overflow: hidden;
@@ -12,9 +20,11 @@ body {
}
+@import "font.less";
@import "main.less";
@import "nav.less";
@import "player.less";
@import "component.less";
@import "queue.less";
@import "library.less";
+@import "fs.less";
diff --git a/app/css/component.less b/app/css/component.less
index 798a0c4..0beea7e 100644
--- a/app/css/component.less
+++ b/app/css/component.less
@@ -2,4 +2,31 @@
height: 100%;
display: flex;
flex-direction: column;
-}
\ No newline at end of file
+
+ ul {
+ flex-grow: 1;
+ overflow: auto;
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ }
+
+ .grid {
+ li {
+ display: flex;
+ flex-direction: row;
+
+ h2 {
+ flex-grow: 1;
+ margin: 0;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
+
+ li:nth-child(odd) {
+ background-color: #666;
+ }
+ }
+}
diff --git a/app/css/font.less b/app/css/font.less
new file mode 100644
index 0000000..6568457
--- /dev/null
+++ b/app/css/font.less
@@ -0,0 +1,13 @@
+@font-face {
+ font-family: 'Lato';
+ src: url('font/LatoLatin-Regular.woff2') format('woff2');
+ font-style: normal;
+ font-weight: normal;
+}
+
+@font-face {
+ font-family: 'Lato';
+ src: url('font/LatoLatin-bold.woff2') format('woff2');
+ font-style: bold;
+ font-weight: normal;
+}
diff --git a/app/css/fs.less b/app/css/fs.less
new file mode 100644
index 0000000..dfa484f
--- /dev/null
+++ b/app/css/fs.less
@@ -0,0 +1,3 @@
+#fs {
+ .component;
+}
diff --git a/app/css/library.less b/app/css/library.less
index 85b6727..01fe2f6 100644
--- a/app/css/library.less
+++ b/app/css/library.less
@@ -1,14 +1,3 @@
#library {
.component;
-
- ul {
- flex-grow: 1;
- overflow: auto;
- list-style: none;
- margin: 0;
- padding: 0;
- }
-
- li {
- }
}
diff --git a/app/css/nav.less b/app/css/nav.less
index 3c84192..be71238 100644
--- a/app/css/nav.less
+++ b/app/css/nav.less
@@ -7,7 +7,7 @@ nav ul {
li {
text-align: center;
- flex-grow: 1;
+ flex: 1 0 0;
line-height: 40px;
&:hover { background-color:red;}
diff --git a/app/css/queue.less b/app/css/queue.less
index 46e051a..1f7ebc8 100644
--- a/app/css/queue.less
+++ b/app/css/queue.less
@@ -1,14 +1,6 @@
#queue {
.component;
- ul {
- flex-grow: 1;
- overflow: auto;
- list-style: none;
- margin: 0;
- padding: 0;
- }
-
li {
display: flex;
flex-direction: row;
@@ -18,6 +10,5 @@
}
}
- .info { flex-grow: 1; }
.current { font-weight: bold; }
}
\ No newline at end of file
diff --git a/app/font/LatoLatin-Bold.woff2 b/app/font/LatoLatin-Bold.woff2
new file mode 100644
index 0000000..2615c85
Binary files /dev/null and b/app/font/LatoLatin-Bold.woff2 differ
diff --git a/app/font/LatoLatin-Regular.woff2 b/app/font/LatoLatin-Regular.woff2
new file mode 100644
index 0000000..a4d084b
Binary files /dev/null and b/app/font/LatoLatin-Regular.woff2 differ
diff --git a/app/index.html b/app/index.html
index 8cf6767..2d8f4ac 100644
--- a/app/index.html
+++ b/app/index.html
@@ -26,7 +26,7 @@