From b9426877cfe30b74d03ec756b93bd047c402d7ad Mon Sep 17 00:00:00 2001
From: Jules Laplace
Date: Sun, 25 Nov 2018 18:44:06 +0100
Subject: we have site
---
docs/img/pause-inv.png | Bin 1337 -> 3208 bytes
docs/index.html | 138 +++++++++++++++++++++----------------------------
docs/js/player.js | 71 +++++++++++++++++++++++++
docs/js/shards.js | 9 ++--
docs/js/site.js | 48 +++++++++++++++++
docs/js/stars.js | 4 +-
6 files changed, 187 insertions(+), 83 deletions(-)
create mode 100644 docs/js/player.js
create mode 100644 docs/js/site.js
(limited to 'docs')
diff --git a/docs/img/pause-inv.png b/docs/img/pause-inv.png
index 9bec646..9780255 100644
Binary files a/docs/img/pause-inv.png and b/docs/img/pause-inv.png differ
diff --git a/docs/index.html b/docs/index.html
index 0c5217f..9263023 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -65,6 +65,7 @@ body.fade {
top: 0; left: 0;
width: 100%; height: 100%;
overflow: hidden;
+ pointer-events: none;
}
.bgs {
position: absolute;
@@ -181,7 +182,7 @@ ol li {
line-height: 1.4;
}
.player {
- padding: 10px 20px;
+ padding: 12px 20px;
width: 300px;
display: flex;
flex-direction: row;
@@ -193,25 +194,22 @@ ol li {
.player .icon {
width: 1.2em;
height: 1.2em;
- background-image: url(img/play.png);
+ background-image: url(img/pause-inv.png);
background-size: 100%;
background-position: center;
border: 2px solid rgba(255,255,255,0.3);
- border-radius: 50%;
+ border-radius: 100%;
margin: 0 10px 0 10px;
- transition: all 100ms;
}
-.player:hover .icon {
- background-image: url(img/play-inv.png);
+.player.playing .icon {
+ background-image: url(img/pause-inv.png);
}
.player.paused .icon {
- background-image: url(img/pause.png);
-}
-.player.paused:hover .icon {
- background-image: url(img/pause-inv.png);
+ background-image: url(img/play-inv.png);
}
.player .track {
transition: all 100ms;
+ flex: auto;
}
.player:hover .track {
color: rgba(255,255,255,1.0);
@@ -220,14 +218,46 @@ ol li {
-webkit-overflow-scrolling: touch;
overflow-y: auto;
max-height: calc(100vh - 140px);
- width: 310px;
+ width: 331px;
max-width: calc(100vw - 30px);
background: black;
position: absolute;
bottom: 160px; right: 0;
- margin: 10px 10px;
+ margin: 0px 10px;
+ padding: 0px;
+ height: 0; overflow: hidden;
+ transition: all 0.5s cubic-bezier(0,1,1,1);
+}
+.playlist.visible {
+ height: 180px;
+}
+.playlist ul {
+ margin: 0; padding: 0;
+}
+.playlist li {
+ margin: 0; padding: 10px;
+ cursor: pointer;
+ transition: all 0.2s;
+ background: rgba(20,5,10,0.5);
+}
+.playlist li.active {
+ color: #000;
+ background: rgba(255,255,255,0.9);
+}
+.playlistToggle {
+ align-self: flex-end;
+ width: 15px;
+ height: 15px;
padding: 10px;
- background: rgba(0,0,0,0.5);
+ display: flex;
+ flex-direction: column;
+ justify-content:space-between;
+}
+.playlistToggle div {
+ width: 100%;
+ height: 2px;
+ border-bottom: 1px solid #999;
+ background: white;
}
section {
-webkit-overflow-scrolling: touch;
@@ -239,7 +269,7 @@ section {
bottom: 160px; left: 0;
margin: 10px 10px;
padding: 10px;
- background: rgba(0,0,0,0.5);
+ background: rgba(20,5,10,0.5);
pointer-events: none;
opacity: 0;
transition: opacity 200ms;
@@ -249,6 +279,7 @@ section {
.hardware #hardware,
.contact #contact {
opacity: 1;
+ pointer-events: auto;
}
@keyframes fade {
0% { opacity: 0.6; }
@@ -271,9 +302,14 @@ section {
Equipment
Contact
-
@@ -292,14 +328,12 @@ section {
As Xena Vectra
- 
Escape from Neukölln EP (2018)
- 12" / digital on Bandcamp
+ Digital on Bandcamp
- 
Dreaming City EP (2018)
Cassette / digital on Bandcamp
@@ -334,77 +368,25 @@ section {
Contact
Booking:
-
+
Twitter:
- @
+ @
Soundcloud:
- xenavectra,
- magisphere
+ xenavectra,
+ magisphere
- Bandcamp: xenavectra
+ Bandcamp: xenavectra
+
-
+