started player, optimized corpus map by avoiding some node fn if particule is resting

This commit is contained in:
Bachir Soussi Chiadmi
2018-03-06 23:30:40 +01:00
parent 4c3c7c6577
commit f582589a40
7 changed files with 384 additions and 98 deletions
@@ -20,6 +20,7 @@
}
header[role="banner"]{
position: relative;
padding:0 0 1em 0;
border-bottom: 1px solid red;
pointer-events: all;
@@ -182,6 +183,39 @@ main[role="main"]{
}
// _ _ _ ___ _
// /_\ _ _ __| (_)___| _ \ |__ _ _ _ ___ _ _
// / _ \ || / _` | / _ \ _/ / _` | || / -_) '_|
// /_/ \_\_,_\__,_|_\___/_| |_\__,_|\_, \___|_|
// |__/
#audio-player{
position: absolute;
top:0; left:0;
background-color: white;
height:100%; min-width: 300px; max-width:500px;
z-index: 20;
outline: 1px dotted green;
.time-line{
position: relative;
width:50px; height:1px;
background-color: #000;
overflow: visible;
// border-top: 1px solid #000;
transform: rotateZ(-45deg);
.loader{
width:0; height:100%;
background-color: red;
top:0;left:0;
}
.cursor{
height:10px;width:0;
border-left: 2px solid red;
position:absolute;
left:0; top:-5px;
}
}
}
// _ _ _ _ _
// /_\ (_)__ ___ __ | \| |___ __| |___
// / _ \ | / _` \ \ / | .` / _ \/ _` / -_)