tuned-city
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

jquery.jcursor.less
text/plain

Download raw (1.2 KB)

#slider {
    width: 600px;
}

.spectrogram {
    display: inline-block;
    position: relative;
    width: 600px;
    height: 60px;
}

.progress {
    position: absolute;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.5);
}

.cursor {
    position: absolute;
    height: 50px;
    width: 1px;
    background-color: red;
}

.target {
    position: absolute;
    height: 50px;
    width: 1px;
    background-color: rgb(122, 151, 170);
    display: none;
}

.comment {
    position: absolute;
    top: 50px;
    width: 600px;
    height: 10px;
}

.comment-cursor {
    position: absolute;
    top: 0;
    height: 0px;
    width: 0px;
    background-color: rgb(122, 151, 170);
    -webkit-transition-property: height, width;
    -webkit-transition-duration: 0.2s;
}

.comment-cursor-persistant {
    position: absolute;
    top: 0;
    height: 10px;
    width: 10px;
    background-color: gold;
    outline: 1px solid white;
}

.comment-cursor-persistant:hover {
    z-index: 999;
}

.comment:hover .comment-cursor,
.spectrogram:hover .target {
    display: block;
}

.comment:hover .comment-cursor {
    height: 10px;
    width: 10px;
    -webkit-transition-property: height, width;
    -webkit-transition-duration: 0.2s;
}